(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
37
S
15
G
7
Posts: 1,680
Reputation: 9,612

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
Company name changed to avoid Facebook-type shenanigans

"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
22
S
6
G
1
Posts: 1,415
Reputation: 4,824


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, cb130felix, Kermad, yiuyiu6666 and 6 guests