Scholieren.com forum

Scholieren.com forum (https://forum.scholieren.com/index.php)
-   Software & Hardware (https://forum.scholieren.com/forumdisplay.php?f=20)
-   -   Flash5 - schietspel (https://forum.scholieren.com/showthread.php?t=292135)

MRdocu 28-11-2002 16:26

Flash5 - schietspel
 
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??


Alle tijden zijn GMT +1. Het is nu 19:17.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.