Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot implament a day and night system #7

Closed
MaxIsJoe opened this issue Mar 26, 2019 · 3 comments
Closed

Cannot implament a day and night system #7

MaxIsJoe opened this issue Mar 26, 2019 · 3 comments

Comments

@MaxIsJoe
Copy link
Owner

Cannot use Light2D or CanvasModulate nodes to create a day and night system

0% progress so far on getting a functioning system

All tests will be made in the WorldTest2 scene

Cannot work on maps until we figure out the day and night issue.

@MaxIsJoe
Copy link
Owner Author

MaxIsJoe commented Mar 26, 2019

CanvasModulate only affects the UI currently, tried switching layers and everything I can to make it only affect the tilemap but failed.

Light2D breaks the shadows for walls and doors, this allows the player to see behind walls which is not the effect we want, Light2D should only effect the entire tilemap for outside areas but so far I can't make it affect it the tilemap and everything on-top of it only.

@MaxIsJoe
Copy link
Owner Author

Using a Sprite and ColorRect didn't work as well, this issue will be revisited some day later.

We will continue using the Outside and Inside base nodes either way for the safe zones later on for the game.

@MaxIsJoe MaxIsJoe added this to Issues in 0.0.1 Release Apr 2, 2019
@MaxIsJoe
Copy link
Owner Author

As of commit number 049d89dccadc89aa253457358f7e5f6482d35e54 aka #111 the Day and Night system has been fully implemented and is working correctly

It will receive some improvements and optimizations later on but right now It just works fine

@MaxIsJoe MaxIsJoe moved this from Issues to Resolved in 0.0.1 Release Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
0.0.1 Release
  
Resolved
Development

No branches or pull requests

1 participant