Summary
Keywords
Full Transcript
See how to add a sprite to your flutter flame game. The main benefit of using a sprite is you can use an image for the component. In this example you'll see how to set the sprite with a png image of a water bottle. Once the sprite is configured, we'll position it at the top of the game and have it fall to the bottom. 📲 Download The Finished Game: https://lastbottle.app 🎮 Series Playlist: https://youtube.com/playlist?list=PL_D-RntzgLvYIxI_Kuwy1f7HedxTF2GPK&si=yEyLASOci9CKl4sq 😻 Complete Code: https://github.com/davefaliskie/go_green/tree/setup-player-sprite 🤑 GET 10% OFF iubenda Privacy Policy: https://iubenda.refr.cc/1manstartup 💬 Join the Discord: https://1manstartup.com/discord 😎 If you enjoy the videos, consider supporting the channel: https://1manstartup.com/donate SECTIONS: 0:00 - What We'll Build 0:13 - Update File Structure 0:48 - Creating A Custom World 2:55 - Creating A Sprite Component 3:40 - Adding Sprite Image 5:25 - Repositioning Sprite 6:28 - Making Sprite Fall 7:44 - Keep Sprite In Game Bounds #flutter #flame
