>>>timer Lib<<<
#21
Posted 28 August 2007 - 06:55 AM
#22
Posted 30 August 2007 - 03:49 AM
#23
Posted 31 August 2007 - 11:58 AM
#24
Posted 31 August 2007 - 12:00 PM
Edited by isaacqwerty, 31 August 2007 - 12:01 PM.
#25
Posted 30 September 2007 - 07:38 PM
timehour*60*60+timemin*60+timesec
timehour=0
0*60=0
timemin=1
0*60+1=1
timesec=0
1*60+0=60
I honestly have no clue how this could've gone wrong if it thinks that 60 is 0.
you wanted a request how about a model resources section for game maker in the editor as a extension so you can load models and a model editor to create models would be nice.
Are you even talking about a timer?
Edited by Bass.EXE, 30 September 2007 - 07:39 PM.
#26
Posted 22 November 2007 - 03:02 PM
60=0, got it...
#27
Posted 12 January 2008 - 12:01 AM
#28
Posted 12 January 2008 - 09:15 PM
#29
Posted 12 January 2008 - 09:40 PM
#30
Posted 13 January 2008 - 01:29 AM
you probably noticed(if u didnt, u r blind) that the draw light by time thing, wasnt working well with the turn the midnight/noon hours.
Now i redid the algebra behind it and hopefully(it is tested, but i cant go through every 1440 minutes in a day) it will no longer be any problem.
the other, the checking time, has been fixed by doing something a bit different, i also did some double checking on the stop/start, it wasnt stopping but was actually changing direction... weird...
anyway, i hope everyone enjoys this batch of updates
#31
Posted 14 January 2008 - 05:59 AM
In the game i'm making, i want it to time how long it takes to finish the level, and the quickest scores go in the high-scores. So would there be a way to set the time to a variable?
If you could do this, it would be extremely helpful.
#32
Posted 15 January 2008 - 03:30 AM
hm... ill get that up asap
#33
Posted 20 February 2008 - 01:19 AM
create a calander type interface. I want to include into my game a setup where in the main character's status menu it tells the second/minute/hour/day/month/year
and make it to where i could custom all of these things. IE: 40 seconds in a minute, 50 minutes in an hour, 30 hours in a day, 40 days in a month, 18 months in a year.
i hope i am making my request clear. also the ability to rename each of those things.
I know this is a lot to ask, but I think it would be useful to alot of people.
thanks........
#34
Posted 24 February 2008 - 01:50 AM
hm... thats definately a new idea... yes i could make that work id have to edit the numbers, but thats about it.
i need to know how many seconds are in a minute, minutes in an hour. if you want days as well... oh geez. if you want it reletive to their clock, you(and therefore me) have a big problem, especially if it doesnt add up to the same seconds ea day.
anyway...
UPDATE!
now saves time into a variable in either the form (...S)SS or HH:MM:SS
Edited by isaacqwerty, 24 February 2008 - 03:43 AM.
#35
Posted 10 September 2008 - 02:04 AM
#36
Posted 16 September 2008 - 09:18 AM
#37
Posted 10 June 2009 - 08:14 PM
If yes , how?
Could you provide a code for this.
If no
Request for the next version.
Thank you
#38
Posted 12 August 2009 - 02:13 AM
I would rather not do that.
other than that i might be able to get it down to like .02 of a second... if you have room speed of 50
I am limited to how many steps every second (FPS)
So, the lowest time I can go is 1/(your room speed)
#39
Posted 09 September 2009 - 09:53 AM
Nice LIB!
I think i'll use it!
Thanks!
#40
Posted 17 April 2010 - 07:43 PM
I am using gm8 and when I try to use the command "saves time to variable" in my program i get this:
[codebox]
___________________________________________
ERROR in
action number 1
of Mouse Event for Left Button
for object obj_bomb:
Error in code at line 3:
execute_string(string(argument1)+"="+string(timecheck))
^
at position 47: Unknown variable timecheck
[/codebox]
When I use your timer program written in gm6 it works fine. But I can't seem to get it to work in mine.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











