Skip to content

taikedz-mt/slideshows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minetest: Slideshow

Display images on the screen.

Could be used for tutorials for example.

Avoid making too many slides - media always has to go over the wire to the user so keep it small!

The current version enforces use of a JPEG file and displays using a 4:3 ratio.

Requires formspeccer

Usage

Example for registering tutorials

slideshow.register_slide("tutorial1","mytut_first.jpg")
slideshow.register_slide("tutorial1","mytut_second.jpg")

slideshow.register_slide("tutorial2","mytut_other.jpg")
slideshow.register_slide("tutorial2","mytut_more.jpg")

minetest.register_chatcommand("tut1",{
	func = function(player,args)
		slideshow.show_deck("tutorial1",player)
	end
})

minetest.register_chatcommand("tut2",{
	func = function(player,args)
		slideshow.show_deck("tutorial2",player)
	end
})

The JPEGs need to be stored in the textures/ folder

About

Do a slideshow in minetest

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages