PDA

View Full Version : CS3, AS3, Help



MrJastin
June 7th, 2009, 11:11 PM
Hey, I'm making a game using Cs3, and As3, And I need a way to make it so when the character touches a swirly thing it goes to another scene...How do I do that?:mario:

Krilnon
June 7th, 2009, 11:38 PM
A swirly thing?

Alpha Remex
June 7th, 2009, 11:41 PM
Hey, I'm making a game using Cs3, and As3, And I need a way to make it so when the character touches a swirly thing it goes to another scene...How do I do that?:mario:

if(characterMC.hitTest(swirlyThingObject)) {
//use either nextScene() or goToAndPlay()
}

MrJastin
June 8th, 2009, 12:47 AM
if(characterMC.hitTest(swirlyThingObject)) {
//use either nextScene() or goToAndPlay()
}
Ty for responding so fast