Save-Point
[XP] Real Time Day/Night Cycle System (in review for v.3.0) - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Event Systems Database (https://www.save-point.org/forum-38.html)
+--- Thread: [XP] Real Time Day/Night Cycle System (in review for v.3.0) (/thread-7547.html)



[XP] Real Time Day/Night Cycle System (in review for v.3.0) - Pelip - 09-17-2019

Real Time Day/Night Cycle System
by Pelip (aka AndreWharn or Andrew87Sky)

Recently I discovered Ruby can check computers' functions, like the clock, the date or even the battery. So I decided to create a little Day/Night cycle system, based on your computer's clock. So if your computer's clock is syncronized with the real time of the world, you can get day when in the world is day, and night when in the world is night! This system can check if it's day or night, but also if it's sunset, sunrise, midday, midnight, morning, afternoon and evening! This system is originally inspired from Pokémon.
(This thing below will change in v.3.0)
NOTICE: If your computer runs very slow, then I suggest to do not use this system then. This system works on musics changes, color tones changes and constant update of them and of other things like variables and external .rb files.

Demo

VERSION 1.0:
https://app.box.com/s/ziob7240vljyrnpi2kurveb73pc23id6
VERSION 3.0:
Coming soon.

Changelog

VERSION 1.0:
First release.

VERSION 2.0:
What's new in this version:
Added a text that shows in the screen the exact time of your computer.
Added a guy which can disable the text and enable it.
Added a bird that rest in the night cycle, and fly in the day cycle.
Added a girl that explains the bird's AI.
Added two new scripts.

VERSION 3.0:
Coming soon.

Instructions/Tutorials

Inside the demo.

How to download

(This thing below will change in v.3.0)
Copy on your project the 3 common events on the demo, the switches, the variables, KK20's Locking Picture script on the script editor above Main and make an autorun/parallel process on your map like the one in the demo.
Tho, you aren't forced to copy these scripts, copy them if only you want to use these functions:
Lightmasks: KK20's Locking Picture script.
(Only in v.2.0) Text that shows the time: gerkrt/gerrtunk's Text Pictures.
(Only in v.2.0) Girl that looks at the flying bird in the second map: Heretic's Movement Enhancements

Bugs
Lightmasks goes above players and events.
It may lag, so that's why I suggested before to don't use this system if your computer runs very slow. (this will change in v.3.0)
(Only in v.2.0) The text that shows the time can flash sometimes.

License

Feel free to use it in any projects you want, but you need to credit me.
Don't own, edit, sell, transform it in any way without my permession.


Credits

VERSION 1.0:
KK20 for their Locking Pictures script.
(https://forum.chaos-project.com/index.php/topic,14842.0.html)
VERSION 2.0:
gerkrt/gerrtunk and ThallionDarkshine for their Picture Text Command script.
(http://www.hbgames.org/forums/viewtopic.php?f=11&t=72241)
Heretic for their Movement Enhancements script.
(https://forum.chaos-project.com/index.php/topic,12295.0.htm)

VERSION 3.0:
Coming soon.

Special Thanks
Huge thanks to KK20 and Thefirelion for the help with this system, Roninator2 for the help with the lightmasks and DerVVulfman for the help to upload this system on Save Point. *hugs* uwu



RE: [XP] Real Time Day/Night Cycle System (V.2.0 AVAILABLE!) - Pelip - 09-27-2019

Updated Realistic Day/Night Cycle System to v.2.0:

What's new in this version:
Added a text that shows in the screen the exact time of your computer.
Added a guy which can disable the text and enable it.
Added a bird that rest in the night cycle, and fly in the day cycle.
Added a girl that explains the bird's AI.
Added two new scripts.



RE: [XP] Real Time Day/Night Cycle System (V.2.0 AVAILABLE!) - Pelip - 06-15-2020

Ok so, it's actually been a while since I was online on this site sadly, and yeah I worked on this system lately by my own while I was working on my indie game, though, I need still to complete and fix it, since when I edited it I think I broke something and it in fact stopped to work, lmao (but I can fix it of course, so don't worry).

So yeah, the new version will be available as version 3.0. Idk when though.
The version will not longer use file texts and I'll make it as lag-less as possible.