Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
Help with Day night cycle. (I am back)

behroz-khan
Registered User
Quote
2019-04-06 20:27:02

Hi
A big hug to the new community.
I was unavailable for a long time because I just thought CopperCube is not ideal for good games. But now I just wanna make a game in it.....

Anyways, (I want niko to come here)
I am making an open-world game. So, day night cycle is really needed. But I can't figure out how to correctly fit niko's cycle into everything in my game (such as time, events, etc..) and especially what is Speed??? Is it how much it takes the day to complete?? If yes then, in what UNIT it is calculated.....
I just have no idea... :P

So please give me the detail about the speed so I can properly fit that into my game....

And ...
Why the sky is bright red on evening???
Please update the behaviour with new colour
(probably like yellow + orange). Please do it for me because i have no knowledge about coding.
(whenever I see js code i am surprised... :P)

Please help...


behroz-khan
Registered User
Quote
2019-04-07 20:51:23

Nevermind!!! :P

I will explain why...

I was thinking how to enable Post Processing effects during run-time. As soon as I was thinking, an idea popped out in my mind. CopperCube Tutorial And Documentation, a place to learn.
I browsed the PostProcessing effects page and found how to do that. For just side-information I clicked the link CCBSetSceneNodeProperty, and found something brilliant....
How to change FogColor, AmbientLight, etc during runtime
So I just thought:
Oh! well, I will just create that system myself by adding every few second change the light, etc.. and the advantage would be it will be already fit in my game...


Thank you niko, Now I feel power to write js code myself.
Thanks very much.....


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "I?ternational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact