I need help for ai

i need help with my game its a platformer and i need help with the ai and its a tag game https://makecode.com/_KAsguVcmePoy

Ok, so the first problem I am seeing is that you forgot to use acceleration y (ay) block to make the sprites acceleration to be able to reach the ground, second, you also forgot to place your sprite using place on tile block. And also, you need to use the camera follow sprite block so that you can make your sprite to be able to get followed on the camera. Here is the jumping in the first step what to do


This allo the sprite to jump if it is hitting a wall on the bottom, and why vy his makes the sprite jump and why - because on makecode - is up and positive is down. Then in the function do this

This allows the sprites ay accerleration go down why positive, remember positive goes down unlike math does - goes down but this platform just to be sure t means go down is positive. Do it for all 5 sprites so there acceleration work. And make sure it is y so it can have the gravity. Last step call the jump function in the forever so anytime pressing a, you can jump if hitting a wall.

And before we are done, set the sprites position, here is the code to make it more accurate.
And well done your platformer is finished, to view all the code I fixed, here is the code

Remember to edit the parameters so the sprite can place on the right spot, also, if you wonder where those values are on the tilemap editor you will see this.
image
How do the values change, drag your mouse on a tile you want on the tilemap editr and then see the coordinate it says, and then well done, you did it.
game:https://arcade.makecode.com/S76962-24491-76826-64659 congrats you just did it.