Have a graphic simply follow path/move & fade IN?

Get help using Construct 2

Post » Thu Jan 23, 2014 3:38 am



Lets say that I have a graphic. Lets say its a smiley face. And all I want to do is have the smile face move/float from the bottom of the screen, and move/float to the top of the screen?

What is the very easiest way to do this? Can I some how draw a line/path for the smiley face to follow when it goes from the bottom of the screen to the top? I can't seem to figure it out other than telling it to go in a certain direction for a certain number of pixels... but that seems a bit confusing/lots of trial and error until I get the damn smiley face to go exactly where I want it.. so I'm hoping I'm missing something.

Similarly, lets assume I want the smiley face to fade in... what is the easiest way to do that? I see its easy to fade out.. but not fade in. What am I missing?


puzzele2014-01-23 03:39:29
B
9
S
2
Posts: 111
Reputation: 1,010

Post » Thu Jan 23, 2014 3:51 am

There's a great behavior someone wrote called "litetween" grab it and have a go. It does all of the things you want it to really easily.
B
87
S
44
G
16
Posts: 1,009
Reputation: 17,946

Post » Thu Jan 23, 2014 4:10 am

here's the link
http://www.scirra.com/forum/behavior-litetween_topic53288.html
B
87
S
44
G
16
Posts: 1,009
Reputation: 17,946

Post » Thu Jan 23, 2014 7:33 am

If you'd like to do it without plugins, you could use the method in the moveto example in the new project dialog.

to fade in and fade out I usually use two fade behaviours and set the first to fade in and the second to fade out.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 59 guests