(SOLVED) How do I spawn bonuses at the right position?

Get help using Construct 2

Post » Sun Oct 25, 2015 8:14 am

hi

in my game i have spawning platforms every 1.5s moving from right to left
http://s28.postimg.org/9ks9255zf/horizontal_spawn.jpg
the platforms actually don't correctly spawn from the right side, outside the frame, where i put the spawn object.


(SOLVED THIS PART)
also i need to create "spawn" some bonuses every 1.5s BUT on the top of those floating platforms
actually they spawn at the wrong places
http://s13.postimg.org/g6vsw5fdh/horizontal_spawn2.jpg

i need the bonuses be spawned at the top of the floating platforms where i put the original point.
B
41
S
16
G
7
Posts: 1,750
Reputation: 9,963

Post » Tue Oct 27, 2015 5:32 pm

Maybe use: platform.X & platform.Y + platform.Height/2 + object.Height/2? That would spawn it in the center of the top of the platform.
https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
23
S
6
G
1
Posts: 1,419
Reputation: 4,857


Return to How do I....?

Who is online

Users browsing this forum: ounound and 14 guests