Skip to main content
Known Participant
June 4, 2011
Question

Barricades for a labyrinth game in flash cs5

  • June 4, 2011
  • 1 reply
  • 497 views

hi, i am trying to create a labyrinth game for the iphone. It uses the accelorometer and i have written the code for that and the holes, but i cant figure out how to write it so i could have something to stop my ball moving, like a wall? i have tried hitTestPoint , but it keeps popping up error messages. im new to this and i have allready started in actionscript 3.0 and dont want to have to revert to actionscript 2 if possible.

Thanks

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
June 4, 2011

you can't use as2 for iOS apps and you would have the same problem with as2.

use the bitmapdata class for shape-based hittests.

Known Participant
June 5, 2011

I am not entirely sure what that is, as i say i am very new to all this