Game Progress - Jumping Jumping Fun
So with this update, beat them steve have officially launched. What is beat them steve, well it's a game where you play as a cow and beating up steve. You have to defeat the steve and proceed to the next level where you will have more steve to beat. You will have help along the way like your trusty villager which gives random powerup when you kill him. Progress through all the level and there is a surprise for you in the end.
What changed from my previous update, well platformer genre is now added in the game and with that came jumping. Jumping was easy to code that problem lies when it comes to the enemy. Where if the player jump over the enemy, the enemy cannot kill the player since they are always moving left. So what i did was add a tracker, so now the steve will detect if the player is on the right of them or not. This was a bit annoying to add since now all attacks including player will now have a left attack and a right attack. But with a bit of coding, i found a way to make it work by adding a variable which detect if the player is on the right of the enemy or left and it switches between which to attack with. The progress are what you see below.
Next is the character selector. this was a bit tricky because it was my first time having multiple player character. But the coding of the characters was quite easy, as it duplicate the normal cow code which i had previously done before and then add it on the new cow. But how the game knows which cow the player choose?. Well there is a variable that checks which cow the player have chosen and based on the number, it knows which cow to spawn. So poison cow is three, so when the game detects player have chosen poison cow, it spawn the cow. For the enemy detecting, that was easy, all the cow are under the player group so it makes it easy to code when the deal damage and such.
Lastly is Mr herobrine. To say he is easy is an understatement. Not only is he a hard boss, but he is also hard to code. Herobrine have this things called basic ability and advance ability. It will be easier if they are under one section, but they are separate. So to code this, i have separate timer for each ability. So to prevent this or other code colliding, i have a checker to detect when he is using ability. If he is using ability, he cannot use any other ability but the downside to this if there is an ability he wants to use while casting another ability, his timer will reset which is a bummer but this is the best i could do. But coding this boss was really fun and it just took long to code and check everything but everything is working out nicely
But i want to thank everyone for following my journey in making this game. I will have more fun game coming so until then, i hope you guys enjoy beefing with steve and herobrine. Thank you everyone
Files
Get Beat Them Steve
Beat Them Steve
Cow
More posts
- Roguelike in Beat them steve!!?Jul 10, 2024
- Game Progress - BlogJun 19, 2024
Leave a comment
Log in with itch.io to leave a comment.