Compare commits
1 Commits
master
...
dodana_ety
Author | SHA1 | Date | |
---|---|---|---|
dc7dcd8e9d |
53
stale.py
53
stale.py
@ -1,33 +1,20 @@
|
|||||||
from enum import Enum
|
FPS = 10
|
||||||
|
|
||||||
FPS = 120
|
# SZEROKOSC_OKNA = 1500
|
||||||
KROK_AGENTA1 = 2
|
# WYSOKOSC_OKNA = 750
|
||||||
SZEROKOSC_OKNA = 1080
|
|
||||||
WYSOKOSC_OKNA = 760
|
LICZBA_POL_W_POZIOMIE = 60
|
||||||
BOK_AGENTA1 = 100
|
LICZBA_POL_W_PIONIE = 20
|
||||||
BIALY = (255, 255, 255)
|
BOK_POLA = 20
|
||||||
JASNOSZARY1 = (200, 200, 200)
|
ODSTEP_MIEDZY_POLAMI =2
|
||||||
ZIELONY1 = (26, 122, 26)
|
SZEROKOSC_OKNA = LICZBA_POL_W_POZIOMIE * (BOK_POLA + ODSTEP_MIEDZY_POLAMI) + ODSTEP_MIEDZY_POLAMI
|
||||||
GREY =(150,150,150)
|
WYSOKOSC_OKNA = LICZBA_POL_W_PIONIE * (BOK_POLA + ODSTEP_MIEDZY_POLAMI) + ODSTEP_MIEDZY_POLAMI
|
||||||
RED =(255,0,0)
|
|
||||||
BLUE=(55,55,255)
|
BOK_AGENTA1_W_POLACH = 1
|
||||||
BLACK =(0,0,0)
|
BOK_AGENTA1 = BOK_AGENTA1_W_POLACH * (BOK_POLA + ODSTEP_MIEDZY_POLAMI) - ODSTEP_MIEDZY_POLAMI
|
||||||
GREEN =(0,200,0)
|
KROK_AGENTA1 = 2
|
||||||
DARKGREY=(150,150,150)
|
|
||||||
UGLY_PINK=(255,0,255)
|
BIALY = (255, 255, 255)
|
||||||
BROWN=(153,76,0)
|
JASNOSZARY1 = (200, 200, 200)
|
||||||
GOLD=(153,153,0)
|
SZARY1 = (150, 150, 150)
|
||||||
DARKGREEN=(0,102,0)
|
ZIELONY1 = (26, 122, 26)
|
||||||
DARKORANGE=(255,128,0)
|
|
||||||
NUMBER_OF_BLOCKS_WIDE=8
|
|
||||||
NUMBER_OF_BLOCKS_HIGH=8
|
|
||||||
BLOCK_HEIGHT=round(SZEROKOSC_OKNA/NUMBER_OF_BLOCKS_HIGH)
|
|
||||||
BLOCK_WIDTH=round(WYSOKOSC_OKNA/NUMBER_OF_BLOCKS_WIDE)
|
|
||||||
MAPFILE="map.txt"
|
|
||||||
TITLE ="Gierka"
|
|
||||||
|
|
||||||
class KIERUNEK(Enum):
|
|
||||||
GORA = 0
|
|
||||||
DOL = 1
|
|
||||||
LEWO = 2
|
|
||||||
PRAWO = 3
|
|
||||||
|
Loading…
Reference in New Issue
Block a user