This wiki has been moved to https://github.com/SuperTux/wiki into the mediawiki branch.

Difference between revisions of "Demos"

From SuperTux
Jump to: navigation, search
m (Reverted edits by 221.155.127.228 (Talk); changed back to last version by FlyingPenguins)
m (user cat)
 
(3 intermediate revisions by 3 users not shown)
Line 15: Line 15:
  
 
   ./supertux --record-demo mydemo.demo data/levels/world1/level25.stl
 
   ./supertux --record-demo mydemo.demo data/levels/world1/level25.stl
 +
  supertux.exe --record-demo mydemo.demo data/levels/world1/level25.stl
  
 
You can playback a demo like this:
 
You can playback a demo like this:
  
 
   ./supertux --play-demo mydemo.demo data/levels/world1/level25.stl
 
   ./supertux --play-demo mydemo.demo data/levels/world1/level25.stl
 +
  supertux.exe --play-demo mydemo.demo data/levels/world1/level25.stl
 +
 +
[[Category:For Users]]

Latest revision as of 13:00, 8 August 2008

The current svn version allows recording of demos. So let's collect some speed runs :)

(Unfortunately the speed runs can only be replayed with the same version of supertux it was recorded with...)

MatzeB (svn version from 2.Mai)

How to create Demos

First note that Demos are only available in the development version! If you have compiled an svn version yourself, then you can record a demo of level25 like this for example (started from source dir):

 ./supertux --record-demo mydemo.demo data/levels/world1/level25.stl
 supertux.exe --record-demo mydemo.demo data/levels/world1/level25.stl

You can playback a demo like this:

 ./supertux --play-demo mydemo.demo data/levels/world1/level25.stl
 supertux.exe --play-demo mydemo.demo data/levels/world1/level25.stl