Whilst creating a worldmap is optional, you'll need to write a level subset file to make your level package to appear in the contribs menu (or, ironically, inhibiting this behaviour). (teleport-to-x 1) Worldmap coordinates to which Tux is teleported. (special-tile This is a sample portal tile. (north, south, west, east, concatenate with a hyphen). (apply-to-direction "north-west") The message is displayed only when Tux comes from one of the specified directions (passive-message #t) Set to #f to draw a message sprite on the worldmap and to stop Tux when he steps on this tile. (map-message (_ "Hello.")) Display the following text when Tux steps on this tile. ![]() (special-tile This is a sample message tile. A Squirrel script to execute once this level is completed. (name "heathrow.stl") Filename of the level, relative to the location of the worldmap file. (x 3) Coordinates of the level entry point. Continuing from a level tile is only possible when the level is completed. (layer "interactive") This has to be "interactive".Ġ 0 0 0 0 The tiles as defined in data/images/worldmap.strf. Four is just for demonstrational purposes. (x 3) Note that the coordinates are, unlike in a level, bound to the tilemap. (name "main") Call your spawn point "main". (spawnpoint At the moment, defining multiple spawnpoints on a worldmap is useless. (music "bigben.ogg") Music to be played while on worldmap Language syntax is (nearly) always best consumable when demonstrated on an example, like so: “You'd like that, wouldn't ya?” Okay, okay, let me teach you a bit. So now you expect me to teach you S-expr. And so, the SuperTux data language was born. This syntax is mostly used by programming languages (such as Lisp or Scheme), but the devs simply thought why not to implement it as a data storage language. “The Crazy File Format” used by SuperTux is S-expr. This might freak out a few BASIC or Python programmers who have pretty much developed a natural aversion against them. ![]() Brackets, brackets, brackets (About the Language)Īs you might have already noticed, the SuperTux definition files (just about for everything) are full of brackets ('(' and ')'). The remainder of this article will give a general overview and describe miscellaneous file formats. You can find in-depth discussions of the following files' formats at their respective articles: ![]() For the rest, you can use a plain text editor of your choice.įor a description of the syntax used in most of SuperTux' data files, see the article on Some of these files can be modified using an editor such as Flexlay. You can follow any responses to this entry through the RSS 2.0 feed.īoth comments and pings are currently closed.These documents serve the simple purpose of a reference for the files specific to SuperTux (levels, worldmaps. On Friday, December 29th, 2006 at 6:05 pm and is filed under General. Click on images to view full-size versions. Here are some screenshots that illustrate some of the changes. There should be some new leves after Icyisland but I haven’t finished that yet. There is a hidden bonus level though, and I found a large, hidden area there (look down).Įven though the gameplay is improved, it would have been more fun with all new levels. I was disappointed when I discovered that the Icyisland (the first world) levels are the same as in the old I installed it from the unofficial Ubuntu packages (for 6.10) that I found from the SuperTux download page. No in-game crashes, but missing sound, plenty of cpu usage and it won’t quit unless I kill it. I found out later that 0.3.0 is considered an unstable version, and after playing it for a while I can agree with that. The previous release was even older than the last post on this weblog (I’m not dead, just very quiet). I was pleasently surprised today when I found out that the SuperTux team had released version 0.3.0 of their fun game on december 17th.
0 Comments
Leave a Reply. |