Browse Source

Optimized Credits-screen

pep-8
Max Lange 7 years ago
parent
commit
7c8a147705
  1. 20
      assets/lang/credits.txt
  2. 1
      rm_unused.sh
  3. 17
      saves/default.ini
  4. 5
      src/namings.py

20
assets/lang/credits.txt

@ -1,23 +1,43 @@
Programmers:
Me
Nick Jarvis
Art:
Art director: Me
Assistant Design Creator: My art teacher
"Dont eat yellow snow"
-
Thanks to:
Chaos advanced, Captain Kirby, Schnewittchen(Snow White)
Music:
Eric Skiff : Chibi Ninja
Rolemusic : Straw Fields
Major League Wobs : The Legend of Zelda - Guerudo Valley 80's Version
Bensound : The Elevator Bossa Nova (Menu Music)
Sweetwaveaudio : Free Ambient Loop
check the README for further information
I am NCO

1
rm_unused.sh

@ -1,2 +1 @@
find . \( -name '*.pyo' -or -name '*.pyc' -or -name '*~' \) -delete
rm ./assets/sprites/player/*

17
saves/default.ini

@ -1,9 +1,10 @@
[main]
fullscreen = True
screenx_current = 1920
screeny_current = 1080
debug = False
skip = False
posx = 0.0
posy = 0.0
volume = 0.5
fullscreen = False
screenx_current = 960
screeny_current = 540
debug = True
skip = True
posx = 0
posy = 0
volume = 0.5

5
src/namings.py

@ -45,7 +45,8 @@ def run():
line, True, color,
screen.get_rect().size, 0)
line_pos = line.get_rect()
line_pos.top = (80 * itera) + settings.screeny_current
#Distance from line to line is 5 pixel more than height
line_pos.top = ((line_pos.h + 5) * itera) + settings.screeny_current
line_pos.left = (settings.screenx_current / 2) - (line_pos.w / 2.0)
lines.append(line)
lines_pos.append(line_pos)
@ -58,7 +59,7 @@ def run():
settings.quit()
if event.type == KEYDOWN:
if pygame.key.name(event.key) == "escape":
lines_pos[len(lines_pos) - 1].top = -50
lines_pos[len(lines_pos) - 1].top = -90
if event.type == USEREVENT + 1:
screen.blit(fade, fade_pos)

Loading…
Cancel
Save