This package has been marked as deprecated, and it's suggested another
alternative is used.
![LoafWF-SkyAPI icon](https://gcdn.thunderstore.io/live/repository/icons/LoafWF-SkyAPI-1.0.1.png.128x128_q95.jpg)
SkyAPI
Allows mod developers to register their own Skyboxes!
Last updated | 3 months ago |
Total downloads | 7910 |
Total rating | 2 |
Categories | Libraries Client Side |
Dependency string | LoafWF-SkyAPI-1.0.1 |
Dependants | 5 other packages depend on this package |
This mod requires the following mods to function
![NotNet-GDWeave-2.0.12 icon](https://gcdn.thunderstore.io/live/repository/icons/NotNet-GDWeave-2.0.12.png.64x64_q95.png)
README
SkyAPI - IamKikin
Allows mod developers to register their own skyboxes!
Developer Usage
To use SkyAPI, download SkyAPI from my Github, then autoload it and create your skyboxes!
onready var skyapi = get_node_or_null("/root/SkyAPI")
func #ANY_FUNC_THAT_LOADS_AFTER_CREATING/JOINING_A_LOBBY():
# Registers a new Gradient Sky ( Requires 4 Colors: Top, TopHorizon, Bottom, BottomHorizon )
# Also requires a float ( SkyCurve )
# Registers a new Image Sky ( Requires an image path, and a custom FOV for the skybox )
add_gradient_sky(Top, TopHorizon, Bottom, BottomHorizon, SkyCurve)
add_image_sky(ImagePath, CustomFOV)
Report any bugs to "iamkikin" on Discord! And Image Skyboxes have a weird thing where they rotate around the camera so don't report that to me :3