☢️🎲 -> #1 Setup & Issue linking

This commit is contained in:
Gizmotronn 2022-01-28 02:25:31 +11:00
parent 0b4ffae329
commit 435ceea673

22
content/unity/pygame.md Normal file
View File

@ -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.