The sword attack is meant to be instant kill. We just need to count the duration the player sprite overlaps the enemy sprite and then proceed with the knife attack for lowered diffculty.
The pistol attack has a projectile which should be avoided by a jump from the player.
I fixed 2 bugs one was when running the sprites animation weren’t all the same size so the player’s running wasn’t smooth. I solved most of it by using an image of 21px width and 1px height to demostrate the gravity then I draw legs and upperbody position derived by it.

For some baffling reason when the sprite was colored by transparent pixels the collision physics weren’t working so i colored the sprite and just set the property to invisible.
Another thing is the vertical jump animation which should have been cycled start to finish and ended with finish to end and done it by this:
Reversing the array twice…
The next things to do are adding the shield impact by bullets and making the enemy switch shield positions in case the player jump over him…
2 Likes
Now enemy responds to bullets and change his direction towards the player
Found a glitch. You can still move and shoot and throw while you are in the dying animation.
Yeah… The code is a mess.
Added some sprites so I’m linking it here before I lose the changes
I now eny body means but I have upgraded my game
Added 2 dying animations of the enemy. Now enemy can be killed.
Camera is now displaying the player on the left instead of the center.
Still, not much space is left. I don’t know, may be dropping this because of this reason.
you pick name
game idea: type: fighting gameplay: you can pick makecode makers and they fight like Mortal Kombat and there’s a area mode
2 Likes
I like this idea. Makecode makers hungergames.
2 Likes
I want to take up this project. Though i cant do it right now, I might start it near the start of Feb
2 Likes
Someone wants to make something from this?!
1 Like
@Agent_14 can i help you ive already been working on the game and here it is so far, https://makecode.com/_CMwRKkg5J5fK , but im going to need your help with, well if you play the game you’ll know what.
1 Like
awsome can you help me with the enemies? (link above)