Hello everyone!
This past week was pretty great!
What I did
- created another project and did all the usual stuff before getting to the new things
- this time i used delta time for movement which makes it independent from frame rate which i think is quite nice
- also in this project i decided to work with animations and see how they are in sfml
What I learned
- precompiled headers were a thing, helps with the speed of loading the project and testing it
- also learned that when using delta time speed is SO SLOW cause it's pixels/sec so i had to give it a bigger number like 400 or sth
- also using int rect and chopping down the sprite sheet into small parts i was able to play each sprite frame by frame to get animations! so far only wrote for idle and walking animations
What's next
- next up would be implementing physics like gravity and speed and etc
- after that i should go back to the animations and write for the jumping and falling animations as well using the physics i made previously
- after these... i'm not sure what would follow in all honesty, i'll think of it when i get there i suppose
That's all for this week, I hope you all are safe and sound. Stay healthy, stay lovely, and I'll see you all again next week!
Top comments (0)