Clear Code
Clear Code
  • Видео 47
  • Просмотров 13 144 952
Creating a Pokémon inspired RPG in Python & Pygame
Thanks to Brilliant for the support, you can find them here: brilliant.org/ClearCode/
A RPG that is inspired by Pokemon and Final Fantasy in Python. We will use pygame-ce to create it and in the process you will learn database management, ui design and how to handle a really complex project.
Find/support me on other channels
Patreon - www.patreon.com/clearcode
Twitter - clear_coder
Discord - discord.com/invite/a5C6pYw2w5
Shoutout to Scarloxy for creating the graphics: scarloxy
Project files:
github.com/clear-code-projects/Python-Monsters
drive.google.com/drive/folders/12T4zuZchZRmQQ5I3s7SxoA5aRnoytbJP?usp=sharing
Timestamps:
00:00:00 - Intro
00:02:51 - Overworld setup
0...
Просмотров: 29 128

Видео

Creating an amazing 2D platformer in Python [ SNES inspired ]
Просмотров 55 тыс.2 месяца назад
Did you play too much SNES as a kid? Have you been raised by Nintendo and Mario? Time to remake the most famous game of that generation! For this beginners tutorial we will use pygame to create a Mario style platformer game that includes an overworld as well. Thanks to Brilliant for the support, you can find them here: brilliant.org/ClearCode/ Find/support me on other channels Patreon - www.pat...
The ultimate introduction to Godot 4
Просмотров 1,2 млн10 месяцев назад
This video is sponsored by NordPass Business: An amazing password manager that allows you to securely store and access unlimited passwords, including wifi credentials and credit card information. You can use it for yourself or for entire teams or share your own passwords easily. You can get a 3 month trial at: nordpass.com/clearcode/ A complete guide to Godot 4! This video will cover every aspe...
The ultimate introduction to modern GUIs in Python [ with tkinter ]
Просмотров 790 тыс.Год назад
This tutorial covers everything you need to know about user interfaces in Python. I will go over all of tkinter, Python's default GUI framework, cover all the basics and then create a BMI app, a calculator and a photoshop style image editor. If you enjoy this course, consider buying the tutorial that covers 7 additional apps: A responsive weather app, the ios stopwatch, a stock market tracker, ...
Creating a Mario Maker style game in Python
Просмотров 477 тыс.Год назад
Creating a Mario Maker style game in Python with a level editor, transitions, enemy behaviour, animations, menus and a player camera. It's a really chunky project. If you want to support me: www.patreon.com/clearcode (You also get lots of perks) Social stuff: Twitter - clear_coder Discord - discord.com/invite/a5C6pYw2w5 Timestamps: 000:00:00 - intro 00:01:48 - Introduction and edito...
Creating a Stardew Valley inspired game in Python
Просмотров 628 тыс.Год назад
A Stardew Valley style game in Python and Pygame. This includes farming and foraging, a day and night cycle, weather effects and a merchant. The game was also made in Tiled so you can expand it yourself. You can get my Pygame course here: www.udemy.com/course/learn-python-by-making-games/ If you want to support me check out my Patreon: www.patreon.com/clearcode (You also get lots of perks and a...
Creating 10 Apps in Python [ with PySimpleGui ]
Просмотров 207 тыс.Год назад
In this video you will learn how to create simple python GUIs using the PySimpleGUI library. There are 10 projects in this video: A converter, a calculator, a stopwatch, a text app, the snake game, an image editor, a music player, a weather app and a opencv face detector. There is also an extra video about creating a gui in a single line of code. By the end of the video you should be comfortabl...
The complete guide to Python
Просмотров 443 тыс.Год назад
The complete introduction to Python. This video will cover every part of it and also include lots of exercises so you can practice. If you want to support me: www.patreon.com/clearcode (You also get lots of perks) Link to the full course: www.udemy.com/course/learn-python-by-making-games/ Social stuff: Twitter - clear_coder Discord - discord.com/invite/a5C6pYw2w5 Project files: gith...
Image Manipulation in Python [ A complete guide to Pillow ]
Просмотров 63 тыс.Год назад
Basically everything you need to know about image manipulation in Python with Pillow [PIL]. By the end of the video you should be comfortable manipulating images in just about every way. If you want to support me: www.patreon.com/clearcode (You also get lots of perks) Social stuff: Twitter - clear_coder Discord - discord.com/invite/a5C6pYw2w5 Timestamps 00:00:00 - Intro 00:01:22 - B...
Understanding decorators [Python tutorial]
Просмотров 24 тыс.Год назад
A video on understanding python decorators, including the property decorator in classes. If you want to support me: www.patreon.com/clearcode (You also get lots of perks) Social stuff: Twitter - clear_coder Discord - discord.com/invite/a5C6pYw2w5 Timestamps: 00:00 - Intro & Decorator theory 03:34 - Function basics 08:28 - Basic decorator 21:03 - Decorators with function arguments 26...
Understanding classes and object-oriented programming [Python Tutorial]
Просмотров 113 тыс.2 года назад
A tutorial about classes and object-oriented programming. I will cover everything you need to create classes, use dunder methods, simple and complex inheritance and how to work with classes and connect objects. If you want to support me: www.patreon.com/clearcode (You also get lots of perks) Social stuff: Twitter - clear_coder Discord - discord.com/invite/a5C6pYw2w5 Timestamps: 0:00...
A guide to level creation with Tiled [ + how to use it with pygame ]
Просмотров 117 тыс.2 года назад
A video about Tiled, including terrains, isometric tiles, exporting and objects. I also cover how to import the resulting data into Pygame. If you want to support me: www.patreon.com/clearcode (You also get lots of perks) Social stuff: Twitter - clear_coder Discord - discord.com/invite/a5C6pYw2w5 Related videos: Introduction to Pygame: ruclips.net/video/AY9MnQ4x3zk/видео.html Using ...
Breakout in python
Просмотров 47 тыс.2 года назад
A video creating breakout in python. The game includes flexible graphics, sounds, powerups and a cool retro look. If you want to support me: www.patreon.com/clearcode (You also get lots of perks) Social stuff: Twitter - clear_coder Discord - discord.com/invite/a5C6pYw2w5 Related videos: Introduction to Pygame: ruclips.net/video/AY9MnQ4x3zk/видео.html Deltatime: ruclips.net/video/rWt...
Collisions between moving objects
Просмотров 26 тыс.2 года назад
A video about how to do collisions between objects, both static and moving ones. I will use pygame to implement it but the logic should work everywhere . If you want to support me: www.patreon.com/clearcode (You also get lots of perks) Social stuff: Twitter - clear_coder Discord - discord.com/invite/a5C6pYw2w5 Related videos: Introduction to Pygame: ruclips.net/video/AY9MnQ4x3zk/вид...
Creating a Flappy Bird Clone in Python / Pygame
Просмотров 53 тыс.2 года назад
A tutorial on creating the popular Flappy Bird game in python with pygame. If you want to support me: www.patreon.com/clearcode (You also get lots of perks) Social stuff: Twitter - clear_coder Discord - discord.com/invite/a5C6pYw2w5 Related videos: Introduction to Pygame: ruclips.net/video/AY9MnQ4x3zk/видео.html Deltatime: ruclips.net/video/rWtfClpWSb8/видео.html Masks: ruclips.net/...
Understanding framerate independence and deltatime
Просмотров 37 тыс.2 года назад
Understanding framerate independence and deltatime
Cameras in Pygame
Просмотров 110 тыс.2 года назад
Cameras in Pygame
Creating a Zelda style game in Python [with some Dark Souls elements]
Просмотров 3 млн2 года назад
Creating a Zelda style game in Python [with some Dark Souls elements]
Understanding Pygame masks
Просмотров 38 тыс.2 года назад
Understanding Pygame masks
Easy pathfinding in python [almost without math]
Просмотров 81 тыс.2 года назад
Easy pathfinding in python [almost without math]
Debugging in Pygame
Просмотров 13 тыс.2 года назад
Debugging in Pygame
Creating Space Invaders in Pygame/Python
Просмотров 117 тыс.2 года назад
Creating Space Invaders in Pygame/Python
How to create coding tutorials [or at least how I make them]
Просмотров 103 тыс.2 года назад
How to create coding tutorials [or at least how I make them]
An introduction to programming in After Effects
Просмотров 59 тыс.2 года назад
An introduction to programming in After Effects
The ultimate introduction to Pygame
Просмотров 2,2 млн2 года назад
The ultimate introduction to Pygame
Creating an animated button in Pygame
Просмотров 34 тыс.2 года назад
Creating an animated button in Pygame
Creating a Minecraft style menu in Python [Ursina]
Просмотров 32 тыс.2 года назад
Creating a Minecraft style menu in Python [Ursina]
Saving and loading in pygame with json
Просмотров 28 тыс.3 года назад
Saving and loading in pygame with json
Creating Minecraft in Python [with the Ursina Engine]
Просмотров 1,7 млн3 года назад
Creating Minecraft in Python [with the Ursina Engine]
Customizing sublime text
Просмотров 51 тыс.3 года назад
Customizing sublime text

Комментарии

  • @Eliseloalovebaby
    @Eliseloalovebaby 19 часов назад

    You woke up here

  • @user-vq9ou1sj6q
    @user-vq9ou1sj6q День назад

    Hey, thank you so much for uploading a great python content for a beginner like me. Greetings from Seoul, South Korea.

  • @cameronhanna367
    @cameronhanna367 День назад

    where do you get the pip file

  • @paulushdk
    @paulushdk День назад

    By the end of this video 💀

  • @user-dw6eg8oo7g
    @user-dw6eg8oo7g День назад

    I'll try my best to watch this and follow along, even though I can only spare an hour to learn here: Day 1: 00:00 - 7:09 (an hour of progress, most of the time spend on learning about delta time) Day 2: 7:09 - 31:35 (an hour of progress, ate a bit also)

  • @lotus12301
    @lotus12301 День назад

    I am kind of stuck at 9:39:57 for container in get_tree().get_nodes_in_group('Container'): print(container) when he is trying to Access the Container Group in from the Item Container Scene this does not work for me, it is not printing anything and other ressources i found online said you can only access groups in the scene they are in or where they inherit from Edit: is there maybe a Problem that the ready function in the level Scene runs before the outside level has loaded so it cannot see the Crates because they have not been created yet ?

  • @user-wo5es5sz8v
    @user-wo5es5sz8v День назад

    Defenatly one of the best TKinter tutorials. Thank you very much! Great job👍

  • @JasonNix-xc8be
    @JasonNix-xc8be День назад

    So I'm still getting the KeyError 'direction' every time I try to enter the hospital even after # clear the map.

    • @JasonNix-xc8be
      @JasonNix-xc8be День назад

      But I can enter the house

    • @ClearCode
      @ClearCode День назад

      @@JasonNix-xc8be open the tile map and see what you have in the starting position

  • @tog-gq8ix
    @tog-gq8ix День назад

    how to get uniformity using the grid method?

  • @draymone
    @draymone День назад

    Excellent tutorial !

  • @diobrando5334
    @diobrando5334 2 дня назад

    why can't we attach the tween to only the camera ...

  • @auxilotl
    @auxilotl 2 дня назад

    This is a god-send. Thank you!

  • @KAIBlent
    @KAIBlent 2 дня назад

    WTH is nuclear launch codes folder?

  • @TheSaturnized
    @TheSaturnized 2 дня назад

    07:04:30

  • @Killer10.10
    @Killer10.10 2 дня назад

    I have an problem after creating the small clouds, the helicopter that goes down doesn't work, if i stand on it while it goes down my character fals through it(And i'm not clicking on the down button). I now that the collision doesn't work if it goes down, but i don't find the problem. Can someone help me pls🥺?

  • @LesFere
    @LesFere 3 дня назад

    Superb video, thank you for this. You can use isinstance() to determine if a layer is a tilelayer: from pytmx import * ... layer = tmx_data.get_layer_by_name("Water") print(isinstance(layer,pytmx.TiledTileLayer ) )

  • @pogghitalia7197
    @pogghitalia7197 3 дня назад

    Thank you i learned pygame in only 3 hours!

  • @dmis157
    @dmis157 3 дня назад

    1:15:00

  • @mrsusan9294
    @mrsusan9294 3 дня назад

    This has been so helpful. I have always had a functional understanding of programming and never had the ability to explain what I was doing. With this everything has finally clicked and enhanced my understanding beyond what I could have imagined. Your explanation of Objects was really helpful as I have never been able to explain exactly what OOP is without going off on a tangent. Thank you!

  • @TAP555
    @TAP555 3 дня назад

    Anybody else still having issues with the laser not appearing when you launch the game at 3:02:00, just make sure your player in the Player scene is on the same coordinate as your laser in the Laser scene. Just highlight your player and collisionShape2D and right click to the (0, 0) coordinate to Move Nodes Here

  • @neokortexproductions3311
    @neokortexproductions3311 4 дня назад

    🔥🔥🔥🔥🔥🔥🔥🗡️🗡️🗡️🗡️

  • @ayushsidam289
    @ayushsidam289 4 дня назад

    Wow!!! Man I didn't know that there were bounce() and move_and_collide() available. Previously, I did the collision of a ball with vectors. It takes me a whole 2 days to get ball collision functionality. I wish I had seen the video earlier. 😅

  • @177silas
    @177silas 4 дня назад

    I just wanted to thank you. For now I'm 4hrs deep, and already learned a lot. I think, I never saw such good tutorial / classes / however we call it. Creazy good with a lot of knowledge. If I could, I would double upvote this. Cheers!

  • @LEGnewTube
    @LEGnewTube 4 дня назад

    Thumbs up just for the shear amount of content here.

  • @gabrijel9129
    @gabrijel9129 4 дня назад

    Hands down, the best introduction to Godot, perhaps even gamedev, ever. Not just making something moving on the screen (which is important), but rather the whole process, including transitions from scene to scene. Incredible stuff!

  • @polyhype
    @polyhype 4 дня назад

    I'm 3 hours in and loving it. You do a great job at explaining everything. Keep up the good work, brother!

  • @bladerunnerx800
    @bladerunnerx800 4 дня назад

    u sure this is beginner friendly? 💀

    • @ClearCode
      @ClearCode 4 дня назад

      it's so long because I explain everything in a lot of detail

    • @bladerunnerx800
      @bladerunnerx800 4 дня назад

      @@ClearCode im on about the coding part its so confusing idk what any of it means

    • @ClearCode
      @ClearCode 4 дня назад

      @@bladerunnerx800 oh right, you should know some coding bits, check out the first few hours of my introduction to python ruclips.net/video/mDKM-JtUhhc/видео.html

    • @bladerunnerx800
      @bladerunnerx800 4 дня назад

      @@ClearCode is gdscript literally just python?

  • @orion7426
    @orion7426 4 дня назад

    45:45 29.04.2024 2:18:33 30.04 2:56:30 01.05 4:15:22 02.05

  • @Boreality_
    @Boreality_ 4 дня назад

    8:41:37 anyone struggling with level transitions, its easy to change the 'modular' values by accident so double check. Be sure to be viewing the start of the animation before executing (it begins where your view is set to). Also check if your animation isn't set to looping (should be an white circling icon on the right of the timeline)

  • @goamatotes
    @goamatotes 5 дней назад

    This is gonna take a while to finish.

  • @GamersOutcast
    @GamersOutcast 5 дней назад

    using self is as annoying as using types. However, not as annoying as reading someones code whoe doesn't use them.

  • @Boreality_
    @Boreality_ 5 дней назад

    really clever to have 2 weapons, so the a lot of exercises can be applying the logic you demonstrate in lasers in grenades

  • @AlexTitarenko87
    @AlexTitarenko87 5 дней назад

    Great tutorial! Finished it in 3 days. Excellent

  • @MichaelHeuterkes
    @MichaelHeuterkes 5 дней назад

    Thanks a lot!

    • @ClearCode
      @ClearCode 5 дней назад

      thank you so much :)

  • @DrPlague_
    @DrPlague_ 5 дней назад

    Amazing and super easy to understand

  • @dimebagou7219
    @dimebagou7219 5 дней назад

    Hello @ClearCode, I don't understand how you make the pearl collision working as the Shell is in the collision_sprite so the pearl is killed right after its creation. I had to use this trick to make it work : def pearl_collision(self): for sprite in self.collision_sprites: if not isinstance(sprite, Shell): pygame.sprite.spritecollide(sprite, self.pearl_sprites, True) Did I miss something ?

    • @ClearCode
      @ClearCode 5 дней назад

      when the pearl is created it gets an offset so that it doesn't collide with the shell

    • @dimebagou7219
      @dimebagou7219 5 дней назад

      @@ClearCode Ok it's my bad, I forgot I changed it after I chose to launch it from the mouth :D You are perfect. Thank you.

    • @dimebagou7219
      @dimebagou7219 5 дней назад

      So I need to let my fix to make that works.

    • @ClearCode
      @ClearCode 5 дней назад

      @@dimebagou7219 no worries, hope it works now!

  • @Boreality_
    @Boreality_ 5 дней назад

    roses are red godot's confused the parameter 'body' is never used

  • @neon-lake
    @neon-lake 5 дней назад

    Need help at around 3:09:00, the laser itself isnt spawning when I test the game. I checked the code, I used global_position and pos but cant figure it out. $player.position was working fine tho uptill that point Some things I noticed in my project: Remote does show lasers being created like they should but the laser names dont come up as "laser@1, laser@2" etc. instead just "area2d@1, area2d@2 etc"

    • @neon-lake
      @neon-lake 5 дней назад

      I watched through that section to checked if there was anything I missed, any help is appreciated

    • @ramenflavors
      @ramenflavors 4 дня назад

      At the custom signal, did u by chance not put signal laser(pos), then in the function on_player_laser(pos) (u have to have the pos there in order to work) in the levels script, did u do laser.position = pos. Hopefully this helps

    • @neon-lake
      @neon-lake 4 дня назад

      @@ramenflavors yes I did do that, the laser(pos) signal is correct, and so is laser.position. Both r correct but still not getting the laser to spawn. I appretiate it tho

  • @Rundas69420
    @Rundas69420 6 дней назад

    I think that it might not be the best idea to hardcode the names of objects which should be rendered on top of everything else. Especially when expanding the game, which I'm definitely gonna do. Went for a boolean property in tiled and checked whether that prop is true in the code. Other than that, huge thanks for this 11 hour free banger video. Can't stress enough how well done your tutorials are^^

    • @ClearCode
      @ClearCode 6 дней назад

      yeah, there are some things that could definitely be done better but hindsight is 20/20 😅 glad you like it though!

  • @rhutikbhoir1
    @rhutikbhoir1 6 дней назад

    there's a error " AttributeError: 'pygame.surface.Surface' object has no attribute 'get_frect'. Did you mean: 'get_rect'? "

    • @ClearCode
      @ClearCode 6 дней назад

      you need to install pygame-ce! Uninstall pygame and the install pygame-ce, then you have FRects

  • @probro865
    @probro865 6 дней назад

    ty for this

  • @Lapisdolphin
    @Lapisdolphin 6 дней назад

    which coding app did you use

  • @jkgcproductions7589
    @jkgcproductions7589 6 дней назад

    im going to cry. its like some weird layer just shed off my brain and suddenly i can fucking understand godot and basic coding, what in the FUCK is this magic you wield. I am so grateful.

  • @Lapisdolphin
    @Lapisdolphin 6 дней назад

    It's by far the best Python tutorial I've ever seen. Helps a lot, great! Did you figure this out all by yourself?

  • @thecurs3dcreator589
    @thecurs3dcreator589 6 дней назад

    After this, I can't afford to forget python programming😅. Thanks bro👊.

  • @bobbobber4810
    @bobbobber4810 7 дней назад

    I am starting to use Godot and I am noticing the video is 9 months old. Is there a lot of things in that video that is now wrong because of the updates or I shouldn't worry about it? In any case, thanks for that video. This must be a lot of work.

    • @ClearCode
      @ClearCode 7 дней назад

      This video covers the fundamentals, which don't really change that much, do it still applies :)

  • @DriftGod400z
    @DriftGod400z 7 дней назад

    Bookmark 45:43