All the ways a behvior can update itself

0 favourites
  • 2 posts
From the Asset Store
Change the size and position of everything without calculating anything!
  • Hey everyone,

    I was wondering about the ways in which behaviors update each tick.

    I know the the pre and post ticks and just tick in general, but is their a fixed update call? Like something that calls the behaviors "OnFixedUpdate()" It could be usefull for some things that need frame independence but also need a fixed timestep... I have seen such things in other game engines so thought something of the sort may exist here too.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What would that even do? If the framerate is low its cause the system cant keep up, you cant work around that without using web workers. You also need to use timedelta with tick for "framerate independent" behaviour.

    Nothing is stopping you from rolling your own "setInterval" into the code, but executing at random times middway through events will never be better than using tick or tick2

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