How do I make object go faster overtime?

0 favourites
  • 3 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • Hi. I was making a game, and i was wondering how do i make the object that gonna take you, go faster over time?. Like increase power, within 2 minute, it must reach 1000speed, or something like that. ?

    Here is the game, i need it for . https://drive.google.com/file/d/0B6rKLV ... sp=sharing

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    I'm not exactly sure what you are after, but here is a way that you can increase the speed of an object over time using Events. Depending on whether you have chosen one of the pre-build movement modules such as Platform, Bullet, or Pathfinding, you can increment speed upwards using an "every x seconds" event:

    E.g.

    VariableSpeed = 0

    Every X Seconds

    Set VariableSpeed = Object.Bullet.Speed ## Takes the old speed from the object and stores it in the variable VariableSpeed

    Add 1 to VariableSpeed ## Adds 1 to VariableSpeed

    Set Object.Bullet.Speed = VariableSpeed ## Sets the object's new speed to the variable VariableSpeed

    end

  • Hi,

    I'm not exactly sure what you are after, but here is a way that you can increase the speed of an object over time using Events. Depending on whether you have chosen one of the pre-build movement modules such as Platform, Bullet, or Pathfinding, you can increment speed upwards using an "every x seconds" event:

    E.g.

    VariableSpeed = 0

    Every X Seconds

    Set VariableSpeed = Object.Bullet.Speed ## Takes the old speed from the object and stores it in the variable VariableSpeed

    Add 1 to VariableSpeed ## Adds 1 to VariableSpeed

    Set Object.Bullet.Speed = VariableSpeed ## Sets the object's new speed to the variable VariableSpeed

    end

    Thank you so much. You really helped out. It worked out great! . Thanks again.

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