How do I Edit an Example.

Just started using Construct 2? Post your questions here

Post » Tue Mar 17, 2015 4:49 pm

I was playing around with the parameters. Now when the game starts the ball disappears. Any ideas?
You do not have the required permissions to view the files attached to this post.
B
4
Posts: 22
Reputation: 244

Post » Wed Mar 18, 2015 8:41 am

I don't know what do you want but, here try this demo
You do not have the required permissions to view the files attached to this post.
B
251
S
39
G
15
Posts: 1,964
Reputation: 40,721

Post » Wed Mar 18, 2015 8:51 am

@Drakmyre

Your Ball object has an instance variable called 'Health' that has an initial value of '5'.

The reason it's not there when the program starts is because your Event 5 says, 'If Ball instance value Health = 5 then Destroy ball'.

If you change this to 'Ball Health = 0' then your ball will not be destroyed.

Also, spawning so many balls on collision with the side walls is not a good idea as you will get a cascaid of creates that will eventually crash or lock the browser.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
85
Posts: 5,412
Reputation: 59,008

Post » Wed Mar 18, 2015 6:19 pm

Thanks for the reply Zenox!

I was just wondering how I can make it so the ball has to be clicked x amount of times before it is destroyed.

The spawning of many balls is what I want to prevent. Any ideas?
B
4
Posts: 22
Reputation: 244

Post » Wed Mar 18, 2015 6:27 pm

Ok. I got the clicks working. I just need how to make the ball split and NOT go crazy when it hits a corner.

Lordshiva- Thanks again! You're better at art than I am!
B
4
Posts: 22
Reputation: 244

Previous

Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 2 guests