Building a bubble puzzle game

Hi people, I need to build a game that is similar to bubble puzzle game play, but have no idea how to start.

Try googling but didn’t get any useful result.

Anyone know of any tutorial or reference on when I can draw on to build a flash game around the same game play of bubble puzzle?

Thanks in advance!

Link to what you are talking about or more explanation? How does this game function?

What is a Bubble Puzzle?

Did you mean ‘Bubble Bobble’?

‘Bubble Trouble’?

Or maybe ‘Bubble Bash’?

=)

I think the latter. Look up Puzzle Bobble, aka. Bust-a-move. There’s also one called Snood.

I’m not aware of any tuts on that game.

yeah bust a move, something like this link
http://www.ventoline.com/frozenbubble/bustamove640.html

any idea how sld i start creating 1?

umm, it all depends on your level of programing actually…each ball when created needs to be “can_check=true”; mode, and also it needs some properties like “ball_id;ball_color; ball_num_of_hit; ball_direction” etc…so on collision with another ball it sets its movement speed to 0, and if its movement speed is 0, then use a for loop, to go around it in every direction and if the ball it hits is of same color and num_of_hit in this ball or other is more than 2(colliding with two other) then just grab their id, and remove them. and if there is not enough collision, then set can_check=false.

Thats the basic idea, now there are many ways to implement it.
http://openglgui.sourceforge.net/tetris_tut5.html …that is not in actionscript, but if you go through the code and comments, you will understand the working.

sorry for hi jacking someone else’s thread

but making a bust-a-move game seems really quite fun

so of course it is very easy to attach a row bubbles, make each bubble a diiferent colour,give each bubble a colour var, offset each row, easy enough to fire a bubble with a colour

snapping the bubble to an isometric grid is tricky but i reckon i could do that

but i am at a loss how to check the fired bubble to the bubbles it touches and then the ones that one touches that one to see if they have the same colour var - particularly as it isometric - and to see if 3 or more are the same colour -

any ideas how to get started with this?

thanks neil

Create an array and push your starting point onto it. For each of the six grid points surrounding that starting point, check if they 1) contain a matching bubble and 2) are not already on the array. If they are good, then do the same thing to them. (Push them onto the array and check the 6 spots around them.)

After this finishes, then you should have an array of the matching group.

thanks rrh ihad something like that in mind

just two thoughts

do you see the array as a multidimensional array - 1 element for each row

when one element checks, for eg, to the left and gets a match … when that one (the one on the left) it will of course match back to the right (a duplicate) how do you stop that?

neil

You would have one array for the board. That could be 2-dimensional.

The array I was talking about would be only used for building a group of matching bubbles. To avoid double-counting is why you need to check if that bubble is already in the array.

ty rrh