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

Code cleanup: Simplified cutscene text rendering #1639

Merged
merged 1 commit into from
Jan 12, 2021

Conversation

Semphriss
Copy link
Member

My original code implied the creation of a single game object held in the sector, which would exist with the sector and be rendered with it. It would move with the camera every frame, and check for the level status. All of this, only to display "Press escape to skip" at the top left corner of the screen. I also had left a bunch of broken, partially disabled code, inside the GameSession file from when I was doing tests.

My new code uses the damn draw() function like a normal programmer would do.

@tobbi tobbi merged commit fd085e6 into SuperTux:master Jan 12, 2021
@tobbi
Copy link
Member

tobbi commented Jan 12, 2021

Eh, yeah, that seems reasonable.

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.

2 participants