Can you do 12 hr time with orange time system?

KingTentacleAU

TheGreatWigglyOne
Veteran
Joined
Sep 28, 2017
Messages
42
Reaction score
1
First Language
English
Primarily Uses
RMMV
I want to have a 12 hour time system, with AM and PM on my clock.

But i'm not sure how i could do it.
Also what can i use to give the clocks a back ground when displayed on screen?

I can use something like mog hunters time system, but i want to see if i can use orange first.
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,545
Reaction score
3,715
First Language
Java's Crypt
Primarily Uses
RMMZ
You can simply mod the current time by 12 before showing it to the user:







12am and 12pm will become 0, but you can change that with a conditional branch.
Or, to have everything in a single command, set the following script to the variable:

Code:
(OrangeTimeSystem.hour % 12) === 0 ? 12 : OrangeTimeSystem.hour % 12
 

KingTentacleAU

TheGreatWigglyOne
Veteran
Joined
Sep 28, 2017
Messages
42
Reaction score
1
First Language
English
Primarily Uses
RMMV
You can simply mod the current time by 12 before showing it to the user:

OK, i got this working.
How would you suggest me having AM and PM show on the clock?
I was thinking of using a variable to show one or the other with a \v[x] type deal.

But im not sure if i can or how to correctly do it.

UPDATE:
I can get the variable to change, but because of the 12hr script the way i did it would not work.

So i'm kinda stumped.
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,062
Members
137,575
Latest member
akekaphol101
Top