@scofieldforlife The character is always falling and checking the surrounding tiles (player.position.x / tilewidth and player.position.y / tileheight ), supossing that you have a bidimensional array for the map.
@killgt awesome :D what kind of file did you use? I'm trying to use a CSV (comma separated variables) file for mine and was wondering if I'm barking up the wrong tree because I'm struggling to get it to work
@killgt That's the point XD. When you release things open source other folks have the ability to help you out on your project. They usually help me clean up and optimize my code :3
One question... How did you define where character can stand, and where he can't? Also the moving bounds, left and right?
scofieldforlife 1 month ago
@scofieldforlife The character is always falling and checking the surrounding tiles (player.position.x / tilewidth and player.position.y / tileheight ), supossing that you have a bidimensional array for the map.
killgt 1 month ago
did you do this as a tile based game reading from a file?
TotalJargon 2 months ago
@TotalJargon Yes.
killgt 2 months ago
@killgt awesome :D what kind of file did you use? I'm trying to use a CSV (comma separated variables) file for mine and was wondering if I'm barking up the wrong tree because I'm struggling to get it to work
TotalJargon 2 months ago
@TotalJargon We used mappy (search on google, i cant post links :S), its really easy to implement, there are some tutorials.
killgt 2 months ago