How to make an actor to shot
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;
}