Great explanation, I love how clear you teach and how organised everything is
@CodingWithRuss
10 ай бұрын
Thanks!
@adriano.santana
4 ай бұрын
I've been searching for a tutorial of this for years! Thanks a lot! 💯
@shravan170
4 ай бұрын
This is literally one of the good tutorials out there. Never did I once loose track of the code logic. Amazing!
@mil5815
10 ай бұрын
Without a doubt one of the best, most entertaining and educational tutorials I have seen. Worth seeing from the first to the last minute. Thanks for that and it's a shame that there are so few good tutorials, especially in the Godot area beyond the "platformers". Just a question or note: when calculating the "power" in your tutorial, the distance of the mouse cursor also plays a crucial role. Is that intentional?
@CodingWithRuss
10 ай бұрын
Thank you! That's great to hear. I checked the code again and you are right! The variable "dir" in line "shoot.emit(power * dir)" should be normalized()!. This reduces the overall power so it would need to be multiplied by a factor (say 100) to make the shot powerful again but would mean the power isn't linked to the distance. I missed that when I was making the game because I always position the cursor over the ball that i am aiming at 🤦♂
@psyboyo
9 ай бұрын
This is poetry! But I miss seeing you typing the code, it gives that... humane touch, even a pause between explanations, a less dense discourse.
@CodingWithRuss
9 ай бұрын
Thank you! I thought people would be bored of watching me type, but maybe not :)
@psyboyo
9 ай бұрын
@@CodingWithRuss And editing the video for the effect, surely takes you a lot of time ^^;;
@shravan170
4 ай бұрын
I like the fact that the video is condensed, saves a lot of time. But I understand what you are going for.
@roddy_21_25
10 ай бұрын
i love your videos :) i dont tend to code video games but i like to watch others people do. so, i just a recomendation, if you can, dont just upload the long tutorial, upload a short version of how you made the game too, like the video of your history coding video games on python with pygame. something short, because there are people like me, that love your content and like to watch short videos without learn the main concepts of programming a game. Its just my oponion, but, have a nice day and continue with your channel :) i love your videos.
@CodingWithRuss
10 ай бұрын
Thanks! That's a really good suggestion :)
@ivanzuccarino6894
6 ай бұрын
Amazing video, very intresting, funny and with a clear explanation! Greetings from Italy!
@CodingWithRuss
6 ай бұрын
Thank you!
@mikerowlands1043
6 ай бұрын
Fantastic tutorial! Exactly what I needed for my physics game. Thank you.
@CodingWithRuss
6 ай бұрын
Glad it came in useful :)
@ashleybennett7793
8 ай бұрын
Just finished this tutorial. It was fantastic! Thank you
@CodingWithRuss
7 ай бұрын
Thanks! Glad you liked it
@tassosmig7091
5 ай бұрын
Thanks for the tutorial, I have reprogrammed the game in C# and made some changes. I would now like to add something like a line on the target ball that shows the direction of the target ball before the ball is hit by the cue ball depending on the direction of the cue. Do you have an approach for this or is there a method?
@misskongiii7141
3 ай бұрын
just had a quick question - for some reason the powerbar is loading slower on Web? It also slows down when I play in fullscreen. Any idea why that's happening? In any case, thanks for this, it's an amazing helpful tutorial!
@uaint1stulast323
9 ай бұрын
Outstanding tutorial thank you... (about 45:05) Not sure if I did something different/wrong but I had to change b.position to b.offset to update the Sprite2D Vector2 location on screen. (Godot 4)
@MichaelGame_Dev
7 ай бұрын
I was curious, early on when talking about tunneling, you mention that one option would be to use a more sophisticated method of determining collisions. Could you give me an idea of what that would even look like? Like, what would I need to look up to find more info on possible methods to try?
@CodingWithRuss
7 ай бұрын
I didn't have anything specific in mind when I mentioned that, but one thing could be to project a line from the ball in the direction of the shot, then check for collision between that line and the cushions. You could then work out the coordinates of that collision and potentially the angle as well using Vectors. I haven't got a specific example but off the top of my head that could be a way of doing it. You would essentially be doing the collision checks manually yourself instead of relying on the built in physics engine at that point so that's why it is more complicated.
@Lansamatv
9 ай бұрын
I would like the balls to be a little more fluid when rolling, also teach us to add a store to buy cues, table skins, avatar and so on, also a store to buy gems, but when you finish the tutorials in mind to improve the billiards later
@Frustratedhen
10 ай бұрын
Great video and explain❤ that's really great 😮😮
@CodingWithRuss
10 ай бұрын
Thanks!
@Frustratedhen
10 ай бұрын
@@CodingWithRuss hy friend can you make chess game or you are making any game can you add touch input so we can install that app in Android and run
@sergeiseniuto627
4 ай бұрын
Love your lessons.❤❤❤
@CodingWithRuss
4 ай бұрын
Thanks!
@pliniofigueiredo5333
10 ай бұрын
great video! Just one comment, if you lock the rotation of the balls when they bounce of the walls they tend to ignore the angle they were going and end up bouncing straight forward (like what happens at 31:52 with the yellow ball).
@TurkeyTray
17 күн бұрын
Have you found a fix for this?
@pliniofigueiredo5333
17 күн бұрын
@@TurkeyTray in my case i simply deactivated the lock rotation on the ball. It means the sprite rotates, but it didn't bother me.
@notcarbuncle1493
6 ай бұрын
do you think its possible to follow this tutorial with a 3d implementation?
@pabloantonio5003
10 ай бұрын
to start a new game, why didn't you just reload the main scene? mighta been way easier than taking care of the new game function
@emmagetsu7369
9 ай бұрын
I love your videos, you are the best, I would like you to expand and add more things like the 8 pool ball from miniclip, so a store, multiplayer and please ❤
@Dormouse-tv7yh
2 ай бұрын
Great tutorial!, although using "Lock Rotation" messes up the bounce off the cushions, better to leave it off and add "$Sprite2D.rotation = -rotation" to the "func _process(delta):" within a script attached to the ball. Cheers!!
@CodingWithRuss
2 ай бұрын
Thanks for the tip! The rotation was a bit of a pain.
@WealthTastic
2 ай бұрын
Is it possible to make it in full 3d with balls rolling as they are hit and the cue stick being pulled as per force
@CodingWithRuss
2 ай бұрын
@@WealthTastic I think it would be possible since Godot is a 3d as well as 2d game engine, but I haven’t used it for 3d games yet.
@rezashir3873
10 ай бұрын
you are always amazing
@CodingWithRuss
10 ай бұрын
Thanks :)
@nicholasmello1337
7 ай бұрын
i'm trying make a southern bocce game based in this tutorial, but i don't have sucess with the Cue part and the shoot function. The cue ball don't apply central impulse. Could you help me with that? i'm using godot 3.3.3. sorry the bad english, i'm brazilian
@CodingWithRuss
7 ай бұрын
I used Godot 4 for this tutorial so it may be that some features won't work on Godot 3.
@nicholasmello1337
7 ай бұрын
@@CodingWithRuss haves it a solution?
@nicholasmello1337
7 ай бұрын
@@CodingWithRuss i'm an amateur in this
@CodingWithRuss
7 ай бұрын
@@nicholasmello1337I'm not sure, I never used Godot 3, sorry.
@blue123-m7h
Ай бұрын
thanks🥰🥰
@CodingWithRuss
Ай бұрын
You're welcome :)
@TheGenjutsuGod
10 ай бұрын
can we make these games in Android ? Please reply
@CodingWithRuss
10 ай бұрын
Yes I'm pretty sure Godot allows you to export to android, but I've never tried it.
@TheGenjutsuGod
10 ай бұрын
@@CodingWithRuss ohh yeah can I make these in pydroid it's an IDE for python And thanks for replying
@adriano.santana
4 ай бұрын
Do you have a patreon or something?
@CodingWithRuss
4 ай бұрын
I've had a few people ask so I have created one today :) But I haven't decided on any perks yet. It's here: www.patreon.com/CodingWithRuss
@luijininja7369
6 ай бұрын
I followed the code at generating pool balls, but none of the balls generated. Is there a reason for this or did I mess up somewhere?
@luijininja7369
6 ай бұрын
I was running the Table as the scene instead of the Main. Its fixed now.
@eduardoalves3123
10 ай бұрын
hello, bro. Man... Im strugling in how to do dialog with npcs in pygame. I don't know how to do it and I don't find nothing in web. You know how can I do it? Would you make a video one day about it?
@dangputerz
Ай бұрын
pygame is a whole different language and there are a lot of people who use it. It seems more sane to ask any of them ;)
@carlonsantosalberto3590
10 ай бұрын
podes hacer un tutorial de bomberman gracias
@ryanstevens3822
Ай бұрын
is this 2d or 3d
@CodingWithRuss
Ай бұрын
It's 2d
@Lansamatv
9 ай бұрын
you can improve this game add online multiplayer
@ericwood1185
10 ай бұрын
Awesome love it , but im having an error when i pot the cue ball, Attempt to call function 'apply central impulse' in base 'previously freed' on a null instance func _on_cue_shoot(power): cue_ball.apply_central_impulse(power)
@CodingWithRuss
10 ай бұрын
Potting the cue ball gave me some issues as well. The error that you're getting is different to what I had though. It seems like the cue ball is being deleted so it then throws an error when it tries to apply an impulse to it. Are you resetting the cue ball after you delete it? That would prevent this error.
Пікірлер: 64