bubble shooter game problem

CybertouchCybertouch Member, PRO Posts: 31
hi guys,

im going along quite well with my bubble shooter game, but i have stumbled apon a new problem.
if i have two bubbles of the same colour up on the screen, and i shoot a third of the same colour, and it touches the other two of the same colour, how do i make all 3 be destroyed??

any help would be awesome!!!!

thankyou.. =)

Comments

  • KevinCrossKevinCross London, UKMember Posts: 1,894
    Are you using a table to keep track of where all the bubbles are like a grid?

    If not you might be able to do something similar to what I did with the block breaker template I made which is when your bubble hits another bubble/stops moving, spawn some invisible actors in the same positions as the bubble surrounding it, and count how many are the same colour. It's a little hard to explain but the code behind the template isn't that complicated.

    http://www.kevincross.co.uk/?attachment_id=151

    If you're using a table then it's just a case of checking the cells around it.
  • UtopianGamesUtopianGames Member Posts: 5,692
    Bubble shooter like this or did you mean something different?



    http://www.deepblueapps.com/puzzle-bobble/

    Darren.
  • CybertouchCybertouch Member, PRO Posts: 31
    thanks Kev, i will download your template and see if it helps!
    and Darren.... ill check out your link as well...... both of you guys are always sooo extremely helpful! im really greatful that you both came along and offered me an answer to a killer problem.... you both rock!! ^:)^
  • karinepeterkarinepeter Member Posts: 5
    Hi Darren, Thanks for the replay and i like it your game. And Cybertouch i think solve your problem now. If you want play new bubble shooter spelen so check it out below links.

    http://www.flashplay.nl/spelletjes/bubbel-shooter/
Sign In or Register to comment.