Enemy Chicken! | Create an Amazing Game with Flutter & Flame

Поділитися
Вставка
  • Опубліковано 27 сер 2023
  • 📺 Checkout the playlist - • Create an Amazing Game...
    📂 Checkout the GitHub project - github.com/Spellthorn/pixel_a...
    🖼️ Game Assets - pixelfrog-assets.itch.io/pixe...
    🖼️ Game Assets Enemies - pixelfrog-assets.itch.io/pixe...
    💻 Tiled - www.mapeditor.org/
    🎨 Figma - www.figma.com/
    🎶 jsfxr - sfxr.me/
    #flutter #flame #gamedev
    Welcome to Episode 10 of our thrilling game development saga, "Enemy Chicken! | Create an Amazing Game with Flutter & Flame"! Get ready for a clucking good time as we venture into a feathered frenzy of game mechanics and challenges that'll have you hooked from the start.
    In this exhilarating episode, we're taking your game to the next level by introducing a new, unexpected twist - the dreaded Enemy Chicken! Brace yourself for a poultry showdown as we delve into the art of creating formidable adversaries. From crafting their quirky animations to devising cunning AI strategies, we're spilling the beans on how to make your game's villains truly egg-cellent.
    But that's not all - we'll explore the intricacies of incorporating this new character flawlessly into your Flutter and Flame game. Whether it's designing the perfect battlefield or scripting epic battles, we've got you covered every step of the way.
    Join us on a journey of game design ingenuity as we balance excitement, challenge, and entertainment. The thrill of defeating your own creation will keep you clucking with delight! And hey, have you ever wondered about the world-building process? We're lifting the curtain on our creative strategies, from initial sketches to the final digital masterpiece.
    But wait, there's even more to sink your beaks into! Dive into the world of coding strategies as we optimize performance, ensuring your game runs as smooth as a well-oiled coop. We're hatching secrets on how to keep your game's performance impeccable, even in the heat of the action.
    Whether you're an experienced coder or just getting started, this episode promises a plucky revolution in your game development journey. Our dedication to both game creation and education shines through as we simplify complex concepts into bite-sized nuggets of knowledge, making sure you're well-equipped to conquer new horizons.
    Don't forget to cluck that like button and feather your subscribe for more exciting content. And the adventure doesn't stop here - we've got an entire nest of Flutter and Flame tutorials waiting, each designed to amplify your game development prowess.
    Got questions, creative ideas, or anecdotes to share? We're all ears, or should we say, beaks! Your comments keep our enthusiasm soaring, driving us to deliver the most exceptional content imaginable.
    Stay tuned for our upcoming episode, where we'll unravel the enchanting world of storytelling through immersive gameplay mechanics. Keep coding, keep creating, and together, let's revolutionize the gaming landscape! 🎮🐔🕹️
    🛡️Join this channel to get access to perks: www.youtube.com/@Spellthorn/join
    Help me reach my sub goal by subscribing youtube.com/@Spellthorn?sub_c...
    ||||||||||||||| 231% ||||||||||||||| 4.64K/2K
    Most recent subscriber: Aléxis Costa
    @Spellthorn is a talented web/mobile developer who is dedicated to helping others improve their coding skills. Through their UA-cam channel, they create informative and engaging videos that cover a wide range of programming topics. - spellthorn.com/
  • Навчання та стиль

