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.

desktop.py 489B

4 months ago
4 months ago
4 months ago
12345678910111213141516171819202122232425
  1. import arcade
  2. from desktop_Platform import *
  3. def desktop_configureFixedWindow(p):
  4. p.cell = 25
  5. p.windowAntialiasing = False
  6. p.windowHeight = 600
  7. p.windowTitle = "OGS Memory"
  8. p.windowWidth = 900
  9. #}
  10. def desktop_loadTextures(p):
  11. texs = []
  12. for (id, td) in enumerate(p.c.textureDescriptions):
  13. tex = arcade.load_texture(
  14. td.fileName,
  15. x = td.x,
  16. y = td.y,
  17. width = td.width,
  18. height = td.height
  19. )
  20. texs.append(tex)
  21. #}
  22. p.textures = texs
  23. #}