(Translated by https://www.hiragana.jp/)
GitHub - luebking/starfield: Reminiscence to the screensaver that shipped until WinXP
Skip to content

Reminiscence to the screensaver that shipped until WinXP

License

Notifications You must be signed in to change notification settings

luebking/starfield

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

starfield

Reminiscence to the screensaver that shipped until WinXP

Requires libGL and SDL.

Building with gcc -o starfield starfield.c -O2 -lglut -lGL -lGLU -lSDL -lSDL_image -lX11

starfield expects the star_[0-3].jpg images in PWD (ie in doubt "next to it")

Supported parameters (and defaults):

  • stars=512
  • spaceDepth=1500
  • speed=2.0
  • width=768
  • height=480
  • forward
  • backward (the default)
  • fullscreen
  • fps=0 (try 30, zero is uncapped)

Keyboard actions:

  • F1 : toggle fullscreen
  • d : toggle direction
  • Up : double up speed
  • Down : half speed
  • left/right: rotate
  • Space : break / choke
  • Escape : quit

There's really no xscreensaver hack like this??

About

Reminiscence to the screensaver that shipped until WinXP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages