-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Kyuchumimo edited this page Jul 9, 2022
·
20 revisions
Specifications | |
---|---|
Resolution | Customizable display, Defaults to 240x136 pixel display - windowed scaled mode display |
Color | Customizable color palette (chosen from 24-bit colorspace), Defaults to Sweetie 16 |
Input | 1 gamepad with 8 buttons / mouse / keyboard |
Sprites | Defaults to 256 foreground sprites and 256 background tiles (8x8 pixel) |
Map | Customizable tiles |
Sound | Customizable channels, Defaults to 4 channels |
Code | Customizable Python3 script size |
Memory | No memory mapping |
Bankswitching | Customizable banks |
To run your game you need to insert the code in its corresponding space as shown below:
# do you usefull stuff here
while True:
_KEY = None
for event in pygame.event.get():
if event.type == pygame.QUIT or pygame.key.get_pressed()[pygame.K_ESCAPE]:
pygame.quit()
exit()
elif event.type == pygame.KEYDOWN:
_KEY = pygame.key.name(event.key)
_TIC["CLOCK"].tick(60)
# do you TIC() stuff here
pygame.display.flip()
Pygame comes with a predefined name for save data, but you can change it to any name you wish.
- Pygame-80 does not come integrated with editors, so external programs must be used.
Some of the recommended free and crossplatform programs for the development of the assets are the following:
Code: Thonny (Windows, Mac and Linux)
Tilesets / Spritesheets: GIMP (Windows, Mac and Linux)
Audio (sfx / music): OpenMPT (Windows. Mac and Linux (using Wine>=1.8)), Audacity (Windows, Mac and Linux)
Tilemaps: Tiled (Windows, Mac and Linux)