Arrow Keys or WASD to move around Q & E to Zoom z to hide variables You have to hit the green flag to change demos Yes this is real time not an animation You can drag the colored lights to prove it.
I made this because I needed a better lighting engine for my upcoming entry to @JawBreaker27695 's game contest. Basically, Scratch's normal color blocks aren't the best at tinting a sprite a specific color so instead I record each sprite and light's color values in their own variables. Then I do a whole bunch of list math to calculate the color and brightness that each sprite should be. Please let me know if you have any issues or if the framerate dips below 30 fps. (you can see the true "max" fps of the project with turbo mode) I might make a tutorial on how to implement this into your projects at some point. For now you can use this in your own projects, but remember to credit me. Music is "City of Tears" from Hollow Knight Some sound effects are from pixabay This is was made with some research and inspiration from the video "How Lighting (Basically) Works in Games" by TheHappieCat on Youtube. Everything else in this project is by me. #music #light #RGB #engine #color #sprite