Research portable Memory game | Исследовать портируемую игру Память
You can not select more than 25 topics 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. #}