Day 2 Progress
- Spent a bit messing with pointers and shaders and vertexarrays/buffers to have animated sprites be a single class rather than just an array of pointers to sprites
- Used a failing mouse to redo the texture atlas so the sprites remained their original sizes rather than just the bounding box size like Game Maker: Studio does
- Started typing all sprite data in. Example:
spr_scientist = CreateAnimatedSprite(texOdin,2,10,10); spr_scientist->setGMBoundingBox(4,0,7,9); spr_scientist->setOffset(5,5); spr_scientist->setSubrectPixels(0,100,160,10,10); spr_scientist->setSubrectPixels(1,110,160,10,10);
So I have to do this for all frames in all sprites. 270 of them. Hooray.
- Whatever I ate did not agree with me coming out, and hindered progress by an hour or more.