2D Android Game with a Surfaceview and using the orientationsensor.
SpaceCowboy is hosted in the following web site
https://github.com/cubei/SpaceCowboy
If you think the Android project SpaceCowboy listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of SpaceCowboy.
Item | Value |
---|---|
Java File Count | 41 |
Supported screen sizes | [mdpi, hdpi, xhdpi, nodpi] |
Target SDK Version | 19 |
Minimum SDK Version | 8 |
Activity Count | 10 |
jar files used | GoogleAdMobAdsSdk-6.4.1.jar android-support-v4.jar |
Required Permissions | android.permission.ACCESS_NETWORK_STATE android.permission.INTERNET |
Raw File Names | res\raw\bell.ogg res\raw\coin.ogg res\raw\cow.ogg res\raw\crash.ogg res\raw\theme.mp3 |
There are 30 image files in SpaceCowboy. The names of the image files are listed as follows.
achievement_button_hdpi.png bell_hdpi.png coin_single_hdpi.png config_button_hdpi.png cow_hdpi.png damage_hdpi.png dance_cow_hdpi.png exit_button_hdpi.png fat_cow_hdpi.png ghost_cow_hdpi.png help_button_hdpi.png highscore_hdpi.png ic_action_search.png milk_hdpi.png nitrokaese_hdpi.png old_cow_hdpi.png play_button_hdpi.png rock_single_hdpi.png shield_hdpi.png shop_better_rocket_hdpi.png shop_coin_magnet_hdpi.png shop_cow_magnet_hdpi.png shop_explosion_attack_hdpi.png shop_guided_rock_protection_hdpi.png shop_hdpi.png shop_more_start_milk_hdpi.png shop_status_effect_reduction_hdpi.png status_hdpi.png tilt_hdpi.png zombie_cow_hdpi.png
The following screenshort is generated from the image listed above.
SpaceCowboy has the following Java source files.
com.google.example.games.basegameutils.GameActivity.java com.google.example.games.basegameutils.GameHelper.java com.quchen.spacecowboy.About.java com.quchen.spacecowboy.AccomplishmentsBox.java com.quchen.spacecowboy.AddScore.java com.quchen.spacecowboy.BackGround.java com.quchen.spacecowboy.Coin.java com.quchen.spacecowboy.Coin5.java com.quchen.spacecowboy.Config.java com.quchen.spacecowboy.Cow.java com.quchen.spacecowboy.CowDance.java com.quchen.spacecowboy.CowFat.java com.quchen.spacecowboy.CowGhost.java com.quchen.spacecowboy.CowOld.java com.quchen.spacecowboy.CowZombie.java com.quchen.spacecowboy.Damage.java com.quchen.spacecowboy.Game.java com.quchen.spacecowboy.GameView.java com.quchen.spacecowboy.Help.java com.quchen.spacecowboy.HighscoreOffline.java com.quchen.spacecowboy.MainActivity.java com.quchen.spacecowboy.PowerUp.java com.quchen.spacecowboy.PowerUpBell.java com.quchen.spacecowboy.PowerUpMilkContainer.java com.quchen.spacecowboy.PowerUpNitrokaese.java com.quchen.spacecowboy.Rock.java com.quchen.spacecowboy.RockFat.java com.quchen.spacecowboy.RockFlash.java com.quchen.spacecowboy.RockFrozen.java com.quchen.spacecowboy.RockGuided.java com.quchen.spacecowboy.Rocket.java com.quchen.spacecowboy.SensorKalibrierung.java com.quchen.spacecowboy.Shield.java com.quchen.spacecowboy.Shop.java com.quchen.spacecowboy.Sprite.java com.quchen.spacecowboy.Status.java com.quchen.spacecowboy.TiltSensor.java com.quchen.spacecowboy.Tiltable.java com.quchen.spacecowboy.TimerExec.java com.quchen.spacecowboy.TimerExecTask.java com.quchen.spacecowboy.Util.java