How to make Trails

Game Editor comments and discussion.

How to make Trails

Postby Clokio » Mon Feb 13, 2012 12:21 pm

How to make trail that follow a object :?:

Thanks :wink:
Clokio
 
Posts: 229
Joined: Tue May 17, 2011 2:18 pm
Score: 32 Give a positive score

Re: How to make Trails

Postby Bee-Ant » Sun May 20, 2012 5:39 pm

Create 2 actors, "Object" and "Trail". and then give them the same animations.

Object -> Draw Actor -> Script Editor:
Code: Select all
CreateActor("Trail", "Animation", "(none)", "(none)", 0, 0, false);


Trail -> Draw Actor -> Script Editor:
Code: Select all
transp+=0.1;
if(transp>=1)
{
    DestroyActor("Event Actor");
}
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest