The Daily Click ::. Forums ::. Klik Coding Help ::. How to make trail effect
 

Post Reply  Post Oekaki 
 

Posted By Message

Jon C-B

I create vaporware

Registered
  23/04/2008
Points
  237

I'm an alien!VIP MemberWii OwnerI donated an open source project Santa Hat
13th December, 2008 at 15:07:51 -

How do you make a trail effect like te ones in Satan Sam and Jakes Revenge 2?

Image
Image

 
n/a

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
13th December, 2008 at 15:13:17 -

Just have an active clone of the player sprite that's created at the player sprite, set it's animation and frame to the same as that of the sprite and make it so the semi-transparency increases every 00.10 or something.

Personally it's not an effect I'm that keen on nowadays :/

 
n/a

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
13th December, 2008 at 16:56:14 -

As Ad said, once the animations for the main sprite are 100% (or not if you have no qualms with updating them later) then make it a static object, in it's behavior (or just events) set its transparency to its Value A. Set the initial value to 60 or so (so it doesn't start off too visible) and always add to Value A. When Value A is greater than 128 destroy it.
How often you make them is up to you. In my current project I just have them made when the player is moving fast to give an impression of speed. I think it's every 3 frames though, or none at all if the player has the effects set to low.

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
15th December, 2008 at 16:24:30 -

Alucard effect FTW!

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
15th December, 2008 at 17:20:55 -

y'know I hadn't even played a Castlevania game before adding in that effect to Sam (even the non-demo first 2001 had it). But I did see it in some other game, might have even been Street Fighter. And now this is going to peck my head for the rest of the day

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

traugott.simon



Registered
  23/08/2008
Points
  91
15th December, 2008 at 19:26:07 -

Yeah samus aran when running at full speed in the older metroid games

 
n/a

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
15th December, 2008 at 20:05:56 -


Originally Posted by traugott.simon
Yeah samus aran when running at full speed in the older metroid games



Thanks chief! That's the one.

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

chrilley

Insane Beaver

Registered
  05/01/2002
Points
  704

Game of the Week WinnerVIP Member360 Owner
15th December, 2008 at 21:10:17 -

I think Chrono Trigger also has some of them trails when executing certain special moves too.

Anyway, a tip is to use those trails limited, otherwise it kills the effect of the... effect.

 
Image
   

Post Reply



 



Advertisement

Worth A Click