A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: data structures :)

Hybrid View

  1. #1
    M.D. mr_malee's Avatar
    Join Date
    Dec 2002
    Location
    Shelter
    Posts
    4,139

    data structures :)

    http://lab.polygonal.de/ds/

    i was going to try and develop most of these myself but looks like the guys at polygonal have done the hard work for me, i highly suggest everyone read and learn it. So many threads asking about efficient collision, tile grid collisions and all that can be described as a data structure. I've been reading up on different structures quite a bit, they are extremely useful in the right situations and well suited for game development, i am using a framed quad tree and priority queue in my current game. Well worth the read people

    although this is very handy, i would like to see more structures and tree's implemented, but this system seems to be a good base point for extending which seems like the goal of the project.
    Last edited by mr_malee; 05-14-2007 at 08:45 PM.
    lather yourself up with soap - soap arcade

  2. #2
    Senior Member webgeek's Avatar
    Join Date
    Sep 2000
    Posts
    1,356
    Very nice find, thanks for posting it! This will certainly be getting some usage at ET

  3. #3
    hmm Pugger's Avatar
    Join Date
    Sep 2003
    Location
    Perth, Australia
    Posts
    616
    Sweet man, cheers!

  4. #4
    383,890,620 polygons nGFX's Avatar
    Join Date
    Oct 2002
    Location
    Germany / Ruhrgebiet
    Posts
    902
    Shish!
    Great find. But why do such things always come up when I wrote something similar for internal use already?

    Good thing to watch, nonetheless.

    nGFX

  5. #5
    Junior Member
    Join Date
    Nov 2004
    Posts
    24
    can you use this in a closed source game? or one that you would like to sell to portals? if so do you have to include a copy of the license? not sure how that all works..

  6. #6
    Knows where you live
    Join Date
    Oct 2004
    Posts
    944
    Quote Originally Posted by FPilla
    can you use this in a closed source game? or one that you would like to sell to portals? if so do you have to include a copy of the license? not sure how that all works..
    The readme says that you can do anything with it, including selling it, copying it etc.
    The greatest pleasure in life is doing what people say you cannot do.
    - Walter Bagehot
    The height of cleverness is to be able to conceal it.
    - Francois de La Rochefoucauld

  7. #7
    Elvis...who tha f**k is Elvis? phreax's Avatar
    Join Date
    Feb 2001
    Posts
    1,836
    Wow, looks like my old algorithm exam, all made in AS3! Good find, mr_malee
    Streets Of Poker - Heads-Up Texas Hold'em Poker Game

  8. #8
    Elvis...who tha f**k is Elvis? phreax's Avatar
    Join Date
    Feb 2001
    Posts
    1,836
    Just wanted to add, that the blog has more useful tips about bitwise operations and the likes, for those interested! Check the menu to the right
    Streets Of Poker - Heads-Up Texas Hold'em Poker Game

  9. #9
    Who needs pants? hooligan2001's Avatar
    Join Date
    Apr 2001
    Location
    Somewhere
    Posts
    1,976
    Wow something everyone can appretiate, Good find malee.

  10. #10
    Senior Member
    Join Date
    Jan 2006
    Location
    USA
    Posts
    383
    Sorry for raising this from the dead, but I was hoping someone could shed some light on an issue I'm having.

    I've recently had an opportunity to get back into Flash, and I got a copy of CS4. When attempting to use the HashMap, I get 11 compiler errors saying that HashMap and HashMapIterator do not implement their interface's methods. However, they do. After playing around with it, the only way I could get it to work was to remove the internal class PairNode and put it into a separate .as file.

    Anyone come across an issue like this using CS4? Or, maybe even with CS3?

    Also, this is unrelated, but after several compiles, CS4 locks up and needs to be restarted. Anyone experience this as well?

    Appreciate any help in advance. Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center