# K... is this way any good... or should I use another

**URL:** https://forum.kirupa.com/t/k-is-this-way-any-good-or-should-i-use-another/120640
**Category:** Uncategorized
**Created:** [August 26, 2004, 4:06am UTC](https://forum.kirupa.com/t/k-is-this-way-any-good-or-should-i-use-another/120640 "2004-08-26T04:06:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![patricktheking](https://avatars.discourse-cdn.com/v4/letter/p/a3d4f5/32.png) [@patricktheking](https://forum.kirupa.com/u/patricktheking)
#### Post date: [August 26, 2004, 4:06am UTC](https://forum.kirupa.com/t/k-is-this-way-any-good-or-should-i-use-another/120640/1 "2004-08-26T04:06:18Z")

</div>

K im making a super mario game right and i’m working on the bad guys right now…

currently ill give them a predefined path and if mario walks into them or something he’ll either shrink or die, depending on his size.

anywayz… currently i was thinking of having a little line on the head of each of the bad guys and if mario touched it… the goomba’s would die…

ex of what i would put on the line of the mc on each bad guy

onClipEvent (enterFrame) {  
if (mario.hitTest(\_root.badguy1.hitter)) {  
\_root.mario.\_y += 6;  
}  
if (mario.hitTest(\_root.badguy1.hitter)) {  
\_root.badguy1.hitter.gotoAndPlay(“goombadead”);  
}  
}

this is what i am gonna do now… but i know theres gotta be a better way… any suggestions
