Player.X and Y not working

0 favourites
  • 4 posts
From the Asset Store
Basic Rounded Vector Geometry Player Design with Glow for 3 player games
  • 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 <img src="smileys/smiley5.gif" border="0" align="middle" />

    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 :/

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • skydrive.live.com/redir?resid=7F7EC5347676C4A6%211209

  • 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:

    <img src="http://i.imgur.com/mUtvxSr.png" border="0" />

    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.

  • thank you, its working now! Thx so much!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)