Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles

Proper screensaver script

A topic by Fernando Ramallo created Jan 24, 2016 Views: 209 Replies: 1
Viewing posts 1 to 2
Submitted (1 edit) (+2)

Hey y'all! Congrats on so many jam entries!

I thought I'd share this little Unity script to make your game behave as a traditional screensaver by hiding the cursor and quitting the game when there's any input, plus a reminder to disable the resolution dialog.

With this we'd be able to bundle a bunch of them into a loader that'd make them run as actual screensavers! (on windows at least)

Screensaver.cs - http://pastebin.com/Ter8hCxz

Submitted

Done! I made an alternate “actual screensaver” windows download for Sweetpants Dance that includes this script, & cited you in the readme. Thank you!