Тёмный
Kaarin Gaming
Kaarin Gaming
Kaarin Gaming
Подписаться
Greetings traveler!

Welcome to my channel of Game Development.


Stay safe!
YOU DIED! - Ep32
40:02
2 месяца назад
A BETTER WORLD - Ep 31
30:27
3 месяца назад
SMARTER ENEMIES - Ep30
16:17
4 месяца назад
ENEMIES can ATTACK?! - Ep29
47:19
5 месяцев назад
PEEK-A-BOO!  -  Ep28
41:17
6 месяцев назад
Membership Upgrade for 2024
1:27
7 месяцев назад
PAINTER'S ALGORITM - Ep27
24:04
7 месяцев назад
UPGRADING my NETWORK SETUP
5:11
8 месяцев назад
OUR First OBJECTS - Ep26
21:11
8 месяцев назад
WALL SLIDING part 3 - Ep25
23:00
9 месяцев назад
ACCURATE COLLISIONS part 2 -  Ep24
21:05
10 месяцев назад
COLLISONS  part 1 - Ep23
16:26
10 месяцев назад
GAMEMAP specific ENEMIES! - Ep22
14:17
11 месяцев назад
CONNECTING DOORWAYS - Ep21
25:05
11 месяцев назад
ADDING interior WALLS  - Ep 20
7:30
11 месяцев назад
We ENTER a DOORWAY! - Ep 19
29:17
Год назад
We add FLOORS Inside!
20:04
Год назад
ADDING a HOUSE? - Ep - 17
15:14
Год назад
First COMBAT In Our GAME! - EP14
50:42
Год назад
Комментарии
@notsospecialised
@notsospecialised 20 часов назад
absolute legend
@notsospecialised
@notsospecialised 20 часов назад
absolute legend
@Ygoldentech
@Ygoldentech 6 дней назад
Hello, thank you very much for the lessons, this is the best thing I have ever seen. You are excellent at teaching, you perceive everything perfectly. I have a question. We performed the "pos" test at 1920*1080 resolution. How to check for all resolutions simultaneously so that it works equally on 2, 5, 10, 20 and so on inch devices? I don’t know how to say this correctly so that it works identically on all devices, regardless of screen size.
@KaarinGaming
@KaarinGaming 6 дней назад
Hey! Thanks for the kinds words :D There is a few ways of doing this. I will probably make a video about this topic in the end of this tutorial. The simplest way is to use 0-1 as pos for the object. draw object at 0.454 in x pos. 0 is then the very left, 1 is the very right. And if you use a 1920x1080 screen, use multiplication. 0.454 * 1920 = the pos of the object in x. Regardless of the screen resolution, the object will always be in the correct place. Some games use slightly different ui for bigger screens to make the experience better for the user. Different screen sizes = different size of the world/ui. Best of luck.
@leoluz8569
@leoluz8569 7 дней назад
Thank you Kaarin Gaming. You videos help me a lot.
@DIABLOJOESTAR
@DIABLOJOESTAR 7 дней назад
ty for the ideas bro
@RenatoSousaRS
@RenatoSousaRS 8 дней назад
<3
@RenatoSousaRS
@RenatoSousaRS 8 дней назад
In the next episode, take care of the inventory and items.
@KaarinGaming
@KaarinGaming 7 дней назад
Sounds good!
@RenatoSousaRS
@RenatoSousaRS 8 дней назад
<3
@VMVladVMV
@VMVladVMV 8 дней назад
we should add health to our lives
@KaarinGaming
@KaarinGaming 8 дней назад
Sounds fair!
@oscarvanderherbie2202
@oscarvanderherbie2202 9 дней назад
I tried to compile the code but I got this error: PS C:\Users\oscar\java games\platformer tutorial\src\main> javac MainClass.java MainClass.java:5: error: cannot find symbol new Game(); ^ symbol: class Game location: class MainClass 1 error
@oscarvanderherbie2202
@oscarvanderherbie2202 9 дней назад
anybody have a solution?
@Monamagulakda
@Monamagulakda 10 дней назад
Libgdx tutorial
@jabelgarfias.hernandezverg6853
@jabelgarfias.hernandezverg6853 13 дней назад
How can I create old school Java games? Do you have videos on this or paid courses?
@asherseifan1748
@asherseifan1748 15 дней назад
thank you for including intellij
@adamekmaysz2274
@adamekmaysz2274 17 дней назад
The guide itself is nuts, but these variables names like 'bWaterC' ale absolutly terrible, it's unmaintainable for person who doesn't know the code and with project growing it's getting just bigger and harder to fix it. I would work on it. Besides of that, I find the series very helpful and well explained and edited.
@KaarinGaming
@KaarinGaming 16 дней назад
Cheers. bWaterC is 100℅ obvious duhh xD No but yeah, this was early in my coding tutorial days, it gets better :)
@asherseifan1748
@asherseifan1748 21 день назад
thanks
@minicubicsgames
@minicubicsgames 27 дней назад
Спасибо вам за видео! Не мог долко найти нормальный бесплатный курс по созданию игры на java, и вот наткнулся на ваш канал. Hello from Russia
@user-dv4vu1hy4p
@user-dv4vu1hy4p 28 дней назад
Your Java videos have been very helpful! Please keep making more!
@KaarinGaming
@KaarinGaming 27 дней назад
Glad you like them!
@medo_and_java
@medo_and_java Месяц назад
your explain is very very good 🙂🙂
@mattfoster9292
@mattfoster9292 Месяц назад
I've been scouring the internet for just this - TY. It's a year old now, but that's not too bad...
@DBhagyaLens
@DBhagyaLens Месяц назад
this series help me lot of my final year project...thanks bro
@VMVladVMV
@VMVladVMV Месяц назад
@develop-u3o
@develop-u3o Месяц назад
great job ! i have a problem , i want to try to add a local multiplayer with socket but i don't understand how to add it to the game
@sakshiiii6158
@sakshiiii6158 Месяц назад
keep up the good work man! no youtuber i've seen till now is as dedicated as you!
@KaarinGaming
@KaarinGaming Месяц назад
Thanks mate! :D
@hadefahmed3338
@hadefahmed3338 Месяц назад
I'm watching the platformer tutorial and I've encountered a bug. Will this be addressed in the upcoming episodes? The issue is that when the player reaches 80% of the level, only the x-coordinate of the draw function is being updated, not the hitbox. As a result, the hitbox continues to move incorrectly.
@AakifKohari-hc9xy
@AakifKohari-hc9xy 14 дней назад
So is it fixed, I did not turn off drawhitbox so I also noticed this Do you know if this is fixed in the Future?
@hadefahmed3338
@hadefahmed3338 14 дней назад
Yeah it's going to be fixed. The problem is that we forget to adjust the drawhitbox method so you had to on add - lvloffset as parameter and in the g.draw()
@AakifKohari-hc9xy
@AakifKohari-hc9xy 13 дней назад
​@@hadefahmed3338 So the problem wasn't with hotbox but drawing the hotbox. Ok
@burmeseguycoding450
@burmeseguycoding450 Месяц назад
Your videos are incredibly helpful, and you're the first to shed light on 2D game development with Java for me. I'm looking forward to more videos, especially on creating 2D open-world games like Stardew Valley and Harvest Moon, and using frameworks like LibGDX.
@KaarinGaming
@KaarinGaming Месяц назад
Glad I could help!
@ledom995
@ledom995 Месяц назад
I got anime girl walking over my computer screen, thanks!
@KaarinGaming
@KaarinGaming Месяц назад
That's what it is all about!
@jadotati7641
@jadotati7641 Месяц назад
Please add sound to the android game in the next video!!
@JellyCat04_VN
@JellyCat04_VN Месяц назад
Really love your video and the tutorial.Hope you keep working on this!
@KaarinGaming
@KaarinGaming Месяц назад
More to come!
@sakshiiii6158
@sakshiiii6158 Месяц назад
hey bro! nice tutorial i am looking forward to make this game as my final year java projects! i want to add the score and highscore and update the highscore as it makes the new high score, is there a tutorial for this playlist, if not can you please tell me how to do it?
@sejjyy
@sejjyy Месяц назад
Huge thanks for this one. We would love to see more of these extra episodes. :)
@KaarinGaming
@KaarinGaming Месяц назад
You got it!
@winter_born
@winter_born Месяц назад
Hey! I'm the guy that suggested this actually! Big thanks from me.
@KaarinGaming
@KaarinGaming Месяц назад
Thanks for the idea!
@RaahimFahd
@RaahimFahd Месяц назад
damn bro, i didnt know you still worked on this lol. IM FIRST HEHE
@HimanshuKumar-ns8cx
@HimanshuKumar-ns8cx Месяц назад
How to convert this project into jar file audio and image file are giving null pointer error in jar file
@unbeatable_gamerz
@unbeatable_gamerz Месяц назад
Bhai how to run it on vs code??
@ImHlkari
@ImHlkari Месяц назад
Question: Why didn't we just make the player class at the start when we were making the animations and loading the player?
@scott_the_pro
@scott_the_pro Месяц назад
case RUNNING: return 6; case IDLE: return 5; case HIT return 4; case JUMP: case ATTACK_1: case ATTACK_JUMP_1: case ATTACK_JUMP_2: return 3; case GROUND: return 2; case FALLING: default: return 1; i got you bro❤
@scott_the_pro
@scott_the_pro Месяц назад
package utils; public class Constants { public static class PlayerConstants{ public static final int RUNNING = 0; public static final int IDLE = 1; public static final int JUMP = 2; public static final int FALLING = 3; public static final int GROUND = 4; public static final int HIT = 5; public static final int ATTACK_1 = 6; public static final int ATTACK_JUMP_1 = 7; public static final int ATTACK_JUMP_2 = 8; public static int GetSpriteAmount(int player_action) { switch(player_action) { case RUNNING: return 6; case IDLE: return 5; case HIT: return 4; case JUMP: case ATTACK_1: case ATTACK_JUMP_1: case ATTACK_JUMP_2: return 3; case GROUND: return 2; case FALLING: default: return 1; } } } }
@JS-zu9tt
@JS-zu9tt Месяц назад
I was wondering, I can wait until I finish this tutorial, but do you have a book that you recommend like this course? I prefer to learn from books and so far, I like the series, thank you for making it love your voice, but I still want to read a book. I am pairing this tutorial as my hobby while learning Java for the afternoons and I am also following the Mooc-Java in the mornings before work. I am just interested in Java because of college and I am trying to balance learning with hobbies.
@KaarinGaming
@KaarinGaming Месяц назад
Glad you like it :) I have no books on java to recommend. If you do some searching, i'm sure you will find the most common ones others recommend.
@JS-zu9tt
@JS-zu9tt Месяц назад
@@KaarinGaming I found a few, I just don't know if they are basic java or use a library or framework. Thanks for replying.
@mysterymeat64
@mysterymeat64 Месяц назад
When I try to run my code like he does at 10:21, i keep getting errors that say: Exception in thread "main" java.lang.IllegalArgumentException: input == null! at java.desktop/javax.imageio.ImageIO.read(ImageIO.java:1356) at main.GamePanel.importImg(GamePanel.java:35) at main.GamePanel.<init>(GamePanel.java:25) at main.Game.<init>(Game.java:11) at main.MainClass.main(MainClass.java:6) I really thought I did everything right, but it seems not. Any Ideas?
@mysterymeat64
@mysterymeat64 Месяц назад
nvm I was doing the files wrong and it couldn't find the image lol
@marcelogamer1277
@marcelogamer1277 Месяц назад
Bro! Thanks for the explanations! Hi from Brazil :)
@obiku1971
@obiku1971 Месяц назад
An old one, but posted ot anyway :). My fix for pressing both left & right (player class updateAttackBox method) private void updateAttackBox() { attackHitbox.x = hitbox.x + (hitbox.width + (Game.SCALE * 10)) * flipWidth; attackHitbox.y = hitbox.y + (Game.SCALE * 10); } (player class updatePos method) // Left / right movement if (left && !right) { xSpeed -= walkSpeed; flipX = width; flipW = -1; } if (right && !left) { xSpeed += walkSpeed; flipX = 0; flipW = 1; } if (powerAttackActive) { if ((left && right) || (!left && !right)) { if (flipW == -1) { xSpeed = -walkSpeed; } else { xSpeed = walkSpeed; } } xSpeed *= 3; }
@obiku1971
@obiku1971 Месяц назад
My apologies. Should have watched till the end
@antoniosalvati-i6x
@antoniosalvati-i6x Месяц назад
26:26 Idk why I get 240 ms instead of 120 :(
@yuhnim2002
@yuhnim2002 Месяц назад
cant believe i've only just found this channel today, you're a gem bro
@tuano2850
@tuano2850 Месяц назад
Amazing !!! But I still don't understand how you can exactly indentify the X and Y position in a pause background
@Eleciscool
@Eleciscool Месяц назад
This tutorial is perfect and so helpful! I learned java for Minecraft plugins so it's cool to use it for a game!
@rakshithr5790
@rakshithr5790 Месяц назад
@kaarin Gaming can you update your discord link please its showing link has expired
@KaarinGaming
@KaarinGaming Месяц назад
Tested and still work
@jacksanim
@jacksanim Месяц назад
1:55 addKeyListener doesnt pop up with anything and just gives me an error.
@jacksanim
@jacksanim Месяц назад
after like 4 retries i got to work, onto episode 3 we go!
@tess185
@tess185 Месяц назад
I used the plataformer tutorial to learn how to make a game, in the end I learned so much and used the idea for a project. Thank u so much for this videos, they r really great and helpful, I learned a lot from them Best for you From Portugal ❤
@KaarinGaming
@KaarinGaming Месяц назад
@@tess185 Thanks! :D
@kassimiro947
@kassimiro947 Месяц назад
Incredible tutorial. I was reading Java Swing documentation over the last week and was making a game (solely for practice) with only JPanels, JButtons, JDialogues etc etc but I felt the LayoutManagers were too restrictive and not great options for switching between views in a game (although great for other type of apps) The whole time I kept thinking I was missing something and hadn't realized paintComponent was called automatically and I can essentially draw my entire game with it. This is incredible thank you! Back to the drawing board for me haha
@KaarinGaming
@KaarinGaming Месяц назад
@@kassimiro947 Glad you liked it! Best of luck :D