glad to see a finished tutorial on a pygame, gonna save this and look it up, my kid is gonna be stoked when he gets to see his own drawings animated in a game, thank you for this!
@ascnsnPrjct3 жыл бұрын
you have no idea how much this helped! now, to go through your other tutorials and see if I can find a way to stitch the game-loops together
@CodingWithRuss3 жыл бұрын
Thanks! Glad to hear it.
@dizzydizzy4704 Жыл бұрын
Thank you for your superly comprehensive tutorials! Being some time into pygame, I found lots of new useful ideas and approaches in these series. May you have millions subscribers
@CodingWithRuss Жыл бұрын
Thanks! Glad to hear you found it useful
@golden_oriel9 ай бұрын
2024 - I followed your steps and changed a few things. Thank you for the great example project sir.
@CodingWithRuss9 ай бұрын
Glad you liked it!
@AJ-jj1gs3 жыл бұрын
Another great and clear tutorial. I've been suggesting and sharing your channel to people wanting to learn PyGame in the python group you're in. Keep the vids coming.
@CodingWithRuss3 жыл бұрын
Awesome, thanks Adam! This last game I've been working on has turned out to be quite big (finally finished it) so I'm going to start recording the tutorial for it now so should have some new videos uploaded soon! 👍
@AJ-jj1gs3 жыл бұрын
@@CodingWithRuss Awesome can't wait. What kind of game did you make this time?
@CodingWithRuss3 жыл бұрын
@@AJ-jj1gs It's a shooter/platformer, which is an improved version of the first platformer I made. It isn't as polished as I would like it to be tbh but I wanted to complete it before it grew too much as scope creep was coming in
@AJ-jj1gs3 жыл бұрын
@@CodingWithRuss Cool. I'm sure it is good. Everything you have put out so far has been.
@Svendzeen3 жыл бұрын
Thanks SO MUCH for this series Russ! It can't be more accurate than this for what I have been looking for the last few months. But I didn't find this before now! I'm so glad you made this and that I managed to find it. This series was so crisp and I like that it's customisable and easy to build upon which I think I want to do! I'm subscribed now without a doubt! :D Going to check your stuff out.
@CodingWithRuss3 жыл бұрын
Thanks! Glad to hear it :) I wanted it to be flexible for others to add stuff onto easier so I hope you can build on it without too much trouble!
@Svendzeen3 жыл бұрын
@@CodingWithRuss It's great, I've already started to plan my own twist onto it. Hopefully I can do it :). Will you make more RPG game tutorials/code alongs like this? Maybe a top down view 2D game where you control the character with arrow-keys and deal attacks with buttons? Similar to how you control your character in old Zelda games, if that makes sense. :)
@CodingWithRuss3 жыл бұрын
@@Svendzeen I'm sure you can! I did make a start on a top down game exactly like what you described but it was quite a big project and I didn't finish it, I may return to it but I also want to try other languages other than python/pygame so will see :)
@Not_TVs_Frank3 жыл бұрын
Thank you for this video series. I'm working on something similar, so this was a great demonstration of many aspects of pygame. I'm planning to watch your platformer videos next. Cheers!
@jeremycpn61243 жыл бұрын
Thanks you a lot for this amazing demonstration of how to use pygame. I learned much with you
@CodingWithRuss3 жыл бұрын
You're welcome! Glad it helped
@thewebexpert33112 жыл бұрын
I really enjoyed this series; I've been watching an online course about python, and was interested in pygame programming as well. I started off in 1981 learning BASIC on Commodore PET computers, and have since learned C, Pascal, C++, C#, HTML, Javascript, and PHP. I've been programming in Unity for nearly four years. I'm liking what pygame can do -- thus far -- but I'm not sure (yet) what it can or can't do. I'm going to follow at least one of your other tutorials.
@CodingWithRuss2 жыл бұрын
Glad you like it! Pygame will be easy for you to pick up with your previous experience!
@BeRaikwal3 жыл бұрын
DUDE CONGRATS ON 1K SUBS I HOPE U GET A MILLION CUZ U TEACH SO GOOD!!!
@CodingWithRuss3 жыл бұрын
Thank you, I've enjoyed making these videos :)
@senjei66343 жыл бұрын
Thanks a lot man i really like the series and the way ur teaching us looking forward for the next game keep it up!!
@CodingWithRuss3 жыл бұрын
Thank you. Glad you enjoy it!
@Skarzx3 жыл бұрын
Please do a new one with more in depth combat system. I learned so much from these videos thank you !!!
@CodingWithRuss3 жыл бұрын
Thanks, glad you found it useful!
@senaysew82313 жыл бұрын
Just awesome as me a beginner🥰 Thanks much♥️
@fienyx64093 жыл бұрын
TYSM FOR THIS TUT!
@CodingWithRuss3 жыл бұрын
No problem!
@itz_orangecreepergame2 жыл бұрын
can you do when we start the game there is a shop to bye armor and sword
@daze8410 Жыл бұрын
I had an issue with my mouse disappearing but you can add pygame.mouse.set_visible(True) after the game_over check near the bottom to fix that. I also reversed the death animation for the reset
@CodingWithRuss Жыл бұрын
Thanks for posting the solution! Been a while since I looked at the code for this game.
@TrainofThought422 жыл бұрын
Hey Russ, thanks for the tutorial. What would make the Victory/Defeat and Restart button not disappear after clicking the restart button?
@CodingWithRuss2 жыл бұрын
Could be something missing in the reset part of the code. Once the restart button is clicked, you need to make sure all the game variables are reset. Check line 376 - 382 in the code - that's where the reset is done
@TrainofThought422 жыл бұрын
@@CodingWithRuss Weird, code looks good on my side, so it's probably something else . Anyways, looking forward to more of these game tutorials.
@simpleqt2381 Жыл бұрын
@@CodingWithRuss I'm having the same issue on visual studio code, my code is exactly like yours, but some how the victory/defeat doesn't disappear and after reset I cannot perform any action.
@tyl3rr4ndle567 ай бұрын
How can I add levels by having a certain image replace the background when the reset button has been pressed ( I have changed the reset button to a next level button)
@jimdanielleencarnacion14413 жыл бұрын
Thanks for another tutorial :D
@CodingWithRuss3 жыл бұрын
Thanks a lot! glad you liked it
@Marco-wz3hv3 жыл бұрын
Excellent!
@CodingWithRuss3 жыл бұрын
Thanks. Glad you liked it!
@GinjiAmano12502 жыл бұрын
Question, is there a way to make a double hit that shows the damage of the second hit after a brief delay?
@CodingWithRuss2 жыл бұрын
Yea you can do that with a timer. I use pygame.time.get_ticks() for timers, so you can do the same thing for the double hit as well. Add a timer to delay the second hit showing up.
@zoofboof91802 жыл бұрын
This series is awesome! I was wondering if you would be able to expand more on it? Maybe how to add things like menus and a shop menu? Perhaps and XP and Gold system? I am trying to figure that out and I would appreciate the help.
@CodingWithRuss2 жыл бұрын
Thank you! I did want to make an RPG but realised how big a project that would be so I limited it to this battle game instead. An RPG is something I would like to still make eventually but probably not any time soon.
@thewebexpert33112 жыл бұрын
Quick question: When the code turns off the mouse cursor to replace it with a sword, on my version, you keep seeing the mouse, then it disappears, and the sword comes in; they sort of flicker back and forth. How can I fix this?
@simpleqt2381 Жыл бұрын
Same issue on visual studio code
@dylan03drd2 жыл бұрын
Whenever I try to run the game, it keeps saying pygame isn't defined so I'm lost on how to start it up.
@CodingWithRuss2 жыл бұрын
You have to install pygame, check pygame.org for instructions on how to do it.
@danielmilhm19813 жыл бұрын
Hello man. Thanks for the game. Can you help me? When the bandit1 kills the knight, the "DEFEAT" screen pop up but the bandit2 give another hit, even with the knight dead. Can you help me please? nice video
@danielmilhm19813 жыл бұрын
oh ok, i made a mistake but now i know what was
@CodingWithRuss3 жыл бұрын
@@danielmilhm1981 Glad you got it sorted!
@danwalker14943 жыл бұрын
This was really good, I’m looking forward to your next series now. May I ask, what will you be teaching us next?
@CodingWithRuss3 жыл бұрын
Thanks a lot! I've been working on a sidescrolling shooting game, but it may take me a bit longer to make all the videos for it as it is a bigger game. I am still coding it!
@ToujoursIris3 жыл бұрын
CongoDB xD
@ToujoursIris3 жыл бұрын
CongoDB = MongoDB ;-;
@Miles_89013 жыл бұрын
What IDE do you use?
@CodingWithRuss3 жыл бұрын
Sublime text editor
@XX-vu5jo Жыл бұрын
LOL why put the reset method in the fighter class LOL!!!!!!!!!!!!!!!!!!!!!!
@kothapellijithender62023 жыл бұрын
Hi bro
@parthgupta48503 жыл бұрын
First
@CodingWithRuss3 жыл бұрын
😀
@XX-vu5jo Жыл бұрын
Coding is horribly done!!!
@ottomoir45642 жыл бұрын
awesome tutorial & everything, but when i try to run the code it says "player.rect.x = 0 # go to x AttributeError: 'Player' object has no attribute 'rect'" any help would be great thx