Coding With Russ
Coding With Russ
  • 195
  • 5 423 052
Adding a UI to my Factory Automation Game! - Devlog #4
Welcome to the fourth episode of my automation game devlog series! In this video I add a bunch of recipes for the machines so that I can now start combining and processing resources.
I also make a start on the user interface and create a toolbar that allows the player to select a machine with the mouse as well as the keyboard.
Переглядів: 1 207

Відео

How To Rotate Tiles with Code in Godot
Переглядів 826Місяць тому
In this video I will explain how to rotate tilemap tiles in Godot using code. The editor has buttons that allow you to rotate and mirror tiles when creating a tilemap, but this is more difficult when you need to modify your tilemap in the game at run time. This video gives the code that I used to achieve this in my automation game.
7 Days of Game Dev - Adding New Machines, Fixing Bugs and More! - Devlog #3
Переглядів 1,5 тис.2 місяці тому
Welcome to the third episode of my automation game devlog series! In this video I add five new machines - a furnace, combiner, a market, a splitter and a merger. I also fix a few annoying bugs and upgrade my input and output system.
Adding Resources To My Game: Automation Game Devlog #2
Переглядів 1,9 тис.3 місяці тому
Welcome to the second episode of my automation game devlog series! In this video, I dive a bit deeper into the logistic network add my first two machines - an extractor and a compactor, setup the random world generation and create three starting resources: cows, chickens and wheat.
Adding Conveyor Belts to My New Game! | Devlog
Переглядів 4 тис.4 місяці тому
Devlog video about my automation / factory game I'm creating using Godot 4. In this first part, I am working on getting the basic concept of the game defined and focusing on the main component which is the conveyor belts for moving items around the factory.
Top Down Survival Shooter In Godot | Part 9 - Completed Waves
Переглядів 3,9 тис.5 місяців тому
Learn how to make a game from scratch in Godot. This survival shooter will be a top down game with 8 directional movement. Endless waves of enemies attack the player with each wave getting more and more difficult. In this part, I will complete the game by adding a way of checking if the wave is finished, increasing difficulty and starting the next wave to have an endless survival game. Code and...
Top Down Survival Shooter In Godot | Part 8 - Game Over
Переглядів 1,5 тис.5 місяців тому
Learn how to make a game from scratch in Godot. This survival shooter will be a top down game with 8 directional movement. Endless waves of enemies attack the player with each wave getting more and more difficult. In this part, I will add a game over screen with a restart button to allow the game to begin again when the player runs out of lives. Code and assets for this video: github.com/russs1...
Top Down Survival Shooter In Godot | Part 7 - Item Drops
Переглядів 2,2 тис.5 місяців тому
Learn how to make a game from scratch in Godot. This survival shooter will be a top down game with 8 directional movement. Endless waves of enemies attack the player with each wave getting more and more difficult. In this part, I will add power up items that are dropped by the enemies. When picked up by the player, these will give various short boosts. Code and assets for this video: github.com...
Top Down Survival Shooter In Godot | Part 6 - HUD
Переглядів 1,8 тис.5 місяців тому
Learn how to make a game from scratch in Godot. This survival shooter will be a top down game with 8 directional movement. Endless waves of enemies attack the player with each wave getting more and more difficult. In this part, I will create a heads up display (HUD) to show useful game info like the number of lives, current wave and the number of enemies on this wave. Code and assets for this v...
Top Down Survival Shooter In Godot | Part 5 - Shooting
Переглядів 4,5 тис.6 місяців тому
Learn how to make a game from scratch in Godot. This survival shooter will be a top down game with 8 directional movement. Endless waves of enemies attack the player with each wave getting more and more difficult. In this part, I will add bullets that the player can shoot when the mouse is clicked. Code and assets for this video: github.com/russs123/Prairie_King_Tut Credits for images Character...
Top Down Survival Shooter In Godot | Part 4 - Enemy AI
Переглядів 4 тис.6 місяців тому
Learn how to make a game from scratch in Godot. This survival shooter will be a top down game with 8 directional movement. Endless waves of enemies attack the player with each wave getting more and more difficult. In this part, I will add some AI to the enemies to make them follow and attack the player. Code and assets for this video: github.com/russs123/Prairie_King_Tut Credits for images Char...
Top Down Survival Shooter In Godot | Part 3 - Enemy Spawner
Переглядів 5 тис.6 місяців тому
Learn how to make a game from scratch in Godot. This survival shooter will be a top down game with 8 directional movement. Endless waves of enemies attack the player with each wave getting more and more difficult. In this part, I focus on creating a spawner to automatically generate enemies at 12 random points on the game map. Code and assets for this video: github.com/russs123/Prairie_King_Tut...
Top Down Survival Shooter In Godot | Part 2 - Player Movement
Переглядів 5 тис.6 місяців тому
Learn how to make a game from scratch in Godot. This survival shooter will be a top down game with 8 directional movement. Endless waves of enemies attack the player with each wave getting more and more difficult. In this part, I focus on creating the player and adding 8 directional movement. Explanation of 8 directional movement by kidscancode here: kidscancode.org/godot_recipes/4.x/2d/8_direc...
Top Down Survival Shooter In Godot | Part 1 - Tilemap Tutorial
Переглядів 13 тис.6 місяців тому
Learn how to make a game from scratch in Godot. This survival shooter will be a top down game with 8 directional movement. Endless waves of enemies attack the player with each wave getting more and more difficult. In this part, I focus on setting up the project and making a game map using tilemap and tile sets. Code and assets for this video: github.com/russs123/Prairie_King_Tut Credits for ima...
How to Make Pool (Billiards) Using Godot's Physics Engine | Godot Tutorial
Переглядів 8 тис.7 місяців тому
Learn how to work with physics objects in Godot by creating a pool game. The game will use three of the four godot 2D collision objects - Area2D, StaticBody2D and RigidBody2D. I will customise the physics properties of the objects but won't code any physics in the script, this will all be done by godot's physics engine. Code and assets for this video: github.com/russs123/Pool_tut Credits for im...
Beginner Godot Tutorial - How to Make Pong with AI
Переглядів 22 тис.7 місяців тому
Beginner Godot Tutorial - How to Make Pong with AI
Beginner Godot Tutorial - How to Make Tetris
Переглядів 12 тис.7 місяців тому
Beginner Godot Tutorial - How to Make Tetris
How to Make a Google Chrome T-Rex Style Sidescroller In Godot | Beginner Tutorial
Переглядів 37 тис.8 місяців тому
How to Make a Google Chrome T-Rex Style Sidescroller In Godot | Beginner Tutorial
How to Make Minesweeper In Godot | Beginner Tutorial
Переглядів 5 тис.8 місяців тому
How to Make Minesweeper In Godot | Beginner Tutorial
Beginner Godot Tutorial - Make Flappy Bird in 12 Minutes!
Переглядів 32 тис.8 місяців тому
Beginner Godot Tutorial - Make Flappy Bird in 12 Minutes!
Beginner Godot Tutorial - Make a Snake Game in 10 Minutes!
Переглядів 20 тис.9 місяців тому
Beginner Godot Tutorial - Make a Snake Game in 10 Minutes!
Beginner Godot Tutorial - How To Make Tic Tac Toe
Переглядів 11 тис.9 місяців тому
Beginner Godot Tutorial - How To Make Tic Tac Toe
How to Fix The "Module Not Found" Error for Pygame in Under 2 Minutes! [2023]
Переглядів 80 тис.10 місяців тому
How to Fix The "Module Not Found" Error for Pygame in Under 2 Minutes! [2023]
I Made 3D MINECRAFT in PYTHON using Ursina!
Переглядів 30 тис.11 місяців тому
I Made 3D MINECRAFT in PYTHON using Ursina!
Complete Tower Defence Tutorial in Pygame From Scratch
Переглядів 16 тис.11 місяців тому
Complete Tower Defence Tutorial in Pygame From Scratch
Tower Defence Tutorial in Pygame | Part 13 - Finishing Touches
Переглядів 2,2 тис.11 місяців тому
Tower Defence Tutorial in Pygame | Part 13 - Finishing Touches
Tower Defence Tutorial in Pygame | Part 12 - Game Over Handling
Переглядів 1,2 тис.11 місяців тому
Tower Defence Tutorial in Pygame | Part 12 - Game Over Handling
Tower Defence Tutorial in Pygame | Part 11 - Game Mechanics
Переглядів 1,3 тис.11 місяців тому
Tower Defence Tutorial in Pygame | Part 11 - Game Mechanics
Tower Defence Tutorial in Pygame | Part 10 - Automatically Spawn Enemies
Переглядів 1,9 тис.11 місяців тому
Tower Defence Tutorial in Pygame | Part 10 - Automatically Spawn Enemies
Tower Defence Tutorial in Pygame | Part 9 - Upgrading Turrets
Переглядів 1,4 тис.11 місяців тому
Tower Defence Tutorial in Pygame | Part 9 - Upgrading Turrets

