bubble shooter game problem
Cybertouch
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..
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
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.
http://www.deepblueapps.com/puzzle-bobble/
Darren.
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!! ^:)^
http://www.flashplay.nl/spelletjes/bubbel-shooter/