Homebrew Timer (Very Simple)

Agent Moose

Well-Known Member
OP
Member
Joined
Dec 6, 2014
Messages
407
Trophies
0
Age
33
XP
552
Country
United States
So I hadn't seen a timer (rather than the actual osGetTime() function that just outputs the actual time) so I decided to make one. who knows, there might be one already made that I don't know about.

Anyway, As the title says, this is a timer, a very simple timer. It's more of a code that others can use than your homebrew application. (This is not a stopwatch or anything of the sort...although it can be made into one).

Inside the .zip file is the source and the .3dsx.

there are comments in the code saying what each thing does, as well as a clock that counts the current time down to the nanosecond.

I hope you all enjoy ^^

EDIT: Wow I was tired last night...I didn't even tell you much about what all it does:
It's able to count up to a certain number (in the example code I have it go to 60 seconds or 1 minute) and then you can just use an if statement to say what happens if it reaches 30 seconds or 60 seconds or whatever you want.
 

Attachments

  • Timer.zip
    55.3 KB · Views: 250

Agent Moose

Well-Known Member
OP
Member
Joined
Dec 6, 2014
Messages
407
Trophies
0
Age
33
XP
552
Country
United States
Wait, if it's not a stopwatch and it doesn't display the current time, what does it even do?..
As I said in the first post, it's more of a code that others can use. You can make a stopwatch very easily from it and it does display the time. but again, it's more of a utility code than a homebrew app/game.

Oh, cool! I actually should of known you would have made one. ^^
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: Lmao