Changing object's main image points?

0 favourites
  • 3 posts
From the Asset Store
Simplistic hyper-casual game with nature elements. Tap to switch between the 4 elements and reach a better score.
  • Hi,

    I know you can choose an image point of the object ''b'' while moving ''a'' to ''b''.

    But is there a way to actually change the origin point of let's say the player dynamically? Choose between several image points.

    Thanks!

  • nup, there is not. but you could use the X.y coordinates of the player, since they always refer to image point 0. the way to do this would be like this:

    player.x, player.y = default 0

    player.x+10, player.Y+10 = dynamically changed on runtime.

    you could even set this to something like: player.X+variable, player.Y+variable.

    anyway, it's rather simple actually =P

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • nup, there is not. but you could use the X.y coordinates of the player, since they always refer to image point 0. the way to do this would be like this:

    player.x, player.y = default 0

    player.x+10, player.Y+10 = dynamically changed on runtime.

    you could even set this to something like: player.X+variable, player.Y+variable.

    anyway, it's rather simple actually =P

    Oh nice idea. thanks

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