I’m In + Lighting Engine

Posted by
December 5th, 2016 8:45 am

I plan on entering LD 37! 😀

This will be my 3rd LD. Here are da things I use:

Python/Pygame

MS Paint

Beepbox.co

SFXR

Anything I can find for foley

 

Here is a lighting engine that I just finished and hope to use for the LD:

View post on imgur.com

This engine uses heightmaps. It creates (specified amount) of copies of the image on the ram based on the heightmap and the main image. This gif uses 100 copies. 100 copies can be generated by my pc in about 1/2 a second.

Since it’s pretty much only rendering tile variants in real time, the heightmaps don’t cause any lag. Also, since it’s pre-loaded, a 20×20 image takes about 500KB of RAM if 100 copies are loaded. If it were 10 copies, I could easily use 1,000+ images.


Leave a Reply

You must be logged in to post a comment.

[cache: storing page]