Created
December 12, 2019 00:02
-
-
Save EndangeredNayla/6b167df68a473c6d473f5c941a35e7fb to your computer and use it in GitHub Desktop.
Loading Screens by BloodNBonesGaming Documentation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*Loading Screens by BloodNBonesGaming Documentation* | |
**Background Adding:** | |
This adds a custom background to the loading screen if Resource Loader is installed inside of the folder resources/mainmenu/bg.png | |
```background = addStretchedTexture("top_left", "mainmenu:bg.png") | |
background.setRelRender(1, 1) | |
``` | |
**Tip Adding:** | |
This adds Tips to the top left of the screen named Tip 1, Tip 2, and Tip 3 | |
``` | |
tips = addRandomText("top_left") | |
tips.setAbsXOffset(5) | |
tips.setAbsYOffset(5) | |
tips.addTip("tip1") | |
tips.addTip("tip2") | |
tips.addTip("tip3")``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment