Page 1 of 1

lights and shadow rotation?

Posted: Fri Nov 04, 2016 4:31 pm
by Ducktor Cid
I'm trying to remake a simple zombie game I made in flash about a year ago, I'm trying to use the lights and shadow library (more specifically, the port to 0.10 version https://github.com/tanema/light_world.lua)

But it seems I can't rotate the rectangles created by the :newRectangle() function. I need this because the player (and the torch they hold) should point towards the mouse.

Is there anyway I can make rotated objects in the library?