From 435ceea673ba687772b23ec0b766b69971de04db Mon Sep 17 00:00:00 2001 From: Gizmotronn Date: Fri, 28 Jan 2022 02:25:31 +1100 Subject: [PATCH] =?UTF-8?q?=E2=98=A2=EF=B8=8F=F0=9F=8E=B2=20->=20#1=20Setu?= =?UTF-8?q?p=20&=20Issue=20linking?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/unity/pygame.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 content/unity/pygame.md diff --git a/content/unity/pygame.md b/content/unity/pygame.md new file mode 100644 index 000000000..d2fa6b849 --- /dev/null +++ b/content/unity/pygame.md @@ -0,0 +1,22 @@ +# Pygame Projects +Here you'll find a link to all the python projects and the api references. + +## Pygame API +We're starting off with a simple python game that can be used to: +* Mirror Phaser, Unity gameplay, assets, player [account] data (via Lootlocker API, Metamask, etc) +* Provide endpoints to the game's API in different languages + +The game code can be found in the `unity-lootlocker` branch of the [signal-k/dabpi](https://github.com/signal-k/dabpi/tree/unity-lootlocker) repository. + +### Level class +The game's level information, structure and formula. How does this compare to Unity & Phaser? How do we integrate the API into this? + +We're organising the sprites into groups with different rules, as we'll potentially be dealing with hundreds+ sprites and assets: + +* `visible_sprites` -> group for sprites that will be drawn + * This is the only group that draws sprites + * Player, Map, Enemies, Obstacles, etc +* `obstacle_sprites` -> + * [Every] Sprites that the player can collide with + +The sprites can be in multiple groups, even at the same time. \ No newline at end of file