Merge pull request 'Development' (#1) from InfoProjekt/game:Development into main

Reviewed-on: Spafi/game#1
This commit is contained in:
Spafi 2024-02-13 07:35:47 +00:00
commit 418ae5ee7b
14 changed files with 99 additions and 0 deletions

BIN
InfoProjekt.xlsx Normal file

Binary file not shown.

BIN
art/mauer.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 629 B

BIN
art/mauer_down-left.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 724 B

BIN
art/mauer_down-right.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 703 B

BIN
art/mauer_down.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 651 B

BIN
art/mauer_left.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 706 B

BIN
art/mauer_right.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 694 B

BIN
art/mauer_top-left.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 731 B

BIN
art/mauer_top-right.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 719 B

BIN
art/mauer_top.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 657 B

BIN
art/set1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

7
config.json Normal file
View file

@ -0,0 +1,7 @@
{
"screen":
{
"res":[1120, 780],
"fullscreen": false
}
}

41
main.py Normal file
View file

@ -0,0 +1,41 @@
import pygame
import sys
import json
import time
def setUp(config):
pygame.init()
if config["fullscreen"]:
screen = pygame.display.set_mode(config["res"], pygame.FULLSCREEN)
else:
screen = pygame.display.set_mode(config["res"])
clock = pygame.time.Clock()
running = True
return screen, clock, running
def readConfig():
with open('config.json', 'r') as c:
json_data = c.read()
return json.loads(json_data)
def main():
config = readConfig()
screen, clock, running = setUp(config["screen"])
while running:
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False
# fill the screen with a color to wipe away anything from last frame
screen.fill("purple")
# RENDER YOUR GAME HERE
# flip() the display to put your work on screen
pygame.display.flip()
clock.tick(60) # limits FPS to 60
pygame.quit()
if __name__ == '__main__':
main()

51
storyline.txt Normal file
View file

@ -0,0 +1,51 @@
Szene 1 - Startszene:
Screen - Berlin, 1983, Winter
Draußen in Stadt mit Häusern, kalt und schneeig,
"*Brrr* I'm freezing. I guess I have to warm up myself in the library."
-> bis in der library am Feuer oder so weiterhin frieren
irgendwo info wasd to move around
wenn am Feuer:
"Now I'm feeling better. The winter days are so boring. Maybe I find a way to intertain myself in here?"
Wenn iwie am richtigen Buch, was iwie hervorsticht
"I really hate reading books, but this one looks interesting. Maybe I should have a look inside."
anklicken?
Animation er nimmt Buch (und klappt auf?)
Wow * blackscreen Ende Szene 1
-----------------------------------------
Szene 2 - Aufwachen in einer neuen Welt:
Zerfallene Bibo, selber Ort parallel Universe
"Huh where am I? What happened??"
geht aus Haus raus, wird von Monstern angegriffen,
wenn 1 Hit kommt ältere Dame, tötet/verjagt Monster und Gespräch.
Faselt irgendwie hä warum du nicht dich verteidigen oh du cooles Buch du auserwählter oder so.
Sagt soll zum Dorf gehen wegen Baum und gibt ihm noch irgendwas, muss aber selbst woanders hin.
und Achtung vor Monstern!
------------------------------------------
auf Weg dann neue Welle Monster, lernt sich iwie zu verteidigen(Buch)
------------------------------------------
Im Dorf beim Dorfältesten melden,
Hallo du uns helfen musst wegen Böse bitte bitte, wir dir auch mit Unterkunft und Essen und so helfen.
Innerer Konflikt weil ihm in altem Leben auch nicht von Allgemeinheit geholfen, und er siehts nicht ein...
------------------------------------------
erst durch erneuter Begegnung mit alter Dame wegen nem Happening einsicht...
------------------------------------------
dann Kämpfi gegen böse um zum Boss zu kommen und boss kämpfi...
------------------------------------------
am Ende er als Held gefeiert
und irgendwie Auswahl, ob da bleiben oder Weg zurück suchen aber im alten Leben was ändern