Totally! Using pygame today to recreate one of my favorite childhood games. That's what got me into coding with the help of ChatGPT in the first place. And now I follow your channel:)
It's called Mad TV, a mixture of a 2D side scroller while managing a television company. It's a game from a German company but I found this English let's play where you can see at around minute 4 in the movie shop how all the ideas you share in your video can be applied perfectly for a better experience. Mostly the part where one can buy movies and drop them into the bag. RUclips username: Vogerl Video: How to: Get around, Survive and WIN Mad TV (1991) It's really cool to chat with you about this. What a surprise! Ps. Can't share links on RUclips
Hi, I have a mask question. Can masks be used for player cosmetic choices and if they can, would this remove the processing burden associated with masks if the mask was not responsible for detecting collisions at all?
Now that's a cool use! 😃You want to use it as a sort of clipping region for blitting. Right? So yes, you can -- I'd want to look into the best way. (I haven't found a great way yet -- have you tried it? Maybe I'm looking and you've already found a built-in that will do it.) And if you're only using the masks to render the character but not for detecting collisions, then it should remove that processing burden from using the masks in the collision detection. I'm not sure if the masks are the best solution, though -- if you have the cosmetic choices as pngs with transparency, can you just blit them over your character? I guess maybe it depends on the cosmetics?
@@DesignCodeDebugRepeat thanks 🙏 I am still new to pygame and was just curious. I was looking for a way change the appearance of the characters when they pick up armor without having to redraw every frame of the character’s actions and movements. It sounds like bliting over the existing character is how it is done from your response? Also, thank you for taking the time to provide an answer❤️
@@anthonydrakefordshadow I think you would have sprite sheets for the character and the armor, and you would blit the correct orientation of the armor over the character. So there would be the up-front work of drawing the armor so it looks right on the character in the different positions the character can be in. When the character puts armor on, you'd then blit the armor over the character, drawing from the same location in the sprite sheet each time for animations (you'd read the sprite sheets into a list). i.e. if we're on index 0 of the sprite, we'd blit index 0 of the armor over the sprite, using transparency in the image so it only draws the armor. I think transparency is the way to get a mask effect in blitting. You're welcome -- I think it's a cool idea. 🙂
@@DesignCodeDebugRepeat would you be interested in making a video about it? It would be cool to see and would make a lot more sense for me a noob. I understand sprite sheets, list, and bliting but I haven’t done anything with transparency yet. Seeing it all put together would really help it click for me 😇
@@anthonydrakefordshadow Yes, absolutely! I don't know if I can get it done for this Saturday because of other obligations, but I'll try to put it together for next Saturday at the latest. Thank you for the suggestion! 😁
Really cool content!
I will user every single one of these die my current project and can now save some time!
Oh, that's awesome! 😊 I'm so glad you found it useful. Let's face it -- pygame is really cool!! 😁
Totally!
Using pygame today to recreate one of my favorite childhood games. That's what got me into coding with the help of ChatGPT in the first place.
And now I follow your channel:)
@@bjornnordquist1616 Oh, that's awesome! It's so empowering to be able to make the thing you want. If I may ask, what's the game?
It's called Mad TV, a mixture of a 2D side scroller while managing a television company.
It's a game from a German company but I found this English let's play where you can see at around minute 4 in the movie shop how all the ideas you share in your video can be applied perfectly for a better experience. Mostly the part where one can buy movies and drop them into the bag.
RUclips username: Vogerl
Video: How to: Get around, Survive and WIN Mad TV (1991)
It's really cool to chat with you about this. What a surprise!
Ps. Can't share links on RUclips
Hi, I have a mask question. Can masks be used for player cosmetic choices and if they can, would this remove the processing burden associated with masks if the mask was not responsible for detecting collisions at all?
Now that's a cool use! 😃You want to use it as a sort of clipping region for blitting. Right? So yes, you can -- I'd want to look into the best way. (I haven't found a great way yet -- have you tried it? Maybe I'm looking and you've already found a built-in that will do it.) And if you're only using the masks to render the character but not for detecting collisions, then it should remove that processing burden from using the masks in the collision detection. I'm not sure if the masks are the best solution, though -- if you have the cosmetic choices as pngs with transparency, can you just blit them over your character? I guess maybe it depends on the cosmetics?
@@DesignCodeDebugRepeat thanks 🙏 I am still new to pygame and was just curious. I was looking for a way change the appearance of the characters when they pick up armor without having to redraw every frame of the character’s actions and movements. It sounds like bliting over the existing character is how it is done from your response? Also, thank you for taking the time to provide an answer❤️
@@anthonydrakefordshadow I think you would have sprite sheets for the character and the armor, and you would blit the correct orientation of the armor over the character. So there would be the up-front work of drawing the armor so it looks right on the character in the different positions the character can be in. When the character puts armor on, you'd then blit the armor over the character, drawing from the same location in the sprite sheet each time for animations (you'd read the sprite sheets into a list). i.e. if we're on index 0 of the sprite, we'd blit index 0 of the armor over the sprite, using transparency in the image so it only draws the armor. I think transparency is the way to get a mask effect in blitting. You're welcome -- I think it's a cool idea. 🙂
@@DesignCodeDebugRepeat would you be interested in making a video about it? It would be cool to see and would make a lot more sense for me a noob. I understand sprite sheets, list, and bliting but I haven’t done anything with transparency yet. Seeing it all put together would really help it click for me 😇
@@anthonydrakefordshadow Yes, absolutely! I don't know if I can get it done for this Saturday because of other obligations, but I'll try to put it together for next Saturday at the latest. Thank you for the suggestion! 😁
it did be cool if u could include time stamps plzz :)
You've got it! They've been added. 🙂
@@DesignCodeDebugRepeat thx very cool of you
@@fakeinsten7839 You are most welcome. I'm nothing if not very cool. 😆🤣😂