Player.X and Y not working

Get help using Construct 2

Post » Mon Dec 23, 2013 3:23 pm

Hi, a while ago i posted here why my animations were lopping non stop when i said them to stop, blackhornet fixed that for me :D.
Now i have a new issue, when adding the lasers, i create a laser on Player.X and Player.Y, those should be the player position right? well its not working, the lasers just go far to the left :/ heres a sample if you know whats happening please help me
in the first laser i use a fix adding some px to playerX and Y but when you pickup the powerup, i let the lasers be on player.X and Y and if you go to the right you can see the lasers appear on the left :/

B
3
Posts: 5
Reputation: 185

Post » Mon Dec 23, 2013 3:23 pm

skydrive.live.com/redir?resid=7F7EC5347676C4A6%211209
B
3
Posts: 5
Reputation: 185

Post » Mon Dec 23, 2013 3:26 pm

Every object has a origin point, which is the point it is created. Your origin point on the laser is far far away from it:



You just have to set it inside the laser image and you'll be fine. You can use the numpad to set it quickly, too.
B
123
S
43
G
41
Posts: 846
Reputation: 28,204

Post » Mon Dec 23, 2013 3:57 pm

thank you, its working now! Thx so much!
B
3
Posts: 5
Reputation: 185


Return to How do I....?

Who is online

Users browsing this forum: marcinkowski, zenox98 and 24 guests