Breakout Clone tutorial bug

Get help using Construct 2

Post » Wed Jan 23, 2013 5:46 pm

Hi all.

I'm trying to follow the 'Breakout clone' tutorial on youtube.

However:
When the player gets the multiball powerup, the new ball starts frozen.
It only bounce around naturally after the mouse is left-clicked.
please see animated gif illustration.

Any idea where I've gone astray?

B
13
Posts: 68
Reputation: 1,048

Post » Wed Jan 23, 2013 7:58 pm

Are they physics based ? Probably best to post a capx or a screenshot of the part where the extra ball is spawned.
Image
B
27
S
9
G
5
Posts: 487
Reputation: 11,939

Post » Thu Jan 24, 2013 2:28 am

Here is where the ball is spawned:





Here is a command which may be part of the problem.
(It's intended purpose is to stop the ball from moving until the game starts)

B
13
Posts: 68
Reputation: 1,048

Post » Thu Jan 24, 2013 2:22 pm

The problem is that "Ball: Spawn Ball" doesn't pick the new ball (it did used to work that way) so the following lines (set gravity and speed) apply to the existing ball and not the newly created one.

Change that line to "System: Create Ball at Ball.X, Ball.Y".
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,020

Post » Thu Jan 24, 2013 4:13 pm

Yep!
That did it.
Thank you!
B
13
Posts: 68
Reputation: 1,048


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests