More actions
(Created page with "{{Infobox 3DS homebrew | title = Tappy Plane | image = https://dlhb.gamebrew.org/3dshomebrew/flappyplane-01.png|250px | type = Other Games | version = v1.0 | licence = Mixed |...") |
No edit summary |
||
Line 12: | Line 12: | ||
<youtube>w1xE3IXdL9g</youtube> | <youtube>w1xE3IXdL9g</youtube> | ||
Flappy Bird is a mobile game developed by Vietnamese video game artist and programmer Dong Nguyen (Vietnamese: Nguyễn Hà Đông), under his game development company dotGears.[1] The game is a side-scroller where the player controls a bird, attempting to fly between columns of green pipes without hitting them. Nguyen created the game over the period of several days, using a bird protagonist that he had designed for a cancelled game in 2012. | |||
= Tappy Plane = | |||
A lightweight cross-platform Flappy Bird clone for Android, iOS, Windows Phone 8, and Nintendo 3DS! | |||
In this game, you tap to control a colorful plane through a cave! | |||
This project serves as an excellent template for those wanting to develop cross-platform games for mobile without relying on cross-platform frameworks. It uses precompiler directives to intuitively switch between OpenGL ES and Direct3D rendering. Roughly 90% of the game is written in C++. The other 10% of the game is a reusable wrapper layer written in Java for Android, Objective-C for iOS, and C# for Windows Phone 8. | |||
== Graphics == | |||
Thanks goes to http://kenney.nl/ for this awesome set of free graphics! | |||
== Setup Instructions for Android/iOS == | |||
# Download version '''1.6.8''' of the libpng library from http://sourceforge.net/projects/libpng/files/libpng16/older-releases/1.6.8/ | |||
# Extract the contents of lpng168.zip into the 3rdparty/libpng directory. | |||
# Move scripts/pnglibconf.h.prebuilt into the root directory and rename it to pnglibconf.h | |||
# Replace lines 123-127 of pngpriv.h with '''#define PNG_ARM_NEON_OPT 0''' | |||
== Setup Instructions for Android == | |||
# Download the Android NDK from https://developer.android.com/ndk/downloads/index.html if you do not already have it | |||
# Open app/src/main/jni/Android.mk and edit the first line (starting with NDKROOT :=) to point to your Android NDK installation root directory | |||
# Open in Android Studio (src/platform/android) | |||
# Open the local.properties file and add the following line: ndk.dir='''path to ndk, same as in Android.mk''' | |||
# Run it! | |||
== Setup Instructions for iOS == | |||
After you implement the fix for libpng described above, all you need to do is open the project in Xcode and run it! | |||
== Setup Instructions for Windows Phone 8 == | |||
Assuming you already have the Windows Phone 8 sdk installed, just open the project in Visual Studio and run it! | |||
== Setup Instructions for Nintendo 3DS == | |||
# I recommend installing the Homebrew Launcher first (it launches 3dsx files for you, which is nice). You can learn how to do this here: http://smealum.github.io/3ds/ | |||
# Install NetBeans with C/C++ support. | |||
# Follow the tutorial here on how to set up your NetBeans development environment: http://www.3dbrew.org/wiki/Setting_up_Development_Environment, but ignore the part at the bottom (Building homebrew for distribution) if you just plan on accessing your build via the Homebrew Launcher | |||
# Download my fork of sf2dlib from https://github.com/GowenGameDevOpenSource/sf2dlib | |||
# At the top of the sf2dlib Makefile, add a declaration for AEMSTRO (after DEVKITPRO and DEVKITARM): export AEMSTRO=<Path to aemstro containing the python scripts> | |||
# Build sf2dlib | |||
# Back in tappy-plane, add the following line to the top of your Makefile (again after DEVKITPRO and DEVKITARM): export LIBSF2D=<Path to sf2dlib containing the lib and include directories> | |||
# Build! |
Revision as of 06:15, 12 April 2020
Flappy Bird is a mobile game developed by Vietnamese video game artist and programmer Dong Nguyen (Vietnamese: Nguyễn Hà Đông), under his game development company dotGears.[1] The game is a side-scroller where the player controls a bird, attempting to fly between columns of green pipes without hitting them. Nguyen created the game over the period of several days, using a bird protagonist that he had designed for a cancelled game in 2012.
Tappy Plane
A lightweight cross-platform Flappy Bird clone for Android, iOS, Windows Phone 8, and Nintendo 3DS!
In this game, you tap to control a colorful plane through a cave!
This project serves as an excellent template for those wanting to develop cross-platform games for mobile without relying on cross-platform frameworks. It uses precompiler directives to intuitively switch between OpenGL ES and Direct3D rendering. Roughly 90% of the game is written in C++. The other 10% of the game is a reusable wrapper layer written in Java for Android, Objective-C for iOS, and C# for Windows Phone 8.
Graphics
Thanks goes to http://kenney.nl/ for this awesome set of free graphics!
Setup Instructions for Android/iOS
- Download version 1.6.8 of the libpng library from http://sourceforge.net/projects/libpng/files/libpng16/older-releases/1.6.8/
- Extract the contents of lpng168.zip into the 3rdparty/libpng directory.
- Move scripts/pnglibconf.h.prebuilt into the root directory and rename it to pnglibconf.h
- Replace lines 123-127 of pngpriv.h with #define PNG_ARM_NEON_OPT 0
Setup Instructions for Android
- Download the Android NDK from https://developer.android.com/ndk/downloads/index.html if you do not already have it
- Open app/src/main/jni/Android.mk and edit the first line (starting with NDKROOT :=) to point to your Android NDK installation root directory
- Open in Android Studio (src/platform/android)
- Open the local.properties file and add the following line: ndk.dir=path to ndk, same as in Android.mk
- Run it!
Setup Instructions for iOS
After you implement the fix for libpng described above, all you need to do is open the project in Xcode and run it!
Setup Instructions for Windows Phone 8
Assuming you already have the Windows Phone 8 sdk installed, just open the project in Visual Studio and run it!
Setup Instructions for Nintendo 3DS
- I recommend installing the Homebrew Launcher first (it launches 3dsx files for you, which is nice). You can learn how to do this here: http://smealum.github.io/3ds/
- Install NetBeans with C/C++ support.
- Follow the tutorial here on how to set up your NetBeans development environment: http://www.3dbrew.org/wiki/Setting_up_Development_Environment, but ignore the part at the bottom (Building homebrew for distribution) if you just plan on accessing your build via the Homebrew Launcher
- Download my fork of sf2dlib from https://github.com/GowenGameDevOpenSource/sf2dlib
- At the top of the sf2dlib Makefile, add a declaration for AEMSTRO (after DEVKITPRO and DEVKITARM): export AEMSTRO=<Path to aemstro containing the python scripts>
- Build sf2dlib
- Back in tappy-plane, add the following line to the top of your Makefile (again after DEVKITPRO and DEVKITARM): export LIBSF2D=<Path to sf2dlib containing the lib and include directories>
- Build!