Do you think you can make a more optimized version of this lighting engine? I implemented it In the game I am working on and I was running about 1 fps.. which is unplayable. The lighting is just too pretty.
it is good but very jumpy. If i were you i would make the movement use some sort of velocity. For example: Every frame the xSpeed can go up by 1, and it stops going up at like 8 xSpeed. And when you let go the xSpeed goes down by 1 until it hits 0, then it stays 0. Makes the game smoother :)
Recent Comments
2017/4/30
LightingEngine
2017/4/5
Platformer Tutorial