Activity

selmaqrini

Finally, the collision system, is close to be finally done ! It took me some time because i tried to make it more complicated than what it really is !
Also started sprinting. It should be working but i don’t understand why, i guess that’s something for next time ! I loved making these changes i learned so much !
Next easy fix : temporarily set the sprite hitbox to a fixed position and size depending on this sprite.
And the collision hitbox (with collide tiles) Should be surrounding the legs only and nothing more !

0
selmaqrini

I added a functional 2d camera, you can explore the map now !

Next -> Adding collisions and actually making something somewhat close to a map.

0
selmaqrini

I finally added map rendering, i was kind of stressed out about using the tmxlite documentation because it seemed complicated and i never used a documentation to implement any type of functionality. Instead i used a class made as a template for SFML projects in the official tmxlite repo. its amazing because it just works and i finally have a map that renders in the background with layers ! Woohooo !

Next step -> Viewport movement and collisions !

0
selmaqrini

I just added classes, my code is much more structured ! I’m still trying to understand how tmx lite works so i can start actually working on maps !

Attachment
0
selmaqrini

Added player movement, with animations and made it so i can modify the speed easily.

Next : levels !

2

Comments

mikesamibg
mikesamibg 21 days ago

I think that look incredible

Hridhaan
Hridhaan 21 days ago

wow

selmaqrini

I just initialized the project, i will start by creating characters, work on their movement and start with some sort of UI.

Attachment
0
selmaqrini

I’m working on my first project! This is so exciting. I can’t wait to share more updates as I build.

Attachment
0