at 5:26 I had to change the collision callback from onCollisionStart to onCollision in order to get the player to disappear only when it reaches the bin position.y @override void onCollision(Set intersectionPoints, PositionComponent other) { if (other is Player && other.position.y > position.y) { other.removeFromParent(); } super.onCollision(intersectionPoints, other); }
@NoOne09620 күн бұрын
Any tips how to resize hitboxes do they are as small as possible?
@1ManStartup19 күн бұрын
You should be able to set the size on the Hitbox, so something like this should work: RectangleHitbox( size: Vector2.all(20.0) );
@hardiklakhalani62683 ай бұрын
I was expecting resizing hitbox instead image scale up. Is it possible to have multiple hitbox? I want to detect object closing up with another padded hitbox & one trimmed hitbox for actual collision.
@1ManStartup3 ай бұрын
Yes, you can have a hitbox on any/ all objects. As the series progresses several others are added with different outcomes kzbin.info/aero/PL_D-RntzgLvYIxI_Kuwy1f7HedxTF2GPK
@joseeduardopenarebollo75376 ай бұрын
Gracias amigo!
@AshuTyagi-c1b3 ай бұрын
Proper and Full course of fullter flames.... Please provide me 😢😢...
@1ManStartup3 ай бұрын
My flutter & flame course is all in this playlist kzbin.info/aero/PL_D-RntzgLvYIxI_Kuwy1f7HedxTF2GPK
@AshuTyagi-c1b3 ай бұрын
@@1ManStartup sir, please guide me... After learn this playlist I can become a good flutter game developer...
@1ManStartup3 ай бұрын
@@AshuTyagi-c1b It'll be a good start, it shows how I built lastbottle.app although a few of the finishing touches in style, localization, and the google wallet integration aren't covered in the videos. But all the code is available on my Github. Being a good game developer requires a lot more than just programming, this is an insightful book I'd recommend to learn a bit more about user psychology as it relates to mobile apps/ games www.amazon.com/Irresistible-Addictive-Technology-Business-Keeping/dp/1594206643
@AshuTyagi-c1b3 ай бұрын
@@1ManStartup thanks Sir.... 🙏🙏...
@AshuTyagi-c1b3 ай бұрын
@@1ManStartup I start playlist.. from today... 1 video daily and practice.