RyiSnow

RyiSnow

This is a Java tutorial channel but occasionally I upload other stuff too. I consider myself a mediocre programmer but I'm trying to get better and this channel has become a place that records my progress (you can see how noob I was if you watch my first video!).

Guidelines for using Blue Boy Adventure's code and assets:
docs.google.com/document/d/1qcafOofpXYd_QPr95qbgfb1GYxXKgSZb/edit

If you feel generous and don't mind to give some extra support to this channel:
ko-fi.com/ryisnow


10,000 Subscribers

10,000 Subscribers

Пікірлер

  • @flow2035
    @flow20354 сағат бұрын

    Thanks mate!! Keep up!

  • @loop_light
    @loop_light7 сағат бұрын

    It's an amazing series of tutorial to follow. The way you explain complex ideas are really clear <3

  • @xkyzii
    @xkyzii21 сағат бұрын

    Hey ryi, im getting a problem if you think you could help would be great. Exception in thread “Thread-0” java.lang.arrayindexoutofboundsexception: index 230 out of bounds for length 50 At main.collisionChecker.checkTile(collisionchecker.java:29) At entity.player.update(player.java:82) At main.GamePanel.update.. At Gamepanel run.. At java.base/java.lang.thread.run(thread.java:840)

  • @RyiSnow
    @RyiSnow12 сағат бұрын

    The error message basically means that your code is trying to read data in index 230 of an array that has only 50 slots. And that is happening at line 29 in the checkTile method so that's where you want to check.

  • @xkyzii
    @xkyzii6 сағат бұрын

    @@RyiSnow it only happens after i added npc / player collision any reason why?

  • @flow2035
    @flow203523 сағат бұрын

    Thank you!

  • @HungamTuan-du6bv
    @HungamTuan-du6bvКүн бұрын

    how to make two player

  • @OneLatteComingRightUp
    @OneLatteComingRightUpКүн бұрын

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

  • @wombocorp
    @wombocorpКүн бұрын

    hell yeah we got half of a sentence, persona 2 fans eating good tonight

  • @nikolamiletic6991
    @nikolamiletic6991Күн бұрын

    I finished your tutorial starting from terminal game until now, and I wish to thank you for making making this AWESOME tutorial!!! <3

  • @kartikeyapanwar-cb8sn
    @kartikeyapanwar-cb8sn2 күн бұрын

    i entered all the code but the reactangle is not repaitning it is the same one and is dragging like a snake

  • @kartikeyapanwar-cb8sn
    @kartikeyapanwar-cb8sn2 күн бұрын

    i entered all the code but still the rectsngle is not moving :(

  • @ninivx_
    @ninivx_2 күн бұрын

    Hello, ik it is a year later but i can't get the ImageIcon thing to work and was wondering if anyone could help. Would be appreciated :D

  • @flow2035
    @flow20353 күн бұрын

    Great work! Keep going! For new Java versions you can write window.repaint(); at the end of your createGameScreen. I had the issue that the label was only shown when I adjust the window size

  • @user-ir2zl6hg9o
    @user-ir2zl6hg9o3 күн бұрын

    Always I am allowed to reference. May I ask you one question? If checked, the screen will flash black. Do you know what the cause is?

  • @nadinewalter-lang9333
    @nadinewalter-lang93333 күн бұрын

    You're legend! Thank you very much for your effort!

  • @nadinewalter-lang9333
    @nadinewalter-lang93333 күн бұрын

    Thank you very much for your tutorial! Do you also explain e.g. to increase speed only for maybe 10 sec?

  • @RyiSnow
    @RyiSnow3 күн бұрын

    Sure there are various ways to do that. 10 sec means 600 frames (if FPS is 60) so you can count frames like you do for switching sprites. For example, create a boolean boostOn and set it true when you get the boots. While this boolean is true, increase your speed. After 600 frames, set the boolean false.

  • @student9997
    @student99974 күн бұрын

    bro for me it is not displaying the chess pieces,please help.I am at the first 26:00 of the video

  • @AlexSilva-zs2ul
    @AlexSilva-zs2ul4 күн бұрын

    I'm wondering how I can draw the collision rectangle on the screen. Can someone help me?

  • @diamond2869
    @diamond28695 күн бұрын

    Thank you so much!

  • @zakarianaji6584
    @zakarianaji65845 күн бұрын

    good! you do not need to add or subtract speed in order to determine the player coordinates in switch, because they are already defined in player class.

  • @LawrenceDiaz-fj5vz
    @LawrenceDiaz-fj5vz5 күн бұрын

    I think i have a problem, its that when i move all the objecs are teleported to the very top of the screen

  • @joreo7520
    @joreo75205 күн бұрын

    This took me so long to find but if Can't stop moving or you can stop moving but the animation doesn't make sure the bracket { } is after public void update () { and if(keyH.upPressed == true || keyH.downPressed == true || keyH.leftPressed == true || keyH.rightPressed == true ) { GO ALL THE WAY down to right above public void draw or the spite counter and movement won't work. sorry for the all caps but it need emphasise sp you dont suffer the same fate that I did. have a good day!

  • @nadinewalter-lang9333
    @nadinewalter-lang93335 күн бұрын

    you're legend in doing tutorials!

  • @itzdurpp7180
    @itzdurpp71805 күн бұрын

    how do I get JPanel

  • @IamAFK14
    @IamAFK146 күн бұрын

    in C++ you can use Sleep() method to make it run on 60 fps and its very easy to implement

  • @lamrecode
    @lamrecode6 күн бұрын

    Tool for this : add obj to map(same tool create map), can you create ?

  • @dravenporsch7838
    @dravenporsch78386 күн бұрын

    So i stored the best path into a list array and made the entity move to it every second. Now the problem is when the entity reaches the goal i want to set the start node to the goal node and set a new goal node position, how do i do that? I hope you can reply❤❤

  • @ayamax-channel
    @ayamax-channel6 күн бұрын

    Hey RyiSnow! I know it's been a while, but did you ever consider to implement placeable interactive items? like for example a campfire to skip the night (maybe the tent could heal, while campfire doesn't), or a simple workbench to use materials from monster to craft weapons instead of buying the complete weapons (the crafting menu would work similar to the tradings, just with a placeable item), or even bombs to blow up path-blocking rocks I saw you already tested placeable items with torches but didn't do a detailed tutorial about it, would love if you do

  • @lamrecode
    @lamrecode7 күн бұрын

    Your tool just help us with tilemap, so how to add obj ?

  • @tungdo9145
    @tungdo91457 күн бұрын

    can u make a version with intellji please? i make game follow your path but i dont know how to export it I woul be appreciate that if you can make that

  • @j_and_v_switch
    @j_and_v_switch7 күн бұрын

    public void run() { double drawInterval = 1000000000/FPS; double delta = 0; long lastTime = nanoTime(); long currentTime; long timer = 0; int drawCount = 0; while(gameThread != null) { currentTime = nanoTime(); delta +=(currentTime - lastTime)/drawInterval; timer += (currentTime - lastTime); lastTime = currentTime; if(delta >= 1) { update(); drawToTempScreen(); drawToScreen(); delta--; drawCount++; } long frameTime = nanoTime() - currentTime; long targetTime = (long) drawInterval; while (frameTime < targetTime) { Thread.yield(); frameTime = nanoTime() - currentTime; } if(timer >= 1000000000) { frames = drawCount; drawCount = 0; timer = 0; } } }

  • @thepotatoofheaven
    @thepotatoofheaven7 күн бұрын

    is there a way to make a map gui that appears if player inputs "checkmap" that will show that the player moved to an area?

  • @Minetheground
    @Minetheground7 күн бұрын

    why does every key work with the controls, ive set the keyboard stuff up, but the keyboard is not working properly

  • @DisguisedOGOffical
    @DisguisedOGOffical7 күн бұрын

    Hey Ryi, I really like your style and am going to be doing this tutorial. Just wondering if you're still active?

  • @RealEverythingComputers
    @RealEverythingComputers8 күн бұрын

    Thanks, great video

  • @21_angthimyngoc64
    @21_angthimyngoc649 күн бұрын

    thanks❤

  • @aquaphoenix15
    @aquaphoenix159 күн бұрын

    Im using this now in 2024 and it is working like a charm. "If you want to skip this part but it will make it run better-". Dude, if you can help me more I am up for it always. Thanks for teaching me ❤

  • @Headon2580
    @Headon25809 күн бұрын

    Thank you so much for making these videos. I hope you'll continue making more.

  • @student9997
    @student99974 күн бұрын

    bro for me it is not displaying the chess pieces,please help.I am at the first 26:00 of the video

  • @LKPablo678
    @LKPablo67810 күн бұрын

    I have a problem, I did my personal icons for the mana, they are all 16x16 and all but when I put them they look black and white? And the background is just pure black. I dont know what I did wrong because yours work perfectly but mine dont and I have no clue.

  • @LKPablo678
    @LKPablo67810 күн бұрын

    Solved.

  • @someonewhospams0w0inchat16
    @someonewhospams0w0inchat1610 күн бұрын

    Wow its just like kamurocho in yakuza 😍😍😍

  • @firstly7919
    @firstly791911 күн бұрын

    thnk you bro

  • @dustinodett
    @dustinodett11 күн бұрын

    When I implemented the new eGenerator to the SaveLoad it kinda broke my game. My character would no longer load with the saved armor on and my storage would no longer work. In fact it would freeze the game and give and error about down1 being null. Other than that it all works fine. It also appears I do not "need" to remove all the "case" lines from the SaveLoad class so no biggie.

  • @iplay3542
    @iplay354211 күн бұрын

    I really don’t know what’s wrong with my collision detection, my character is still going through blocks it’s not suppose to and stopping blocks it is suppose to, and my character is a 16x16

  • @AlexisR696
    @AlexisR69611 күн бұрын

    I'm having an issue trying to move the white rectangle, I rewatch the video several times, but all my methods seems to be correct and I don't have any bugs in my debugguer. Someone wrote below that in the main class, the method order is truly important so I tried to do it the same way as he did but I'm still stuck at moving it. my KeyHandler class is working well since I can have different values depending on what button I press. Does anyone can help me ?

  • @davidswift3891
    @davidswift389111 күн бұрын

    ıf you have problem up1 = ImageIO.read(new File("C:\\Users\\odrit\\Downloads\\pixil-frame-0 (1).png")); up2 = ImageIO.read(new File("C:\\Users\\odrit\\Downloads\\pixil-frame-0 (6).png")); down1 = ImageIO.read(new File("C:\\Users\\odrit\\Downloads\\pixil-frame-0.png")); down2 = ImageIO.read(new File("C:\\Users\\odrit\\Downloads\\pixil-frame-0 (7).png")); left1 = ImageIO.read(new File("C:\\Users\\odrit\\Downloads\\pixil-frame-0 (3).png")); left2 = ImageIO.read(new File("C:\\Users\\odrit\\Downloads\\pixil-frame-0 (8).png")); right1 = ImageIO.read(new File("C:\\Users\\odrit\\Downloads\\pixil-frame-0 (4).png")); right2 = ImageIO.read(new File("C:\\Users\\odrit\\Downloads\\pixil-frame-0 (5).png")); change pixil-frame to player and change odrit to your computer name

  • @LKPablo678
    @LKPablo67812 күн бұрын

    Wouldnt be easier to just do a cooldown?

  • @fuadcs22
    @fuadcs2212 күн бұрын

    Release a standalone binary version without any runtime needs. Your product usage will be huge.

  • @gantinafali
    @gantinafali12 күн бұрын

    Where are the assets?

  • @onlyfujio7272
    @onlyfujio727213 күн бұрын

    Hi,very cool series btw,im following u step by step,and also im doing a course of java,btw i dont understand why when i copy the "NPC_setAction()" on the MON_GreenSlime for the movment AI the "actionLockCounter" cannot be resolved to a variable,can u explain me that,how to fix and why?

  • @kaybo1597
    @kaybo159714 күн бұрын

    Japones csmr te amoooo, si vienes a Perú te preparo tu rico ceviche csmr....

  • @katiedouglas19
    @katiedouglas1914 күн бұрын

    If you're looking to randomize the damage the guard does, this is what I did. Random random = new Random(); int guardDamage = random.nextInt(5)+1; ^^