How to make an actor to shot
Posted: Thu Jan 03, 2008 2:22 pm
How to make platform actor to shot on enemies, smotheing like ni SuperMario ???
Game Editor discussion board
http://game-editor.com/forum/
right=0;
x-=3;
right=1;
x+=3;
if(right==1)
{
CreateActor("Shot","ShotAnimation",("none"),("none"),5,0,false);
}
if(right==0)
{
CreateActor("Shot","ShotAnimation",("none"),("none"),-5,0,false);
}
if(right==1)
{
xvelocity+=3;
}
if(right==0)
{
xvelocity-=3;
}