КОМЕНТАРІ

  • @kydung5378
    @kydung5378 27 хвилин тому

    why is the ground photo in this video long while blit() just draws its position somewhere else??

  • @bedang1058
    @bedang1058 6 годин тому

    Annnnd thats how you watch a 12 minutes video in 1.5 hours !

  • @gamalielgerona2391
    @gamalielgerona2391 9 годин тому

    Thanks. Take my 💵 and give me the course.

  • @ShreyashChougale12
    @ShreyashChougale12 20 годин тому

    Plz update the game with character selection with different character like street fight

  • @samerbayoumi6378
    @samerbayoumi6378 День тому

    omg..... ive been struggling to get the looping ground to work because my viewport numbers dont make any sense to my vector numbers appearing in the console... FINALLY I KNOW WHY. THis method wont work with ppl who have 2 monitors. The numbers get seriously messed up

  • @bedang1058
    @bedang1058 День тому

    Followed you trough your pygame Tutorials, now starting Godot, thansk a lot !

  • @ClanVR1
    @ClanVR1 День тому

    Is the game out?

  • @NoahM21
    @NoahM21 День тому

    It doesn't work for me, I'm using Godot 4 mobile version, and when I press the touchscreen button, the paddle just vanishes off the screen and never comes back, not even with my Down button😢

  • @AniMo-hv3pe
    @AniMo-hv3pe 2 дні тому

    After copying this code I tried clicking on the play again button but it crashed and said ‘tuple’ object has no attribute ‘collidepoint’ how do I fix this?

  • @Qwertyuio010
    @Qwertyuio010 2 дні тому

    thanks you for the turorial, but I still have a question, how to use the masks in the full platformer game

  • @DamedFilms
    @DamedFilms 2 дні тому

    you could use the is_action_just_pressed() function instead so when you hold the jump button it doesn't just keep adding the value. then in you if statement add " and is_on_floor() " so it only applies the jump when the character is on the floor........ dont u just love how there are so many ways to do one thing....... coding is def a art code would look like something like this. Obv your jump force var would be called whatever u called it if Input.is_action_just_pressed("ui_accept") and is_on_floor(): velocity.y+= jmpForce

  • @hamzaalarfaj6746
    @hamzaalarfaj6746 2 дні тому

    🎉🎉🎉🎉🎉🎉

  • @aslv
    @aslv 3 дні тому

    i have a couple purely stylistic suggestions, but I feel like they would be great when it comes to making the game a little more polished, and I feel like it would be better if they were implemented as soon as possible to prevent future complications 1. have all the machines layered above the resources (except for conveyors) to make resource conversions a little more seamless 2. have the machines pulse in some way (a red tint, for example) to indicate that they have just processed an item 3. change the floor to be grass to fit with the farming aesthetic 4. animate the water !! i also think sugar would be a nice resource to have

  • @hamzaalarfaj6746
    @hamzaalarfaj6746 4 дні тому

    It is a great❤

  • @user-lc3kp1xe8p
    @user-lc3kp1xe8p 4 дні тому

    the panel is not relocating when i set the offset. Can anyone help

  • @jima4513
    @jima4513 4 дні тому

    in my code: enemy = Enemy(x, y, random.choice(colors)) enemies.add(enemy) i have initialised everything before and the problem says expected type 'AbstractGroup[_SpriteSupportsGroup]', got 'Enemy' instead what does this mean exactly

  • @nulloWorld
    @nulloWorld 5 днів тому

    This was very helpful, because I am new to Godot. That being said future viewers of this project should bear in mind that this tutorial is somewhat buggy. It is possible to get negative flags, the hover layer should disappear on game end and the left right mine sweep thing allows you to open surrounding cells even if flag count is greater than the number cell's number, it should not let you do this. Also the way that a mine is repositioned after the first click will result in mines being located in the top left corner at a higher rate than expected. But I did learn a lot about how Godot works so thanks :D

  • @gamalielgerona2391
    @gamalielgerona2391 5 днів тому

    There are a lot of tutorials about making Minecraft in Python out there but I think this is the best so far. Putting it in my downloads. TIP: You can create the sky using 'Sky()'.

  • @queehosu3643
    @queehosu3643 5 днів тому

    this is slowly becoming better and better. tho the pixel art/ pixel consistency couls use a lot of work

  • @Goku-sj5sm
    @Goku-sj5sm 5 днів тому

    bro thank you so much i've been looking for solutions for an hour...appreciate you

  • @fahmidfaiyajchowdhury8139
    @fahmidfaiyajchowdhury8139 6 днів тому

    Hey Russ! This video really helped me get the basics of pygame down and I added many features to your version of the snake game. Features I added- i)Buttons that change color when the cursor hovers over it ii)Saving the high score even after the game is closed iii)Level system with obstacles I'd love it if I could show you my version! :D

  • @antiwoke7562
    @antiwoke7562 6 днів тому

    Will this work in Thonny ?

    • @CodingWithRuss
      @CodingWithRuss 5 днів тому

      I'm not familiar with Thonny so I can't be sure. Give it a go and see how you get on.

  • @jonthomas8679
    @jonthomas8679 6 днів тому

    Man, I hope you’re still responding to these questions. For some reason when I add the collision detection for the bullets it stop shooting. ChatGPT says I need to group characters into a sprite group but I’m trying to follow along. Any thoughts?

    • @CodingWithRuss
      @CodingWithRuss 5 днів тому

      Hi, it could be a lot of different things, but one thing that comes to mind is that maybe the bullets are being detected in the collision and being deleted? You can put some print() statements at various points in your game logic to see if things are behaving as you expect them to.

  • @antiwoke7562
    @antiwoke7562 6 днів тому

    Why would I run into a bunch of intention errors? I'm a newbie so please take it easy on me. Typed everything in exactly like it is here and I just cannot get a shape (the rectangle) to display. It keeps giving me indentation errors.

  • @jiro4559
    @jiro4559 6 днів тому

    dont speed up the footage please. This is not a beginner tutorial, mate.

  • @qmerk2661
    @qmerk2661 8 днів тому

    i have a problem with the goblins, that i dont know how to fix. if the goblin touch the top of my player they just stick to the player. any help with that? nvm, i asked that before you fixed the the collisions.lol

  • @qmerk2661
    @qmerk2661 8 днів тому

    loving this series so far. you teach very well. when we got to the "var input_dir = Input.get_vector("left","right","up","down")" part, and you left out normalized i figured you were going to go back and add it later, so i added it beforehand. come to find out, you added it on another line. im pretty sure you already know that you can do this, but i added it on the same line like this var input_dir = Input.get_vector("left","right","up","down").normalized() this is just the way ive always done it when having the movement like this. either way is great tho. thanks again

  • @gauravka8535
    @gauravka8535 8 днів тому

    This is my 9th lesson of python and i want to learn pygame but my tutor will teach me that in a bit. However, i wanted to learn it soon so I used this tutorial. Thanks

  • @JetFireHawk
    @JetFireHawk 8 днів тому

    my bird doesnt go up and down and i am unsure why i have written your code exactly but my bird just flaps once for a second and then just stays in the animation and doesnt move properly he kind of jolts and tilts a bit but its llike he is stuck with a pin to a certain place. is this because i used a different texture than you?

  • @CadeHLife
    @CadeHLife 8 днів тому

    After following a few other in depth tutorials to get a basic understanding of core Godot features, this was a fantastic next step for me! Such a fast and rewarding way to help grasp concepts and actually prove to people that they can make a game. As I was pausing and copying code it had me thinking "oh yeah that makes sense" and "OH so this is connecting from what we already implemented here" I will definitely be checking out your other videos. Thank you!

  • @zbyszekvelkot.7632
    @zbyszekvelkot.7632 8 днів тому

    any idea why my paddle will not move up from the middle of the screen?

  • @andrewk8817
    @andrewk8817 8 днів тому

    thankd

  • @kaml005
    @kaml005 8 днів тому

    Thank you. Get_data_yahoo no longer works

  • @hamzaalarfaj6746
    @hamzaalarfaj6746 8 днів тому

    It is realy usefull

  • @aviationmaster01
    @aviationmaster01 8 днів тому

    TOP SPOT VIDEO!!! BIG HELP I HAVE LIKED AND SUBBED!!!

  • @sb...1
    @sb...1 9 днів тому

    I realize this is long after the fact, (and please correct me if I'm wrong) but everything from 6:00 to 7:21 is unnecessary and can be removed without changing the functionality at all. You're directly placing the new segment, but the very next time the snake moves, that segment's position is being automatically copied from the next piece when you move the snake.

  • @OliverLundevall
    @OliverLundevall 9 днів тому

    Where do you press to run the code? IK this is a stupid question but idk how to

  • @odgreen9113
    @odgreen9113 9 днів тому

    I may have missed it but where to I put an image for python to load it from? I've got a .bmp but i don't know where to save it for python to be able to load it (if that makes sense).

  • @NoMouthNoScream
    @NoMouthNoScream 9 днів тому

    I don't think you showed how stop player from jumping in the air

  • @bordacsbalazs6014
    @bordacsbalazs6014 10 днів тому

    I can feel your problem when you talk about fixing bugs forever, I am a solo game developer and I have learned pygame and made some game with it but when it comes to a more complex project, it gets more complicated, and untraceable, because there is no visual presight of what you are making, and it's also not a cross-platform engine so consequently I recommend Godot game engine for everyone, of course Unreal is better but much more expensive. I've also tried Unity which I don't really recommend: characterized by low performance, bugs, illogical framework, and also relatively expensive compared to what you get.

  • @tripletv8927
    @tripletv8927 10 днів тому

    Wow nice splice at :57

  • @sampyuays
    @sampyuays 10 днів тому

    do you have to install it every time?

  • @hussainx3Lv
    @hussainx3Lv 10 днів тому

    last step work , was working on python from Microsoft store lol

  • @morganp7238
    @morganp7238 11 днів тому

    Liked and subscribed. Well explained and well executed tutorial. The game is stylish even. Thank you and good karma to you.

  • @JacobVega
    @JacobVega 11 днів тому

    A really great tutorial. I had managed to get everything working, but after customizing the textures of the pipes to my own designs, the game keeps crashing (freezing/Not Responding) when the "generate_pipes()" function is run. Whenever the timer first ends, it freezes and in the "Stack Trace" window, it says "Cannot call method 'instantiate' on a null value. And then in Stack Frames are below that message in the window, it lists the "at function: generate_pipes" and "at function: _on_pipe_timer_timeout" in the list. I've looked through the tutorial and can't seem to find what's different between the code. Any ideas what could be the problem or how to fix? Note: I don't really know what caused the crashing, because I did get it to work with the different textures for a couple runs of it.

    • @JacobVega
      @JacobVega 7 днів тому

      Update: I fixed it. For some reason, the problem was that the pipe scene got unlinked from the variable. Idk how it happened, but I linked it back and it works now. Again, thanks for the great tutorial!

  • @hamzaalarfaj6746
    @hamzaalarfaj6746 11 днів тому

    ❤❤🎉🎉🎉🎉🎉

  • @hamzaalarfaj6746
    @hamzaalarfaj6746 11 днів тому

    ❤❤❤❤

  • @toosuper5828
    @toosuper5828 11 днів тому

    what IDE are u using?

  • @hamzaalarfaj6746
    @hamzaalarfaj6746 11 днів тому

    Thank alot from syria❤❤❤

  • @raghavkohli9224
    @raghavkohli9224 11 днів тому

    One of the biggest click baits I've seen in my life lmao. Definitely a very insightful video but by no means is this a tutorial or even beginner-friendly. This 10 mins video even after watching it at 0.5x is too fast to follow and I understand creating a game with a proper tutorial is not possible in 10 minutes so please stop advertising it that way just to receive more traction.