Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

In a part of the blog you said that SNES doesn't have inner functions to compute sine and cosine, and I'd like to know what did you use to replace those

Hi! 

Good question! Like every other programmer, to replace sin/cos I simply used a Look-Up Table (LUT), that is a big table with all the sine / cosine values precalculated  (See "LUT makes sprites go round!" section of the making of).

If you want to see an example on how to use this for a SNES project, you can check the source-code of my other game "The Last Super"

=> download game and source code from here: https://drludos.itch.io/the-last-super

=> Open the file "TheLastSuper.c" and go to line 222 for the LUT table itself and line 2549 for an example of how I set X/Y position of a sprite using those table.

Hope that helps!