You can put sprites in it and have them wander around using some sort of AI.
you might be able to use the sprite utility extension to calculate distance between the enemy and the sprite. https://github.com/jwunderl/arcade-sprite-util
The hammer can be a sprite and you can use the sprite of kind overlaps othersprite block. ex. on sprite of kind hammer overlaps othersprite of kind enemy, destroy othersprite
Similar to what I said in problem 1, you can make it so when it is in a certain distance, it says something.
You can still use the overlaps tile block! for instance you can do, if overlapping tile (chest)
then set tilemap to the next level.
The player can have an animation, of him swinging in place, without the hammer, and the hammer is created right over the player in the right spot, so when they are both animated at the same time, it looks as it is one sprite.
I’ve added a hammer, transitions, AND enemies to the game!
Here’s the link: https://makecode.com/_PryDfA3ga7Cg
You can use your hammer by pressing B, and you can also destroy the enemy by whacking it with your hammer. There’s also a room with a floor of breakable blocks, where you can also hammer.
The only reason NPCs aren’t here yet is because I couldn’t correctly start a cutscene. Do you know any ways this could happen using Raycasting?
Sorry for replying late, I didn’t see your question.
I think this might be what you are looking for.
The “Say” block displays really huge text, so you probably want it to be smaller.
I think this can be achieved by having an invisible sprite that is farther behind the speaker be the one saying the words.