Set up Flutter and Flame with a SpriteComponent in preparation to use flame_bloc. Code and graphics links in playlist description: • Pinkie - flame_bloc tu...
Пікірлер: 20
@louism3 Жыл бұрын
Thank you for your videos !! Really helpful
@yauheniprakapenka8095 Жыл бұрын
Great thanks for your work 😌
@RuanEmanuell Жыл бұрын
Thanks for the awesome videos! You help a lot
@romaiorjh9390 Жыл бұрын
Thanks, very useful)
@CraigOda Жыл бұрын
Thanks for the nice comment. :-) Glad to hear that!
@hususiders Жыл бұрын
then, time to learn bloc for me
@CraigOda Жыл бұрын
bloc is not needed to learn flame. However, it is a good and common state management system for Flutter. And there is a nice flame_bloc package. So, I will cover bloc setup in the next video. just keep in mind that bloc is a little confusing at first and the main goal of the pinkie series is to learn bloc. just think of it as a challenge for learning. :-)
@rob9752 Жыл бұрын
Hi, do you provide a repository of the code in the tutorials?
@CraigOda Жыл бұрын
github.com/codetricity/pinkie_tutorial for this one. The other tutorials also have the link. You may need to check out the playlist description. Good luck.
@DuyNguyen-eq6qs Жыл бұрын
Do you know why TapDetector is not working (sometime) when I use flutter flame (web) inside another website by , you can reproduce on Android and Chrome
@CraigOda Жыл бұрын
in this particular game, there is a flutter layer and a flame layer. the pointing spot may be on a flutter widget which is overlayed onto the flame layer. one solution is to not use the flutter layer for things that might interfere with the flame tap. for example, you could not use flutter widget buttons and just use flame buttons. there may be other problems with layering flutter over flame. The focus on this tutorial was to learn bloc. I haven't tested the the game play that much. If you're having problems with TapDetector in general and it's unrelated to Flutter widgets, you may want to try the Discord channel for flame. I haven't noticed a general problem with TapDetector. though, there could be one.
@DuyNguyen-eq6qs Жыл бұрын
@@CraigOda I have identified the error. it came from Flutter. When flutter embeded by , sometime onLongPress is called and never end, it is the cause of the next touch event not working. I tested too manytime with GestureDetector widget
@DuyNguyen-eq6qs Жыл бұрын
@@CraigOda do you know any group or channel? I want ask them about this issue
@CraigOda Жыл бұрын
discord.com/invite/pxrBmy4 I believe that is the direct link. You can go to flame-engine.org and look in the upper-right corner for the link
@CraigOda Жыл бұрын
oh, that is interesting that the problem you identified is with Flutter Web long press. The people on the discord channel have a lot more experience than I do. Maybe they can help. have a nice day.