Changing object's main image points?

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

  • 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

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