Log In  

Couple people asked about how I did sprite rotation for josefnpat's collab cart https://www.lexaloffle.com/bbs/?tid=27582
Included is a sprite rotation function, and a way of layering them on top of each other to create an illusion of a 3d sprite.
Everything is commented, hopefully it's clear.
Enjoy, hope this is helpful for someone!

Cart [#28035#] | Copy | Code | 2016-09-05 | Link

(the effect isn't perfect and can be a little unclear if you don't consider it when drawing sprites, if anyone has any more accurate examples of rotation functions I'd like to see!)

demo tutorial
P#28036 2016-09-05 08:53 ( Edited 2016-10-15 17:22)

:: More
About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2018-11-15 16:22 | 0.258s | 1572k | Q:17