I am building some platformers using gideros.
I modified the tiledmap class written by some nice guy to take care of collisions!
1- you draw your map in tiled
2- you use the modified version of tiledmap
3- and voilà, you have your player colliding with the tiles!
I am super happy to share what I have got. Please tell me if you see anything wrong in the modified version of tiledmap.
I am planning to do another platformer tutorial using TILED this time and adding the modified class to the wiki somewhere.
PS: I have used my program to draw the tileset
https://mokalux.itch.io/onetiletotileset
Comments
Check this out
VS
Likes: MoKaLux, SinisterSoft
I will try your suggestion and modify my code, thank you for your help!
PS: I added it to the wiki:
https://wiki.giderosmobile.com/index.php/CBump
Likes: SinisterSoft
@rrraptor I have a question please, do you know how to "optimise" this piece of code as well:
Thank you for your help.I found it, thank you!
Likes: MoKaLux