Creating an Object

Get help using Construct 2

Post » Mon Jan 20, 2014 2:34 am

I am making a side scroling game of somesorts where the player appears to walk to the right but really its a bunch of random objects moving towards and past the player. I want to spawn an object every 1.5 seconds where it can be anywhere below the player that is on screen but never more that 50 pixels above him. Anyone know of a way for me to do this?
B
2
Posts: 1
Reputation: 152

Post » Mon Jan 20, 2014 2:44 am

You need to set Y to random(Player.Y-50,whatever height) for spawning objects.
ImageImageImageImage
B
158
S
66
G
43
Posts: 2,603
Reputation: 35,868


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot] and 24 guests