Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

How do i make a survive for 2 minutes timer event [RESOLVED]

I now how to activate the timer...But everytime i use Timer Control Timer i set it to Start 1Min 0Sec
and then a conditional branch with "Timer" at page 1 and then 0min 1sec or less but then the clock freezes and when i tries to do something else the game freezes.

But what i'm asking about is like in some games you must survive for ex: 2min
Like a zombie game. But how do i do that in XP???

The game freezes:
Untitled130.jpg
 
promiser":z0yifeth said:
Well what battle system are you using?
I'm nt using any battlesystem. im not even using RTP battle system. I use events so when the event hits the player then its game over... I got blizz-abs and Mr.Mos Abs but i won't use them in this game...
 
You didn't post a screenshot of your events, so I can't say for certain what the problem is, but here's how you have to do it:

1) Start the timer. The event that starts the timer cannot be a parallel-process event unless it's prevented from cycling... and at that point, why make it parallel process?

2) This must be either another event page or another event. A parallel-process event uses Conditional Branch to check the value of the timer, and to do its thing if the timer counts down.
 
Unka Josh":etpeznwn said:
You didn't post a screenshot of your events, so I can't say for certain what the problem is, but here's how you have to do it:

1) Start the timer. The event that starts the timer cannot be a parallel-process event unless it's prevented from cycling... and at that point, why make it parallel process?

2) This must be either another event page or another event. A parallel-process event uses Conditional Branch to check the value of the timer, and to do its thing if the timer counts down.

I tried this:
Untitled130.jpg


And this:
Untitled132.jpg

Untitled131.jpg


But i can't get it to work! the damn game always freezes... I'm not good at these timer and variable stuffs...only switches...
 

Jason

Awesome Bro

Okay, make a new event, and on the first page, make it Autorun, and do a "Control Timer" event, set it for 2 minutes, and then add a "Control Selfswitch A = ON" underneath that.

Now, make a second page, have the Conditions be that Self Switch A is ON.

Now, do a Conditional Branch; if Timer is 0sec or less.
Underneath this, you can add all of your desired messages etc. that you want to happen, although I recommend doing a "Control Timer", and clicking stop, this way the timer will disappear after it's counted down to 0.

Sorry if that's kind of messy, but I'm just typing this while trying not to die on LittleBigPlanet, haha.

Hope I helped !

Edit -

Okay, so I died, damnit, here's a screenshot of what I mean (This is a timer I used from another game);
timerexample.png
 
Um....now it works...Thanks!

I just changed the conditional branch event to paralell process (what you said that i din't get)

Thanks alot! :biggrin: :biggrin: :biggrin: :biggrin: :biggrin: :biggrin:
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top