Cosmic Candy Pinball: procedural 8-bit pinball game

Native pygame-ce game with fully procedural pixel art and chiptune
audio (no asset files). Pure-logic physics module with flipper angular
momentum, plus headless autoplay/screenshot/probe dev tools.
This commit is contained in:
georgios
2026-09-09 16:18:39 +02:00
commit db49b466c2
25 changed files with 2330 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
"""Cosmic Candy Pinball - entry point.
Controls:
Left/Right arrows (or Z//) .... flippers
Hold Space / Up / Down ........ charge the candy cannon, release to fire
M ................................ mute
P ................................ pause
R ................................ restart the game
Esc .............................. quit
"""
import pygame
from game import Game
def main():
g = Game()
clock = pygame.time.Clock()
running = True
while running:
for ev in pygame.event.get():
if not g.event(ev):
running = False
if running:
g.set_keys()
g.update()
g.render()
clock.tick(60)
pygame.quit()
if __name__ == "__main__":
main()