hey guys,
just wondering if any of you know how to create bullet holes when you click the mouse button.
thanks
chinabean
hey guys,
just wondering if any of you know how to create bullet holes when you click the mouse button.
thanks
chinabean
Make an image of a bullet hole in Photoshop or in Flash if you’re good and just have it appear when you click a button.
Your question is a bit vague so that’s the best answer I can give. :-\
ok, im trying to make it appear where i click the cursor. what would the code be for showind a bullet hole where the cursor is.
onClipEvent (mouseDown) {
i++;
this.duplicateMovieClip(“bullet”+i, i+1);
_root[“bullet”+i]._x = _root._xmouse;
_root[“bullet”+i]._y = _root._ymouse;
}
Convert your bullet to a movie clip, call it “bullet” and insert the code above into the clip.
:-\ This is the cheapest way to do it and is a technique I wouldn’t use, but if you are new, this might help, if you already have code and are trying to correct it, publish it here.
:: Copyright KIRUPA 2024 //--