|
Post by INKnight on Jan 29, 2018 18:10:05 GMT 1
I created a image with the logics and his colors, each skybox column is a day time and his transition to the next logic. How I can make a cycle with 4 minutes each column?
|
|
|
Post by G̸M̴ ̷P̸s̷i̷i̵c̸l̶o̷x̸ on Jan 29, 2018 23:34:37 GMT 1
the same with all 4 bars, then again all 4 bars and again all 4 bars to create more days. this is how i would do it, because i don't know how to loop it it's the easiest way, but it takes a long time. but honestly, if you want to create a cool game, you should invest tons of hours in the project. i have no problem with it
|
|
|
Post by blitzgrutel on Jan 30, 2018 15:43:26 GMT 1
I tried that. It's something very long to build and it's not working very well.
The major problem with a daylight cycle in KoGaMa is that the sun it "locked" in a special way with the slide bar, and you can see it if you activate 2 skyboxes 1 after the other with those settings:
1st cube: sun completely at the END of the slide for 5 seconds 2nd cube: sun completely at the START of the slide for 5 seconds
When the second cube will activate, instead to have the sun just moving a little to reach the next place, it will go backward the entire day to reach that same place.
So the only way to create something like a daylight cycle is to build a logic contraption with SEVERAL skyboxes that will activate one after the other to make the sun move a little each time, to finally reach the end of the bar, and then return slowly the same way to finally reach the start of the slidebar.
And with that you have to have a counter that will count the time for that contraption to end to be able to send another pulse at the right time to restart it.
And also with that, you have to have a pulse that will send an first unique signal to start the contraption when you enter the world.
I can say that if you want a small daylight cycle, let's say around 20 minutes, you'll have to use a couple hundreds of skyboxes. The calibration is also very difficult to make with the counter that will send the restart signal because you have to wait the entire day to see if you calculated well enough that timing.
|
|
|
Post by INKnight on Jan 30, 2018 21:31:26 GMT 1
Why we dont have a logic to simplify this?
|
|
|
Post by CaptainJens on Jan 31, 2018 18:37:35 GMT 1
Well I tried to create something simple but at the end I got this (It should work, but I can't guarantee 100% that I didn't connect something wrong) I think the simplest way is like Psiiclox said, using a lot of timers
|
|