КОМЕНТАРІ • 100

  • @fethi2436
    @fethi2436 5 місяців тому +5

    I'm a full time Flutter Developer, this exciting serie and awesome demonstration made me dream of having no commitment to anything and just focus on making games, neer got board watching all the episodes, much apperciation

    • @Spellthorn
      @Spellthorn  5 місяців тому

      Yea that would be great, but life has other plans. I'm glad you enjoyed them.

  • @mannerset
    @mannerset 9 місяців тому +8

    Thank you for your all videos!
    Your videos have made me realize the joy of Flame game making.
    I'm really looking forward to the rest of your videos! I will try my best to release an app as well!

    • @Spellthorn
      @Spellthorn  9 місяців тому +3

      Thank you so much for the superchat. Flame can definitely be fun with making games just have to learn how things work. Glad the videos have helped you 😁

  • @dcdales
    @dcdales 5 місяців тому +2

    These coding tutorials are far better than any I've paid for. Thank you so much!

    • @Spellthorn
      @Spellthorn  5 місяців тому +1

      Thank you so much I'm glad you enjoyed them and I really appreciate the super thanks 😊

  • @devasme
    @devasme 10 місяців тому

    Waiting for this. Thank you very much for this series. Can’t wait for next one😊. Thanks again 🎉

    • @Spellthorn
      @Spellthorn  10 місяців тому +1

      You're welcome, I'm glad you're enjoying the videos 😁 more to come

    • @devasme
      @devasme 10 місяців тому +1

      @@Spellthorn Can’t wait for next one😊

  • @salwanarar1346
    @salwanarar1346 9 місяців тому +2

    It's one of the most amazing tutorials on the internet!!! Especially when you fix bugs and improve the code with your subscribers. After this video, I can continue on my own, but I will keep watching your videos. I already added the WallJump PlayerState to my character, and now I'm trying to add more traps and levels. Thanks a lot. 👍👍

    • @Spellthorn
      @Spellthorn  2 місяці тому

      I'm glad I could be a good start for you and glad to hear you were able to kick off and continue adding more ☺️

  • @RedBaron19180
    @RedBaron19180 10 місяців тому

    this is so cool!! thanks for the video man

    • @Spellthorn
      @Spellthorn  10 місяців тому +1

      Glad you enjoyed it 😁

  • @flyingtoaster47
    @flyingtoaster47 7 місяців тому

    Great series, really kick-started my flame journey!

    • @Spellthorn
      @Spellthorn  5 місяців тому

      Great I'm glad I could help.

  • @agataaga2829
    @agataaga2829 25 днів тому

    Thank you so much for this tutorial, you made everything easy to understand and made me way more interested in flutter :))

  • @mouhameddiallo3510
    @mouhameddiallo3510 4 місяці тому +1

    Thank you for the tutorial, one of the best i've seen.
    Specially for those who are not from english speaking country (I'm from Senegal).
    it had been really useful

    • @Spellthorn
      @Spellthorn  3 місяці тому

      Thank you, I'm glad it has been helpful. I really love that chicken 🤣

  • @user-pj2lm1jk1s
    @user-pj2lm1jk1s 9 місяців тому +2

    I am a Korean student who tried to make a flutter game using flame. I think I can implement the game I wanted to make with this tutorial. Thank you so much for uploading the video. I hope you can continue to extend the series and let me know everything about Flame

    • @Spellthorn
      @Spellthorn  2 місяці тому

      I'm glad it's helpful, I'm hoping you were able to accomplish it ☺️

  • @jeromebousquie3379
    @jeromebousquie3379 8 місяців тому

    Excellent work, once again
    Excellent series

  • @rebeldefmusik
    @rebeldefmusik 7 місяців тому

    Thank you so much. I love it!

    • @Spellthorn
      @Spellthorn  5 місяців тому

      Glad you enjoyed it 😊

  • @denilsonwashuma1987
    @denilsonwashuma1987 10 місяців тому

    i really appreciate these

    • @Spellthorn
      @Spellthorn  10 місяців тому +1

      I'm glad you're enjoying them 😁

  • @fabien-eme
    @fabien-eme 5 місяців тому

    Thank you for those great videos !

    • @Spellthorn
      @Spellthorn  5 місяців тому

      So nice of you, thank you so much. Glad you enjoyed them

  • @Elliot-69
    @Elliot-69 10 місяців тому

    Keep it Up Bro soon your going to blow up 💪

    • @Spellthorn
      @Spellthorn  10 місяців тому

      I appreciate the support 💖

  • @i_Have2BrainCells
    @i_Have2BrainCells 6 місяців тому +4

    Please dont stop making videos. You are the only reason i am learning flutter. I just want to make 2d platformer for mobile and flutter seems a very good framework for that. Please make more on this
    Edit: Not to mention, there is a new library named "bonfire". Will you make videos on that? Any future plans for that?

    • @Spellthorn
      @Spellthorn  5 місяців тому +2

      Glad you enjoyed them. I have seen bonfire yes. But I try to stay away from stuff like that because I feel it's just another thing I have to learn to do what I want it to do. May be good to use though if meets your needs.

  • @TJ-wc3iq
    @TJ-wc3iq 9 місяців тому

    Here are more ideas to implement in the game (besides light and smoke effects 🌈). Shake the screen when the user has been hit 🥊 Slow down the time when user has been hit ⏰ Zoom in and fadeout when the user gets the checkpoint 🏁 In short, add some visual effects to make everything more attractive 🚀
    One more time, that you so much for this excellent series! 🎉

    • @Spellthorn
      @Spellthorn  2 місяці тому

      Shake would be a nice touch 😊

  • @prodstalker
    @prodstalker 10 місяців тому

    It could be cool a small multiplayer side. Maybe, 1 player is the chicken and the other one is the normal player as actually. Thanks for all these tutorials. I hope to have time to continue soon.

    • @Spellthorn
      @Spellthorn  10 місяців тому +1

      Yea multiplayer would be cool to add, but probably hard to do

    • @prodstalker
      @prodstalker 10 місяців тому

      @@Spellthorn develop without challenge is less interesting 😝

  • @user-uc7bl8yl8r
    @user-uc7bl8yl8r 2 місяці тому

    Hello, I really like all your Flutter & Flame videos, your narration is very good. I have been looking for such a video series for a long time. Thanks to you, I have made a nice introduction to the game field that I have always wanted to start. Now I wonder when a new series about game making will come? 😀

    • @Spellthorn
      @Spellthorn  2 місяці тому

      Glad you've found it helpful 😊 I've recently pivoted towards Gameboy development and plan on making some videos on that soon.

  • @user-ol2fh7vc8n
    @user-ol2fh7vc8n 5 місяців тому

    Thank you so much

  • @ajitkrmaurya
    @ajitkrmaurya 10 місяців тому

    Awesome tutorial. Thanks for the video.
    Waiting for any new game such as Ludo, candy crash etc.

    • @Spellthorn
      @Spellthorn  10 місяців тому +1

      Glad you enjoyed it 😁

    • @ajitkrmaurya
      @ajitkrmaurya 10 місяців тому

      @@Spellthorn sometimes the player is getting out of the box. I mean its getting out of the border we have set and this mostly happens when we use jump and run together. Kindle have a check on this case.

    • @Spellthorn
      @Spellthorn  10 місяців тому

      Hmm. I haven't noticed those issues. U have noticed if you on a platform and time it right if you jump and turn other direction quick enough on an edge it will sometimes flip your character, I wonder if same issue you're experiencing

  • @AiPict
    @AiPict 10 місяців тому

    veri nice! Thank you Thank you!

    • @Spellthorn
      @Spellthorn  9 місяців тому

      Thanks, I'm glad you enjoyed it 😁

  • @michaelmarsh993
    @michaelmarsh993 10 місяців тому

    I really appreciate these amazing videos! What else do you plan on expanding in this series?

    • @Spellthorn
      @Spellthorn  10 місяців тому +2

      We have a few more things to accomplish like, round data between levels, level select, character select, menus, and more enemies etc 😁

    • @QuickCuts1031
      @QuickCuts1031 9 місяців тому

      Bro I love yours videos , please continue
      @@Spellthorn

  • @paulovitor159
    @paulovitor159 9 місяців тому

    Do you plan to do a top-down RPG series? It will be awesome. Nice job man!

    • @Spellthorn
      @Spellthorn  5 місяців тому +1

      I do want to do a top down game. I found a great ninja game art. So I will do that if I make it 😊

  • @TJ-wc3iq
    @TJ-wc3iq 10 місяців тому

    That is really marvelous! 🚀 Thanks for the video. Making them shoot fireball would not be that easy I think 🤔

    • @Spellthorn
      @Spellthorn  10 місяців тому +1

      It wouldn't be too tricky you would create a component for the fireball and code the logic to make it move then just code a logic to create it at position you want

    • @TJ-wc3iq
      @TJ-wc3iq 9 місяців тому

      @@Spellthorn, I was thinking about adding a fireball with a light effect; that might be challenging to employ new framework's feature. Light and smoke 🚀

  • @viniciusVS8v
    @viniciusVS8v 2 місяці тому

    "no offense to chickens" 😂😂

  • @underdog6862
    @underdog6862 3 місяці тому

    looking forward the next series, it's been 7 months already :(

    • @Spellthorn
      @Spellthorn  3 місяці тому

      I am too 😂 it's been hard to stay motivated and time. I do want to jump back into it. I thought about streaming the process that way I can stay engaged while I figure it out. But just haven't gotten the time to hit the start yet. I will be doing that soon though 😊

    • @underdog6862
      @underdog6862 3 місяці тому

      @@Spellthorn it’s okay, we know it takes time to do it the way you’ve been doing these series, appreciate the response 😃

  • @elessarIT
    @elessarIT 10 місяців тому

    Do you plan to add game status using bloc? In any case do u plan to add score system / messages etc on top of the screen? (more fruits more points!)

    • @Spellthorn
      @Spellthorn  10 місяців тому +2

      I've never looked into using bloc so probably not. We could definitely add a score system or at least a fruit counter yea. 😁

  • @gogu2120
    @gogu2120 9 місяців тому

    Thank you for your amazing Flutter flame lecture :). I have a question about the chicken. When player stomped the chicken, until the end of the animation, the chicken is still there so after i stomped and when player collide with chicken while the chicken's hit animation is playing, the player still respawn. How can i fix this??

    • @Spellthorn
      @Spellthorn  2 місяці тому

      Hmmm off the top of my head I would assume could delete hit box once jumped on

  • @saiham4500
    @saiham4500 9 місяців тому

    pls make an episode on infinite world size or world size larger than screen dimension and how the camera moves or follows the player

    • @Spellthorn
      @Spellthorn  2 місяці тому

      Infinite world would be a bit tricky

  • @niinasthommyspokemoncenter9631
    @niinasthommyspokemoncenter9631 2 місяці тому

    Hey hey its me again :D
    is there a way to do a "collision" for an enemy, so if you or the enemy is hitting, you are not dead, rather you get pushed in that direction.
    So no movement anymation etc. just a idle state and than gets pushed the way the enemy moves.
    Do i need to the the maths like for the chicken and the player, or is there a easy solution, that the enemy is a moving collision and just pushes you ?

    • @Spellthorn
      @Spellthorn  2 місяці тому +1

      Ummm off the top of my head I would say maybe something like when player is touching enemy enemy x = player.x + offset.
      If that makes sense like whhe your player touches enemy the enemy position becomes the player position plus an offset and when they aren't touching it goes back to allowing player to move how it wants
      Use ChatGPT and ask for guidance that's what I do lol

    • @niinasthommyspokemoncenter9631
      @niinasthommyspokemoncenter9631 2 місяці тому

      @@Spellthorn aaaaah nice ! thanks :D

  • @elessarIT
    @elessarIT 10 місяців тому

    LOVEDIT!!!
    Please do Chameleon ...it spit its tongue so the hitbox rectangula would not work.... I added Health and Score and it looks very goood!

    • @Spellthorn
      @Spellthorn  10 місяців тому +1

      Glad you're enjoying it. Oh that would be interesting, probably have to make a component for the tongue. Or add another hitbox hmm. I'll look into it

  • @saiham4500
    @saiham4500 9 місяців тому

    cool

  • @makecoinfree
    @makecoinfree 6 місяців тому

    and Level 2!!!

  • @leandrogabriel4260
    @leandrogabriel4260 10 місяців тому

    Is there a way to make maps wider and the screen to follow the character?

    • @Spellthorn
      @Spellthorn  10 місяців тому +2

      Yea you can I haven't done it yet though. I believe you just change the camera to match your player x and y

  • @saiham4500
    @saiham4500 9 місяців тому

    very nice project for learning. i followed it all along, and made 3 levels for android, but cant build for linux. getting this error
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    Exception: Build process failed

    • @Spellthorn
      @Spellthorn  2 місяці тому

      I'm glad you found it useful, were you able to fix those issues?

  • @gudthing9592
    @gudthing9592 5 місяців тому +1

    Brooo, u need to continue this tutorial pleaseee

    • @Spellthorn
      @Spellthorn  5 місяців тому +1

      Life has gotten the best of me sorry about that

  • @tfozo
    @tfozo 7 місяців тому

    missing you

  • @kyawnai
    @kyawnai 3 місяці тому

    I have an issue sometimes the player gone outside the border when I make multiple jumps.

    • @Spellthorn
      @Spellthorn  2 місяці тому +1

      Is it when player head hits bottom of a block?

    • @kyawnai
      @kyawnai 2 місяці тому

      @@Spellthorn Yes. Now I try to edit the left, right, and top walls as an spawn points and override onCollision method to check collide with player and walls. And also try to edit my play can only make a jump on air for one time using jumpTap flag.
      @override
      void onCollision(Set intersectionPoints, PositionComponent other) {
      if (!reachCheckpoint) {
      if (other is LeftWall) {
      velocity.x = 0;
      position.x = other.x + other.width + hitbox.width + hitbox.offsetX;
      }
      if (other is RightWall) {
      velocity.x = 0;
      velocity.x = 0;
      position.x = other.x - hitbox.offsetX - hitbox.width;
      }
      if (other is TopWall) {
      velocity.y = 0;
      position.y = other.y + other.height - hitbox.offsetY;
      }
      }
      super.onCollision(intersectionPoints, other);
      }
      void _updatePlayerMovement(double dt) {
      if (hasJump && jumpTap < 2) _playerJump(dt);
      velocity.x = horizontalMovement * moveSpeed;
      position.x += velocity.x * dt;
      }

    • @kyawnai
      @kyawnai 2 місяці тому

      I would like to request to make a tutorial for the big map and how to move the map on screen. I try to make it. but I cannot follow the way they did. Thank you. I am waiting more tutorials for flutter flame game with a new flame version.

  • @eliedouaihy7062
    @eliedouaihy7062 10 місяців тому

    wow 🔥🔥🔥 you will add joystick to be supported for android?

    • @Spellthorn
      @Spellthorn  10 місяців тому +1

      We already have joystick support. I have a video on that as well as jumping for mobile 😁

  • @cloutdevelopers8633
    @cloutdevelopers8633 3 місяці тому

    How to make a moving background

    • @Spellthorn
      @Spellthorn  3 місяці тому

      I show how to make the moving background in a previous episode

  • @QuickCuts1031
    @QuickCuts1031 9 місяців тому +1

    Bro I love yours videos yt, please continue

    • @Spellthorn
      @Spellthorn  2 місяці тому

      Starting to come back and make more videos. Pivoted to Gameboy development though lol