zxcold's Forum Posts

  • 4 posts
  • i found a solution that will work for my game but if some else might use this i would love to still see a solution to this.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • though your method would work i would have to set it up for each object in each direction individually

    and that would be to much for 50 so objects each level

  • thats not it

    i want the player to be on the objects with the same value as the instance variable in its name

  • I'm currently creating a game that its movements is based on object location, and so i have set up an area with several objects all labeled with name# example: ground23, i want to make an equation that sets the players position to object by its number such as going up means moving from ground23 to ground13. i have the current object number set as a instance variable within the player such as when on ground23 the value is 23, and when u go up the value goes to 13. the problem is the equation i have set up looks like this "on action, set player coordinates to X: ground(instance value).X Y: ground(instance value).Y but it wont accept it it as a acceptably equation. Does anyone know how how i can write out this equation so it would except it?

  • 4 posts