Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance "Game Over"-outro #740

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Enhance "Game Over"-outro #740

wants to merge 1 commit into from

Conversation

GWRon
Copy link
Member

@GWRon GWRon commented Nov 17, 2022

References #738

@@ -453,6 +453,52 @@ Type TGame Extends TGameBase {_exposeToLua="selected"}
Next

End Method


Method SetGameOver()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wäre es sinnvoll, hier den visitBoss-Parameter mitzugeben? Schließlich sollte beim Aufruf klar sein, ob der Chef einen rauswerfen will oder man selbst heimlich abhaut.

local oldA:float = GetAlpha()
SetAlpha oldA * 0.85
GetBitmapFont("default", 72, BOLDFONT).DrawBox("GAME OVER", 0,0, GetGraphicsManager().GetWidth(), 380, sALIGN_CENTER_CENTER, new SColor8(255,155,125), EDrawTextEffect.Shadow, -1.0)
Setalpha oldA
SetAlpha oldA
GetBitmapFont("default", 18, BOLDFONT).DrawBox("hit ESCAPE or a mouse button to return to main menu", 0,0, GetGraphicsManager().GetWidth(), 480, sALIGN_CENTER_CENTER, new SColor8(225,225,225), EDrawTextEffect.Shadow, -1.0)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ich finde jeden Mausklick ziemlich rigoros (nochmal im Fernseher rumzappen, Hilfe aufmachen) - vielleicht nur außerhalb des Interfaces?

@GWRon
Copy link
Member Author

GWRon commented Nov 18, 2022 via email

@nittka
Copy link
Contributor

nittka commented Nov 18, 2022

Na klar, aber frühe Rückmeldungen schaden ja nicht (immer).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants