0 Replies - 12903 Views - Last Post: 20 December 2012 - 02:02 PM

#1 Zarlach   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 26
  • Joined: 14-May 12

Detect if a movieclip has moved past a coordinate question

Posted 20 December 2012 - 02:02 PM

Hi, I'm trying to create a simple game like those "dancing games" like StepMania where arrows are moving at your screen and you have to press an arrow key on your keyboard at a certain point to score points.

The game has a combo bonus that should be rising until an arrow is missed. My problem is that I cannot figure out how to detect if an arrow has gone past the "score area" so that I can remove the combo bonus.

I know I can do "if(arrow.y>500)", but I cannot see how the code can check for this without having an event listener that depends on the user's input.

This post has been edited by Zarlach: 20 December 2012 - 02:03 PM

Is This A Good Question/Topic? 0
  • +

Page 1 of 1