How do I make a planet that...

Get help using Construct 2

Post » Mon Jun 09, 2014 6:52 am

Hello. It's very hard for me to find out how to do this, I hope you can help me.

I want to make a planet spawn outside of the seen layer and move it towards my player from the right side of the window,
the planet should always come from the right side and the Y. should vary.

I hope you can understand this and can help :)
B
3
Posts: 5
Reputation: 185

Post » Mon Jun 09, 2014 7:14 am

Just create object at outside of layout with random Y parameter, give it bullet behavior, and when it reaches a particular negative y value, destroy it.

Not exactly awake at the moment, but is this something like you want (requires r168 or greater):
You do not have the required permissions to view the files attached to this post.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
131
S
29
G
81
Posts: 5,328
Reputation: 56,630

Post » Mon Jun 09, 2014 7:31 am

Thanks for your answer,
Yes it helped me alot, finally I understand this :p
B
3
Posts: 5
Reputation: 185

Post » Mon Jun 09, 2014 7:44 am

I can't figure out how to make it Stop when it reaches the right side of the screen (when it comes to the layout, so it can stop and I can do more things)

Can someone help :)?
B
3
Posts: 5
Reputation: 185

Post » Mon Jun 09, 2014 8:11 am

It has bullet behavior, so when you want to stop it, set bullet speed = 0. To move it again, set speed to whatever value you wish.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
131
S
29
G
81
Posts: 5,328
Reputation: 56,630


Return to How do I....?

Who is online

Users browsing this forum: R0J0hound, RobertMKD, Syazanie Amirin and 10 guests