|
-
Who needs pants?
Game Component: Was Bored today!
i was bored today and decided to make a game component.
Dont know what i could use it for but it killed sometime.
here
-
Time Killer
lol wild, the blood throw was quite the effect, maybe make it into a shooter for an idea to kill even more time
-
Who needs pants?
Yeah. But the good thing about making components is that they can be for anything. So if i change the stickman mc to lets say a car and the blood mc to smoke you can have yourself a nifty little explosion.
-
the mouse movement was cool. so was the blood
-
Who needs pants?
Hehe thatnks. No one has any speed probs? Not that i really care just thaught it would be good to know incase i end up using it
-
Senior Member
-
Amiga freak
Yes. nice bloody trail........ but dont like that the mouse pointer is moving with delay. Should be direct instead.
-
ive experienced that mouse effect once (running windows, obviously). it wasent as much fun then...
-
Flash Enthusiast?
Very Nice indeed, is there a place to download it?
IHOSS: I think that the trail effect was intended
-
Who needs pants?
Thanks, theirs no downlod atm but i can get one up if people want it.
The cursor was supposed to assimilate actual snipering and have delay.
Code:
onClipEvent(load){
_x=_root._xmouse;
_y=_root._ymouse;
speed=10;
}
onClipEvent(mouseMove){
targetx=_root._xmouse;
targety=_root._ymouse;
}
onClipEvent(enterFrame){
_x+=(targetx-_x)/speed;
_y+=(targety-_y)/speed;
}
thats the code 4 it
-
1 thing: maybe the body parts should stop spinning once theyve stopped bouncing
-
Flash Enthusiast?
Haha I noticed that, Thought it was quite funny actually...
-
Who needs pants?
Yeh i know, and the only part that splats blood on the ground is the head just didnt get around to finishing it.
-
I pity da fool who doesn't like games where you get to splat blood 
good job!
-
Im a newbie, but how did you create the blood when the head hit the ground? I suppose you create new objects which I would really like to learn.
-
Who needs pants?
All i did was create a blood movieclip. Place it on the stage and gave it an instance name off bloods. All you need to do then is when the head reaches a certain _y on the stage duplictae the movie clip and place the duplicated movie in the correct location on the stage.
heres an example of the duplicating code
Code:
//add i to i which begins at 0
i++;
//duplicate the bloods mc and give it a new untaken name
_root.bloods.duplicateMovieClip("bloods"+i, i);
//set the _x of the blood to the _x of the head
_root["bloods"+i]._x = this._x;
/set the _x of the blood to the _x of the head and place it under the head
_root["bloods"+i]._y = this._y+_height/2;
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|