Flutter Go Router
13:26
4 ай бұрын
Collision Detection In Flame Game
6:43
Setup Flutter Game With Flame
15:47
Know When To Launch Your App
8:31
11 ай бұрын
Next.js Footer
2:37
Жыл бұрын
Пікірлер
@Ash-me6wq
@Ash-me6wq 3 күн бұрын
I'm facing issues with subscription validation and restoration on iOS. My subscription-based app works fine on Android, but on iOS, after a subscription expires, it revalidates the purchase and marks it as successful , maybe it is because the app is on testflight. Additionally, the "Restore Purchase" button restores expired subscriptions. I've struggled to find detailed solutions for these problems and would appreciate your guidance. Please provide advice on how to address these issues on iOS.
@Chuppa-s5w
@Chuppa-s5w 8 күн бұрын
What is Future0r??
@1ManStartup
@1ManStartup 7 күн бұрын
api.flutter.dev/flutter/dart-async/FutureOr-class.html Basically it can either be Future<T> OR T
@Chuppa-s5w
@Chuppa-s5w 6 күн бұрын
@@1ManStartup Thanks
@samuelwakoli
@samuelwakoli 10 күн бұрын
Thank you man
@hirick1322
@hirick1322 12 күн бұрын
OMG man thank you so much without this video I would not have been able to find the solution
@1ManStartup
@1ManStartup 11 күн бұрын
Glad you found it!
@hemilgandhi7861
@hemilgandhi7861 12 күн бұрын
Even after deploying using html web renderer it does not work where as in debug it's working as expected. Only after deployment images are not loaded.
@1ManStartup
@1ManStartup 12 күн бұрын
In that case you should just update the CORS policy for your images as shown in the 2nd half of the video
@speakup8721
@speakup8721 14 күн бұрын
This tutorial saved me. Super loaded. I wish i can subscribe a thousand times. God bless you sir
@1ManStartup
@1ManStartup 13 күн бұрын
Glad to hear that
@AshuTyagi-c1b
@AshuTyagi-c1b 14 күн бұрын
Proper and Full course of fullter flames.... Please provide me 😢😢...
@1ManStartup
@1ManStartup 14 күн бұрын
My flutter & flame course is all in this playlist kzfaq.info/sun/PL_D-RntzgLvYIxI_Kuwy1f7HedxTF2GPK
@AshuTyagi-c1b
@AshuTyagi-c1b 14 күн бұрын
@@1ManStartup sir, please guide me... After learn this playlist I can become a good flutter game developer...
@1ManStartup
@1ManStartup 14 күн бұрын
​@@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-c1b
@AshuTyagi-c1b 14 күн бұрын
@@1ManStartup thanks Sir.... 🙏🙏...
@AshuTyagi-c1b
@AshuTyagi-c1b 14 күн бұрын
@@1ManStartup I start playlist.. from today... 1 video daily and practice.
@ugommirikwe
@ugommirikwe 14 күн бұрын
I don’t think you need to create another provider like you did at 5:23 You can just call the method on the repository already accessible via the provider you created. Or am I missing something here? 🤔
@1ManStartup
@1ManStartup 14 күн бұрын
Depending on where in the app you call it yes that could would, but the 2nd provider is a Future provider so that the Future can be called within a build method using a Consumer
@ugommirikwe
@ugommirikwe 14 күн бұрын
@@1ManStartup hmm 🤔 Then what's the point adding the method inside the repository class if you can reasonably just define its functionalities inside of the second provided method? You know: DRY? 🤔
@1ManStartup
@1ManStartup 14 күн бұрын
@@ugommirikwe You can define it directly in the FutureProvider and for a simple case like this that would work, however using the repository provider allows you to call it both ways ( through a consumer and as a future ) this could be useful if you needed to get the device build number in some other provider you could then call ref.read(updateRepositoryProvider).deviceBuildNum() without having to rewrite the logic. Another benefit of this pattern, which doesn't really apply in this situation, is since the FutureProvider is watching the RepositoryProvider if you invalidate the RepositoryProvider it will cause the FutureProvider to recall deviceBuildNum this can be useful if you need to refresh data from a backend database especially if you had multiple future providers watching that repositoryProvider, you can easily have them all update just by invalidating the repositoryProvider.
@theperfecttwinsnsiblings9561
@theperfecttwinsnsiblings9561 15 күн бұрын
so goat bakra matton eat biryani goat
@dev-t8t
@dev-t8t 16 күн бұрын
Hi! love your solution, but its italicized all my text if use html renderer. any suggestion why this happened?
@1ManStartup
@1ManStartup 15 күн бұрын
I'm not sure maybe the way you have your fonts setup is the cause check this github.com/flutter/flutter/issues/75832#issuecomment-1247712319 If you watch the 2nd half of the video it'll show you how to fix the CORS issue and you can continue using canvaskit
@dev-t8t
@dev-t8t 16 күн бұрын
Hi! love your solution. but in my case its italicized all my text, any suggestion on why this happened?
@hardiklakhalani6268
@hardiklakhalani6268 17 күн бұрын
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.
@1ManStartup
@1ManStartup 17 күн бұрын
Yes, you can have a hitbox on any/ all objects. As the series progresses several others are added with different outcomes kzfaq.info/sun/PL_D-RntzgLvYIxI_Kuwy1f7HedxTF2GPK
@akbarwirayuda
@akbarwirayuda 17 күн бұрын
sorry im new at flutter, how do you show the wrap section? thanks
@1ManStartup
@1ManStartup 17 күн бұрын
This video shows my entire Flutter setup kzfaq.info/get/bejne/qLl5ZpCr3bC-hpc.html
@armagan_gok
@armagan_gok 19 күн бұрын
This guy is awesome! Loves from Turkiye
@soulhala
@soulhala 20 күн бұрын
which plugin
@1ManStartup
@1ManStartup 20 күн бұрын
flutter & dart
@SuluXuluS
@SuluXuluS 22 күн бұрын
These tutorials are so useful, you're saving my life This just made my week, thank you, you're my personal hero
@1ManStartup
@1ManStartup 21 күн бұрын
Glad I could help!
@mahmudizukri
@mahmudizukri 22 күн бұрын
cool bro
@AditSharda
@AditSharda 23 күн бұрын
Very underrated video!!
@1ManStartup
@1ManStartup 23 күн бұрын
I appreciate that!
@broggithomas1599
@broggithomas1599 29 күн бұрын
Thanks for the video ! Can i ask about the VSC extensions and shortcuts you are using ?
@1ManStartup
@1ManStartup 28 күн бұрын
I talk about my setup in this video kzfaq.info/get/bejne/qLl5ZpCr3bC-hpc.html
@zumbarto
@zumbarto 29 күн бұрын
What is the tree shaped class hierarchy thing? Is it extension. I meant return MaterialApp( | | | |-----home This kind of thing?
@1ManStartup
@1ManStartup 29 күн бұрын
I think that's included with the flutter/dart extensions. Is it not for you?
@zumbarto
@zumbarto 29 күн бұрын
@@1ManStartup Nope
@alvinqid
@alvinqid Ай бұрын
It doesn't work on bootstraps js can you help me?
@1ManStartup
@1ManStartup Ай бұрын
did you watch the whole video? setting up bootstrap.js is covered at the end
@FauziJabbar
@FauziJabbar Ай бұрын
thanks, very easy to understand for beginners
@1ManStartup
@1ManStartup Ай бұрын
Glad to hear!
@nozo8488
@nozo8488 Ай бұрын
It only works for debug but how we can do for release?
@1ManStartup
@1ManStartup Ай бұрын
This shows how to fix images in production/ release. What isn't working for you?
@viniciusup
@viniciusup Ай бұрын
You could also use some absolute containers adding the background-image prop to it. In that case, for svg's, you'd need to import your svg, and then set the prop value as 'yourSvgName.src'. Something like this: import bg from '../../assets/images/image.jpg' Then in the element: style={{ backgroundImage: `url(${bg.src})`, }}
@1ManStartup
@1ManStartup Ай бұрын
Thanks for sharing! Another comment said it can be done in pure css, which if I were to refactor it I'd likely go that route.
@mugerwaobadiah1621
@mugerwaobadiah1621 Ай бұрын
Thanks, kindly do a tutorial on authentication involving use of tokens from apis without firebase.i am having challenges with persistence of a user logged in. i am following the vidoes but am creating apis using laravel
@1ManStartup
@1ManStartup Ай бұрын
If you're not using firebase then you need to save the logged in user yourself. Shared preferences, sqflite or Hive are all options. I personally use Hive in some of my projects I did this video related to a game but it maybe helpful kzfaq.info/get/bejne/e5p-m7GUvbKvgI0.htmlsi=y2r06rdOLWyWkJvX
@user-jq5zf1oy3v
@user-jq5zf1oy3v Ай бұрын
I finished the pay list amazing way and clean while learning thanks so much
@1ManStartup
@1ManStartup Ай бұрын
Awesome! glad to hear it was helpful
@Chuppa-s5w
@Chuppa-s5w Күн бұрын
@@1ManStartup I can't start the audio stream when opening a page. I read the documentation, did everything the same, but the audio does not play. I repeated your code and it worked, but it doesn't work on mine. Could you show an example of proper initialization using a simple page loading example?
@Chuppa-s5w
@Chuppa-s5w Күн бұрын
@@1ManStartup Perhaps the ConsumerState Widget is what you need?
@Chuppa-s5w
@Chuppa-s5w Күн бұрын
@@1ManStartup How do I initialize two different audios on two different pages?
@1ManStartup
@1ManStartup Күн бұрын
@@Chuppa-s5w The github link to the code is in the description but you would initialize with: FlameAudio.bgm.initialize(); FlameAudio.bgm.play('bg_game.mp3', volume: 0.2); The consumer state is because I'm using riverpod to determine if the user muted. it's not necessary you can use initState if you have a stateful widget.
@cub3608
@cub3608 Ай бұрын
lovely
@cub3608
@cub3608 Ай бұрын
this is cool man thanks
@BayanIbrahim-vq5nx
@BayanIbrahim-vq5nx Ай бұрын
you save me two hours of work, thx
@1ManStartup
@1ManStartup Ай бұрын
Glad to hear!
@nusrar3540
@nusrar3540 Ай бұрын
Thank you 🙏
@mugerwaobadiah1621
@mugerwaobadiah1621 Ай бұрын
nice tutorials
@1ManStartup
@1ManStartup Ай бұрын
Thanks
@mugerwaobadiah1621
@mugerwaobadiah1621 Ай бұрын
@@1ManStartup any new series coming up like ecommerce app with restapi with authentication, set management with provider without firebase
@1ManStartup
@1ManStartup Ай бұрын
@@mugerwaobadiah1621 The most recent series is a Flutter Game kzfaq.info/sun/PL_D-RntzgLvYIxI_Kuwy1f7HedxTF2GPK&si=7phvZSGoFO4Tf9JO I've been considering doing a series with a REST api backend using Django & a Flutter frontend. But not in the immediate future
@mugerwaobadiah1621
@mugerwaobadiah1621 Ай бұрын
@@1ManStartup that's great but am not a game developer.
@yap9660
@yap9660 2 ай бұрын
would it possible to have dynamic pricing for the in-app purchases? As I have a service which it has different pricing depending on the selection of the user
@1ManStartup
@1ManStartup 2 ай бұрын
Yes this should be possible, I haven't set this up myself but the first thought that comes to mind is to have several different products which have the different prices. For example premium_99 premium_299 - then you can filter out the products based on the business logic around which price you want to show. Likely there are better ways, this is just a first thought.
@yap9660
@yap9660 Ай бұрын
@@1ManStartup Thank you for your reply. Considering that I have multiple selection. For example I have multiple categories: 1) 0 - 100 km 2) 1day to 100 days Selection 1 and 2 are highly dependent, based on the distance and the duration of the selection, we will have dynamic pricing. This mean I will need to create more product on the playstore. I have tried to use 3 product, base-product, distance, and duration, and increment the count of the quantity when offering to user. But apparently the packages only allow to select one product at a time. This is causing some trouble.
@1ManStartup
@1ManStartup Ай бұрын
@@yap9660 my thinking would still be to create a product for each specific potential outcome. Then maybe you have 10 product ids, in the app's logic the user will make selections which always narrow it down to one id.
@1ManStartup
@1ManStartup Ай бұрын
Or simplify the pricing structure, if it's a subscription charging monthly or yearly is more typical than letting the user select an amount of days.
@yap9660
@yap9660 Ай бұрын
@@1ManStartup Thanks you for your recommendation. It is very helpful
@manojperumarath7570
@manojperumarath7570 2 ай бұрын
Since we are not passing user id in flutter code, how does backend script knows the user id of the current subscribing user?
@1ManStartup
@1ManStartup 2 ай бұрын
That should all be explained starting at 6:16:48
@imorenodev2886
@imorenodev2886 2 ай бұрын
Great tutorial. I would love a drag and drop card game example like blackjack.. maybe I'll make it!
@1ManStartup
@1ManStartup 2 ай бұрын
Yes you should! At this time I'm talking a short break from making videos - but maybe in the future I'll do another game with drag & drop.
@imorenodev2886
@imorenodev2886 2 ай бұрын
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<Vector2> intersectionPoints, PositionComponent other) { if (other is Player && other.position.y > position.y) { other.removeFromParent(); } super.onCollision(intersectionPoints, other); }
@shashwat_dubey_
@shashwat_dubey_ 2 ай бұрын
make : The term 'make' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. Any idea how to solve this error? I have installed makefile plugin in my android studio.
@1ManStartup
@1ManStartup 2 ай бұрын
if you open a fresh terminal and type `make --version` it should say something like "GNU Make 3.81..." if not then you don't have make installed. A quick google search can get you the command to do that!
@imorenodev2886
@imorenodev2886 2 ай бұрын
incredible tutorial man.. seriously thank you. could you drop a list of your vs code extensions? Specifically that right-click widget wrap
@1ManStartup
@1ManStartup 2 ай бұрын
Yes, my full VSCode setup is covered in this video kzfaq.info/get/bejne/qLl5ZpCr3bC-hpc.html
@andrewbarr4843
@andrewbarr4843 2 ай бұрын
useless video full of ads very annoying i hope you made 12 cts EURO out this !!!
@baolongha2096
@baolongha2096 2 ай бұрын
Didn't work for me :(
@1ManStartup
@1ManStartup 2 ай бұрын
Strange, maybe try a restart?
@jeetchheda3675
@jeetchheda3675 2 ай бұрын
can we do the same for Icons as well ?
@1ManStartup
@1ManStartup 2 ай бұрын
I don't think this would work for icons, but it might
@ephitariathegame2brainstud996
@ephitariathegame2brainstud996 2 ай бұрын
Thanks!
@abdulwahabkhan4316
@abdulwahabkhan4316 2 ай бұрын
magnificent
@user-ct1sj2ep6y
@user-ct1sj2ep6y 3 ай бұрын
Hello, thank you very much for your tutorial. Your tutorial is clearer than the official document. I have a question. I want to create a mobile game, so I set a fixed resolution . The official document only provides a tutorial on setting CameraComponent. with FixedResolution(); But in your tutorial, you also set the size of the widgets outside of the GameWidget, so when does it need to be set? When is it okay to only set CameraComponent. with FixedResolution(). Thank you.
@vuanhkhoa9715
@vuanhkhoa9715 3 ай бұрын
Thanks man !
@aouadicharaf1038
@aouadicharaf1038 3 ай бұрын
<3 <3 <3
@stick-band
@stick-band 3 ай бұрын
That is weird tutorial, there is react bootstrap that should be used here
@1ManStartup
@1ManStartup 3 ай бұрын
react-bootstrap looks like a nice alternative, although it might have a slight learning curve for those already familiar with normal bootstrap classes, thanks for sharing!
@joseeduardopenarebollo7537
@joseeduardopenarebollo7537 3 ай бұрын
Gracias amigo!