User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17

Thread: Can we make a light day/night system like Sea of Stars?

  1. #1
    Clicker

    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)

    Join Date
    Dec 2020
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can we make a light day/night system like Sea of Stars?

    Is it possible?
    You can see the game example here: https://twitter.com/seaofstarsgame

    I know it'd have a lot of variable but can we make something like that with CTF?

  2. #2
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    PixelABCD's Avatar
    Join Date
    Apr 2014
    Posts
    230
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    yes, you can do something like this in CTF as well using shaders + some lighting masks(?)

  3. #3
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    PixelABCD's Avatar
    Join Date
    Apr 2014
    Posts
    230
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

  4. #4
    Clicker

    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)

    Join Date
    Dec 2020
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    But how do you set the shadow position?

  5. #5
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    PixelABCD's Avatar
    Join Date
    Apr 2014
    Posts
    230
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    This is somewhat advanced stuff, if you don't get reply here you migth want to look into discord as well. For shadow there's probably some kind event which handles shadow positions, eg. based on where virtual sun/moon is based on day/night time. And using math to set scale/angle probably....

  6. #6
    Clicker Fusion 2.5Fusion 2.5 Mac
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    zip2kx's Avatar
    Join Date
    Jun 2015
    Posts
    860
    Mentioned
    18 Post(s)
    Tagged
    0 Thread(s)
    I think that game is done in a 3d engine with real time lightning which makes it easier. but you could get something similar darkness can probably be done with masking as Pixel said, color can be done with a saturation or hue effect.
    Shadow you would have to create a a unique one for each object, have a day timer (probably in an alt value) and then angle it based on that counter. use the same value to set your hue/saturation. You would come a long way if you just get the darkness and color to work without the shadow.

  7. #7
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    SergioAndre's Avatar
    Join Date
    Mar 2009
    Location
    Argentina
    Posts
    104
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Based on my experience with Clickteam Fusion I think you could achieve something similar, not at the level of the game you show but good enough...

    Here is a sample of a day/night system that I was working on a while ago with Clickteam Fusion. I did this by using the classic layer method with the "Subtract" effect and modifying the RGB values to make suitable tones based on the time of day.



    About shadows, maybe you can use a shadow image for each object and using rotation (to rotate the shadow based on the sun position), scale (to make it stretch or shrink also based on the sun position) and transparency (so that the shadow fades at nightfall) you can achieve something similar to the effect of the video.

  8. #8
    Clicker

    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)

    Join Date
    Dec 2020
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wow!! Your example Sergio is amazing! I need to test it xD.
    Thank you a lot for your words guys, now I can imagine how to do it.

  9. #9
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleUniversal Windows Platform Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Jonathan's Avatar
    Join Date
    Sep 2013
    Location
    France
    Posts
    249
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    That's pretty amazing Sergio, I would be really intersted about how you achieve that!
    Did you use shaders to change the ambiance color?

  10. #10
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    SergioAndre's Avatar
    Join Date
    Mar 2009
    Location
    Argentina
    Posts
    104
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Jonathan View Post
    That's pretty amazing Sergio, I would be really intersted about how you achieve that!
    Did you use shaders to change the ambiance color?
    Yes, I use shaders on the layers, I particularly like to use "Tint" since I can set the intensity of the "ambient color".

    I will try to make a simple example so you can see how it's done.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 26th September 2019, 11:49 AM
  2. How to make a day/night cycle using a timer
    By Warmachine in forum Fusion 2.5
    Replies: 9
    Last Post: 16th May 2018, 12:25 PM
  3. Day / Night cylce and other light sources
    By JoeA1982 in forum Fusion 2.5
    Replies: 7
    Last Post: 4th January 2016, 10:36 PM
  4. Day and night system
    By Dynamite in forum File Archive
    Replies: 10
    Last Post: 21st October 2008, 09:28 PM
  5. It is possible to have now a day and night system?
    By Rushino in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 2nd July 2006, 11:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •