https://github.com/lukems/sftext
Scrollable Formatted Text for pygame
https://github.com/lukems/sftext
Last synced: about 1 year ago
JSON representation
Scrollable Formatted Text for pygame
- Host: GitHub
- URL: https://github.com/lukems/sftext
- Owner: LukeMS
- License: lgpl-3.0
- Created: 2016-01-14T16:47:01.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-15T15:50:43.000Z (about 10 years ago)
- Last Synced: 2025-01-10T23:45:32.180Z (about 1 year ago)
- Language: Python
- Size: 386 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sftext
**S**crollable **F**ormatted (and auto-wrapping) **Text** rendering for pygame
A simple pygame module to load big texts, wrap'em to fit the screen (or surface given), allow scrolling (with keyboard: up, down, pg_down, pg_up, home, end, and mouse wheel) and render it with some formatting (you can change alignment, font, bold, italic, underline, size, color - and thats all for now).
There are two examples (and a screenshot of each) on the ['example'](https://github.com/LukeMS/sftext/tree/master/example) folder.
Feedbacks on performance, improvements that could be done, bugs, anything, will be highly appreciated.