![]() ![]() (Even when not given with above 2 commands) Recall Tux’s invincibility or ghost status. Make Tux invincible for 10000 units of game time. Makes Tux a ghost, letting him float around and through objects. Speeds Tux’s horizontal velocity by a factor of 3. Update worldmap from worldmap state (state.world variable)Įnables or disables drawing of collision rectangles.Įnables or disables drawing of the FPS. (The path is relative to the data root.)ĭumps the current state into the user’s save game file. Imports and runs the Squirrel script filename. Note: This construct is unfortunately not yet recognized by XGetText, so translation files have to be written manually. Shrink_screen(float dest_x, float dest_y, float seconds)ĭoes a shrinking fade towards the destposition for the specified number of seconds before next screenchange. menu → worldmap or worldmap → level).Įxits the current screen, returning to the previous one or, if the active screen is the last one, exiting SuperTux.ĭoes a fadeout for the specified number of seconds before next screenchange. Pauses execution of the Squirrel code until a new screen is displayed (e.g. Pauses execution of the Squirrel code for time seconds. “/home/joe/src/supertux-trunk/data”) See also: SuperTux file format reference, SuperTux texts (The path is relative to the data root, e.g. (The path is relative to the data root.)ĭisplays the SuperTux text file named filename. Loads and runs the level specified in filename. Loads and runs the worldmap specified in filename. ![]() ![]() If no argument is given, this prints out the functions in the root table.ĭisplays the string value of object in the Console. Gives a list of the functions available in an object or table. Shrinks Tux into little Tux (currently broken) Goes out of edit mode and restarts the level. Tux can’t exit the level if he dies or reaches the end he goes into ghost mode. Puts the level into a state suitable for testing out edits. Make sure you have something to stand on! Find one to change it to the other.įollowing is a list of predefined scripts to run in the console: flip()įlips the current level vertically. Will enable the console, and (console #f) Anyway, open the file up with a text editor, and (console #t) You may have to enable viewing hidden files or folders. Home/Library/Application Support/SuperTux/config.txt Depending on your operating system, this varies: Operating System To disable or enable the console if you don’t want to pass command line parameters, you will have to edit the edit the SuperTux configuration file. (Default of ^) Use -noconsole to disable it again. The key assigned to opening the console can be changed in the keyboard setup as soon it is activated. To do so, you will have to run supertux using the -console option. To review old messages and enter commands, the console needs to be activated. The Console pops into view for a short time whenever new messages are printed. ![]() It helps debug the engine and test levels by allowing direct execution of Squirrel script commands (see Scripting reference).It displays informational, warning and error messages that occur during gameplay, alerting players of things like low diskspace, broken levels, ….The Console is a panel normally hidden from view. SuperTux 0.3.x: This text describes features that can be found in SuperTux 0.3.0 or later ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |