dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: andreaskrenmair

Page 1 of 6 1 2 3 4

Search: Search took 0.04 seconds.

  1. You are adding every item with the same depth! ...

    You are adding every item with the same depth!

    Change this line



    var addItem1 = _root.backpack.attachMovie(item1, item1, 1);


    to
  2. I have added some textures to the test...

    I have added some textures to the test level.Unfortunately I have no interesting textures for the player on my hd, so it appears just as a solid blue object.



    Yes, the renderer is definitely...
  3. Thanks. I am currently working on a loader...

    Thanks.



    I am currently working on a loader / parser, that adds textures to the environment. Hopefully I can post an example with textures tomorrow.



    Hmmm, what was your framerate? I will...
  4. [prototype]3d adventure / puzzle engine

    Hi,

    Initially I started working on this in order to learn / unterstand some basic 3d concepts after reading a book on 3d programming. Somehow I got more interested in the whole 3d stuff and...
  5. I think what he meant was if your two characters...

    I think what he meant was if your two characters behave 100 % identically, just create a single (player) class and create two instances of this class. In this case it would be a bad design decision...
  6. Replies
    26
    Views
    1,654

    Listen, I did unterstand you, but I was referring...

    Listen, I did unterstand you, but I was referring to your 3rd post in this thread! I just read the code in your first post and skipped the comments.

    However I can not believe that the following...
  7. Replies
    26
    Views
    1,654

    Ok, a 2d array is just an array consisting of...

    Ok, a 2d array is just an array consisting of arrays.

    You got your first index (or your y-axis) which is just a simple array.

    Let´s assume your y-axis array has 8 entries, its internal...
  8. Replies
    26
    Views
    1,654

    Edit: Doublepost, sorry

    Edit: Doublepost, sorry
  9. Replies
    26
    Views
    1,654

    ...because if you are trying to access a one...

    ...because if you are trying to access a one dimensional array with a index out of bounds, you will get null or undefined and you won´t enter the if block. The problem arises when you want to acces...
  10. np, but you should really consider what rachil...

    np, but you should really consider what rachil has proposed above. That´s a really clever way.
  11. Replies
    9
    Views
    1,010

    Ahh, must have misunterstood something. I should...

    Ahh, must have misunterstood something. I should have read the description more carefully. Thanks, for making that clear.
  12. Replies
    9
    Views
    1,010

    I actually get a hiccup. I tested the...

    I actually get a hiccup.

    I tested the pathfinding demo with opposite corners and it seemed that the multithreaded version is 20-30 percent slower than the single- one.



    ok, thanks.
  13. Replies
    9
    Views
    1,010

    Hi, sounds cool. I am interested in your...

    Hi,

    sounds cool. I am interested in your scheduling strategy, if you don´t mind.
    Did you use a common one, or did you implement your own strategy?

    How do you handle critical regions? Do you...
  14. I don´t know how your engine is structured, but I...

    I don´t know how your engine is structured, but I would store the vertices and the material in one class. You could start with a super class Face and create subclasseses (BitmapDataFace, ColorFace,...
  15. Replies
    8
    Views
    952

    Did you cover the unit circle in your trig....

    Did you cover the unit circle in your trig. class?

    http://en.wikipedia.org/wiki/Unit_circle

    This link should give you an idea how to achieve this kind of movement.
  16. Replies
    92
    Views
    44,355

    Great post! Especially the section "3d modeling...

    Great post! Especially the section "3d modeling software and links" is very useful for me. Hope to get started with Blender soon in order to create my own
    models.

    I am currently working on a...
  17. Replies
    7
    Views
    684

    Thank you!

    Thank you!
  18. Replies
    7
    Views
    684

    Looks very good, but its very processor...

    Looks very good, but its very processor intensive.

    I am currently developing a terrain renderer too, but I use the Sandy 3D API. I like the way you use the colormap (blue, yellow, green and...
  19. Replies
    5
    Views
    525

    No, it is possible without a server side script....

    No, it is possible without a server side script. You can connect to a SQL Server with a socket. Don´t know if it works with AS 1 and AS 2, but in AS 3 you can use binary sockets to open a connection...
  20. Replies
    132
    Views
    6,485

    Hi, I implemented an A* pathfinder with nodes...

    Hi,

    I implemented an A* pathfinder with nodes in AS1 two weeks ago. Did not test it much, but I got always the shortest path in my exmaples.

    Maybe you can find soemthing useful in my code:
    ...
  21. Replies
    6
    Views
    378

    Did you init the array... add_student =...

    Did you init the array...



    add_student = function () {
    var gender = _root.gender_text.text;
    var Name = _root.name_text.text;
    if(gender == "Male") {
    var length = _root.boys.length;
    ...
  22. Replies
    10
    Views
    707

    6 times per search, really? I remember that you...

    6 times per search, really? I remember that you need about log2(N) + 1 searches in the worst case. So in your case N = 456796 that would result in around 20 times per search (in the worst case)...
  23. Replies
    10
    Views
    707

    That would be great. I am used to the collections...

    That would be great. I am used to the collections availiable in the JAVA API and hate it when I have to write a data structure from scratch in Flash. Actually I could not take any advantage of such a...
  24. Replies
    10
    Views
    707

    Yeah, that reminds me of my algorithms and...

    Yeah, that reminds me of my algorithms and datastructure lectures...

    A recursive algorithm allocates much more memory than an iterative, so it would be better if you implent it like the following...
  25. Yeah, you are right. Someone has asked for help...

    Yeah, you are right. Someone has asked for help and you have helped him. That´s ok. I think you should not take everything so serious...

    So the only thing I have talked about is the lost update....
Results 1 to 25 of 147
Page 1 of 6 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center