A Super Mario Bros clone based on Infinite Mario.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
screenshots
src/main
Makefile
README.markdown
changelog
changelog.txt
copyright
copyright_bsd_3_clause.txt
icon.png
infinitetux.7
make_deb_package
makeit
makeit.bat
manifest.txt
mm
pom.xml
replacing_sprites_and_credits.txt

README.markdown

Infinite Tux For Windows, Linux, and OSX

This is a great mario game clone for Windows, Linux, and OSX that will bring tons of fun to your day! Thank you Chris Lewis for putting this out there!
I've replaced all of the proprietary artwork with stuff I created or downloaded and I've added a full screen mode and the ability to exit the game by hitting escape.
Also added some scripts to help compile the game.

Now it's completely open source!

Infinite Mario Bros source code has a bug in the timing, which prevents it working on Mac OS X, and maybe other platforms. This version uses the timing from the Mario AI competition, and is Mac-compatible.


Download executable

https://github.com/qbancoffee/infinite-tux/releases/tag/1.0


AI Gameplay Video

AI Gameplay Video AI Gameplay Video over ground

Gameplay Video

Gameplay Video


ScreenShots

Infinite Tux Title Screen

Infinite Tux World Map

Infinite Tux Above Ground 1

Infinite Tux Above Ground 2

Infinite Tux Dungeon

Infinite Tux Castle


Download executable

https://github.com/qbancoffee/infinite-tux/releases/tag/1.0

Problems with OpenJDK on Ubuntu 14.04 and 16.04

Under Ubuntu 14.04 and 16.04 the graphics are not rendered correctly at the window edges when running the game with an OpenJDK from the Ubuntu repositories. However, everything works as it should when using a downloaded OpenJDK binary from https://openjdk.java.net or by installing the Oracle JRE even if compiled with OpenJDK

This is not an issue with an OpenJDK from the Ubuntu 18.04 repositories.

Compiling and running

The following was tested on Ubuntu 16.04 and 18.04. At a minimum you'll need a JDK of at least 1.6.
on Ubuntu you can install 1.8 like this.

You can compile via any of the following methods.

  • Maven
  • Make
  • makeit
  • makeit.bat(for windows)
sudo apt-get install openjdk-8-jdk
  • With Maven if you don't have maven installed, this worked for me.
sudo apt-get install maven

Once installed, you can compile, package and run the resulting jar file.

mvn compile
mvn package
cd target
java -jar Mario-1.0-jar-with-dependencies.jar
  • With gnu make
    If you don't have make installed, this worked for me.
sudo apt-get install make

Once installed, you can compile, package and run the resulting jar file.

make
make run

You could also start the game by running a starter script created in the dist folder.

cd dist
./infinitetux

or you could run it full screen

./infinitetux  f

to exit just hit escape.

If you want to install the game.

sudo make install

This should install the game allowing you to start the game by clicking on its icon.
You could open a terminal and start the game from the terminal.

infinitetux

or

infinitetux f

or

java -jar infinitetux.jar

or

java -cp .:infinitetux.jar com.mojang.mario.FullScreenFrameLauncher
  • With java jdk

If you only wish to install the minimum, then all you need is a JDK to compile and run it.
On windows make sure the jdk is in your path.

Under linux and Mac you should only need the makeit script. If the script isn't executable, do the following.
Make executable.

chmod +x makeit

Compile

./makeit
cd dist

Run

infinitetux

or

infinitetux f

or

java -jar infinitetux.jar

or

java -cp .:infinitetux.jar com.mojang.mario.FullScreenFrameLauncher

On windows you should just have to double click on the makeit.bat file. I think you could double click on the jar file and it will start. You can always issue the commands from the command prompt. I still need to make a batch script that will run the game in full screen mode.

Compile

makeit

Run

java -jar infinitetux.jar

or

java -cp .;infinitetux.jar com.mojang.mario.FullScreenFrameLauncher

Making a debian package

You'll need gnu make, a jdk and the following additional dependencies.

devscripts debhelper jarwrapper

If you don't have these installed, this worked for me.

sudo apt-get install devscripts debhelper jarwrapper

Once installed, make the "make_deb_package" script executable and run it.

chmod +x make_deb_package
./make_deb_package

If all goes well, this will produce an installable deb package on ubuntu and possibly other debian based systems.

the deb file should be one level above the current directory.

../infinitetux_1.0_all.deb

Install

sudo dpkg -i infinitetux_1.0_all.deb