Creating a Puzzle Bobble Clone

thiagoralvesthiagoralves Member Posts: 8
edited November -1 in Working with GS (Mac)
Hi friends. This is my first post here. Yesterday I found this great software called GameSalad and now I'm trying to make some games for my iPhone. I'm developing a kind of Puzzle Bobble clone with gravity effect on the balls that are launched, but I'm having trouble with some logic stuff.
First, let me say what works. I managed to create the cannon that launches the bubbles. It can rotate with arrow keys and have maximum angle rotation limits. The bubbles the cannon launches are random (sometimes is blue, sometimes red, etc). The bubble has gravity, so it starts going down depending of the power of the shoot. The bubble bounces on the right and left walls exactly as the original Puzzle Bobble.
Now, what I don't know how to do is the game logic. If you know the Puzzle Bobble game, the objective is to destroy the bubbles by shooting bubbles of the same color on them. If there are 3 or more bubbles of the same color together, they are destroyed. But how can I know what bubble is next to the other? I created different actors for different color bubbles (i.e. red bubble actor, blue bubble actor, etc) but I don't know how to check if there are 3 or more bubbles of the same color together.
Other problem I'm facing is that when the cannon launches a bubble and it hit the top or another bubble, it must stick there, without gravity effect or aceleration. I tried to put a rule that when it collides with object with tag "bubble" it changes atribute velocity to zero, but it's not working. Is there a better way to do this?

Sorry for the long text. It's hard to explain my game only with words. I can upload my source code somewhere if it helps.

Thanks

Comments

  • UtopianGamesUtopianGames Member Posts: 5,692
    Id love to know how to do a puzzle bobble clone also...thinking it would fit well with a Bumps mini game....maybe some kind user will show us how.

    Darren.
  • BarkBarkCoBarkBarkCo Member Posts: 1,400
    Here is a demo from CodeMonkey that uses match 3 logic...

    http://gamesalad.com/game/play/24461
  • thiagoralvesthiagoralves Member Posts: 8
    Cool! I'm at work on a windoze pc. I will check this as soon as I get home. Thanks
  • thiagoralvesthiagoralves Member Posts: 8
    ok... now, how can I download the source code? There is a button called download template but it gives me a .game file that is the extension of the binary, right? it's useless if I can get the source code
  • quantumsheepquantumsheep Member Posts: 8,188
    change .game to .zip

    Unzip

    Click on file.

    QS :D
Sign In or Register to comment.