I was thinking today about another example game to include in my book. I have a heap of ideas but I wondered if there was maybe some simple game that I could use a RenderTarget for. So I came up with an idea using a bunch of RenderTargets for game objects. I started coding and decided to use SAT (Seperating Axis Theorem) for the collision.
After a while I began to question myself and wonder shy not use one of the features of RenderTargets to detect said collisions. Therefore getPixel() will be used to detect wall collisions in this little project.
I’m quite happy that I have come up with this novel solution to a tricky collision problem. I hope it works out how I think it will 🙂
Of course today is Sunday so we should be thinking about questions..