How do I get a Moveto to play at the start?

0 favourites
  • 4 posts
From the Asset Store
This Student Workbook uses both Construct 3 & 2 encoding. It supplies client-side & php "back-end" encoding.
  • I have an 'On start of layout event' and in it is something to make the player move to a position using the moveto behavior. The player that is moving is outside of the viewport, but still inside the layout. It does work, but for some reason the moveto doesn't happen until at least 30 or so seconds after the layout starts. Does anyone know why this is and how I can fix it? There shouldn't be anything overriding it.

  • You say there is nothing else, but there probably is.

    You can confirm by making a minimal project with just that object and using the moveto behavior on start of layout.

    Are you sure the player sprite isn't just so far out of the viewport that it takes 30 seconds to reach the visible area?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Check the acceleration setting.

    Try moving the sprite inside the visible area of the screen, or set layout scale to something like 0.2, maybe you could see what's going on with it.

    Finally, you can run the project in Debug Mode and check the object there.

  • Sorry for the late reply (Time zones...). I don't know why, but it suddenly is working now. Thanks for trying to help!

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