Does anyone know if there are any pre-made packages for effects like the ones in iMessage?
https://www.youtube.com/watch?v=gfAPip-QtTc
I'm specifically looking for something along the lines of the confetti or balloon effect (but with hearts)
If there are no pre-made package, what would be the best way to go about making something like this (as an overlay). Would it be easy to do natively or use something like Rive (https://rive.app/)
Thanks!
Related
I've been following the doodle dash tutorial for flame in flutter:
https://codelabs.developers.google.com/codelabs/flutter-flame-game#0
I'd like to modify it so that the user can tip the phone left and right to move dash, rather than having on-screen buttons. However, I can't find anything in the docs which refers to an OrientationDetector or anything like it. Is there something here that I'm missing, or is this missing from flame?
Thanks
Flame does not provide this from within the engine, to act upon such events you should use an external package like for example sensors_plus or any of the other packages that provide you with gyroscope data.
I want to implement an Edit box with a spinner control in Unity.
Something like this:
I couldn't find an off-the-shelf component for this. I've also looked up the Unity Forums and haven't found anything relevant. Does anyone know how I could do this?
If you do not find something fitting on the asset store either (there are some comprehensive UI libraries), create a textfield and two buttons. For the arrows you could use special Unicode symbols which are supported by TextMeshPro UI Text renderers. The script to make use of the buttons should be fairly trivial.
Don't forget to turn it all into a prefab for reusage.
So I've been going crazy for a few days trying to create this exercise in Flutter.
Namely, it is 'pop the lock' type minigame like the old arcade game. The red shape would go around in circle and function would fire when you click if it is inside the yellow circle and game would stop. I've been thinking about how to do it in Flutter, but I still can't seem to manage to do it. There is this library:
https://pub.dev/packages/flutter_spinning_wheel
but I'm not sure how it would be useful. Anyone have any idea on how to do it, I don't really need the full code (though it would be useful), but just a general basic idea on how you'd do it. Thank you!
It seems something you can accomplish using percent_indicator package.
It has lots of properties for you to work around.
Is there any native Flutter library for achieving Material Design Speed Dial?
I found only this FAB documentation, but it doesn't say anything about creating a menu out of it, though Material Design FAB documentation says at the top that FAB is supported in Flutter (it doesn't say how much it supports. Only that it supports, which would lead me to understand that it supports everything in the page).
Should I instead develop mine or look for third party libraries?
Nevermind. I'm creating my own Speed Dial. For now, it is part of a very simple project, but once I test it more and add animations, I'll share a final link.
It still don't have animations, because I'm using Visibility for showing or hiding the buttons, and it was tested only in Scaffold's FAB, placed on bottom right of screen, so no link for now, sorry. Less than an alpha right now (and I still need to study how one shares an API for adding to dependency).
I hope I'll be able to create a simple and light enough implementation. Easy to use and easy to understand if anybody wishes to take a look into the code later on. I've seen some implementations, but they are very complex and create (in my view) unnecessary extra widgets.
Some implementations I found:
https://flutterawesome.com/flutter-plugin-to-implement-a-material-design-speed-dial/
https://flutterawesome.com/flutter-floating-action-button-with-speed-dial/
I am creating an application in Swift, and I would like to make an introduction screen that shows off my logo. I want the logo to slam down on the screen, which will then cause a crack, and then that crack slowly grows. I think I can figure out slamming the logo down (by shrinking a UIView of my logo to a certain point), but I am having trouble deciding how to create the crack that will form from slapping down. Do I use views? I am lost.
This is the closest thing that I found to what I would like to do. Sadly, I do not have this software.
https://www.youtube.com/watch?v=bh2y0Xs4IWA
I have created a similar effect before. And to achieve the crack a created multiple images of a growing crack and created an array of images for that screen crack. All you have to do then is animate the images if the imageView.
The other way you can Handel this is to actually draw the crack your self by code which is not difficult really, because in reality it’s just lines and then animate them. But in my experience just using the first method gives a much nicer effect because the images you use can have tons of effects using PS or equivalent.
I would suggest to go with third party like lottie. In lottie files there some animation you except there, you can also message the designer to help out animation. Its very simple to use in swift.
https://www.lottiefiles.com/
you can also check out my profile:
https://www.lottiefiles.com/parameshvadivel
Lottie animation are done in aftereffects using bodymoving extension and exported as json file to use in xcode.