add mod 'galaxybox'

this is basicly a workaround since creating and calculating proper tiles from an own choosen image takes too long atm
This commit is contained in:
tchncs 2017-02-25 23:39:31 +01:00
parent 2b30644052
commit 6ccd51f5d8
10 changed files with 30 additions and 0 deletions

12
mods/galaxybox/README.txt Normal file
View file

@ -0,0 +1,12 @@
Galaxy Skybox
Version 1.0.0
A mod for Minetest.
This mod adds a simple skybox showing a galaxy.
License of skybox textures:
CC-BY and CC-BY-SA - From hackcraft.de <http://hackcraft.de/>.
License of everything else: WTFPL

View file

@ -0,0 +1 @@
Adds a simple galaxy skybox.

17
mods/galaxybox/init.lua Normal file
View file

@ -0,0 +1,17 @@
minetest.register_on_joinplayer(function(player)
minetest.after(0,function()
player:set_sky(
{r=0x13, g=0x01, b=0x24},
"skybox",
{
"galaxybox_1.png^[transform6",
"galaxybox_2.png",
"galaxybox_3.png^[transform7",
"galaxybox_4.png^[transform1",
"galaxybox_5.png^[transform4",
"galaxybox_6.png",
}
)
--player:override_day_night_ratio(0.15)
end)
end)

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 351 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 349 KiB