How do I use x without changing

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

    I want to use fixed x of objects.

    How to fix x of objects?

  • Maybe you could explain what you are trying to do, so an answer can be given?

    Objects without behaviours and/or actions attached will allways stay at the same position, so a fixed x, but ofcourse also a fixed y..

  • Maybe you could explain what you are trying to do, so an answer can be given?

    Objects without behaviours and/or actions attached will allways stay at the same position, so a fixed x, but ofcourse also a fixed y..

    Well, it uses moving of enemies.

    So, Object.X is changed by passing time.

    I want to anchor to fix x of objects.

    For example, the x of object is 1500

    object is going to 1450

    and if reached, going to 1550

    and again going to 1450

    and if reached, going to 1550

    How can I solve this problem?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What behaviour are you using to move the enemy?

    Would using detection-sprites to change the direction work in your game?

    Should all instances of the enemy be restricted to a certain range of x?

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