Problem: Make a timer which counts up or down how much time is letf to play Solution:
Make an object called obj_timer (no sprite is needed)
Create Event: set variable mytime to 10, set Alarm 0 to room_speed
Alarm Event for alarm 0: set variable mytime relative to -1, set Alarm 0 to room_speed
Step Event: if mytime is equal to 0, destroy the instance
Draw Event: at position (0,0) draw text: ‘time=’+string(mytime)
This answer doesnt work, you need to add another alarm…see my blog site for more info.
Crosby
g’day from down under
i am just getting involved with gamemaker after a layoff for a couple of years
where are you guys from
you might like to look in here for some australians pretty keen on gamemaker
http://www.groups.edna.edu.au
search for games and jump in where you see roland’s name
mark at numbatconspiracy dot com
c ya
mark