Gosu-Android
A Gosu implementation for Adroid devices.
Installation
Easy way
- Create a file named Gemfile.apk in your ruboto project and add the lines
source "http://rubygems.org"
gem 'gosu_android'
- Create a folder inside
res
folder calldrawable-nodpi
and copy this file https://github.com/neochuky/gosu-android/tree/master/res/drawable-nodpi/character_atlas8.png in it.
Not so easy way
gem install gosu_android
As with ruboto, place yourself in the root directory of your app, then execute
gosu_android -a
or gosu_android --add
to automatically copy every gosu_android file to your ruboto project.
It will also copy all the media files that are use in gosu_android examples.
General Information
- This is still an early effort, so there are a number of features that had not yet been added.
- There are some known bugs that I hope to fix soon.
- In its current status there are some small changes to Gosu Window initialization, check examples.
- A new object with some basic physics has been added.
Troubleshooting
- When using several audio files double check that all have the same codification or you could get:
E/MediaPlayer(16127): Unable to to create media player