This is pretty complicated, so I’m making a silly dungeon crawler and I’d like to have an enemy that, when it hits a wall, redirects itself towards the player and tries again until it dies. Now, the code that I’m using works for only one enemy at a time, the other one just doesn’t move. I think that I could fix this by using an “On created sprite of kind” block, but I can’t find out a way to do this without having every enemy do the same thing, can anyone help? (Using sprite util btw if that’s important)
1 Like
I’m not sure if this helps, but you can define additional sprite kinds to help you keep track of different enemies.
If you need to keep track of a piece of data per sprite, you could use the arcade-sprite-data
extension.
If you’re still stuck, then feel free to share your code and/or let us know what you’re still having trouble with.
1 Like