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

Поделиться
HTML-код
  • Опубликовано: 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 RUclips channel, they create informative and engaging videos that cover a wide range of programming topics. - spellthorn.com/
  • ХоббиХобби

Комментарии • 99

  • @fethi2436
    @fethi2436 4 месяца назад +3

    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  3 месяца назад

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

  • @mannerset
    @mannerset 8 месяцев назад +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  8 месяцев назад +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 😁

  • @i_Have2BrainCells
    @i_Have2BrainCells 5 месяцев назад +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  3 месяца назад +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.

  • @devasme
    @devasme 9 месяцев назад

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

    • @Spellthorn
      @Spellthorn  9 месяцев назад +1

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

    • @devasme
      @devasme 9 месяцев назад +1

      @@Spellthorn Can’t wait for next one😊

  • @dcdales
    @dcdales 4 месяца назад +1

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

    • @Spellthorn
      @Spellthorn  4 месяца назад +1

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

  • @salwanarar1346
    @salwanarar1346 8 месяцев назад +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  Месяц назад

      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 ☺️

  • @flyingtoaster47
    @flyingtoaster47 6 месяцев назад

    Great series, really kick-started my flame journey!

    • @Spellthorn
      @Spellthorn  3 месяца назад

      Great I'm glad I could help.

  • @RedBaron19180
    @RedBaron19180 9 месяцев назад

    this is so cool!! thanks for the video man

    • @Spellthorn
      @Spellthorn  9 месяцев назад +1

      Glad you enjoyed it 😁

  • @user-pj2lm1jk1s
    @user-pj2lm1jk1s 8 месяцев назад +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  Месяц назад

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

  • @rebeldefmusik
    @rebeldefmusik 6 месяцев назад

    Thank you so much. I love it!

    • @Spellthorn
      @Spellthorn  3 месяца назад

      Glad you enjoyed it 😊

  • @mouhameddiallo3510
    @mouhameddiallo3510 3 месяца назад +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  2 месяца назад

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

  • @jeromebousquie3379
    @jeromebousquie3379 7 месяцев назад

    Excellent work, once again
    Excellent series

  • @viniciusVS8v
    @viniciusVS8v 24 дня назад

    "no offense to chickens" 😂😂

  • @fabien-eme
    @fabien-eme 4 месяца назад

    Thank you for those great videos !

    • @Spellthorn
      @Spellthorn  4 месяца назад

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

  • @Elliot-69
    @Elliot-69 9 месяцев назад

    Keep it Up Bro soon your going to blow up 💪

    • @Spellthorn
      @Spellthorn  9 месяцев назад

      I appreciate the support 💖

  • @denilsonwashuma1987
    @denilsonwashuma1987 9 месяцев назад

    i really appreciate these

    • @Spellthorn
      @Spellthorn  9 месяцев назад +1

      I'm glad you're enjoying them 😁

  • @user-uc7bl8yl8r
    @user-uc7bl8yl8r Месяц назад

    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  Месяц назад

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

  • @paulovitor159
    @paulovitor159 8 месяцев назад

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

    • @Spellthorn
      @Spellthorn  3 месяца назад +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 😊

  • @michaelmarsh993
    @michaelmarsh993 9 месяцев назад

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

    • @Spellthorn
      @Spellthorn  9 месяцев назад +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 8 месяцев назад

      Bro I love yours videos , please continue
      @@Spellthorn

  • @user-ol2fh7vc8n
    @user-ol2fh7vc8n 4 месяца назад

    Thank you so much

  • @ajitkrmaurya
    @ajitkrmaurya 9 месяцев назад

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

    • @Spellthorn
      @Spellthorn  9 месяцев назад +1

      Glad you enjoyed it 😁

    • @ajitkrmaurya
      @ajitkrmaurya 9 месяцев назад

      @@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  9 месяцев назад

      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

  • @elessarIT
    @elessarIT 9 месяцев назад

    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  9 месяцев назад +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. 😁

  • @TJ-wc3iq
    @TJ-wc3iq 8 месяцев назад

    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  Месяц назад

      Shake would be a nice touch 😊

  • @prodstalker
    @prodstalker 8 месяцев назад

    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  8 месяцев назад +1

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

    • @prodstalker
      @prodstalker 8 месяцев назад

      @@Spellthorn develop without challenge is less interesting 😝

  • @TJ-wc3iq
    @TJ-wc3iq 8 месяцев назад

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

    • @Spellthorn
      @Spellthorn  8 месяцев назад +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 8 месяцев назад

      @@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 🚀

  • @gogu2120
    @gogu2120 8 месяцев назад

    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  Месяц назад

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

  • @niinasthommyspokemoncenter9631
    @niinasthommyspokemoncenter9631 Месяц назад

    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  Месяц назад +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 Месяц назад

      @@Spellthorn aaaaah nice ! thanks :D

  • @AiPict
    @AiPict 8 месяцев назад

    veri nice! Thank you Thank you!

    • @Spellthorn
      @Spellthorn  8 месяцев назад

      Thanks, I'm glad you enjoyed it 😁

  • @leandrogabriel4260
    @leandrogabriel4260 9 месяцев назад

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

    • @Spellthorn
      @Spellthorn  9 месяцев назад +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

  • @underdog6862
    @underdog6862 Месяц назад

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

    • @Spellthorn
      @Spellthorn  Месяц назад

      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 Месяц назад

      @@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 9 месяцев назад

    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  9 месяцев назад +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

  • @makecoinfree
    @makecoinfree 5 месяцев назад

    and Level 2!!!

  • @eliedouaihy7062
    @eliedouaihy7062 9 месяцев назад

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

    • @Spellthorn
      @Spellthorn  9 месяцев назад +1

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

  • @saiham4500
    @saiham4500 8 месяцев назад

    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  Месяц назад

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

  • @saiham4500
    @saiham4500 8 месяцев назад

    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  Месяц назад

      Infinite world would be a bit tricky

  • @kyawnai
    @kyawnai Месяц назад

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

    • @Spellthorn
      @Spellthorn  Месяц назад +1

      Is it when player head hits bottom of a block?

    • @kyawnai
      @kyawnai Месяц назад

      @@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 Месяц назад

      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.

  • @gudthing9592
    @gudthing9592 4 месяца назад +1

    Brooo, u need to continue this tutorial pleaseee

    • @Spellthorn
      @Spellthorn  4 месяца назад +1

      Life has gotten the best of me sorry about that

  • @saiham4500
    @saiham4500 8 месяцев назад

    cool

  • @cloutdevelopers8633
    @cloutdevelopers8633 2 месяца назад

    How to make a moving background

    • @Spellthorn
      @Spellthorn  2 месяца назад

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

  • @tfozo
    @tfozo 6 месяцев назад

    missing you

  • @QuickCuts1031
    @QuickCuts1031 8 месяцев назад +1

    Bro I love yours videos yt, please continue

    • @Spellthorn
      @Spellthorn  Месяц назад

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