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

Textscroller Updates #1874

Merged
merged 2 commits into from
Nov 11, 2021
Merged

Textscroller Updates #1874

merged 2 commits into from
Nov 11, 2021

Conversation

weluvgoatz
Copy link
Member

This PR adds the Text Scroller to the object menu, so level designers can add and remove them. Also, the following options were added to it:

  • whether or not it is controllable
  • a script for when it is finished (no script just ends the level)
  • anchor for the position of the text (and an offset to move the text to the left or right to a certain degree)
  • anchor of the text itself (so left-aligned, right-aligned, or center-aligned [default])

This should allow for more text scroller configurations than before, such as if the designer wants to have one anchored to each side of the screen, ones that are timed (so controlling it doesn't work), and ones where they want something else to happen when the text ends, etc...

@serano01
Copy link
Member

serano01 commented Nov 8, 2021

Does this effect the old Textscroller levels in some way? Can they be reworked with the new object tool? Just curios, the PR itself looks good to me.

@weluvgoatz
Copy link
Member Author

I checked, and the old TextScrollers seem to be fine. Not sure if they can be reworked with this new tool, though, because the TextScrollerScreens seem to use a different format than the level object...

@weluvgoatz weluvgoatz merged commit 369df68 into SuperTux:master Nov 11, 2021
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