Setting same properties for all created platforms

0 favourites
  • 3 posts
From the Asset Store
A pack of 76 platform designs for a platformer game with a mushroom/jungle theme
  • Hello guys, first time here and I kinda need your help!

    I'm working in one of those slideing games, such as the old Yet Sports where you had to hit a penguim and see he slowing down over time.

    For this Contruct 2 project, I'm moving the platforms (bullets) instead of the player, like in ine of those infinite runners.

    Problem is: everytime I create a new platform (bullet), it came with reseted speed and acceleration. What I want is to start, lets say, with a velocity of 1000 and decrease the acceletarion by 10, until it comes to a halt (unless it hits a bonus sprite that makes it go faster againg).

    I can do that fine of one platform, but the next ones start coming with reseted values. In the end, I get a set going on with the same velocity forever.

    Do I need to use a global variable to do this? This is my first game, and I'm trying to figure how it works.

    Here is the file: indiegamers.com.br/teste/teste.capx

    Thanks in advance!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Try this <img src="smileys/smiley1.gif" border="0" align="middle">

    test

  • Right on target! Thanks spongehammer, that solved my problem!

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