Results 1 to 11 of 11

Thread: Building a bubble puzzle game

  1. #1

    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!

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

  3. #3
    What is a Bubble Puzzle?

    Did you mean 'Bubble Bobble'?


    'Bubble Trouble'?


    Or maybe 'Bubble Bash'?


    Bruno Palermo
    When everything is catastrophic, thank the Gods things aren't worse!

  4. #4
    207
    posts
    Registered User
    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.

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

    any idea how sld i start creating 1?

  6. #6
    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.
    MY BLOG

    I need a SPRITER who can do pixel arts for an arcade fighter project. If you can help out, please pm me.
    I also need someone who can write simple xml files.


  7. #7
    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

  8. #8
    207
    posts
    Registered User
    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.

  9. #9
    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

  10. #10
    207
    posts
    Registered User
    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.

  11. #11
    ty rrh

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012