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: 252

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:
    @Materia_tofu, We do learn a lot from plenty of talented individuals.
  • Materia_tofu @ Materia_tofu:
    this is true! i learned how to make soundfont remixes from a friend back in 2021
    +1
  • BakerMan @ BakerMan:
    Update on my brother: He's home now, tired and hungry, obviously, but other than that, seems to be doing fine.
    +2
  • Veho @ Veho:
    That's a relief to hear. Do you know what happened?
  • SylverReZ @ SylverReZ:
    @BakerMan, Any idea what happened? I hope that your brother's doing good.
  • BakerMan @ BakerMan:
    Well, from what I've heard from my parents, he had a seizure last night, perhaps an epileptic episode, fucking died, had a near death experience, my dad called the paramedics, they showed up, took him to the hospital, and he woke up covered in tubes, and started complaining.
  • BakerMan @ BakerMan:
    He couldn't eat until after his MRI, when he had a bomb pop.
  • BakerMan @ BakerMan:
    What matters now is that he's doing alright.
  • Veho @ Veho:
    But you still don't know what it was?
  • Veho @ Veho:
    Has he had seizures before?
  • The Real Jdbye @ The Real Jdbye:
    apparently stress can cause seizures, my brother had one during a test once
  • The Real Jdbye @ The Real Jdbye:
    never had one before that, and never had one since
  • Redleviboy123 @ Redleviboy123:
    Question about game texture chanching Do i need an own game id?
  • The Real Jdbye @ The Real Jdbye:
    @Veho for those that want to
    experience being sonic the hedgehog
  • Veho @ Veho:
    Ah, you mean
    furries.
    +1
  • The Real Jdbye @ The Real Jdbye:
    well, sonic fans are a whole separate thing from furries
  • The Real Jdbye @ The Real Jdbye:
    like bronys
  • The Real Jdbye @ The Real Jdbye:
    sonic porn is too weird even for me
  • Dumpflam @ Dumpflam:
    bruh
  • Dumpflam @ Dumpflam:
    guys how do i delete a post
  • The Real Jdbye @ The Real Jdbye:
    you don't
  • The Real Jdbye @ The Real Jdbye:
    you can report it and request deletion
  • BakerMan @ BakerMan:
    Also, no, that was his first time having a seizure, and hopefully the last
    +1
    BakerMan @ BakerMan: Also, no, that was his first time having a seizure, and hopefully the last +1