PixTudio is a 2D game engine for Windows, Linux, macOS, Android & iOS.
The game engine is licensed under the very permissive zlib license, which means that you're free to use it in both open-source and closed-source projects.
It is also very easy to use. The main execution units in PixTudio are called processes.
Processes are like functions with properties you can set freely.
The following example shows the code for a simple process named "enemy" whose graphic
is loaded from a PNG file and is positioned at coordinates (x, y) = (100, 200).
Process enemy()
Begin
graph = png_load("img/enemy.png");
x = 100; y = 200;
LOOP
FRAME;
End
End
Collection of +30 FRIENDSHIP DESTROYER COMPETITIVE MINIGAMES, up to 4 players. The main objective of this videogame is to DESTROY FRIENDSHIPS THROUGH PURE COMPETITION.
You can purchase the game from its Steam portal.
Check out the project page at GitLab.
These instructions might work in earlier versions of Fedora and in other Fedora spins, too, but have only been tested in a fully updated fresh installation of Fedora 24 Workstation 64-bit.
sudo dnf group install "Development Tools"
sudo dnf install cmake ninja-build
sudo dnf install SDL2-devel.i686 SDL2_mixer-devel.i686 libpng-devel.i686 zlib-devel.i686 libogg-devel.i686 libvorbis-devel.i686 libtheora-devel.i686 tre.i686 tre-devel.i686 sqlite-devel.i686 libcurl-devel.i686 openal-soft-devel.i686 freetype-devel.i686 glibc-devel.i686 libjpeg-turbo-devel.i686 libwebp-devel.i686
sudo dnf install ncurses-compat-libs
git clone https://gitlab.com/josebagar/pixtudio.git
cd pixtudio/3rdparty
unzip [DOWNLOAD_PATH]/steamworks_sdk_142.zip
mv sdk steamworks
cd pixtudio/projects/cmake
./build.sh Release
If you want to manually specify the location of a non-systemwide SDL2 installation,
you can set the SDL2DIR environment variable.
cd pixtudio/projects/cmake
SDL2DIR=[SDL2_INSTALL_PATH] ./build.sh Release
These instructions might work in earlier versions of Ubuntu and in other Ubuntu flavours, too, but have only been tested in a fresh installation of Ubuntu 16.04 Desktop (64-bit).
sudo apt update
sudo apt install git cmake ninja-build
sudo apt install libsdl2-dev:i386 libsdl2-mixer-dev:i386 libpng12-dev:i386 zlib1g-dev:i386 libogg-dev:i386 libvorbis-dev:i386 libtheora-dev:i386 libtre-dev:i386 libsqlite3-dev:i386 libcurl4-gnutls-dev:i386 libopenal-dev:i386 libfreetype6-dev:i386 libwebp-dev:i386 libjpeg-turbo8-dev:i386 libc6-dev-i386
git clone https://gitlab.com/josebagar/pixtudio.git
cd pixtudio/3rdparty
unzip [DOWNLOAD_PATH]/steamworks_sdk_142.zip
mv sdk steamworks
cd pixtudio/projects/cmake
./build.sh Release
If you want to manually specify the location of a non-systemwide SDL2 installation,
you can set the SDL2DIR environment variable.
cd pixtudio/projects/cmake
SDL2DIR=[SDL2_INSTALL_PATH] ./build.sh Release
Building for macOS Mojave is broken as of now; the instructions below are left as a reference.
clang
If the output reads like the following the developer tools are already installed in
your computer and you can skip to the next step:
clang: error: no input files
Otherwise, the following message will be displayed and a dialog will be opened
offering to install either Xcode or the command line tools. Both should work.
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose
and option in the dialog to download the command line developer tools.
Close that terminal.
sudo port install libsdl2 libsdl2_mixer libpng zlib libogg libvorbis libtheora libmikmod tre smpeg2 curl chipmunk freetype webp libjpeg-turbo ninja cmake
git clone https://gitlab.com/josebagar/pixtudio.git
cd pixtudio/3rdparty
unzip [DOWNLOAD_PATH]/steamworks_sdk_142.zip
mv sdk steamworks
cd pixtudio/projects/cmake
./build.sh Release
If you want to manually specify the location of a non-systemwide SDL2 installation,
you can set the SDL2DIR environment variable.
cd pixtudio/projects/cmake
SDL2DIR=[SDL2_INSTALL_PATH] ./build.sh Release
These instructions should work in earlier versions of Windows (as long as they're supported by Microsoft), but have only been tested in Windows 10.
pacman -S msys/git mingw32/mingw-w64-i686-gcc mingw32/mingw-w64-i686-pkg-config mingw32/mingw-w64-i686-cmake mingw32/mingw-w64-i686-ninja
pacman -S mingw32/mingw-w64-i686-SDL2 mingw32/mingw-w64-i686-SDL2_mixer mingw32/mingw-w64-i686-libpng mingw32/mingw-w64-i686-zlib mingw32/mingw-w64-i686-libogg mingw32/mingw-w64-i686-libvorbis mingw32/mingw-w64-i686-libtheora mingw32/mingw-w64-i686-libmodplug mingw32/mingw-w64-i686-libmikmod mingw32/mingw-w64-i686-libtre-git mingw32/mingw-w64-i686-flac mingw32/mingw-w64-i686-sqlite3 mingw32/mingw-w64-i686-curl mingw32/mingw-w64-i686-chipmunk mingw32/mingw-w64-i686-openal mingw32/mingw-w64-i686-freetype mingw32/mingw-w64-i686-libxml2 mingw32/mingw-w64-i686-libjpeg mingw32/mingw-w64-i686-libwebp
git clone https://gitlab.com/josebagar/pixtudio.git
cd pixtudio/3rdparty
unzip [DOWNLOAD_PATH]/steamworks_sdk_142.zip
mv sdk steamworks
cd pixtudio/projects/cmake
./build.sh Release
If you want to manually specify the location of a non-systemwide SDL2 installation,
you can set the SDL2DIR environment variable.
cd pixtudio/projects/cmake
SDL2DIR=[SDL2_INSTALL_PATH] ./build.sh Release
Install both the Android SDK & the NDK.
Please note that in order to compile PixTudio for Android yourself you don't need really need Android Studio, only its SDK parts, but you might want to install the full Android Studio if you're planning to develop other Android apps.
Install the Android 4.4.2 (API 19) SDK platform and -optionally- an emulator image from the Android SDK manager.
Download the PixTudio source code with Git (see instructions in the native compilation section).
Edit projects/android/local.properties and change the sdk.dir property to point to your Android SDK installation dir.
If you want to install your game into a real Android device, be sure to enable USB debugging during your development session and connect your device to your computer with a USB cable.
If you're going to develop in an emulator image, create one and start it now.
Open a command line in the main PixTudio source code folder. Then do:
cd projects/android
ndk-build.cmd
Otherwise, compile it with:
ndk-build
ant debug
Or compile the libraries, assets & Java code into an APK and install it in
an attached Android device or emulator.
ant debug install
Install the latest version of Xcode from Apple.
Please note that PixTudio for iOS is still a work in progress project.
Do you believe you found a bug? Report it at the GitLab bugtrack.