A vertical scrolling space shooter game for Android
and iOS
inspired by Sky Force written using LibGDX.
LibGDX is a cross-platform Java game development framework based on OpenGL (ES) that works on Windows, Linux, macOS, Android, iOS, and the browser.
- download and instal the Android apk or
- clone the repo and build from source
- clone the repo and build from source
There's a bug which is preventing the iOS version from running on the simulator for some XCode versions
- Although libGDX supports compilation into desktop and web app, the Space Shooter project explicitly disables this functionality and targets the mobile platforms exclusively
-
XCode - for building and running the iOS app
-
Android Studio - for building and running the Android app
-
MobiVM plugin for Android Studio - an ahead-of-time compiler for Java bytecode, targeting Linux, Mac OS X and iOS.
- Control the space ship by dragging your finger on the screen
- 2 Weapons
- laser
- fires often
- rocket launcher
- fires homing rockets
- the rocket pursues moving targets
- laser
- 2 enemy types
- Pink
- 1 hit to kill
- doesn't shoot
- drops 1 star when killed
- Green
- 5 hits to kill
- aims at you and shoots a simple energy ball
- drops 3 stars when killed
- Pink
- Stars are magnetically attracted to the ship when you are close enough
- Slow-mo
- Activated when you lift your finger off the screen
-
Levels
-
More enemy types
-
More weapons types
-
Bosses
-
Upgrades
-
Items which can be picked up
-
Cool physics, explosions and texture graphics
- the soundtrack music is taken from Unreal Tournament
-
Screen Record
function is available on Android 11+ by default. No need to install third party apps -
Swipe down from Android system tray and select
Screen Record
. If you don't see this option,edit
your system tray to show it. You canedit
by swiping down the system tray and clicking thepencil
edit button -
Do not confuse
Screen Record
withRecorder
. The later is a just voice recorder -
Configure screen recorder by optionally selecting to record
System Audio
and/orMicrophone
-
It's handy to also enable recording of
screen touches
-
To stop recording, swipe down from the system tray and click
Stop Recording
-
The video file will be saved to your internal storage after a short processing time
-
install VLC player
-
Open VLC settings, click
Show All
settings, open theScene filter
underVideo -> Filter
-
Configure the filter by entering the filename prefix to use for each image file that will be extracted, and the directory to save them to
-
Set
Recording ratio
- how often to extract a frame. For example, a setting of12
will extract every12th
frame. The lower the setting the more images will be created in the output folder -
Go to
Video -> Filters
and check theScene filter
checkbox to actually enable the filter after configuring it -
Click
Save
-
Might need to close VLC and reopen it
-
With
Scene filter
setting enabled, VLC will extract frames from every video while it's playing.
Remember, frames are extracted
only while the video is playing
. You can stop and seek the video to any position and play it to begin extraction. Stop playing to stop extraction.
- To stop VLC from extracting frames in the future, disable the filter by unchecking the
Scene filter
checkbox in settings
-
install ffmpeg. Can use
homebrew
. -
The command below will make all
png
files inside the script folder into a gif calledoutput.gif
-
The filename pattern is specified with,
-pattern_type glob -i '*.png'
-
Framerate is set to 12 frames per second with,
-framerate 12
, default framerate is25
. -
The images will be scaled to
640 pixels wide
while maintaining aspect ratio,-2
syntax means"maintain aspect ratio"
ffmpeg -framerate 12 -pattern_type glob -i '*.png' -filter_complex "[0:v]scale=640:-2,split[x][z];[x]palettegen[y];[z][y]paletteuse" output.gif