Better data structure for a game like Bubble Witch
        Posted  
        
            by 
                CrociDB
            
        on Game Development
        
        See other posts from Game Development
        
            or by CrociDB
        
        
        
        Published on 2011-11-11T19:58:18Z
        Indexed on 
            2011/11/12
            2:13 UTC
        
        
        Read the original article
        Hit count: 399
        
I'm implementing a bubble-witch-like game (http://www.king.com/games/puzzle-games/bubble-witch/), and I was thinking on what's the better way to store the "bubbles" and to work with. I thought of using graphs, but that might be too complex for a trivial thing. Thought of a matrix, just like a tile map, but that might get too 'workaroundy'. I don't know.
I'll be doing in Flash/AS3, though.
Thanks. :)
© Game Development or respective owner