mathus the seconth -> RE: Flash Q&A thread 2 ** checked everyday (4/2/2006 1:58:16)
|
can anyone help me with the game im making? all the scripts ppl give me dont work. its a shooting game, like the one zoltan made, i have a bg, a gun with a crosshair, an enemy, and a bullet. the scripts on the gun are:
//gun replaces cursor.
onClipEvent (load) {
startDrag("", true);
Mouse.hide();
}
//I made this section myself:
//when you press, the bullethole x & y = the gun x & y.
onClipEvent(mouseDown) {
_root.bullethole._y = _root.gun._y;
_root.bullethole._x = _root.gun._x;
} thats just about it. now i need u to teach me how to make scorecount, reload, and hittest between the bullet and the enemy (if u can of course) ill upload a file of what i have later. EDIT: here is what i have so far. timebomb (turn up the volume music by me, thanks to http://www.ctcmix.com, i found this site on a cereal box lol long time ago.) u should try this hoster: http://www.badongo.com/, it can take 1 gig files!!!!, thats AMAZING. EDIT EDIT: I fixed the script, Before ---> on (press) { After ---> onClipEvent(mouseDown) { it makes it go much smoother.
|
|
|
|