ScratchData LogoScratchData
Back to Ping16's profile

2D Lighting Engine v.1.4

PIPing16•Created January 28, 2016
2D Lighting Engine v.1.4
14
12
286 views
View on Scratch

Instructions

Adjust settings, then press space. Turbo mode is recommended unless you want to watch it render.

Description

A very simple lighting engine. I plan to work on this more. Upcoming Features: - Fog - Different lighting colors - Different wall materials - Different render settings Version History: V,1.4 - 7/6/2016 - Lighting modes 3 and 4 updated. Now brightness affects both the brightness of the light and how many times it bounces. In addition, tweaked the pen setup for modes 3 and 4 a bit. V.1.3 - 1/31/2016 - Lighting mode 3 finalized for now. Added new lighting mode. - Lighting mode 4 - Same mechanics as lighting mode 3, except only showing the light that touches the wall, like lighting mode 2. V.1.3BETA - 1/31/2016 - Added new lighting mode. Still testing it. - Lighting mode 3 - Introduces light bounces. Currently only uses completely reflective walls. I recommend using the default 360 directions for it for now. V.1.2.1b - 1/30/2016 - Tweaked max directions - Doubled maximum directions from 2880 to 5760. V.1.2.1a - 1/30/2016 - Modified light position variables. - Drag the light around to move it somewhere else. V.1.2.1 - 1/30/2016 - New setting added. - Added LightX and LightY variables. V.1.2 - 1/30/2016 - New rendering option added. V.1.1b - 1/30/2016 - Another minor adjustment - Tweaked wall collisions (because I couldn't think of a better name for it) V.1.1a - 1/29/2016 - Minor adjustment - Increased maximum number of directions from 1440 to 2880. V.1.1 - 1/28/2016 - Shared (I forgot to share it when it was version 1.0) - Adjustable brightness setting. Lower setting is brighter. - New map added. V.1 - 1/28/2016 - Created - First Map - One color lighting

Project Details

Project ID95875272
CreatedJanuary 28, 2016
Last ModifiedJuly 6, 2016
SharedJanuary 28, 2016
Visibilityvisible
CommentsAllowed