Some progress has been made. I have now the basic setup:
- A robot with aim and move animation setup. Possible further animation and refinement on the leg animation can be added later, but right now it's not priority. Weapons, Jet pack and weapon pack is now also possible to be added in.
- 3D coordinate to 2D screen coordinate calculation and its reverse, 2D to 3D, has been setup in camera. The function D3DXVec3Project and D3DXVec3Unproject basically do all the work. The calculation has been used to bound the player inside the screen. Later it would be used for HUD Gui such as lock-on symbols etc.
- Encounter some weird problem regarding incompatibility of managed and unmanaged code on GetInst function of Engine class, when trying to compile the editor. It's using static for Singleton pattern. The implementation has been changed to follow exactly the code in the book Design Pattern, and the error is avoided. I am not certain what exactly is the problem though. It's probably safer to make other Singleton class use the same setup for consistency and safety later.
- Stage setup in the editor...this is long over due, and without it the game cannot be setup properly. I should take this one slow and easy though,...rushing it will only cause problems probably. One thing I have to first is to check if I have something setup before already, and if there are reusable stuff from previous project.
- Add in enemies.
- Stage scroll process...most likely just need a universal scroll speed, which will be added to the player robot and camera.
- HUD GUI setup...this is probably on the lower priority. This time also I should keep things really simple.
No comments:
Post a Comment