Clear Code
Recreate Stardew Valley in Godot & and master advanced Godot concepts
updated
This video covers how to create layouts in Godot! It covers basic concepts like anchors and themes and uses them to create animations, integrate 3D graphics and use controller input. By the end of this tutorial you will be able to create a Zelda: Breath of the wild style menu.
Project files:
drive.google.com/drive/folders/1cE8QGMpbNeNPV1JY3bUfnnZlHyVC7fjO?usp=sharing
data dictionary for the BotW menu: pastebin.com/zw9hX2GU
Find/support me on other channels
Patreon - patreon.com/clearcode
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
Timestamps:
00:00:00 - Intro + sponsor
00:01:25 - Godot's layout logic
00:47:34 - All the Control nodes
01:19:45 - Themes and animations
02:01:16 - Controller input
02:14:15 - Breath of the wild inspired HUD
02:43:53 - Layouts in a 2D game + Speechbubbles
03:08:04 - Breath of the wild style menu
This video will cover the basics for Raylib in 2D & 3D. Raylib is a powerful library that lets you create games in basically any programming language. It has lots of tools to make game development easier and with a bit of practice you should be able to make advanced games like Doom or Pokemon on your own.
Big thanks to Kenney for making the art assets, you can find more from him at kenney.nl
Find/support me on other channels
Patreon - patreon.com/clearcode
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
Project files are available here:
github.com/clear-code-projects/raylib_intro
drive.google.com/drive/folders/12C-hmAx0_kXvBoqEm3uFj_LVRJduiwSe?usp=sharing
Timestamps:
00:00:00 - Intro + sponsor
00:05:10 - Basics
00:36:21 - Movement
00:53:08 - Input
01:09:10 - Collisions
01:17:56 - Cameras
01:28:57 - Audio
01:32:54 - Using classes
01:47:22 - Collision resolutions
01:58:52 - Timers
02:11:14 - Animations
02:18:46 - 2D Game
03:21:48 - 3D basics
03:44:02 - 3D imports
03:52:53 - 3D collisions
04:10:22 - Shaders
04:19:40 - 3D game
Check out Zenva's free Godot course: academy.zenva.com/product/godot-101-game-engine-foundations/?utm_source=youtube&utm_medium=partner&utm_campaign=partner-youtube-clearcode-2024&utm_content=partner-youtube-clearcode-202401
Get 20% off your first year (on top any existing site-wide discounts!) with this link (first 50 people): academy.zenva.com/cart/?add-to-cart=1319205&coupon_code=partner-clearcode-2024&utm_source=youtube&utm_medium=partner&utm_campaign=partner-youtube-clearcode-2024&utm_content=partner-youtube-clearcode-202401
Project files:
drive.google.com/drive/folders/1KZUOoo-70w-KQq_wd1OEWEoQQcQa1RzR?usp=sharing
Useful links:
Ultimate introduction to Godot - youtu.be/nAh_Kx5Zh5Q?feature=shared
Creating a Metroid inspired platformer in Godot - youtu.be/rwAXeJ9kjZ0?feature=shared
Timestamps
00:00:00 - Intro & Zenva sponsor
00:02:49 - 3D basics
00:39:39 - player movement
01:32:51 - player animations
03:26:31 - Creating the enemies
04:34:34 - Weapons, projectiles and interactions
05:50:46 - User interface
06:44:20 - Creating levels
08:45:22 - VFX (Shaders and Particle effects)
Find/support me on other channels
Patreon - patreon.com/clearcode
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
A Metroid inspired platformer in Godot 4 [or Castlevania / Hollow Knight, I guess]. We will cover fancy platformer movement, state management, lots of inheritance and interactive tool building along with some cool monsters and guns.
Thanks to Estúdio Vaca Roxa for the art assets. The original pack is available here: bakudas.itch.io/generic-run-n-gun
Find/support me on other channels
Patreon - patreon.com/clearcode
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
Timestamps:
00:00:00 - Intro + setup
00:09:34 - Player movement
00:59:13 - Player graphics
02:02:35 - Tools
03:08:22 - Entities
04:29:48 - Bullets
05:23:46 - Finishing the project
Project files:
drive.google.com/drive/folders/1Gdu3AyH0SzkGSyaFTUrAtXVUiJDBfM5r?usp=sharing
This video covers game development in Python. We will create a spaceship shooter, a Vampire survivor style game, Pong, a platformer and a Pokémon inspired battle game. Via those you can master your knowledge of Python since we will touch on every part of the language and use inheritance, decorators, dunder statements and a lot more.
Related videos:
Masks - youtu.be/uW3Fhe-Vkx4?feature=shared
Tiled - youtu.be/N6xqCwblyiw?feature=shared
Ultimate intro to Godot 4 - youtu.be/nAh_Kx5Zh5Q
Complete guide to Python - youtu.be/mDKM-JtUhhc
Find/support me on other channels
Patreon - patreon.com/clearcode
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
Shoutout to Scarloxy for creating the Pokemon and Vampire survivor graphics: instagram.com/scarloxy
Project files:
start files - github.com/clear-code-projects/5games
stages - drive.google.com/drive/folders/1bUGO9sv5SM3gYO_t9zgifedkQKHUYudO?usp=sharing
Timestamps:
00:00:00 - Intro and pygame overview
00:06:49 - Spaceship game
00:19:20 - Drawing surfaces
00:42:11 - Rectangles
01:03:52 - Movement & delta time
01:29:35 - getting input
01:54:25 - sprites
02:13:53 - working with time
02:36:01 - collisions
02:53:02 - drawing other things
03:12:35 - finishing the space game (transform, masks & sound)
03:45:23 - Vampire survivor
04:00:24 - proper collisions
04:20:23 - creating levels in Tiled
04:42:08 - Creating a camera
05:04:43 - Player animations
05:19:23 - Shooting!
05:45:37 - Enemies
06:03:18 - finishing the game
06:15:29 - Pong
06:41:48 - Collisions between moving objects
06:55:35 - using inheritance
07:04:01 - loading and saving data
07:25:35 - Platformer game
07:40:28 - Platformer logic
07:54:25 - Platformer animations
08:19:37 - Creating timers
08:46:09 - Bees and worms
09:09:20 - Monster Battle
09:28:31 - Creating menus
09:53:05 - Creating more menus
10:12:37 - the battle system
10:28:58 - Adding battle visuals
10:55:37 - finishing the game
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 - patreon.com/clearcode
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
Shoutout to Scarloxy for creating the graphics: instagram.com/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
00:53:29 - Overworld animations
01:23:30 - Character setup
01:54:17 - Overworld finish (collisions, grass & drawing order)
02:45:43 - Dialog system
03:59:57 - Level transitions
04:20:07 - Monster index
06:28:08 - Battle setup
07:28:38 - Battle ui
08:47:22 - Battle logic
10:18:26 - Finishing up (Evolution, sound, more transitions)
Thanks to Brilliant for the support, you can find them here: brilliant.org/ClearCode
Find/support me on other channels
Patreon - patreon.com/clearcode
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
Timestamps
00:00:00 - Intro & Sponsor
00:02:29 - Level setup
00:39:04 - Collisions
01:02:13 - Floor & Wall jumps
01:36:54 - Platforms
02:03:40 - Semi-collidable platforms
02:40:15 - Level graphics setup
03:09:47 - Player graphics
03:29:08 - Moving objects
04:17:24 - Enemies
05:08:02 - Interactivity & UI
06:14:06 - Sky & background tiles
07:19:53 - Overworld setup
07:57:14 - Overworld movement
09:17:17 - Sound
Related videos
Ultimate introduction to pygame: youtu.be/AY9MnQ4x3zk?feature=shared
Collisions: youtu.be/W9uKzPFS1CI?feature=shared
Timers: youtu.be/7H6_fcRZLJY?feature=shared
Efficient imports: youtu.be/fFTV6FLPbZo?feature=shared
Masks: youtu.be/uW3Fhe-Vkx4?feature=shared
Tiled: youtu.be/N6xqCwblyiw?feature=shared
Delta time: youtube.com/watch?v=rWtfClpWSb8
Cameras: youtube.com/watch?v=u7LPRqrzry8
Debugging: youtube.com/watch?v=T9vYgZJCmeI
Project files
github.com/clear-code-projects/Super-Pirate-World
You can get a 3 month trial at:
nordpass.com/clearcode
A complete guide to Godot 4! This video will cover every aspect of the gaming engine and will teach you all the basics.
Second part: youtu.be/TMhimQceLos
Find/support me on other channels
Patreon - patreon.com/clearcode
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
Code: github.com/clear-code-projects/UltimateGodotIntro2D
Project stages: drive.google.com/drive/folders/10hvwjuEB1V8o0dlnQerM0ninJcZtn20s?usp=sharing
Timestamps:
00:00:00 - Intro
00:01:11 - Sponsor NordPass Business
00:02:41 - What is Godot
00:10:02 - Scenes and Nodes
00:36:33 - Working with code
00:57:56 - More on code
01:11:09 - Delta
01:21:34 - Getting input
01:38:38 - More on nodes
01:48:55 - Physics!
02:15:23 - Signals (+Area)
02:38:01 - Creating custom signals
02:51:11 - Creating custom scenes
03:21:07 - RigidBody2D
03:45:54 - Using a camera
03:51:37 - Tilemaps
04:28:11 - Tilemaps and physics
04:49:41 - Emitting particles
05:09:08 - Lights
05:35:54 - Animations
06:07:42 - Tweens
06:29:21 - Connecting the laser to the level
06:39:52 - Inheritance
07:04:25 - Creating the inside level
07:27:09 - Adding a level transition
07:33:26 - Getting started with user interfaces
08:02:31 - Adding the health bar to the UI
08:08:46 - Making the UI interactive
08:25:52 - Adding color to the UI
08:36:45 - Prettier transitions
08:46:16 - Creating items
09:06:15 - SetGet
09:23:52 - Creating crates
09:55:54 - Expanding the inside level
10:17:31 - Creating the scout
10:37:55 - Creating the grenade
10:49:22 - Scout & Health
10:57:43 - Player & Health
11:06:25 - Shaders
#godot #godot4
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, a map viewer, a paint app, a snake game and qr code generator.
Link to the paid course:
udemy.com/course/learn-python-by-creating-10-apps/?referralCode=E9A57E5281220E6E8396
Other social stuff
Patreon - patreon.com/clearcode
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
Code:
github.com/clear-code-projects/tkinter-complete
Timestamps:
00:00:00 - Intro
00:01:05 - Overview of tkinter + demo app
00:21:27 - Basic widgets
00:40:36 - Gettings and setting widget data
00:54:19 - Tkinter variables
01:06:06 - Buttons
01:32:34 - Buttons with arguments
01:40:37 - Events
01:53:40 - Combobox & Spinbox
02:10:08 - Canvas
02:34:41 - Treeview (Tables)
02:49:24 - sliders
03:08:49 - Frames & parenting
03:20:30 - Tabs
03:27:52 - Menus
03:46:51 - Customizing the window
04:04:28 - Layout intro
04:22:29 - Pack
04:46:18 - Pack + Parenting
05:01:46 - Grid
05:24:30 - Place
05:45:20 - Understanding widget sizes
05:51:34 - Stacking widgets
06:01:07 - Toggling widgets
06:17:28 - Combining layout methods
06:36:59 - Using classes
07:05:21 - Creating widgets in classes
07:25:56 - Responsive layouts
07:56:51 - Understanding scrolling
08:17:47 - Creating a scrollable frame
08:49:39 - Multiple windows
09:03:04 - Styling
09:17:50 - Using themes
09:25:49 - Colors
09:34:28 - Customtkinter
09:54:17 - Creating a ctk app
10:00:42 - ttkbootstrap
10:13:42 - ttkbootstrap editor
10:16:55 - ttkbootstrap extra widgets
10:40:11 - Animating widgets
11:11:03 - Using images
11:42:59 - Image animations
12:15:34 - Changing the title bar color
12:27:12 - BMI setup
12:36:54 - BMI widgets
13:01:04 - BMI functionality
13:16:01 - Metric units
13:24:57 - Imperial units
13:43:09 - Calculator setup
13:57:58 - Output labels
14:10:31 - Button setup
14:25:16 - Image buttons
14:34:58 - Number buttons
14:47:38 - Math buttons
15:00:32 - Calculator logic
15:21:45 - Extra operations
15:33:02 - Editor setup
15:46:19 - image import
15:57:28 - Scaling the image
16:10:39 - Closing the image
16:16:45 - Creating the menu
16:34:26 - Manipulating the image
16:56:17 - Managing the menu data
17:23:39 - Applying the effects
17:42:28 - Reverting the effects
17:53:44 - Creating the export panels
18:14:43 - Exporting the image
If you want to support me: patreon.com/clearcode
(You also get lots of perks)
Social stuff:
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
Timestamps:
000:00:00 - intro
00:01:48 - Introduction and editor
00:11:06 - Editor origin and support lines
00:45:47 - Changing the mouse cursor
00:49:32 - Creating the menu
01:43:36 - Creating the level tiles
02:11:56 - Level drawing logic
02:18:37 - Drawing the terrain
02:54:55 - Drawing the water
03:05:04 - Tile animations
03:24:17 - Deleting tiles
03:32:11 - Adding objects
04:11:13 - More on objects
04:23:19 - Previewing items in the editor
04:48:25 - Creating the editor sky
05:20:46 - Exporting the editor data
05:56:24 - Fixing some drawing issues
06:01:45 - Creating the level transition
06:20:25 - Creating the terrain and the player (in the level)
06:36:02 - Animating the level tiles
07:05:05 - Adding other objects
07:35:04 - Player movement
08:14:28 - Adding player graphics
08:27:47 - Creating the player camera
08:40:05 - Creating the shell enemy
09:05:58 - Creating the tooth enemy
09:22:49 - Adding player damage logic
09:31:28 - Creating the level sky
09:57:27 - Adding sound
10:08:12 - Finishing up
Sourcefiles are available here: github.com/clear-code-projects/PirateMaker
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: udemy.com/course/learn-python-by-making-games
If you want to support me check out my Patreon: patreon.com/clearcode
(You also get lots of perks and all my courses)
Social stuff:
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
Project files:
github.com/clear-code-projects/PyDew-Valley
Links to related pygame videos:
Ultimate introduction to Pygame - youtube.com/watch?v=AY9MnQ4x3zk
Delta time in pygame - youtube.com/watch?v=rWtfClpWSb8
Masks in pygame - youtube.com/watch?v=uW3Fhe-Vkx4
Collisions - youtube.com/watch?v=W9uKzPFS1CI
Tiled - youtube.com/watch?v=N6xqCwblyiw
Cameras - youtube.com/watch?v=u7LPRqrzry8
Timestamps:
0:00:00 - Intro
0:01:53 - Setup
0:10:19 - Creating the basic player
0:29:49 - Importing the player graphics
0:42:59 - Animating the player
0:53:32 - Tool use
1:09:04 - Switching between tools
1:21:27 - Creating the overlay
1:32:20 - Starting the camera and importing the floor
1:50:50 - Importing all elements and faking more 3D
2:18:52 - Collisions
2:42:29 - Working on the trees
3:06:42 - Particles
3:16:32 - Player inventory
3:21:57 - Restarting the day
3:46:00 - Starting the soil
4:12:29 - Soil patch graphics
4:32:51 - Watering logic
4:43:19 - Rain
5:03:36 - Creating the plants
5:24:56 - Harvesting
5:32:53 - Daytime transition
5:41:04 - The merchant
6:23:46 - Audio (+ some final fixes )
By the end of the video you should be comfortable understanding PySimpleGUI and solve more or less any problem inside of it. The video will also use popular python modules like matplotlib, opencv, pytube, pillow and BeautifulSoup4.
If you want to support me: patreon.com/clearcode
(You also get lots of perks)
Social stuff:
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
Timestamps:
0:00:00 - Intro
0:03:48 - Converter
0:37:00 - One line app
0:38:46 - Calculator
1:09:06 - Stopwatch
1:36:14 - Text editor
1:57:10 - Snake
2:29:40 - Graph app (MatPlotLib)
2:47:50 - Image editor (Pillow)
3:11:06 - Music Player
3:48:59 - Weather app (BeautifulSoup4)
4:08:14 - Face detector (OpenCV)
Github:
github.com/clear-code-projects/PySimpleGuiUltimate
Pastebin:
Weather app - pastebin.com/LHPdVbgq
Stopwatch - pastebin.com/bHP6GppS
Face Detector (open cv) - pastebin.com/3BKFmubT
Snake game - pastebin.com/zRZvssxB
Text editor - pastebin.com/NWDb2Pjw
Image editor (Pillow) - pastebin.com/H3QCwQgX
Graph app (Matplotlib) - pastebin.com/dES5Qp4B
Calculator - pastebin.com/h2W5t35L
Converter - pastebin.com/aDVADH7R
One line app - pastebin.com/4rvyhcJx
music player - pastebin.com/DZfqjwMs
If you want to support me: patreon.com/clearcode
(You also get lots of perks)
Link to the full course:
udemy.com/course/learn-python-by-making-games
Social stuff:
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
Project files:
github.com/clear-code-projects/Python
or
drive.google.com/drive/folders/18kMapDOiAXEBLm-AFq1ljm_5M8vSYzgf?usp=sharing
Timestamps:
Introduction
00:00:00 - Intro
00:01:13 - Python in Context
00:06:20 - Installing Python
00:14:20 - Installing a code editor
Part 1 - Python Basics
00:27:57 - How code is executed
00:33:21 - Math operations
00:41:52 - Variables
00:56:37 - Functions
01:03:22 - Methods
01:18:11 - Returning values
01:24:23 - Comments
01:29:38 - More on the order of execution
Part 2 - Datatypes
01:37:53 - Datatypes intro
01:42:15 - Numbers (integers + floating point numbers)
01:48:09 - Strings
02:08:45 - Lists and tuples
02:26:45 - Slicing
02:39:26 - Unpacking
02:44:03 - Strings, tuples and lists
02:52:54 - Dictionaries
03:04:35 - Sets
03:18:26 - Booleans
03:31:39 - Other datatypes
Part 3 - Flow
03:33:32 - Flow intro
03:37:26 - Simple if statements
03:50:34 - Complex if statements
04:06:10 - Match case
04:14:49 - While loops
04:27:29 - For loops
04:42:42 - Flow + linebreaks
Part 4 - Functions
04:50:22 - Function intro
05:04:18 - Parameters
05:16:37 - More on parameters
05:27:30 - Scope
05:44:47 - Lambda functions
05:50:38 - Documenting functions
Part 5 - Data
05:57:03 - Data intro
05:57:51 - Better for loops
06:12:46 - List comprehension
06:30:56 - Other comprehensions
06:37:49 - Sorting data
06:49:11 - Map + Filter
06:58:04 - File handling
07:09:35 - Deleting
Part 6 - Classes
07:13:59 - Classes intro
07:30:21 - Classes in practice
07:43:48 - Dunder methods
08:00:01 - Class and methods
08:13:25 - Scope and classes
08:28:00 - Simple inheritance
08:50:34 - Complex inheritance
09:10:30 - Class extra parts
Part 7 - Modules
09:21:26 - Module intro
09:34:51 - External modules
09:48:41 - Creating modules
09:56:09 - Dunder main
Part 8 - Extra parts
09:59:31 - Intro + input + pass
10:04:22 - Exceptions / Error handling
10:18:56 - Decorators
11:01:27 - Eval + Exec
If you want to support me: patreon.com/clearcode
(You also get lots of perks)
Social stuff:
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
Timestamps
00:00:00 - Intro
00:01:22 - Basic image operations
00:09:10 - Basic image manipulation
00:22:45 - Filters and image enhancements
00:38:19 - Colors in Pillow [ Deepdive ]
01:11:22 - Image operations [ ImageOps ]
01:25:01 - Deformer
1:41:14 - Drawing shapes
1:54:35 - Combining images + ImageChops
02:09:46 - Masks
Github
github.com/clear-code-projects/Pillow
Pastebin
1 Basics - pastebin.com/f24F9w7x
2 Basic_manipulation - pastebin.com/F2ht4D1S
3 Enhance - pastebin.com/mRaBRzNt
5 Filters - pastebin.com/xEw9sxBM
6 Colors - pastebin.com/TLqzCSSB
7 ImageOps - pastebin.com/g0HgW8zG
8 Deformer - pastebin.com/zRE250cB
9 - Shapes - pastebin.com/bMYxFfaA
9 - pastebin.com/TyFVQ2LA
If you want to support me: patreon.com/clearcode
(You also get lots of perks)
Social stuff:
Twitter - twitter.com/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:44 - Decorators with parameters
31:48 - Decorators & classes with @property
Project files:
github.com/clear-code-projects/decorators
Pastebin
function_basics - pastebin.com/AjSn3hcA
basic_decorator - pastebin.com/NVB8gLfP
decorators_arguments - pastebin.com/wHTrXGd5
decorator_parameter - pastebin.com/JLNecfFs
property_decorator - pastebin.com/bj0bgJKN
If you want to support me: patreon.com/clearcode
(You also get lots of perks)
Social stuff:
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
Timestamps:
0:00:00 - Intro
0:16:23 - Class Intro
0:29:00 - Dunder methods
0:45:16 - Class Deep dive
0:58:44 - Classes and scope
1:13:22 - Simple inheritance
1:35:54 - Complex inheritance
1:55:53 - Extra parts
Github:
github.com/clear-code-projects/Classes
Pastebin:
intro - pastebin.com/uwRrP25a
dunder - pastebin.com/WahhZzcw
deep dive - pastebin.com/PAU47WdC
scope - pastebin.com/k240AUHB
simple inheritance - pastebin.com/HmJx37vj
complex inheritance - pastebin.com/4HHpmUke
extra - pastebin.com/jxiUFZ5K
If you want to support me: patreon.com/clearcode
(You also get lots of perks)
Social stuff:
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
Related videos:
Introduction to Pygame: youtu.be/AY9MnQ4x3zk
Using Tiled with CSV: youtu.be/wJMDh9QGRgs
Cameras in Pygame: youtu.be/u7LPRqrzry8
Timestamps
0:00:00 - Intro
0:02:31 - Fundamentals of Tiled
0:38:57 - Terrains
1:11:04 - Isometric tiles
1:17:27 - Pytmx and Pygame
Github:
github.com/clear-code-projects/Tiled
Pastebin:
pastebin.com/dEUVdNip
If you want to support me: patreon.com/clearcode
(You also get lots of perks)
Social stuff:
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
Related videos:
Introduction to Pygame: youtu.be/AY9MnQ4x3zk
Deltatime: youtu.be/rWtfClpWSb8
Timestamps:
0:00:00 - Intro
0:00:37 - Project setup
0:04:56 - Creating the background
0:13:42 - Creating the player(-ish)
0:30:18 - Creating the ball
0:51:14 - Collision theory
1:10:04 - Creating the blocks
1:35:46 - Adding proper graphics
2:21:07 - Adding hearts
2:27:57 - Creating upgrades
3:03:56 - CRT Styling + sounds
Github:
github.com/clear-code-projects/Breakout
Pastebin:
Start file - pastebin.com/xkUTAV17
main.py - pastebin.com/ncP1Y1tK
sprites.py - pastebin.com/cUfT7jSU
settings.py - pastebin.com/eBjqDRZW
surfacemaker.py - pastebin.com/KWDLk6xX
If you want to support me: patreon.com/clearcode
(You also get lots of perks)
Social stuff:
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
Related videos:
Introduction to Pygame: youtu.be/AY9MnQ4x3zk
Deltatime: youtu.be/rWtfClpWSb8
Timestamps:
00:00 - Intro
13:00 - Collision logic
19:32 - Collision implementation
Project file:
github.com/clear-code-projects/Collisions
Pastebin:
pastebin.com/sN3vp3t9
If you want to support me: patreon.com/clearcode
(You also get lots of perks)
Social stuff:
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
Related videos:
Introduction to Pygame: youtu.be/AY9MnQ4x3zk
Deltatime: youtu.be/rWtfClpWSb8
Masks: youtu.be/uW3Fhe-Vkx4
Timestamps:
00:00:00 - Intro
00:01:00 - Project setup
00:04:27 - Background creation
00:24:59 - Creating the ground
00:32:57 - Creating the plane
00:55:24 - Creating the obstacles
01:16:39 - Score and game over menu
01:37:18 - Adding sounds
Project files:
github.com/clear-code-projects/FlappyBird
Pastebin:
main.py (at the start): pastebin.com/CsKbCZFL
main.py (at the end): pastebin.com/Zz745pW6
settings.py: pastebin.com/dGjjEMUP
sprites.py: pastebin.com/vA43b7bS
If you want to support me: patreon.com/clearcode
(You also get lots of perks)
Social stuff:
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
If you want to support me: patreon.com/clearcode
(You also get lots of perks)
Social stuff:
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
Timestamps:
0:00:00 - Intro
0:01:24 - Project setup
0:05:36 - YSort Camera
0:15:23 - Player center camera
0:26:08 - Box camera
0:36: 59 - Keyboard control
0:41:25 - Mouse control
0:59:11 - Zoom
Project files
github.com/clear-code-projects/Pygame-Cameras
Thanks for AI camp for sponsoring this video. You can find the link to their summer camp here: ai-camp.org
If you want to support me: patreon.com/clearcode
(You also get lots of perks)
Social stuff:
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
Timestamps:
0:00:00 – intro
0:02:30 – Project setup
0:06:52 – Level setup
0:28:38 – Creating the player
0:49:47 – Creating the camera
1:11:30 – Graphics
1:56:00 – Player animations
2:30:26 – Weapons
3:04:20 – UI
3:44:03 – Magic setup
4:00:19 – Enemy creation
4:57:00 – Player-enemy interaction
5:32:50 – Particles
5:56:25 – Spells
6:26:35 – Upgrade system and menu
7:24:26 – final fixes & sound
Related tutorials:
Introduction to pygame - youtu.be/AY9MnQ4x3zk
Using Tiled with pygame - youtu.be/wJMDh9QGRgs
Debugging in pygame - youtu.be/T9vYgZJCmeI
Project files:
github.com/clear-code-projects/Zelda
Pastebin files:
pastebin.com/u/ClearCode/1/MBpsreAv
Artwork by Pixel-Boy and AAA
pixel-boy.itch.io/ninja-adventure-asset-pack
If you want to support me: patreon.com/clearcode
(You also get lots of perks)
Social stuff:
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
Timestamps:
0:00:00 - What are masks?
0:03:05 - Masks with sprite collisions
0:14:53 - Mask collisions without sprites
0:28:15 - Filling a surface / creating an outline
0:50:39 - Coloring overlapping areas with masks
Project files:
github.com/clear-code-projects/MaskTutorial
If you want to support me: patreon.com/clearcode
(You also get lots of perks)
Social stuff:
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
Timestamps:
0:00:00 - Intro + pathfinding theory
0:01:51 - Simple pathfinding project
0:12:14 - Creating the Roomba project
Project files:
github.com/clear-code-projects/Python-Pathfinder
If you want to support me: patreon.com/clearcode
(You also get lots of perks)
Social stuff:
Twitter - twitter.com/clear_coder
Discord - discord.com/invite/a5C6pYw2w5
If you don't, check out this tutorial by me that explains Pygame in detail: youtu.be/AY9MnQ4x3zk
If you want to code along, you can find all the files and the code here:
github.com/clear-code-projects/Space-invaders
Timestamps:
0:00:00 - Intro
0:00:46 - Basic setup
0:04:22 - Creating the player
0:19:21 - Creating the laser for the player
0:27:48 - Creating the obstacles
0:48:43 - Creating the aliens
1:20:27 - Collisions
1:27:48 - Adding the health system
1:34:19 - Adding the score system
1:42:50 - Adding the CRT styling
1:48:55 - Adding the music and sounds
1:52:03 - Adding the victory screen
Attributions:
video at start: Stock Footage provided by sheyno, from Pond5
code owl: unsplash.com/photos/7o2SMHJMNp8
screaming kid: unsplash.com/photos/ASKeuOZqhYU
carpets: unsplash.com/photos/zbdB3IHRcso
curtains: unsplash.com/photos/4PxJ_9wEQyI
couch: unsplash.com/photos/_9gxlIXdqDQ
bed: unsplash.com/photos/2QTsCoQnoag
Project files:
github.com/clear-code-projects/An-introduction-to-programming-in-After-Effects-
Timestamps:
0:00:00 Intro
0:00:00 Intro
0:00:35 Intro to coding in Ae
0:14:27 Easy projects
0:14:27 Linked movement
0:21:12 Colors and the 'if' statement
0:34:56 Custom expression controls
0:49:32 Special Keywords (time & index)
1:02:21 Functions
1:07:48 Medium projects
1:07:48 More complex expressions
1:24:43 Animations with code
1:36:17 Influencing keyframes with expressions
1:46:13 Creating a sliding list
1:56:04 Working with time
2:09:15 Advanced projects
2:09:15 Creating a box around text
2:18:54 Creating custom functions
2:28:18 Creating an animated sine curve
2:53:00 Creating an arrow that always points in the right direction
3:02:11 Animate by sampling colors
Link to the project folder: github.com/clear-code-projects/UltimatePygameIntro
Link to the background music: opengameart.org/content/5-chiptunes-action
Link to the artwork: opengameart.org/content/platformer-art-pixel-edition
Timestamps
0:00:00 intro
0:01:06 How games work
0:05:06 What Pygame does
0:08:08 Creating a blank window (+ clock)
0:22:07 Displaying images (with surfaces)
0:42:22 Basic animations
0:51:28 Rectangles
1:03:47 Collisions with rectangles (+using the mouse)
1:15:38 Drawing with rectangles (+colors)
1:29:35 The player character 1: Keyboard input
1:35:58 The player character 2: Jumping & Gravity
1:44:23 The player character 3: Creating a floor
1:48:17 Creating different game states
1:56:03 Displaying the score (+measuring time)
2:06:15 Transforming surfaces
2:23:50 Better enemy spawn logic (with timers)
2:49:33 Animating the player, the snail and the fly
3:09:01 Using the sprite class (OOP in Pygame)
3:42:57 Adding music
Timestamps:
00:00 - Intro
00:21 - Basic logic
01:58 - Creating the basic button
11:40 - Click logic
19:03 - adding styling / elevation
Code: github.com/clear-code-projects/elevatedButton
Original Minecraft in Python tutorial: youtu.be/DHSRaVeQxIk
About 20 more videos until I get to all of Minecraft :D
Timestamps:
0:00:00 Intro
0:01:03 The Logic of the project
0:02:25 Creating the screen and menu background
0:06:30 Creating a basic draggable Item
0:11:27 Creating the grid
0:15:47 Connecting the Draggable to the grid
0:22:06 Snapping the Draggable into the cell
0:36:27 Adding Item textures
0:40:47 Adding items by pressing a button
0:52:10 Swapping overlapping items
Timetamps:
0:00 - Intro
0:50 - saving information and json
8:46 - creating the clicker game
19:50 - json part of the game
Timestamps:
0:00 - Intro
1:24 - The basics of Ursina
15:49 - Creating Minecraft style blocks
35:25 - Creating a sky, a hand and adding sounds
Project files are available here:
github.com/clear-code-projects/Minecraft-in-Python
Artwork from Kenney:
opengameart.org/content/simplified-platformer-pack
Timestamps
0:00 – Intro
0:18 – hiding ui elements
2:38 – Installing color schemes and themes
6:12 – Changing settings
9:12 – changing keyboard bindings
Timestamps:
0:00:17 – How snake works
0:01:21 – How to manipulate a tilemap (with code)
0:11:56 – Placing the apple
0:16:20 – Drawing the snake
0:20:16 – Moving the snake
0:28:31 – Controlling the snake
0:33:30 – Growing the snake
0:35:34 – Failure states
0:42:42 – Adding graphics
1:06:58 – Adding the score
1:22:53 – Adding sound
1:23:50 – Fixing a bug
Project files: github.com/clear-code-projects/Snake_in_Godot
Code for the snake: github.com/clear-code-projects/Snake_in_Godot/blob/main/SnakeProject/MainGame.gd
Code for the score: github.com/clear-code-projects/Snake_in_Godot/blob/main/SnakeProject/Score.gd
Hope you enjoy :)
The project file is available here: github.com/clear-code-projects/Snake
Timestamps:
0:00:00 - Intro
0:00:40 - How games work
0:02:52 - A basic intro to pygame
0:12:26 - Drawing in pygame
0:29:25 - The logic of snake
0:30:29 - Setting up the board
0:43:42 - Creating the snake
0:49:00 - Moving the snake
0:57:19 - Make sneck munch!
1:06:45 - Game over states
1:16:17 - Creating the fruit graphic
1:18:27 - Creating the snake graphics
1:38:45 - Grass pattern
1:44:25 - Adding the score
1:56:50 - Adding the sound
2:00:32 - Final tweaks
Timestamps:
0:00 - Intro
1:08 - Basic particles
16:57 - Nyan Cat particles
29:18 - Star Particles
Files can be found here: github.com/clear-code-projects/PygameParticles
Or if you just want the code: github.com/clear-code-projects/PygameParticles/blob/main/particle_progress.py
Timestamps:
0:00 - Intro
0:24 - Basic setup
2:27 - The basic health bar
12:24 - The advanced health bar
The code is available here: codepile.net/pile/XydlGQy1
Project file: github.com/clear-code-projects/FanybarGraph
Tutorial for list comprehension: realpython.com/list-comprehension-python
Color options in matplotlib: matplotlib.org/3.1.0/gallery/color/named_colors.html
Plot marker options in matplotlib: matplotlib.org/3.3.1/api/markers_api.html#module-matplotlib.markers
Timestamps:
0:00 Intro
0:19 How matplotlib works
1:17 The basic graph
9:20 Styling the graph
13:43 Adding numbers to each graph
Link to my game development course: youtu.be/hQHPHIx4VUE
Timestamps:
0:00:00 Intro
0:02:26 Intro to Godot
0:13:37 The player character
0:25:20 Moving the player
0:39:12 Setting up the level
0:50:09 Creating the opponent
0:59:01 Creating the ball
1:09:53 Making the ball bounce
1:15:14 Opponent Ai
1:24:02 Ball reset
1:32:43 Adding a score
1:41:36 Countdown
2:01:03 Final details
Assets and project files available here: github.com/clear-code-projects/GodotPong
If you don't, here are some tutorials to get you up to speed:
Introduction to pygame by creating pong: youtu.be/Qf3-aDXG8q4
Pygame sprites: youtu.be/hDu8mcAlY4E
Project files can be found here: github.com/clear-code-projects/ZeldaHearts
Kenney: https://www.kenney.nl/
Timestamps:
0:00 - Intro
0:56 - Rotation
10:52 - Movement with vectors
Project files: github.com/clear-code-projects/pygame-gta2
Related videos
The basics of pygame - youtube.com/watch?v=Wdyn1uGkRAU
An introduction to sprites - youtube.com/watch?v=hDu8mcAlY4E
Rotation in pygame - youtube.com/watch?v=eGsMMpAglIg&t=121s
The project, along with the images, can be found here: github.com/clear-code-projects/Pong_in_Pygame
Code and sound files: github.com/clear-code-projects/Pong_in_Pygame
If you know how to get text in pygame you already basically know how to get text input, you just need to learn about event.unicode
Timestamps:
0:00 - Intro
0:23 - Theory
1:29 - Basic Code
7:28 - Creating a text box
12:52 - Enabling and disabling the text
Project files can be found here: github.com/clear-code-projects/animation
Basic tutorial on sprites: youtube.com/watch?v=hDu8mcAlY4E
Assets I used: opengameart.org/content/opp2017-sprites-characters-objects-effects
Link to the image in the logo: http://pixelartmaker.com/art/7b0362cb47512cb
Project files: github.com/clear-code-projects/Pong_in_Pygame


