So this week my primary task was to create a SpriteManager class and a SpriteComponent class. I started with the SpriteComponent and worked my way from there. When the SpriteComponent was finished I started with the SpriteManager, added functions and testing them on the way. When the two classes where finished I started on implementing them in the engine.
Now that was the tricky part and the part that took the longest time to do, because I had to add code in many different classes. So trying to navigate through and look for errors in the code got very confusing at some times, but after many different failing attempts I finally figured it out and I had my one second of happy moment. And then we started to discuss particle effects...
Anyway right now we can use our SpriteManager and SpriteComponent to create our GUI if want, but i m not done yet with our sprite system I have now started looking how to add some depth to our sprites as well, because right now as I mentioned earlier we can only us my system for GUI and we also want the z-axes, so thats my new task to look into.
Thanks for reading.
Inga kommentarer:
Skicka en kommentar