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.
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
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.
Coming soon.
Changelog
VERSION 1.0:
VERSION 1.0:
First release.
VERSION 2.0:
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:
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
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.ph...842.0.html)
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.ph...842.0.html)
VERSION 2.0:
gerkrt/gerrtunk and ThallionDarkshine for their Picture Text Command script.
(http://www.hbgames.org/forums/viewtopic....11&t=72241)
gerkrt/gerrtunk and ThallionDarkshine for their Picture Text Command script.
(http://www.hbgames.org/forums/viewtopic....11&t=72241)
Heretic for their Movement Enhancements script.
(https://forum.chaos-project.com/index.ph...2295.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
(https://forum.chaos-project.com/index.ph...2295.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
(This below is my signature, it's not part of the post/message)
I'm a male and italian indie game developer, spriter and musician.
I'm currently working on my own indie game, called Our Destiny.
Follow it on it's GameJolt page: https://gamejolt.com/games/ourdestinyofficial/449988
----Contacts----
Twitter: https://twitter.com/Andrea87Sky
SoundCloud: https://soundcloud.com/skycraft-team-official/tracks
YouTube: https://www.youtube.com/channel/UCjPA_e7...subscriber
I'm a male and italian indie game developer, spriter and musician.
I'm currently working on my own indie game, called Our Destiny.
Follow it on it's GameJolt page: https://gamejolt.com/games/ourdestinyofficial/449988
----Contacts----
Twitter: https://twitter.com/Andrea87Sky
SoundCloud: https://soundcloud.com/skycraft-team-official/tracks
YouTube: https://www.youtube.com/channel/UCjPA_e7...subscriber