Ik ben in flash 5 een spelletje aan het maken,
om precies te zijn een schietspelletje.
de volgende code:
on (press) {
// x and y
gun_x = getProperty("/gun", _x);
gun_y = getProperty("/gun", _y);
// duplicate the laser and set its position
duplicateMovieClip ("/laser", "laser" add n, n);
setProperty (laser add n, _x, gun_x);
setProperty (laser add n, _y, gun_y);
// increase n
n = Number(n)+1;
//
// For problems with the x and y of the fla-file ( as my PC experiences ) Use the lines below this comment
// remove these lines and check out if you have these problems too !!
setProperty ("", _x, "0");
setProperty ("", _y, "0");
}
heb ik gemaakt, maar als ze nu schieten, komt 'laser' in actie, maar deze schiet naar boven, maar moet naar voren schieten, iemand een idee??
__________________
Dag mensuh
|