Hi, I have a slight problem. I have a game where I rotate the screen by setting the FP.screen.angle value based on user input. Now I wanna draw a hud ontop of this, without rotating said hud. I found a solution where I make an image of the current FP.buffer, rotate and render that, then render the hud ontop. @zachwlewis wrote this: https://github.com/zachwlewis/FlashPunk-Screen-Rotation
Now this solution works, problem is that it wreaks havoc on my camera movement, screen centering and so forth. I do some stuff with scaling and have to work with a tricky aspect ratio for this kind of game.
What I figured is that entity have a renderTarget var that I can give a custom bitmapData, is it possible to just give the hud a custom render target, and rendering this ontop of the existing FP.buffer? Am I way of here? If not how do I go about doing this. I’ve feebly attempted this but to no avail. Is there a simpler way of doing what I want or do I have to rewrite alot of my code to make the aforementioned solution work with my setup?