Тёмный
Clear Code
Clear Code
Clear Code
Подписаться
I am making tutorials on coding, primarily in Python.
The ultimate introduction to Godot 4
11:32:41
10 месяцев назад
The complete guide to Python
11:08:59
Год назад
Breakout in python
3:21:21
2 года назад
Collisions between moving objects
52:35
2 года назад
Cameras in Pygame
1:13:21
2 года назад
Understanding Pygame masks
1:00:29
2 года назад
Debugging in Pygame
12:28
2 года назад
Creating Space Invaders in Pygame/Python
1:54:50
2 года назад
The ultimate introduction to Pygame
3:47:58
2 года назад
Creating an animated button in Pygame
32:49
2 года назад
Saving and loading in pygame with json
25:23
3 года назад
Комментарии
@GabrielNunes-kx2hv
@GabrielNunes-kx2hv 26 минут назад
Day 1 - 58:09
@user-of1zx5jg5u
@user-of1zx5jg5u 4 часа назад
先生,我是国外的蟒蛇初学者。希望大家能为这个高质量的教学视频添加字幕。谢谢。
@kvelez
@kvelez 7 часов назад
4:10:47 Thanks for this, I thought IfElse was the only thing available here in Python: mood = "focused" match mood: case "focused": print("I am focused") case "resting": print("I am resting") case _: print("I am tired")
@MrBuccaneer1
@MrBuccaneer1 7 часов назад
Danke!
@ClearCode
@ClearCode 7 часов назад
Gerne :)
@virgomaquiavelico58
@virgomaquiavelico58 14 часов назад
In creating the fruit graphic, the picture takes over great part of the screen and not only the cell size, i wrote the code exactly the same. What can be the problem? *Sorry for my lack of english. Edit: i fixed it with: apple = pygame.transform.scale(apple, (cell_size,cell_size))
@inFamousAssassiin
@inFamousAssassiin 15 часов назад
Hey, how can you do the multiline highlight note/de-note? Keypress shortcut?
@TheCyclops777
@TheCyclops777 16 часов назад
Neat tutorial. Very well explained for a total gamedev newbie.
@billylee5624
@billylee5624 17 часов назад
I can't wait to see the choice of AI in the vampire survivor game, I need to step it up with programming AI next.
@mrdixioner
@mrdixioner 20 часов назад
PyGame is very similar to some features of the Godot game engine, or vice versa :). The only difference is that there is a lot of manual work compared to Godot, although PyGame includes some techniques to make the game easier to create. But... By programming the entire game by hand, I began to understand more about how the game works, how collisions and movements work, how textures are loaded and much, much, much more. Thank you so much for such a wonderful lesson! PS. My player still falls through the platform as it moves down. I looked at your code, but didn’t find any differences (maybe I didn’t look well :) ).
@moritz8157
@moritz8157 20 часов назад
I fell asleep and woke up i saw the whole video
@user-ot9fp1vn7h
@user-ot9fp1vn7h 21 час назад
really amazing, the best tutorial I've ever seen.thanks, Christian. but I want to mention a small bug, when I'm running the game in a not full screen window, of course in the playing level mode, if I try to move the window, the game would turn into a sky mode, only the player with the sea, no other objects. it seems the player has fallen down in loop. can you found out whats the problem? thanks
@emln4031
@emln4031 21 час назад
Hi, im watch this video and doing the tutorial at the same time to understand better and memories all the stuff I can I'm on python 3.12, im at 17:20 and the program don't close is it normal ? thanks
@_P_a_o_l_o_
@_P_a_o_l_o_ 22 часа назад
Is there any advantage to using sys.exit() to exit the while loop, rather than using a boolean 'running' variable like in the following? running = True while running: for event in pygame.event.get(): if event.type == event.QUIT: pygame.quit() running = False
@ClearCode
@ClearCode 22 часа назад
both are fine :)
@_P_a_o_l_o_
@_P_a_o_l_o_ 22 часа назад
@@ClearCode Thank you so much for your reply! Also, thank you for putting out such amazing content, I'm learning Python and Pygame thanks to you :)
@lindenhamer4766
@lindenhamer4766 День назад
Hi Clear Code, I’ve followed your Monster Battle one so far - but I’m encountering issue with functions that seemingly don’t exist in my pygame? I’ve uninstalled and installed pygame 2.5.2 but still have issues. Issues were with: get_frect() (I’ve had to use get_rect) Also pygame.key.get_just_pressed() causes and error. The alternative “get_pressed()” works but the menu messes up. Is there something I’m missing? Perhaps incorrect pygame version ? Any help would be great thank you!
@ClearCode
@ClearCode День назад
uninstall pygame and install pygame-ce, it's the better pygame version with more stuff
@ClearCode
@ClearCode День назад
uninstall pygame and then install pygame-ce, it's the better pygame with more stuff
@lindenhamer4766
@lindenhamer4766 День назад
Perfect, will give that a try! Thank you for the really quick response and thank you for the great tutorial so far!
@shaivamuthaiya2015
@shaivamuthaiya2015 День назад
I tried to import one of those png with multiple images inside it and when i import it it is all clumped together in a 64 x 64 tile size. How do i work around that.
@nivoriumgold4396
@nivoriumgold4396 День назад
Man you're just awesome, keep going like this please🎉