Author Topic: Time System Script + Clock + Day Night Cycle  (Read 546 times)

Zefk

  • Sr. Member
  • ****
  • Posts: 492
  • Just helping Solarus
    • View Profile
    • Zelzec Business
Time System Script + Clock + Day Night Cycle
« on: December 04, 2016, 12:05:25 am »
About:
This is a time system script I did yesterday. I would not call it advanced, but it is pretty good.

Download demo:
Time System
Time System Day Night Cycle


Features:
1.Use bitmaps(png,etc) for clock
2.Use of sol.text_suface for font packages (Any Solarus compatible font package you want)
3.Able can change months, seasons, and days. EX: Pumpkin day!
4.The ability to easily change the text and coordinates of the text in the, "CHANGE SETTINGS AREA:".
5.Able to change the speed. Change time.timer = 1000 (1 second) to a lower number
6.Easy to change! Go down to the comment, "CHANGE SETTINGS AREA:" at the beginning of the script.
7.A RGB color reference comment list at the end of the script
8.The ability to easily change the font in, "CHANGE SETTINGS AREA:."
9.Easily change the font color in, "CHANGE SETTINGS AREA:." Uses RGB color, so check the reference list at the end of the script.
10.Easily change the font size in, "CHANGE SETTINGS AREA:."
11.Day night cycle

YouTube Preview:
Time System

Gif Preview:

« Last Edit: December 05, 2016, 05:28:44 pm by Zefk »

Zefk

  • Sr. Member
  • ****
  • Posts: 492
  • Just helping Solarus
    • View Profile
    • Zelzec Business
Re: Time System Script
« Reply #1 on: December 04, 2016, 04:21:51 pm »
Update:
-I added a basic day_night_cycle to the time system. It is able to be customized in the "change area" too.

I thought it would be pointless to make this a new post because it is just part of the time system. The script is more accurate in the demo than in the gif. I decided to make it easier to customize after making the gif.

Download demo:
Time System Day Night Cycle