# Platformer Game - Collision not working for some reason

**URL:** <https://forum.kirupa.com/t/platformer-game-collision-not-working-for-some-reason/74306>\
**Category:** programming\
**Created:** [December 27, 2004, 8:31pm UTC](https://forum.kirupa.com/t/platformer-game-collision-not-working-for-some-reason/74306 "2004-12-27T20:31:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaelle](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@jaelle](https://forum.kirupa.com/u/jaelle)\
**Post date:** [December 27, 2004, 8:31pm UTC](https://forum.kirupa.com/t/platformer-game-collision-not-working-for-some-reason/74306/1 "2004-12-27T20:31:39Z")

</div>

Okay… I’m not really sure what happened to the other thread there. Some database error.

Anywho, what I said, was that I’m having a minor issue w/ a hittest i’m using in a script for a small platformer game I’m helping a friend with. The background is all one movieclip and I want the hero movie clip to recognize it as the ground. However, when the hero jumps, he commits suicide by jumping through the floor. I’ve looked at my code repeatedly and it looks fine, so I’m not really sure what the problem is, but I’m sure its something stupid. 😛 I’m getting rather frustrated tho. If anyone wouldn’t mind taking a moment to look at it and see if they can see what I’m missing, it would be much appreciated.

[http://www.jlcreationsonline.com/synj/bbqgame/platformer.zip](http://www.jlcreationsonline.com/synj/bbqgame/platformer.zip)

The part of the code that is having issues is commented for easy finding. 🙂 Thanks again.
