Enter the Dungeon - How to Make a 2D Game in Java #52
In this video, we implement a dungeon and handle the transition.
We also change the day and night effect by area and change the background music.
If you want to use my assets (images/maps/sound) that are used in this tutorial, here's the link:
drive.google.com/drive/folder...
Guidelines for using Blue Boy Adventure's code and assets:
docs.google.com/document/d/1q...
Timestamps:
0:00 Introduction
0:30 Adding a New Monster and the Dungeon Map
2:10 Enter/Exit the Dungeon
3:07 Enabling/Disabling the Day and Night Effect by Area
11:08 Changing the Background Music
13:29 FINAL RESULT
#javagamedevelopment #javatutorial
Пікірлер: 64
Hey, I have a request that please continue this series till end and do not stop this. because this series gave me motivation to start learning java and do things in it. I know i am going to learn a lot from this series. i am already a fullstack dev but using javascript not java. But finally i am going to start learning java from this series. I love making games i think. so now i am going to start. Thank you so much for your efforts.
@accumulator4825
Жыл бұрын
This video series is inspiring aye! I hope many people learn more about coding and making games through this :)
@RyiSnow
Жыл бұрын
I will not stop till the end for sure. Only a few videos left!
@chinmayanand896
Жыл бұрын
@@RyiSnow Thank you so much. 心の底から感謝しております。よろしくお願いいたします。
another brilliant tutorial,you are amazing,thank you so much for these videos
This video game series is awesome. Keep going. You got this bro,
I must admit that you have a good talent for music too xD, the one with the merchant is epic haha
非常喜歡你的影片,詳細易懂。對於正在學習Java的我來說,非常的有幫助。期待您更多的影片,我會一直看下去。
@RyiSnow
Жыл бұрын
多謝你的評論。我很高興聽到你喜歡我的影片。祝你學習順利 :)
Impressive work
日本人の方でしょうか?今動画を拝見している間に気づいたんですが、パソコンの中に使われている言語は日本語ですかってこと!!!すごいですよね。 こんな役に立つ動画を作ってくれてありがとうございます。
@RyiSnow
Жыл бұрын
いえいえ、こちらこそ御覧いただきありがとうございます。
@chinmayanand896
Жыл бұрын
@@RyiSnow よろしくお願いいたします。プログラミングが大好きです。
Your music is really good! :)
@RyiSnow
11 ай бұрын
Glad to hear that!
Is there a way you could add light to other objects or entities other than the player? (Ex: Torches, glowing monsters, glowing fireball...)
Well doneee!
Thank you for these videos. Is there a way I can use Graphics2D in JavaFx and Scene Builder?
❤❤❤❤❤❤
After this tutorial do you intend to make one of libgdx, lwjgl or another one?
Cool video
Thanks
Hi! Great video as usual. Could you make a video where we can break more materials to make tools? Just a suggestion. Great video though! I was looking forward for a dungeon video.
@RyiSnow
Жыл бұрын
Sorry but it requires a bit too much reconstruction for that. This series started to make a simple action RPG such as the NES Zelda and the code is constructed with such games in mind so I don't feel like derailing from the original goal too much. I know there are still many features that you guys want to add but this series will end with a few more videos. However, after the series is finished I will likely add some extra videos from time to time so I can tackle the features that I didn't pick in the main series and crafting can be one of them. Can't promise anything at this point though. I'm a bit exhausted from all the work to make 50+ videos (;^_^
@SvsJFaceoff
Жыл бұрын
@@RyiSnow That is totally fine. I just want the videos with little extra things added. You don't have to be stressed about it. Even once a month is totally fine for me. Still, I appreciate that you are still going to add videos for this series.
@SvsJFaceoff
Жыл бұрын
Also, I am actually watching your video right now :). Kind a funny that you gave me a comment just when I was working on a project and watching your video! (Not this video, but in this series)
@SvsJFaceoff
Жыл бұрын
@@RyiSnow I just have one more question. Is it possible to make this into a multiplayer game where another person can join? If not, that's okay.
Cool video. Did you think about using JavaFX before?
@RyiSnow
Жыл бұрын
Nope
Hey Ryi! I found that if you are saving your position and different map, when you load it the environment and music effect are equal to the first map. So, right now I am struggling to implement a new solution for it)
Hello RyiSnow, In the video regarding TileManager, I noticed numerous changes that I haven't seen before. I may have missed a video where you introduced these alterations. Could you please guide me to the specific video where you made all these modifications to the TileManager class? Thank you.
@RyiSnow
Жыл бұрын
I changed some of the code in the TileManager when I created my tile editor (kzread.info/dash/bejne/q2Rqu6aGZa7XabQ.html). If you are not using my editor, the changes are not necessary.
@Codeology75
Жыл бұрын
@@RyiSnow Thank you very much for your explanation and thank you very much for your fantastic work. Looking forward to your next project.
NICE!
Hello sir, I have a weird bug where when the player teleports to the dungeon, he spawns half a block to the right of where he is supposed to and the collision is also half a block off. Top and bottom collision is working but left and right collision is off by half a block at the left edge of the map in the dungeon around 9 blocks from the left edge of the entire world map. I can't send photos in youtube, so if you need further clarification, please let me know.
@havardelgsaas2603
Жыл бұрын
You must remove the "stop camera at the edges" from your code. That worked for me.
@mohithmk4196
Жыл бұрын
Ya that worked. Thanks for the help
Why you made you screen config fields as an instance fields instead of static?
@RyiSnow
Жыл бұрын
Just because typing GamePanel.tileSize or GamePanel.screenWidth every time I need to call them makes the code longer and decreases the readability :P
Good video. How many more videos are to come?
@michajurkiewicz5471
Жыл бұрын
I'm curious what the next series of games will be? : D For sure Ryi will want to take a break, but I hope he will come back because he's great at tutorials and coding :)
@RyiSnow
Жыл бұрын
2 or 3 to be finished, I think. I'll probably add some extra videos from time to time but this series meets the end for now.
@SvsJFaceoff
Жыл бұрын
@@RyiSnow You should keep making videos and add more items, states, and more. I really need more videos for a game I am making. Thank you!
I don't know if you copy and pasted but if you did would it not be better to extend the green slime class
@RyiSnow
Жыл бұрын
Actually, that won't make much difference. Even if you extend the green slime, you still need to type the same things since its stats are different. You can create an abstract Monster superclass that can be used as a template for all monsters though.
Can you make a video where you code with this beautiful video game in which you create enchantment items and add them to items from an anvil?
@randomartist2751
Жыл бұрын
Bro plays too much minecraft
Hello, can you make a small tutorial where you allow the user to give the character a name?
@Mrtargi
Жыл бұрын
You can make a setter from the main menu and draw it like a monster's HP bar! I made this in one of my projects that should be online)
wow!
Bro, will you show us how to do online this game
And as many I would be appreciated if you've helped to make many lighting sources, like campfires, monsters, torches etc.
🥰🥰🥰
hi whats your dc name and #?
Can you let us download the music because I'm bad at making music
@RyiSnow
Жыл бұрын
You can download the asset from the link in the description!
@markmcneill9566
Жыл бұрын
@@RyiSnow thank you
Hi are You make a part where the character can plant plants or mine the mine
@Mike-ky6jc
Жыл бұрын
Minecraft is that you?
@anonymus_the_real
Жыл бұрын
@@Mike-ky6jc whats?
どもありがとうございます
Moar
Cara pior que eu queria prender mais o vídeo é em inglês eu os outros tutorial na minha língua eu não gosto prefiro vê os teu não aprendo mais me divirto vendo
First :D