How do I make a scoring popup show, move, then go away...

Get help using Construct 2

Post » Tue Jul 08, 2014 7:18 pm

I must be brain dead but cannot figure this out...

When something scores points, I want a bubble/cloud/points to appear in that spot, float a little upward, then fade out. I have the images I want, just cannot figure out how to get that to work.

Create a copy of the object
Move it to the right layer
Set it to the right x,y position...

then what to make it sorta animate upward for a second or two, then disappear... bullet?

Thanks!
B
22
S
4
G
1
Posts: 100
Reputation: 2,150

Post » Tue Jul 08, 2014 8:07 pm

Well I have uncompleted and unneeded game project that has this feature, download this .capx and get the right events for your text popup! and if you like to continue this project instead of me, PM first. :D
School Tycoon.capx

Hope this will help!
You do not have the required permissions to view the files attached to this post.
ImageImageImageImageImage
B
56
S
15
G
5
Posts: 852
Reputation: 11,436

Post » Tue Jul 08, 2014 8:38 pm

I use a 3rd party plugin for the moveto function but this is what i do.

Create SpriteFont and give it behavior fade and set the fade out params. So by default as soon as i create the object anywhere on the screen even if i don't move it it will disapear in just under a second and destroy itself. Then assign the moveto behavior and give it a speed so as i spawn it i can tell it where to move (up down left, etc..)
help1.png


Next I create a function that spawns the object where i want and tell it to move up 100 pixels. (just enough so that by the time it reaches its destination is faded out)
help2.png
You do not have the required permissions to view the files attached to this post.
B
20
S
7
G
1
Posts: 221
Reputation: 2,077

Post » Thu Jul 10, 2014 9:43 am

Thanks both... got it figured out with your help!
B
22
S
4
G
1
Posts: 100
Reputation: 2,150


Return to How do I....?

Who is online

Users browsing this forum: Artcadev and 44 guests

cron