Jigoku / boxclip

2D platformer engine using LÖVE and Lua
https://jigoku.github.io/boxclip/
GNU General Public License v3.0
93 stars 8 forks source link

Add full rotation to rotatable entities #97

Open Jigoku opened 6 years ago

Jigoku commented 6 years ago

Instead of using 0,1,2,3 for 90 degree rotation, allow R+SCROLL bind to rotate 0-360 degrees. This will allow more variety for placing entities such as props.

Jigoku commented 6 years ago

This was implemented pretty easily, however, collisions are a problem for selecting entities. Will need to add proper polygonal collision for rotated entities.

Jigoku commented 5 years ago

Note; Look into existing collision libraries.