day-night-cycle's People
day-night-cycle's Issues
Day/Night cycle only working on active Scene
Describe the bug
When changing the time in the calendar, the day/night cycle only changes for the currently active scene, but not for any other scene, players are in.
To Reproduce
Steps to reproduce the behavior:
- Open a scene
- Click on 'activate'
- Change day time
- Note, that the Darkness-Level changes
- go to other scene
- change time
- Scene doesn't darken, until activated and changed time
Expected behavior
Time works on a global basis: So when the party splits, and 2 Maps are considered active, both maps should update.
Screenshots
Video
Foundry:
- Foundry Version: 9 build 269
- System DND5E
- Module Version: 0005
Desktop (please complete the following information):
- OS: Win 11
- Browser: Vivaldi/Chrome/Edge
- Version Latest
Day/Night Cycle cycles from light to dark when in light values that are not full light or full darkness.
Describe the bug
I know the module is technically 'unsupported' as per the readme, but I thought I'd hail Mary this bug I found!
See video attached. darkness is cycling when turning on simple calendar + small time. This happens when all other mods are disabled except simple calendar, small time and day night cycle.
When the light is fully dark or fully light (night vs light) no visual errors. But when transitioning to dusk or dawn light values it seems to just ease in and reset.
To Reproduce
Steps to reproduce the behavior:
- Enable simple calendar, small time, day/night cycle.
- Load in my calendar (https://pastebin.pl/view/6a1015da)
- Go to a dusk or dawn time
- Press play on simple calendar to start the clock.
- Unpause foundryVTT
- It brakes?
Expected behavior
There should be a smooth transition to whatever light value is set/desired, then that value is held and slowly adjusted as simple calendar/smalltime progress the clock.
Screenshots
See video
Foundry (please complete the following information):
- Foundry Version v10 291
- System 2.0.3
- Module Version 0006
Desktop (please complete the following information):
Running on Oracle Server
- OS: Client: (Windows 10) Server: Canonical-Ubuntu-20.04-aarch64-2021.12.01-0
- Browser Chrome
- Version Version 109.0.5414.75 (Official Build) (64-bit)
output.mp4
Foundry v12 compatibility
As the Foundry v12 Stable was released it would be great to add new version compatibility for Day Night Cycle module.
Install renders scenes unable to be saved.
Describe the bug
Upon installing day night cycle, the 'Configure Scene' screen in Foundry stops saving changes.
To Reproduce
Steps to reproduce the behavior:
- Confirm you are able to save changes made on any 'Configure Scene' screen
- Go to 'Configure Modules'
- Click on checkbox for 'Day Night Cycle'
- Save changes
- Wait for scene to reload
- Open 'Configure Scene' screen on any Scene.
- Make any change and attempt to click 'Save Changes'
Expected behavior
In normal conditions, either an error will come up if a parameter is incorrect, or the window will close.
Foundry (please complete the following information):
- Foundry Version 9 build no. 269
- System DnD5e
- Module Version 0005
Desktop (please complete the following information):
- OS: Windows 10
- Browser chrome
- Version [e.g. 22] 102.0.5005.115
Additional context
See below for currently active modules
Request: Swap Scene Background at Darkness Level Threshold
Many mapmakers release day/night variants of the same scenes. It would be very cool to be able to automatically phase them in/out at a darkness level threshold
Moon Effects are unavailable in non English Languages
Update to v10
Hi,
Thanks for your module and work. Does it possible to update the module for the v10 ?
In the module.json I can see :
"minimumCoreVersion": "9",
"compatibleCoreVersion": "9",
Happy dev
Day Night Cycle not working on v9???
Relatively new Foundry player here, setting up a game on Forge.
I have been setting up my installation with a variety of modules that I want for my game, including Simple Calendar, Day Night Cycle, and Weather Control.
I created a simple "campsite" scene to test to make sure everything was working and that I knew how to use it, and I noticed that Day Night Cycle wasn't functioning properly.
I double-checked the scene settings and couldn't find anything amiss.
I then thought maybe there's a conflict, so with the help of Find the Culprit, I deactivated every module except for Simple Calendar, Day Night Cycle, and libWrapper. Day Night Cycle still doesn't do anything.
Am I missing something? Or is there a compatibility issue with Foundry v9?
Attaching a screencap of the scene config. Let me know what other info might be helpful and I'll get that to you. Thank you!
Setting max light level is actually setting maximum darkness level
I need my game to only get as light as 0.5 because it's Icewind Dale and the sun doesn't come up all the way..
The settings seem to indicate that I can do this, but instead it just stops the scenes from getting fully dark
To Reproduce
Steps to reproduce the behavior:
- Simply set a maximum light level
- let time pass
- see that it still gets fully light out
- see that it fails to get fully dark
Expected behavior
I expected that a maximum light level "for worlds that do not reach full light", would limit how bright a scene gets
Foundry (please complete the following information):
- Foundry Version 10 (291)
- System DnD5e
- Module Version 0006
Desktop (please complete the following information):
- OS: Windows 10
- Browser Chrome
- Version 113.0.5672.129
SceneData darkness "NaN" is not a number between 0 and 1
Describe the bug
When using the default settings with simple calendar. The darkness is not changed. Instead there is a new error shown every second. See the screenshots.
To Reproduce
Steps to reproduce the behavior:
- Activate Module
- Unpause game
- See error
Expected behavior
Change darkness according to time.
Foundry (please complete the following information):
- Foundry Version: latest (9.242)
- System: Splittermond latest (0.7.3)
- Module Version: latest (0004)
Desktop (please complete the following information):
- OS: Arch Linux
- Browser: Chromium 96.0.4664.110
Additional context
- German and english translations affected
- Changing darkness by hand to "reset" it, did nothing.
- Do you need anything else from me?
[Maybe a bug] "Undefined: NaN"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.