How to create combo/bonus balloon views in Swift?

Hi everyone,

as usual I'll start saying that I'm a newbie (even if I'm an oldie 😉 ), so forgive me if I can't explain myself in a correct technical way.


I'm currently learning Swift and somehow I've created a game. 😁

I would like to know how can I make the combo/bonus little balloon views that other games present when the user obtain point upgrades or extra lives. For a better understanding, the one that appear, zoom toward the player and quickly disappear in an easy or a very elaborate way (stars/puff of smoke, etc.).

I've googled for days in search for explanations, tutorials, forums but nothing seems to match my need.

I think the solution must lay on SpriteKit but if it is, I've not the slightest idea how to integrate it on my game 'cause is a lot to read and I don't know how to start.


Is there any kind soul that can point me toward something that I could read/view or listen?

Thanks in advance


STEFANO

Accepted Reply

You can create a view and animate it and then make it disappear.


Could start looking at basic tutorials:

h ttps://www.raywenderlich.com/5255-basic-uiview-animation-tutorial-getting-started

Replies

You can create a view and animate it and then make it disappear.


Could start looking at basic tutorials:

h ttps://www.raywenderlich.com/5255-basic-uiview-animation-tutorial-getting-started

Wow, you're my personal tutor. I'm honored.😊

When I'll be home from work I'll give it a try and I'll let you know.

I thought that UIView couldn't do the trick. Obviously I was wrong

Thanks a lot


STEFANO