Really helpful man. Thanks. Can you make a tutorial on how to make different level for a game and how to make the transition between levels after pressing a button. I've been wanting this. Thanks :)
@kirfzatd35243 жыл бұрын
great! My idol has released a video again!!! thank you so much
@kirfzatd35243 жыл бұрын
My programming skills have improved a lot. you are my idol!
@CDcodes3 жыл бұрын
Really happy to help! Keep on coding!
@asmeticful3 жыл бұрын
Congrats on 1k! It costed me a channel strike lol but it was worth it 👊
@CDcodes3 жыл бұрын
Lmao I appreciate the support!
@ahmadsyahmibinjamaludin10363 жыл бұрын
I'm wondering how can I make a game button that has a function like 1p mode and 2p mode on super smash bros?
@cliffordwilliam37143 жыл бұрын
Oh yes more! Your videos have been super helpful thank you so much. Ive been thinking on using state machine for player control similar to how you handle game states. Would that be an improvement to the player class? Especially when the player can do more than just jumping and running. Also would be awesome if you make a tutorial on shooting mechanic like the one in cave story!
@CDcodes3 жыл бұрын
State Machines are awesome for player characters! I was thinking about doing a tutorial on those. And i'll take that into consideration! Thanks for the support!
@cliffordwilliam37143 жыл бұрын
@@CDcodes Looking forward to it and subbed! You're the best :D
@phoebely29003 жыл бұрын
Awesome Video!
@CDcodes3 жыл бұрын
Thank you!
@DutchDread3 жыл бұрын
Can't get it to work because when I save it saves the integers, not the "pygame.K_a" type codes. when I load in my JSON I can't load in direct pygame methods so I have to load them in as strings, and then evaluate them. But I can't get the codes from the integers, and I can't get the integers to work as a pygame event.
@CDcodes3 жыл бұрын
Strange, the "pygame.K_a" codes are just integers, so it should still work when you save it as one. Stop by the discord and maybe someone can help?
@AnasMamdouh0003 жыл бұрын
Hello,Christian! self.font = pygame.font.Font("RetroFont.ttf", 20) FileNotFoundError: [Errno 2] No such file or directory: 'RetroFont.ttf' why do i get this all the time ps :i installed everything you said to install
@CDcodes3 жыл бұрын
It seems as though it can't find the font file. Make sure that your font file is in the same directory and that you are spelling the filename correctly (watch out for spaces, capitalization, etc). You couls also use os.path.join() to make sure it is being found
@AnasMamdouh0003 жыл бұрын
@@CDcodes Thank you very much
@chosenone24352 жыл бұрын
What happened to you, man. You haven't uploaded in a while.