4:08 In a nutshell, your problem stems from trying to play two different animations every frame of the game. What Godot normally does is if you tell it to play an animation it's already playing, it ignores you. When you're jumping, your code is essentially saying "start the idle or run animation, **then** start the jump animation". So Godot is showing the first frame of the idle/run then the first frame of the jump over and over. I think the essential part is understanding that "if-else" statements will **always** perform one of the two blocks below it. From how update_animations is currently written, either the idle or run will always play before anything else happens. Hope this helps! P.S. As a black gamedev myself, it's my first time encountering your channel and I'm glad to see you. Keep going; the world needs us!
Thanks for the tips man! I was able to get the animation to play with only writing if statements. I'll keep that in mind for my next if-else statement. I'm glad you found my video bro, we out here! I appreciate the encouragement, you keep doing yo thang as well 👊🏽
Game looks good man! I've been working in Godot as well, it's an amazing engine. This game looks like a lot of fun, I'd definitely be interested if you kept adding to this game
Thanks yo! Its really nice to see other Godot users show love. 😅 This support for this game has been a blessing. I'm defiantly going to be working on making this a full game!
Awesome game, and great devlog! Love seeing your passion for game dev, and looking forward to seeing your channel grow as you create more games and share your journey 🤟 The game controls took a bit to get used to, Ducky felt a bit "slippery" at times so it was hard to control at first - but hey, that's all part of learning this platforming character. Two feedback comments would be to 1) keep the pixel resolution consistent - the duck being a higher resolution than the other objects feels out of place, and 2) the "win" music is overlapping the gameplay music in the End Screen, so if you can fade out the gameplay music while the win music is playing, then return the gameplay music after the win music finishes, that would be cleaner. Overall, really enjoyed the quick gameplay, impressive you did it all in a week (INCLUDING LEARNING THE ENTIRE FREAKIN ENGINE), so mad props to you for that. If you're looking to expand the game into a full release, I'd love to connect about the music for the full game. I don't imagine I can post links in comments without getting flagged, so let me know if there's a best email address to connect with you and I can share some of my previous work and a free music pack with you! :)
Ayy thanks for the feedback! I’ll keep your suggestions in mind as I further develop the game 👊🏽 you made some solid points, appreciate it yo! And that would be amazing if you worked on the soundtrack! You can email me at anoccasionalgamer@gmail.com
Great job! We all know those head scratching issues. But in the end you will figure it out and your games will get better and better. You made a lot of progress in 7 days! It took 3 years for me to publish my game. And Im still working on updates. Are you planning to release the game on Android as well?
Thanks a ton MartinvanZ 👊🏽 I appreciate the kind words. I would love to check out your game, what’s it called? And I thought about releasing it on android/ iOS but I know most if not all mobile users are interested in free games. I feel like playing this game with ads would ruin its the players experience. I also feel like ducky runners wouldn’t be received well if It had to be purchased.
Welcome to the world of gamedev, man! Seems like you made some great progress in only seven days. Have you ever worked with any programming languages before?
Glad to be here! I’ve mostly used C# back in the day but didn’t make anything too extensive. Also, I started learning blueprints for unreal engine a month ago. My previous videos on game dev cover my background 👊🏽
😅 I got the animation working now! If you jump without moving, there’s no animation. As soon as you move left or right and flapping animation plays! It’s Very satisfying 😁😁😁😁
Aayyy I’m glad you enjoyed the video!! And honestly what’s working for me to become a fluent programmer is making mistakes. Instead of looking up tutorials for everything, I take a stab at a concept on my own. It may take longer to get the results you want but you would have retained how you got to the end. Also, i follow Godot on Reddit. In my free time I’m actively keeping my mind sharp on exploring new concepts and logic for code in many unique situations. Read, watch, and dream programming daily and you’ll see results 👊🏽
@@anOccasionalGamer 👊 I promise I'll follow that and I'll even start recording my journey , one day I'll do a collab with you. I promise I will make this happen
🤣🤣🤣🤣 no worries at all lol it is a goose. I thought about changing the colors to make it look more like a duck 🦆 but I thought it was funny if maybe the main character was named Ducky but is really a goose and tie that into the story. Nothing final yet, but thanks for pointing that out 👊🏽
I HAD THE SAME PROBLEM WITH THE JUMP ANIMATION, it took like 20 minutes for me to figure out why my thing wasn't working but then I came to like a eureka moment, you know when you're playing a game and you hit like both left and right at the same time and the character just doesn't move or freezes in place? I think it's something like that. And basically if you get rid of the jumping animation entirely, it'll show the running animation playing instead when you jump. Basically you have to specify to the code to only play the default animation and the running animation when the character is on the floor. something like "is_on_floor" or "is_on_floor_only" that's what worked for me!
@@anOccasionalGamer Of course man!! happy to help, especially knowing how frustrating it is to only see one frame of an animation you worked on come out and having zero idea why it's doing that lol, excited to see ducky runners's journey!!!
@@jamroll3841 You're a real one! Trust me lol I gave up on trying to figure it out and just kept developing the game knowing I'll figure it out some time in the future. Thanks again for your help!
I think the issue with the jump animation may be that it is being called multiple times while the player is in the air so it never has a chance to finish playing. I don't know if this is very efficient but the way I solve this is to put 2 conditions into the if statement and then set one of them to false in the if statement. It would look like this: var play_jump_animation = true if not is_on_floor() and play_jump_animation = true: animated_sprite_2d.play("jump") play_jump_animation = false and then to reset it you would have to do this: if is_on_floor(): play_jump_animation = true Good luck, hope this helps :))
Thanks for the help! That logic kind of worked for the duck being in the air and next to the wall. Which made me think of adding a slide on wall animation. Unfortunately, the animation still doesn't fully play out. I wonder if a state machine would be a solution.
@@anOccasionalGamer I personally haven't looked into state machines yet but I've heard they are pretty powerful so it could definitely be something worth looking into. Great job with the game by the way!
I look forward to seeing where you go with the full version of Ducky Runners. As a developer who released a speedrun platformer with a walljumping duck who has a limited amount of time to complete each level on Steam, I think there's room for more speedrun platformers with a walljumping ducks who have a limited amount of time to complete each level on Steam. ;) If my tone isn't clear, this is similar in concept to a game I released a couple of years back but I am 100% here for it! We've got different aesthetic sensibilities and I do genuinely eagerly await the full version! GREAT WORK. :)
Yoooo…. Your game quickly quackley looks INTENSE 🔥🔥🔥🔥 love the art style, tight platforming, the music. Lol I thought duck runners was 1 of 1 😅 I appreciate your support! And I’ll be supporting you as well 👊🏽 I appreciate the kind words frfr
The game is cool (I really like the physics for the duck) but the art is not great. Most of the sprites are a different resolution from eachother which looks really weird. Try to use a consistent pixel size for all of your assets next time you use pixel art for a project.
I was able to figure it out, I think it wasn’t okay because of the else statement. Nothing after the else statement was running correctly. I also defined idle and run animation to play while on the floor and now the animation plays perfectly! Feels very satisfying. Thanks for the help Rubbermeep 👊🏽
I’ve been looking into them! They’re really powerful and useful but can be really complex 😅 I’ll see if I can do without them for this project but definitely use them for my next!
4:08
In a nutshell, your problem stems from trying to play two different animations every frame of the game. What Godot normally does is if you tell it to play an animation it's already playing, it ignores you. When you're jumping, your code is essentially saying "start the idle or run animation, **then** start the jump animation". So Godot is showing the first frame of the idle/run then the first frame of the jump over and over.
I think the essential part is understanding that "if-else" statements will **always** perform one of the two blocks below it. From how update_animations is currently written, either the idle or run will always play before anything else happens.
Hope this helps!
P.S. As a black gamedev myself, it's my first time encountering your channel and I'm glad to see you. Keep going; the world needs us!
Thanks for the tips man! I was able to get the animation to play with only writing if statements. I'll keep that in mind for my next if-else statement.
I'm glad you found my video bro, we out here! I appreciate the encouragement, you keep doing yo thang as well 👊🏽
Game looks good man! I've been working in Godot as well, it's an amazing engine.
This game looks like a lot of fun, I'd definitely be interested if you kept adding to this game
Thanks yo! Its really nice to see other Godot users show love. 😅 This support for this game has been a blessing. I'm defiantly going to be working on making this a full game!
Your pause menu popping up when pressing space should be related to the button's focus property, try setting Focus > Mode to "None"
Aaaaaahhhhhhh I seee I see, that makes sense! Thanks for the help 🙏🏽 I’ll keep that in mind
Awesome game, and great devlog! Love seeing your passion for game dev, and looking forward to seeing your channel grow as you create more games and share your journey 🤟 The game controls took a bit to get used to, Ducky felt a bit "slippery" at times so it was hard to control at first - but hey, that's all part of learning this platforming character.
Two feedback comments would be to 1) keep the pixel resolution consistent - the duck being a higher resolution than the other objects feels out of place, and 2) the "win" music is overlapping the gameplay music in the End Screen, so if you can fade out the gameplay music while the win music is playing, then return the gameplay music after the win music finishes, that would be cleaner.
Overall, really enjoyed the quick gameplay, impressive you did it all in a week (INCLUDING LEARNING THE ENTIRE FREAKIN ENGINE), so mad props to you for that. If you're looking to expand the game into a full release, I'd love to connect about the music for the full game. I don't imagine I can post links in comments without getting flagged, so let me know if there's a best email address to connect with you and I can share some of my previous work and a free music pack with you! :)
Ayy thanks for the feedback! I’ll keep your suggestions in mind as I further develop the game 👊🏽 you made some solid points, appreciate it yo! And that would be amazing if you worked on the soundtrack! You can email me at anoccasionalgamer@gmail.com
@@anOccasionalGamer You're welcome! And that's awesome, thanks! I've sent you an email. Looking forward to connecting 🤟
Great job! We all know those head scratching issues. But in the end you will figure it out and your games will get better and better.
You made a lot of progress in 7 days! It took 3 years for me to publish my game. And Im still working on updates.
Are you planning to release the game on Android as well?
Thanks a ton MartinvanZ 👊🏽 I appreciate the kind words. I would love to check out your game, what’s it called?
And I thought about releasing it on android/ iOS but I know most if not all mobile users are interested in free games. I feel like playing this game with ads would ruin its the players experience. I also feel like ducky runners wouldn’t be received well if It had to be purchased.
Welcome to the world of gamedev, man! Seems like you made some great progress in only seven days. Have you ever worked with any programming languages before?
Glad to be here! I’ve mostly used C# back in the day but didn’t make anything too extensive. Also, I started learning blueprints for unreal engine a month ago. My previous videos on game dev cover my background 👊🏽
@@anOccasionalGamer Word, I'll have to watch them. You've got a sub from me, I can't wait to see what you do
@@user-xsn5ozskwg thanks for support yo, it really means a lot 🙏🏽
I like the way it looks when jumping tight now though!
😅 I got the animation working now! If you jump without moving, there’s no animation. As soon as you move left or right and flapping animation plays! It’s Very satisfying 😁😁😁😁
Very inspiring, love the sound of a food fight game. I’ll check out ducky runner when I can:)
Thanks a ton DylanDev 👊🏽 let me know what you think when you check it out!
Can’t wait to check it out when I get home! 🙌🏾🙌🏾
😁 let me know you think!
tough 🔥🔥🔥
I really loved your video, what's one idiology you follow to become a flent programmer?
Aayyy I’m glad you enjoyed the video!! And honestly what’s working for me to become a fluent programmer is making mistakes. Instead of looking up tutorials for everything, I take a stab at a concept on my own. It may take longer to get the results you want but you would have retained how you got to the end. Also, i follow Godot on Reddit. In my free time I’m actively keeping my mind sharp on exploring new concepts and logic for code in many unique situations. Read, watch, and dream programming daily and you’ll see results 👊🏽
@@anOccasionalGamer 👊 I promise I'll follow that and I'll even start recording my journey , one day I'll do a collab with you. I promise I will make this happen
@@TheBoringDeveloper let’s make it happen 👊🏽 I’m looking forward to it!
@@anOccasionalGamer alright let's make this happen 👊 tommorow I upload my first video, won't be perfect but the efforts compound don't they
@@TheBoringDeveloper Happy to be your second subscriber 👌🏽 what’s important is starting, the vids will get better over time yo
YESSIR 🕶️🍷🔥🔥
Making moves bro!
The player looks more like a goose than a duck 😅. Sorry I dont wanna be that one annoying guy that points it out but I just thought you should know.
🤣🤣🤣🤣 no worries at all lol it is a goose. I thought about changing the colors to make it look more like a duck 🦆 but I thought it was funny if maybe the main character was named Ducky but is really a goose and tie that into the story. Nothing final yet, but thanks for pointing that out 👊🏽
I HAD THE SAME PROBLEM WITH THE JUMP ANIMATION, it took like 20 minutes for me to figure out why my thing wasn't working but then I came to like a eureka moment, you know when you're playing a game and you hit like both left and right at the same time and the character just doesn't move or freezes in place? I think it's something like that. And basically if you get rid of the jumping animation entirely, it'll show the running animation playing instead when you jump. Basically you have to specify to the code to only play the default animation and the running animation when the character is on the floor. something like "is_on_floor" or "is_on_floor_only" that's what worked for me!
YOU ARE THE GOAT!!!! THANK YOU SO MUCH!!!!!!
Yoooo I yelled out loud when this worked! Really appreciate you yo!
@@anOccasionalGamer Of course man!! happy to help, especially knowing how frustrating it is to only see one frame of an animation you worked on come out and having zero idea why it's doing that lol, excited to see ducky runners's journey!!!
@@jamroll3841 You're a real one! Trust me lol I gave up on trying to figure it out and just kept developing the game knowing I'll figure it out some time in the future. Thanks again for your help!
I think the issue with the jump animation may be that it is being called multiple times while the player is in the air so it never has a chance to finish playing. I don't know if this is very efficient but the way I solve this is to put 2 conditions into the if statement and then set one of them to false in the if statement. It would look like this:
var play_jump_animation = true
if not is_on_floor() and play_jump_animation = true:
animated_sprite_2d.play("jump")
play_jump_animation = false
and then to reset it you would have to do this:
if is_on_floor():
play_jump_animation = true
Good luck, hope this helps :))
Thanks for the help! That logic kind of worked for the duck being in the air and next to the wall. Which made me think of adding a slide on wall animation. Unfortunately, the animation still doesn't fully play out.
I wonder if a state machine would be a solution.
@@anOccasionalGamer I personally haven't looked into state machines yet but I've heard they are pretty powerful so it could definitely be something worth looking into. Great job with the game by the way!
@@JackGuyDude thanks a ton JackGuyDude! Means a lot!!
No problem man! Keep up the good work! 👍
Been watching tons of GODOT tutorial and have your video rec to me by YT - instant subscribe, good luck on your development journey!
Ayyy welcome to the guild! Thanks for the support and I hope all is well with you and your interest in Godot as well 😁
I look forward to seeing where you go with the full version of Ducky Runners. As a developer who released a speedrun platformer with a walljumping duck who has a limited amount of time to complete each level on Steam, I think there's room for more speedrun platformers with a walljumping ducks who have a limited amount of time to complete each level on Steam. ;)
If my tone isn't clear, this is similar in concept to a game I released a couple of years back but I am 100% here for it! We've got different aesthetic sensibilities and I do genuinely eagerly await the full version! GREAT WORK. :)
Yoooo…. Your game quickly quackley looks INTENSE 🔥🔥🔥🔥 love the art style, tight platforming, the music. Lol I thought duck runners was 1 of 1 😅 I appreciate your support! And I’ll be supporting you as well 👊🏽 I appreciate the kind words frfr
The game is cool (I really like the physics for the duck) but the art is not great. Most of the sprites are a different resolution from eachother which looks really weird. Try to use a consistent pixel size for all of your assets next time you use pixel art for a project.
Thanks Bruex! Thanks for the suggestion, that's a solid take for the art style. I'll keep that in mind as I develop further!
If its only the first frame showing try addy a if animation is not already playing condition cause it could be stuck on restarting the animation
I was able to figure it out, I think it wasn’t okay because of the else statement. Nothing after the else statement was running correctly. I also defined idle and run animation to play while on the floor and now the animation plays perfectly! Feels very satisfying. Thanks for the help Rubbermeep 👊🏽
Hi, In your next project learn something named State Machine which will help you a lot.
I’ve been looking into them! They’re really powerful and useful but can be really complex 😅 I’ll see if I can do without them for this project but definitely use them for my next!
Hhh it's true @@anOccasionalGamer
Let's go! 🎉🎉
Bro we out hereeeee!
Keep it up Paigey!! 🎉
🙏🏽👊🏽
Great job fam!!
Ayyy appreciate it yo!
Sweet currently making my 2nd game in godot soon finished
That’s awesome, do you have it on itch or stream? Would love to check it out
@@anOccasionalGamer thanks.
I'm still working on it maybe able to release a base demo by tonight
@@anOccasionalGamer good morning
Got the demo out last night. Gotta go and download your game. Hope to see it get more updates and such also.
@@Ragz10 Aayy glad to hear you released it, where can I check out your demo? And I’ll definitely be updating the game more very soon
I would love to see your party game come through!
I haven't checked out Ducky Runners yet but I'll give you feedback when I do👍
Thanks a ton Harmoni 👊🏽 appreciate you! And trust me, we’re taking steps toward making the dream game.
I died to many times already looooool Congrats bro, it only gets better from here
Looool were you able to beat level 3 ? And appreciate it bro! The journey continues