andreluizgollo's Recent Forum Activity

  • But I am changing the timer value on the second event: System > Subtract 0.1 from biggergaps_timer.

  • Hi guys!

    So, I'm creating a side scroller and there are some powerups. When the player pick up a powerup, I want a countdown timer to show onscreen, displaying how long the powerup will last.

    What I've created so far, and didn't work:

    There are basically two events: the first one to create the timer (there's a text object for the number and a sprite to identify which powerup the time refers to) and the second one where I tried to make the timer actually work. Note that the "else" statement in the first event is for, in case the player picks up a powerup it already has, the game doesn't create a second timer on top of the first, just reset the timer for the powerup duration.

    Any thoughts on what I'm doing wrong?

    P.S: I want the timer to display in the format 5.0 > 4.9 > 4.8 > 4.7...

  • OMG it was like the easiest thing ever! It totally worked! I just set the following events:

    Thanks everyone who posted here, I think I used all the tips xD

    Yay I'm so happy right now hahahaha

  • tarek2 You guys are amazing! I'm gonna try and do it. If I'm successful I'll post here xD

  • tarek2 Hey dude, I'm having kind of a hard time on the reference thing. Do you suggest referencing the specific instances using UID, IID...?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • BlueBidis Thanks dude! I really enjoy pixel art :) I'm glad you liked it!

  • I hope I explained properly and it's not confusing

    Absolutely, dude!!

    Here I found the best Tutorial for you

    I'll check it out. Thanks!!

  • Nice! Even more useful! I will definitely use this. Thanks again! I'm just thrilled with all this comments xD you guys are the best

  • Nice! I was actually thinking about this, 'cause I want to add some multipliers to the score. Like doing some things in the match triggers, let's say, a 1.25x multiplier. This will definitely be useful. Can I use "round" or "floor" on other statements, or only on "random"?

    tarek2 Yeah, I ran into this problem also. It's set to choose a number every 1.2 seconds because that's the spawn time of the pillars. Would you mind explaining a little bit about this PrePick? Or just point me to some guide/tutorial? :)

  • tarek2 Yeah, just found that out after changing the random to choose, hahahaha. I haven't used else or triggers yet, but I'm gonna take a look on those. Thanks man!

  • Maverick1912 Oh, I didn't know the random expression could return a decimal! That was so helpful. I'm just starting on this whole programming thing, even though we don't actually program on Construct. Thanks for the fast answer man! :)

  • Hi guys!

    I'm working on a side scroller, a flappy bird like game. I'm currently trying to add some powerups to randomly spawn in between the pillars of the game, like on the screenshot below:

    To do this, I'm trying this events:

    But it's not working. The powerups don't spawn in the game. Anything you might think I'm getting wrong?

andreluizgollo's avatar

andreluizgollo

Member since 10 Dec, 2018

Twitter
andreluizgollo has 1 followers

Trophy Case

  • 5-Year Club
  • Email Verified

Progress

6/44
How to earn trophies