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

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
  • NinStar @ NinStar:
    on tiramisu you can access it by opening mii maker
  • crafthp434 @ crafthp434:
    okay
  • NinStar @ NinStar:
    I don't have a wii u anymore to test it myself, but if homebrews are not visible on the wii u menu I think you can press L + R + minus to open the plugin menu, there should be an option called "homebrews on wii u menu" or something similar
  • crafthp434 @ crafthp434:
    nope
  • crafthp434 @ crafthp434:
    it is L+dpad down+ select
  • crafthp434 @ crafthp434:
    but homebrew is appearing in the home menu btw
  • NinStar @ NinStar:
    yes, now I remember it
  • NinStar @ NinStar:
    then it is working, I also don't like that they did this but it is the only option you have if you are using aroma
  • crafthp434 @ crafthp434:
    i just didint know the homebrew launcher didint exist in aroma
  • crafthp434 @ crafthp434:
    thanks btw
  • Xdqwerty @ Xdqwerty:
    Im downloading fallout 3 goty edition
    +1
  • BigOnYa @ BigOnYa:
    I'm downloading more ram for my hamster pc
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    New hamster PC, with anal operation and BT connectivity!
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, How do I make enemies respawn on gdevelop after
    the player dies?
  • Psionic Roshambo @ Psionic Roshambo:
    Carrying a PC or phone is so old school!
  • Psionic Roshambo @ Psionic Roshambo:
    Squeeze your cheeks twice to answer calls!
  • BigOnYa @ BigOnYa:
    @Xdqwerty you can use a "spawner" function on any object.
    +1
  • BigOnYa @ BigOnYa:
    Or when your player dies, you can say in code, if enemy exists, do nothing, but if enemy does not exist, then create enemy at certain spot. (This would be a pain tho for lots of emeies)
    +1
  • BigOnYa @ BigOnYa:
    Easiest, simple way would be just restart scene, but player would restart from beginning.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, thx in advance
    +1
  • Spider2190 @ Spider2190:
    Heya
  • Spider2190 @ Spider2190:
    How are you doing, @Xdqwerty
    ?
  • Psionic Roshambo @ Psionic Roshambo:
    Dolphin porn??? This man has my vote!!! Lol
    Psionic Roshambo @ Psionic Roshambo: Dolphin porn??? This man has my vote!!! Lol