Guard and Parry - How to Make a 2D Game in Java #49

preview_player
Показать описание
In this video, we implement a guard and parry (just guard) system so we can stagger the attacker and give extra damage!

If you want to use my assets (images/maps/sound) that are used in this tutorial, here's the link:

Guidelines for using Blue Boy Adventure's code and assets:

Thanks for watching.

Timestamps:
0:00 Switching Guard On/Off
6:49 Blocking Monster's Attack
11:59 Disabling the Transparent Effect
13:41 Adding Knockback Effect to Monster's Attack
16:43 Implementing the Parry System
25:15 FINAL RESULT

#javagamedevelopment #javatutorial #gameprogramming
Рекомендации по теме
Комментарии
Автор

Dude you’re literally insane I will for sure come back and start your tutorial thank you for being so clear and having detailed conversation explanations

kevcopo
Автор

Hi Ryi, I just want to say you are the best! and one day I will finish your game.

carbal
Автор

Oh wow, I didn't expected your combed to be that interesting! Very impressive I must admit!

laurenzfitzner
Автор

Ryi, are you a game developer, working in Japan? Your content is beyond my imagination :)))

termite
Автор

wooo I enjoy coming to find new videos! great stuff like always!

Langostaz
Автор

Excelenty Ryi like always!!
I found that the player can only open a door if he is above it, if it is to his right, left or above he cannot.. even if he has keys.
Tnks!!!

FerodriEste
Автор

Excellent video! One question. Are you planning on implementing multithreading in this game? If no, please, could you briefly explain how one would do this considering your existing code base (currently it's all about gamepanel where the game loop is). Any suggestions on where the multithreading can be used? (Maybe some complex in-game events, weather implementation). Also it would be very convenient if you started new series on LWJGL in Java. Anyway, thx for guides, keep up the good work!

istandmyself
Автор

Hello! Ryi whe do the stand counter appear and what for does it need? I follow your viddeos from the beggining and there was any word about it...

Mrtargi
Автор

It would be nice to be able to implement a mechanism that can freely resize the screen like most applications and games we find out there!

luciuscouto
Автор

My player still gets hurt when the orc isn't attacking. Any fixes?

OneLatteComingRightUp
Автор

Hey great video, I was just wondering why would one of my sprites not be switching properly when in just one direction because my code is pretty much the exact same as yours and the direction performs the right functions but the guard sprite isn’t showing up, I tried using several instances of the sprite but nothing seems to work

tristanwheelihan
Автор

Suggestion, will there be ever main menu etc overhaul?

Feroov
Автор

The orc knock back me on tree tiles somehow and I can not move

spicybean
Автор

Ryi, it would be great to add idle animation to everyone)But actually your game looks very cool)

Mrtargi
Автор

Hey man, so I am making a game and basically I checked up on your tutorial on making a game full screen and I applied the same logic. Creating a buffered image and drawing it to the rescaled window. It works, however, just this one change alone to draw a buffered image to my window kills my performance, I get almost 20 times worse framerate (from 1000 to 60). Nobody on any java forums have been able to help so I am wondering if you would know the solution? How to up performance because drawing a single buffered image should not be this performance heavy, and this is the only change I made.

jewishbanana
Автор

Another great video!
How can I stop the knockback effect on player when he died because when you press retry player gets knockbacked immidietly?

Nienawidzoncy
Автор

Hi great video, I just noticed that if you died while the orc knockbacked you and then retry, you respawned with the knockback effect . How would you fix that?

hugodoquoc
Автор

Hi Ryi,
I love your tutorial and thanks to you I am creating a 2d game for me and my friends but I want to make it multiplayer, with player interactions like you did with mobs etc. Is it possible for you to make an additional episode explaining how to implement this? Because I can't necessarily find things I want in other people's tutorial, so... Anyway, thanks for all the knowledge you share with everyone, because it means a lot to people like me who "learn by themselves" things via Youtube etc.

Hope you the best for the future

Thanks

alixjaugey
Автор

Hi RyiSow! I must say you are awesome :) Now I have solved the problem with fullScreenMap and MiniMap. So now it's working :) The problem was I had the old Tiles on placeholder. I took away the placeholder and now it's working :) Finally! I am happy you guys wanted to help me :) and I'm very happy about it. Now I have another strange problem. I can't open the doors with the keys. It just says in the game "What are you doing?". I have tried to solve this problem but I can' find it. please help me somebody.

drefter
Автор

Great content as always Ryi!
I've followed these series since the beginning and cant wait to implement this.
Do you have any plans to implement game save/load functionality? I was trying to implement this on my own but i cant decide whether to do it with Serializable interface for each npc and object or simply a properties file..

pulkstenis