Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save EndangeredNayla/6b167df68a473c6d473f5c941a35e7fb to your computer and use it in GitHub Desktop.
Save EndangeredNayla/6b167df68a473c6d473f5c941a35e7fb to your computer and use it in GitHub Desktop.
Loading Screens by BloodNBonesGaming Documentation
*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