Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

i want to create a turn base system on a checker like board game..

New Here ,
Feb 18, 2013 Feb 18, 2013

can someone give me a help or a hint how to restrict blue chips from moving when its red chip turn.. i name the red chip mc_chip1-12 and the blue mc_chip13-24..

is _root.mc_chip13.enabled = false; up to _root.mc_chip24.enabled = false; enough?

TOPICS
ActionScript
403
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 18, 2013 Feb 18, 2013

try it and see.  it may or may not do what you want.

you can also try the mouseEnabled property.

and, if semi-random guessing isn't working for you, explain what triggers a chip to move.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 18, 2013 Feb 18, 2013

can you show me an example code for the mouseEnabled property or how to use it.... thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 18, 2013 Feb 18, 2013
LATEST

my errror.  mouseEnabled is an as3, not as2, property.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines