Research portable Memory game | Исследовать портируемую игру Память
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
270B

  1. import arcade
  2. # Find a visible tile id at the specified location
  3. def desktop_aux_tileIdAt(p, x, y):
  4. sprites = arcade.get_sprites_at_point([x, y], p.sprites)
  5. if (
  6. len(sprites) != 0 and
  7. sprites[0].visible
  8. ):
  9. return sprites[0].guid
  10. #}
  11. return None
  12. #}