SuperTux source code

Semphris 56204989a9 Added Windows workflow 3 年之前
.ci_scripts d3dfa9a53a Changed build scripts: Only one source artifact, and ci skip support (#1620) 3 年之前
.github 56204989a9 Added Windows workflow 3 年之前
.tx f02a0d603d Remove incubator translation files from transifex config [ci skip] 4 年之前
contrib ec0a078502 contrib: remove outdated, unofficial KDevelop project 6 年之前
data c54014ac60 Merge pull request #1658 from windowsdylan/windowsdylan-patch-1 3 年之前
external 55a4a5a0d0 Implement the Discord SDK (Basics) 4 年之前
man 9324a91826 supertux/man/man6/supertux2.6: Fix a syntax error. 14 年之前
mk f0d9d29a47 Fix OpenAl vcpkg builds 4 年之前
src ce360ded45 Tilemap now uses its path properties properly - it'll save the 'running' property now 3 年之前
tests 2cdf9f2ae6 Revert "[WIP] Move to C++17 (#1602)": Multiple compilation and linkage errors on Linux 4 年之前
tools 8ac401aef8 Fix various codacy issues 5 年之前
.clang-tidy 5cb721bc18 Fix some more clang-tidy warnings 5 年之前
.editorconfig ecf879928a tools: add .editorconfig (#424) 8 年之前
.gitattributes af36e7a45a Change .gitattributes (#1096) 5 年之前
.gitignore 5a7f8f9c88 Add Visual Studio files to gitignore 4 年之前
.gitmodules 279fc16f8a Switched a submodule from git protocol to https, as it should be 4 年之前
CMakeLists.txt 312aa4ab81 Create github actions matrix build (#1613) 3 年之前
CODINGSTYLE.md 37e465f1c1 Add link to C++ Core Guidelines to CODINGSTYLE.md 5 年之前
CONTRIBUTING.md c7c2ddf1ef README: central Community section for getting in touch 6 年之前
Doxyfile.in 17820af0e8 doxygen -u Doxyfile.in 6 年之前
INSTALL.md ff2c1a44a0 Added library install command for Ubuntu in INSTALL.MD 4 年之前
LICENSE.txt a9e0d669b9 Revert "Update LICENSE.txt" 6 年之前
NEWS.md fdff793548 Release SuperTux 0.6.2 (final; stable release) 4 年之前
README.md 6fd42ce82f Deletion of a reference to an old (and deleted) file about level editor (#1647) 3 年之前
appveyor.yml 8696f9ed59 Added acknowledgements, required by some third-party libraries (#1628) 3 年之前
appveyor64.yml 8696f9ed59 Added acknowledgements, required by some third-party libraries (#1628) 3 年之前
config.h.cmake b85be97fc3 Changed the name of the cmake-to-compiler switch 4 年之前
configure d67e254c94 add autotools-like wrapper configure and Makefile 13 年之前
guix.scm f73090d3fa Update Guix build file 4 年之前
makedist.sh 5a9aa5698b Hopefully correct revision information for non-Windows builds 4 年之前
makepot.sh 47f4493ed6 Fix makepot.sh to not generate -i files [ci skip] [skip ci] 4 年之前
supertux2.appdata.xml 35c3e622f8 Add missing releases to appdata file 4 年之前
supertux2.desktop b12fdc5e35 Add Hebrew translation of SuperTux description (#1521) 4 年之前
supertux2.svg b50fa77d1c Increased SuperTux icon size to 128x128 6 年之前
version.cmake.in 93e7715818 Added support for source tarballs 9 年之前
version.h.in 3dc79f987c Fix PACKAGE_VERSION being empty, add unit test case for that issue 9 年之前

README.md

SuperTux

Build AppVeyor Build Status AppVeyor Build status Github All Releases

SuperTux is a jump'n'run game with strong inspiration from the Super Mario Bros. games for the various Nintendo platforms.

Run and jump through multiple worlds, fighting off enemies by jumping on them, bumping them from below or tossing objects at them, grabbing power-ups and other stuff on the way.

Screenshot

Story: Penny gets captured!

Tux and Penny were out having a nice picnic on the ice fields of Antarctica. Suddenly, a creature jumped from behind an ice bush, there was a flash, and Tux fell asleep!

When Tux wakes up, he finds that Penny is missing. Where she lay before now lies a letter:

Tux, my arch enemy! I have captured your beautiful Penny and have taken her to my fortress. The path to my fortress is littered with my minions. Give up on the thought of trying to reclaim her, you haven't got a chance!

-Nolok

Tux looks and sees Nolok's fortress in the distance. Determined to save his beloved Penny, he begins his journey.

Installation

For major platforms, stable releases are built and available for download from supertux.org or alternatively directly from GitHub. You should be able to install these using default tools provided by your platform. On macOS, when Gatekeeper is enabled (default) it will refuse to open SuperTux. This is due to the lack of a signature on the application. If you wish to open SuperTux anyway without disabling the Gatekeeper feature entirely, you can open the application from the context menu (control click on the icon). macOS will then remember your choice the next time.

Documentation

Important documentation for SuperTux is contained in multiple files. Please see them:

  • INSTALL.md - Requirements, compiling and installing.
  • README.md - This file
  • NEWS.md - Changes since the previous versions of SuperTux.
  • LICENSE.txt - The GNU General Public License, under whose terms SuperTux is licensed. (Most of the data subdirectory is also licensed under CC-by-SA)
  • data/credits.stxt - Credits for people that contributed to the creation of SuperTux. (You can view these in the game menu as well.)

Playing the game

Both keyboards and joysticks/gamepads are supported. You can change the controls via the Options menu. Basically, the only keys you will need to use in-game are to do the following actions: jump, duck, right, left, action and 'P' to pause/unpause the game. There isn't much to tell about the first few, but the "action" key allows you to pick up objects and use any powerup you got. For instance, with the fire flower, you can shoot fireballs, or with the ice flower fire ice pellets.

Other useful keys include the Esc key, which is used to go to the menu or to go up a level in the menu. The menu can be navigated using the arrow keys or the mouse.

In the worldmap, the arrow keys are used to navigate and Enter to enter the current level.

Community

In case you need help, feel free to reach out using the following means:

  • IRC: #supertux on freenode hosts most of the discussions between developers. Also, real-time support can be provided here. If you don't know how to use an IRC client, you access the channel using a web-based client. Please stay around after asking questions, otherwise you will be disconnected and might miss potential answers.
  • Matrix: #supertux:matrix.org is bridged to our IRC room.
  • Forum: The SuperTux community is very active on the forum, the discussion ranges from feature proposals to support questions. In particular, most community-contributed add-ons are published there first, so this is worth checking.
  • Mailing Lists: The supertux-devel mailing list is intended for development purposes. However, it is not very active at the moment.
  • Social Media: Mostly on Twitter at the moment.
  • Discord: Also, you can join our Discord server (https://discord.com/invite/AcvtHWz) to get in touch with us.

Development status

As of now, with the release of SuperTux 0.6.2 (May 2020), the Forest World is almost finished, since the ghost forest section has been included. However, some levels, especially the Ghostree Level, are considered to be placeholders, because for the next version (0.7.0) a great overhaul is planned with new features like reworked boss fights, graphics, and worlds. If you have some Constructive Feedback, Contributions or ideas to share, don't hestitate to contact us with one of the possibilities given above.