I cant get enemies to work properly

so, here’s the deal. i’m trying to add enemies to my game, but they just… aren’t spawning. i have no idea why or how, all of my enemy code is used directly from my other games, so what gives?

here is the solution:

it’s still not spawning them in.

set myenemy to ghost through walls, not just “ghost”

I did, and I also gave enemybody its own sprite kind of the same name, but nothing changed.

take out the tile on the array of all tiles and choose the flag from the built in dropdown

The red one that was already in the box?

Screen Shot 2023-06-22 at 3.06.41 PM
it should look like this

it does, but it still isnt spawning them

yours looks like this:
Screen Shot 2023-06-22 at 5.01.10 PM
it should be this:

alright. i changed it, and the enemy is finally spawning.

…in the sky at the start of the level. dammit.

can you send me an updated link?

you forgot to place myenemy onto the tile

But I made a line of code that makes it so myenemy’s position is constantly the same as enemybody’s position. That’s why enemybody exists. It works out all the physics while the visible sprite just animates.