# Making a game - Need help Badly!

**URL:** https://forum.kirupa.com/t/making-a-game-need-help-badly/116691
**Category:** Uncategorized
**Created:** [July 20, 2004, 5:28pm UTC](https://forum.kirupa.com/t/making-a-game-need-help-badly/116691 "2004-07-20T17:28:48Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Mizit](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@Mizit](https://forum.kirupa.com/u/Mizit)
#### Post date: [July 20, 2004, 5:28pm UTC](https://forum.kirupa.com/t/making-a-game-need-help-badly/116691/1 "2004-07-20T17:28:48Z")

</div>

Hey,

Im a stickman Obsesive.  
I am trying to make a stickman fighting game but im having serious problem’s  
this is how im trying to make it

```
            o o
            /\- /\
            || ||

```

* * *

Okay one dude (you) on the left you can move around and make him kick and punch

and guy’s liek the one of the right come up and you have to kill them and they fight back.

I have made a little example or a man you can move around on the floor  
But im stuck on how to make him kick and punch,…

Please help me 😃

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 20, 2004, 5:36pm UTC](https://forum.kirupa.com/t/making-a-game-need-help-badly/116691/2 "2004-07-20T17:36:20Z")

</div>

hey man, sorri to say but unless ur willing to get sumone to script it for you, you wont be making this game for a long time. im not being mean but its just hard for sumone who duznt know actionscript to make a game, whether he’s givin the code or not.😛

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 20, 2004, 5:46pm UTC](https://forum.kirupa.com/t/making-a-game-need-help-badly/116691/3 "2004-07-20T17:46:00Z")

</div>

Can someone script it for me then 😃

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 20, 2004, 7:18pm UTC](https://forum.kirupa.com/t/making-a-game-need-help-badly/116691/4 "2004-07-20T19:18:43Z")

</div>

[http://www.designcontest.net](http://www.designcontest.net)

Offer some green and someone there might pick-up the chore, otherwise I wouldn’t count on anyone here doing for you “for fun”.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 20, 2004, 8:12pm UTC](https://forum.kirupa.com/t/making-a-game-need-help-badly/116691/5 "2004-07-20T20:12:51Z")

</div>

maybe you could do a search in the game forum???

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 21, 2004, 9:57am UTC](https://forum.kirupa.com/t/making-a-game-need-help-badly/116691/6 "2004-07-21T09:57:21Z")

</div>

draw the punching or kicking on the second frame on the clip and on the clip write/paste actions

> if(Key.isDown(Key.SPACE)){  
> if(this.punching==undefined||!this.punching){  
> this.gotoAndPlay(2);  
> this.punching=true;  
> }  
> }

and in the clip where the punching/kicking animation ends in the frame actions put

> punching=false;  
> gotoAndStop(1);

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 21, 2004, 3:12pm UTC](https://forum.kirupa.com/t/making-a-game-need-help-badly/116691/7 "2004-07-21T15:12:07Z")

</div>

Nice… But it didnt work :S

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 21, 2004, 3:12pm UTC](https://forum.kirupa.com/t/making-a-game-need-help-badly/116691/8 "2004-07-21T15:12:49Z")

</div>

it did… now… i figured it out.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 21, 2004, 3:13pm UTC](https://forum.kirupa.com/t/making-a-game-need-help-badly/116691/9 "2004-07-21T15:13:39Z")

</div>

Do you know how to make people come at you and you can hit them?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 21, 2004, 3:39pm UTC](https://forum.kirupa.com/t/making-a-game-need-help-badly/116691/10 "2004-07-21T15:39:23Z")

</div>

what do you mean - you can hit them - ? you can hit everything always you just need something to check if you hit someone if you know what i mean, for example put the following instance name on you(movie clip - you): _you_

then on the opponent actions put

> onClipEvent(enterFrame){  
> if(\_root.you.punching){  
> if(this.hitTest(\_root.you)){  
> trace(“wazaaa”);  
> }  
> }  
> }

ps. make a game yourself not ask everybody everything

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 21, 2004, 3:41pm UTC](https://forum.kirupa.com/t/making-a-game-need-help-badly/116691/11 "2004-07-21T15:41:18Z")

</div>

make them come at you:

> (on opponent mc)  
> onClipEvent(enterFrame){  
> if(this.\_x\>\_root.you.\_x)this.\_x-=1;  
> if(this.\_x\<\_root.you.\_x)this.\_x+=1;  
> }

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 21, 2004, 4:05pm UTC](https://forum.kirupa.com/t/making-a-game-need-help-badly/116691/12 "2004-07-21T16:05:47Z")

</div>

thankyou
