# Game making help

**URL:** https://forum.kirupa.com/t/game-making-help/17819
**Category:** flash
**Created:** [April 9, 2003, 6:44pm UTC](https://forum.kirupa.com/t/game-making-help/17819 "2003-04-09T18:44:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![kenkamania](https://avatars.discourse-cdn.com/v4/letter/k/8c91f0/32.png) [@kenkamania](https://forum.kirupa.com/u/kenkamania)
#### Post date: [April 9, 2003, 6:44pm UTC](https://forum.kirupa.com/t/game-making-help/17819/1 "2003-04-09T18:44:00Z")

</div>

I am currently creating a platform game using FLASH MX and would be very grateful if somone could tell me how I could have simple actions performed when two movie clips collide.

I have created a movable character MC and I need for the scene to change when it comes into contact with a door MC.

I also need for the positon of the character MC to change when it collides with a bad guy MC so that when the character comes into contact with a bad guy it is zapped back to the start or for the scene to restart or anything.

Can anybody please help :q: I am soooo desperate!!!

PS I have seen the collision detection tutorial and still don’t know how to do this.

Thank you Ⓜ

---

<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: [April 9, 2003, 8:51pm UTC](https://forum.kirupa.com/t/game-making-help/17819/2 "2003-04-09T20:51:35Z")

</div>

you ahve

if (\_root.mcname, hitTest(\_root.mcname2)){  
//all the actions you want here  
}

i guess to make the character zap back youd put something like

character.\_x=0;  
character.\_y=0;

insisde the if statement assuming you want it to move to 0,0

and to change scenes, youd probably put \_root.gotoAndStop(2);  
where each frame on root is a different scene. not to sure about aht though.
