Bust a move like game need help!

Get help using Construct 2

Post » Tue May 28, 2013 3:55 pm

Hello everybody, i make a little game like Bust a Move (or Frozen Bobble)
but I have one big problem :

How to detect a group of balls and check if 3 or more balls of the same type are connecting to destroy that group of balls ?

Thank in advance and sorry for my school English I'm French
B
4
Posts: 24
Reputation: 240

Post » Tue May 28, 2013 9:25 pm

Check this out:

http://www.scirra.com/forum/topic62091.html

There's an example by @R0J0hound. Basically, the same technique can be applied for detection of connected bubbles.

1) while loop + scaling the bubble and chek if scaled bubble overlpas another bubbles of the same color, than scale them and check again untill it doesn not overlap. This is a sort of recursion/flood fill.
B
45
S
11
G
4
Posts: 515
Reputation: 7,389

Post » Wed May 29, 2013 4:03 pm

Thank you, i understand

Edit: No, finally I don't totally understand:

On the sample capx project, I don't see where the detection of 3 balls (or more) is located ?

Thank in advance for your reply,
and don't forget I'm french and is more simple for me if you send me an example project rather than reading a long explanation in English ^^

I'm not null in English but the world of video games is complex and an example is more comprehensive TheMax980002013-05-29 16:30:53
B
4
Posts: 24
Reputation: 240

Post » Sun Aug 04, 2013 6:39 pm

Up please i really need help for this :/
B
4
Posts: 24
Reputation: 240

Post » Mon Aug 05, 2013 3:59 am

There is no example of this combined with a bubble shooter example that I know of but this topic has some general info on a way to pick a chain of objects.
http://www.scirra.com/forum/matching-more-than-3-sprites-gem-matching_topic51703.html
B
88
S
30
G
89
Posts: 5,113
Reputation: 60,337

Post » Mon Aug 05, 2013 7:57 am

thank you i will see that :)
B
4
Posts: 24
Reputation: 240


Return to How do I....?

Who is online

Users browsing this forum: alimuqaddas, LaurenceBedford and 12 guests