my enemies keep floating in my plat former game and I tried to set their ay acceleration to 300 but it wont work can anyone help?
Sure! Let me at the code and I will bea- ahem I mean politely restrain it into working.
could you show the link for the game then I can help
Send the project and I can try to help
Could you send the link? That way people can look inside and find the problem.
Also welcome to the community!
https://arcade.makecode.com/S94135-24969-09383-63682 here is the code
Your code doesn’t have any enemies in it, maybe you sent the wrong link?
I don’t think I see the issue. Your using sprites then setting them on the tile… which sounds like what you want them to do…
A reply to my reply, make sure you’re also setting the locations correctly! That might cause it to act like they are floating.
my apologies here is the updated link https://arcade.makecode.com/S94135-24969-09383-63682
Here ya go!
I just added a simple variable called CanMove? and the game constantly checks if the variable is true. If it is, it will make the variable move in the direction of the sprite. You can check out the code yourself; it should be simple enough for you to understand.
Omg thank you so much this will help a lot ![]()