Registreer FAQ Berichten van vandaag


Ga terug   Scholieren.com forum / Technologie / Software & Hardware
Reageren
 
Topictools Zoek in deze topic
Oud 28-11-2002, 16:26
MRdocu
Avatar van MRdocu
MRdocu is offline
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
Met citaat reageren
Advertentie
Reageren


Regels voor berichten
Je mag geen nieuwe topics starten
Je mag niet reageren op berichten
Je mag geen bijlagen versturen
Je mag niet je berichten bewerken

BB code is Aan
Smileys zijn Aan
[IMG]-code is Aan
HTML-code is Uit

Spring naar


Alle tijden zijn GMT +1. Het is nu 07:36.