I just came across this topic and I was wondering how to set up the jump and platforms from that
with great difficulty strawberrypunch.com (press M to mute the music)
to get started you could use a tilemap for the level and consider it a heightmap, you can'T go into tiles with a higher image index multiplied by a z variable comparable to the X and Y size of the tiles, so the higher the index of the image in the tilemap, the higher the Z position characters need to be able to walk on them. clamp the character'S Z position to the tile it's walking on so it can'T go below, and add a z velocity variable to reduce your character's z position on every tick. Z velocity is z velocity - gravity or something so on every tick the gravity increases. set Z velocity to 0 if you'Re touching the ground, set z velocity to something higher than 0 if you want to jump and it will gradually get eaten by gravity. tadaa, you have a heightmap and you can jump !!! now you just need to spawn sprites for each tile in the tilemap and position thme according to their x in the grid, Y in the grid, and image index and you have a visual representation of what your characters can jump on