move to layer

0 favourites
  • 2 posts
From the Asset Store
This is a code so you can see the same skin on all screens (peers). Each peer gets a skin, in addition to 4 directions t
  • Link to .capx file (required!):

    dl.dropboxusercontent.com/u/169390986/PUB/MoveToLayer.capx

    Steps to reproduce:

    just execute capx

    Observed result:

    player spawns bullet and on move to layer bullet change its coordinates to that layers coordinates

    Expected result:

    i guess bullet shud continue its existance on new layer on it's precise layers intersection coordinates, no?

    if this is not a bug but a feature, can someone please explain me how to solve mine problem?

    thank you!

    Browsers affected:

    Chrome: n/a

    Firefox: yes

    Internet Explorer: yes

    Operating system & service pack:

    win 7 pro 64 up to date

    Construct 2 version:

    136 /64

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You're having the background layer rotating.

    The bullet is positioned at the correct position.

    <img src="https://dl.dropboxusercontent.com/u/36472942/construct/forumhelp/Layer_rotation_point_position.png" border="0" />

    The black rectangle/point is the layer at an angle of 0.

    The blue rectangle/point is the layer rotated. The x,y coordinates of the points are the same as the black point, but appears as a visual offset.

    To "correct your capx" have a search in the how do I forum about "Rotating layer"/post a new topic.

    Moved to closed bug since it is not a bug, it is "a feature".

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