I've been working on making an object system that can work with what I have in mind for a game engine.
Any thoughts, feedback, or input on my design would be appreciated, I'd like to know if I'm taking the right approach, if something could be improved/optimized/etc. I tried to comment all the subroutines and variables to make it easy to understand, but if there's anything cryptic, I'd be happy to explain it.
Merci.
- 6 sprites are reserved for the player (2x3 sprites)
- 3 sprites are reserved for the player's weapon (Which hasn't been implemented yet)
- Right now I've made it so that there can be at most 3 2x2 sprite Enemy objects in a screen. I could change this, but I think it's enough for the type of game I have in mind (Which is focused more on exploration rather than constant action.)
- The rest of the sprites can be used for everything else; enemy projectiles, powerups, etc. (Which also haven't been implemented yet)
- There's no animation right now. I decided that I should make the object system first and have a seperate system for animation, and trying to make both at the same time would unnecessarily complicate things.
- Chr ROM
Any thoughts, feedback, or input on my design would be appreciated, I'd like to know if I'm taking the right approach, if something could be improved/optimized/etc. I tried to comment all the subroutines and variables to make it easy to understand, but if there's anything cryptic, I'd be happy to explain it.
Merci.