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

  • @chinmayanand896
    @chinmayanand896 Жыл бұрын

    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

    @accumulator4825

    Жыл бұрын

    This video series is inspiring aye! I hope many people learn more about coding and making games through this :)

  • @RyiSnow

    @RyiSnow

    Жыл бұрын

    I will not stop till the end for sure. Only a few videos left!

  • @chinmayanand896

    @chinmayanand896

    Жыл бұрын

    @@RyiSnow Thank you so much. 心の底から感謝しております。よろしくお願いいたします。

  • @davyswanson7412
    @davyswanson7412 Жыл бұрын

    another brilliant tutorial,you are amazing,thank you so much for these videos

  • @OG-kg4wx
    @OG-kg4wx Жыл бұрын

    This video game series is awesome. Keep going. You got this bro,

  • @juandebenedetti2884
    @juandebenedetti2884 Жыл бұрын

    I must admit that you have a good talent for music too xD, the one with the merchant is epic haha

  • @j9014201
    @j9014201 Жыл бұрын

    非常喜歡你的影片,詳細易懂。對於正在學習Java的我來說,非常的有幫助。期待您更多的影片,我會一直看下去。

  • @RyiSnow

    @RyiSnow

    Жыл бұрын

    多謝你的評論。我很高興聽到你喜歡我的影片。祝你學習順利 :)

  • @darkpaladin.
    @darkpaladin. Жыл бұрын

    Impressive work

  • @chinmayanand896
    @chinmayanand896 Жыл бұрын

    日本人の方でしょうか?今動画を拝見している間に気づいたんですが、パソコンの中に使われている言語は日本語ですかってこと!!!すごいですよね。 こんな役に立つ動画を作ってくれてありがとうございます。

  • @RyiSnow

    @RyiSnow

    Жыл бұрын

    いえいえ、こちらこそ御覧いただきありがとうございます。

  • @chinmayanand896

    @chinmayanand896

    Жыл бұрын

    @@RyiSnow よろしくお願いいたします。プログラミングが大好きです。

  • @piglava
    @piglava11 ай бұрын

    Your music is really good! :)

  • @RyiSnow

    @RyiSnow

    11 ай бұрын

    Glad to hear that!

  • @MyshaeA24
    @MyshaeA24 Жыл бұрын

    Is there a way you could add light to other objects or entities other than the player? (Ex: Torches, glowing monsters, glowing fireball...)

  • @termite1737
    @termite1737 Жыл бұрын

    Well doneee!

  • @erlendor3332
    @erlendor3332 Жыл бұрын

    Thank you for these videos. Is there a way I can use Graphics2D in JavaFx and Scene Builder?

  • @KweenAhlem
    @KweenAhlem Жыл бұрын

    ❤❤❤❤❤❤

  • @luciuscouto4592
    @luciuscouto4592 Жыл бұрын

    After this tutorial do you intend to make one of libgdx, lwjgl or another one?

  • @TORMENTUMM
    @TORMENTUMM9 ай бұрын

    Cool video

  • @MrLoser-ks2xn
    @MrLoser-ks2xn Жыл бұрын

    Thanks

  • @SvsJFaceoff
    @SvsJFaceoff Жыл бұрын

    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

    @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

    @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

    @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

    @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.

  • @orangomango
    @orangomango Жыл бұрын

    Cool video. Did you think about using JavaFX before?

  • @RyiSnow

    @RyiSnow

    Жыл бұрын

    Nope

  • @Mrtargi
    @Mrtargi Жыл бұрын

    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)

  • @Codeology75
    @Codeology75 Жыл бұрын

    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

    @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

    @Codeology75

    Жыл бұрын

    @@RyiSnow Thank you very much for your explanation and thank you very much for your fantastic work. Looking forward to your next project.

  • @momagi6039
    @momagi6039 Жыл бұрын

    NICE!

  • @mohithmk4196
    @mohithmk4196 Жыл бұрын

    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

    @havardelgsaas2603

    Жыл бұрын

    You must remove the "stop camera at the edges" from your code. That worked for me.

  • @mohithmk4196

    @mohithmk4196

    Жыл бұрын

    Ya that worked. Thanks for the help

  • @RenderDragon
    @RenderDragon Жыл бұрын

    Why you made you screen config fields as an instance fields instead of static?

  • @RyiSnow

    @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

  • @saschapolaschek4347
    @saschapolaschek4347 Жыл бұрын

    Good video. How many more videos are to come?

  • @michajurkiewicz5471

    @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

    @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

    @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!

  • @gibbyssofa8368
    @gibbyssofa8368 Жыл бұрын

    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

    @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.

  • @iKiwo
    @iKiwo Жыл бұрын

    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

    @randomartist2751

    Жыл бұрын

    Bro plays too much minecraft

  • @xyzzypumpkin504
    @xyzzypumpkin504 Жыл бұрын

    Hello, can you make a small tutorial where you allow the user to give the character a name?

  • @Mrtargi

    @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)

  • @BinaryDuo
    @BinaryDuo Жыл бұрын

    wow!

  • @Wexysad
    @Wexysad Жыл бұрын

    Bro, will you show us how to do online this game

  • @Mrtargi
    @Mrtargi Жыл бұрын

    And as many I would be appreciated if you've helped to make many lighting sources, like campfires, monsters, torches etc.

  • @MrLoser-ks2xn
    @MrLoser-ks2xn6 ай бұрын

    🥰🥰🥰

  • @anonymus_the_real
    @anonymus_the_real Жыл бұрын

    hi whats your dc name and #?

  • @markmcneill9566
    @markmcneill9566 Жыл бұрын

    Can you let us download the music because I'm bad at making music

  • @RyiSnow

    @RyiSnow

    Жыл бұрын

    You can download the asset from the link in the description!

  • @markmcneill9566

    @markmcneill9566

    Жыл бұрын

    @@RyiSnow thank you

  • @anonymus_the_real
    @anonymus_the_real Жыл бұрын

    Hi are You make a part where the character can plant plants or mine the mine

  • @Mike-ky6jc

    @Mike-ky6jc

    Жыл бұрын

    Minecraft is that you?

  • @anonymus_the_real

    @anonymus_the_real

    Жыл бұрын

    @@Mike-ky6jc whats?

  • @editor8395
    @editor8395 Жыл бұрын

    どもありがとうございます

  • @SegoItChUA
    @SegoItChUA Жыл бұрын

    Moar

  • @kaneki.dev.de.games.
    @kaneki.dev.de.games. Жыл бұрын

    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

  • @michajurkiewicz5471
    @michajurkiewicz5471 Жыл бұрын

    First :D