Main Menu
  • Welcome to The RPG Maker Resource Kit.

Timer

Started by shinyflygon, February 12, 2006, 02:18:57 PM

0 Members and 1 Guest are viewing this topic.

shinyflygon

Im making a mini game where you have to find some chickens, and you have a time limit, how do i make it so the timer counts down and when it reaches 0 the game ends so you have to restart it, and also how do i make it so the game can be replayed again.

blueXx

timer operation, if it make any problems use waits and make a counting timer of your own
can't figure out how?
http://www.crankeye.com/forums/viewtopic.php?t=4361

so say you make it a sec variable and set it to 200 or something, you can make the timer like that:
parallel proccess:
wait 20 frame
Variable(sec): -1
if sec <= 0 then
-message: bang you failed
-game(switch) = off

now you make the starting the game over again thingy
it looks like:
parallel:
if game = off then
-show choices:(play, info)
--upon play:
---sec= 200
---chicken switches or variables = off/0
---game  = on
--upon info:
---message: blablbala info

and that just about solves everything
holy shit my sig was big!

shinyflygon


Nightwolf

1. Read Blue's answer properly, try to understand.
2. If you're asking for help,it should be in the troubleshooting forum.
Arlen is hot.