hello
how can i make just one actor, the bullet, wich goes up when you press [8] or down if you press [2] and so on..
y -= 2;
y += 2;
x -= 2;
x -= 2;
CreateActor("bullet", "bullet_anim", "(none)", "(none)", 0, 0, false)->yvelocity=15; // bullet will have a yvelocity of 15
CreateActor("actor", "anim", "(none)", "(none)", 0, 0, false);
actor.xvelocity=10; // but remember don't do this unless you have the CreateActor
actor.yvelocity=10; // otherwise it will only change the lowest cloneindexed actor
Users browsing this forum: No registered users and 1 guest