How did you get seamless looping music to work? Is this a Studio exclusive feature? I'm still on GM7 and don't want to pay hundreds of dollars just to upgrade, so I can't look at the code or anything. But gameplay wise this feels spot on, and I recognize the "Act 2" layout being derived from one of Damizean's old engines. Also is Studio worth the upgrade? Right now I'm working on an RPG engine on GM7 and I'm entirely satisfied with it, except I don't like how sound effects seem to be in lower quality when actually playing the game. Goddammit this makes me want to go back to Sonic fan gaming again...
I know I'm replying to an old post... but I wanna point something out. Instead of doing this... simply run this equation for all possible image_angles at the start of the game, and put the results into a pre-cooked table for use... in areas such as, like you noted... the draw event you are using this for.