A small test game, using a Java Android game framework I created from scratch, while reading the book Beginning Android Games by Mario Zechner..
Doge-Snake is hosted in the following web site
https://github.com/Stjerndal/Doge-Snake
If you think the Android project Doge-Snake 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 Doge-Snake.
Item | Value |
---|---|
Java File Count | 91 |
Supported screen sizes | [mdpi, xxhdpi, hdpi, xhdpi] |
Minimum SDK Version | 8 |
Activity Count | 4 |
Fragment Count | 1 |
jar files used | android-support-v4.jar android-support-v4.jar android-support-v4.jar google-play-services.jar |
Required Permissions | android.permission.ACCESS_NETWORK_STATE android.permission.INTERNET android.permission.WAKE_LOCK android.permission.WRITE_ android.permission.WRITE_EXTERNAL_STORAGE |
Asset File Names | assets\background.jpg assets\bitten.ogg assets\buttons.png assets\click.ogg assets\comicSans.ttf assets\dogeHeadDown.png assets\dogeHeadLeft.png assets\dogeHeadRight.png assets\dogeHeadUp.png assets\dogeTail.jpg assets\dogeTail.png assets\eat.ogg assets\eat2.ogg assets\gameover.png assets\headdown.png assets\headleft.png assets\headright.png assets\headup.png assets\help1.png assets\help2.png assets\help3.png assets\logo.png assets\mainmenu.png assets\meatball1.png assets\meatball2.png assets\meatball3.png assets\music.ogg assets\numbers.png assets\pausemenu.png assets\ready.png assets\signInGplus.png assets\signOut.png assets\tail.png |
There are 24 image files in Doge-Snake. The names of the image files are listed as follows.
common_signin_btn_icon_disabled_dark.9.png common_signin_btn_icon_disabled_focus_dark.9.png common_signin_btn_icon_disabled_focus_light.9.png common_signin_btn_icon_disabled_light.9.png common_signin_btn_icon_focus_dark.9.png common_signin_btn_icon_focus_light.9.png common_signin_btn_icon_normal_dark.9.png common_signin_btn_icon_normal_light.9.png common_signin_btn_icon_pressed_dark.9.png common_signin_btn_icon_pressed_light.9.png common_signin_btn_text_disabled_dark.9.png common_signin_btn_text_disabled_focus_dark.9.png common_signin_btn_text_disabled_focus_light.9.png common_signin_btn_text_disabled_light.9.png common_signin_btn_text_focus_dark.9.png common_signin_btn_text_focus_light.9.png common_signin_btn_text_normal_dark.9.png common_signin_btn_text_normal_light.9.png common_signin_btn_text_pressed_dark.9.png common_signin_btn_text_pressed_light.9.png ic_plusone_medium_off_client.png ic_plusone_small_off_client.png ic_plusone_standard_off_client.png ic_plusone_tall_off_client.png
The following screenshort is generated from the image listed above.
Doge-Snake has the following Java source files.
android.UnusedStub.java com.google.example.games.basegameutils.BaseGameActivity.java com.google.example.games.basegameutils.GameHelper.java com.stjerndal.androidgames.Ads.java com.stjerndal.androidgames.Ads.java com.stjerndal.androidgames.AndroidGameWithAds.java com.stjerndal.androidgames.AndroidGameWithAds.java com.stjerndal.androidgames.Assets.java com.stjerndal.androidgames.Assets.java com.stjerndal.androidgames.Doge.java com.stjerndal.androidgames.Doge.java com.stjerndal.androidgames.DogeSnakeGame.java com.stjerndal.androidgames.DogeSnakeGame.java com.stjerndal.androidgames.Food.java com.stjerndal.androidgames.Food.java com.stjerndal.androidgames.GameScreen.java com.stjerndal.androidgames.GameScreen.java com.stjerndal.androidgames.HelpScreen.java com.stjerndal.androidgames.HelpScreen.java com.stjerndal.androidgames.HelpScreen2.java com.stjerndal.androidgames.HelpScreen2.java com.stjerndal.androidgames.HelpScreen3.java com.stjerndal.androidgames.HelpScreen3.java com.stjerndal.androidgames.HighscoreScreen.java com.stjerndal.androidgames.HighscoreScreen.java com.stjerndal.androidgames.LoadingScreen.java com.stjerndal.androidgames.LoadingScreen.java com.stjerndal.androidgames.MainMenuScreen.java com.stjerndal.androidgames.MainMenuScreen.java com.stjerndal.androidgames.Settings.java com.stjerndal.androidgames.Settings.java com.stjerndal.androidgames.Snake.java com.stjerndal.androidgames.Snake.java com.stjerndal.androidgames.SnakePart.java com.stjerndal.androidgames.SnakePart.java com.stjerndal.androidgames.V.java com.stjerndal.androidgames.V.java com.stjerndal.androidgames.World.java com.stjerndal.androidgames.World.java com.stjerndal.androidgames.framework.Audio.java com.stjerndal.androidgames.framework.Audio.java com.stjerndal.androidgames.framework.FileIO.java com.stjerndal.androidgames.framework.FileIO.java com.stjerndal.androidgames.framework.Game.java com.stjerndal.androidgames.framework.Game.java com.stjerndal.androidgames.framework.Graphics.java com.stjerndal.androidgames.framework.Graphics.java com.stjerndal.androidgames.framework.Input.java com.stjerndal.androidgames.framework.Input.java com.stjerndal.androidgames.framework.Music.java com.stjerndal.androidgames.framework.Music.java com.stjerndal.androidgames.framework.Pixmap.java com.stjerndal.androidgames.framework.Pixmap.java com.stjerndal.androidgames.framework.Pool.java com.stjerndal.androidgames.framework.Pool.java com.stjerndal.androidgames.framework.Screen.java com.stjerndal.androidgames.framework.Screen.java com.stjerndal.androidgames.framework.Sound.java com.stjerndal.androidgames.framework.Sound.java com.stjerndal.androidgames.framework.impl.AccelerometerHandler.java com.stjerndal.androidgames.framework.impl.AccelerometerHandler.java com.stjerndal.androidgames.framework.impl.AndroidAudio.java com.stjerndal.androidgames.framework.impl.AndroidAudio.java com.stjerndal.androidgames.framework.impl.AndroidFastRenderView.java com.stjerndal.androidgames.framework.impl.AndroidFastRenderView.java com.stjerndal.androidgames.framework.impl.AndroidFileIO.java com.stjerndal.androidgames.framework.impl.AndroidFileIO.java com.stjerndal.androidgames.framework.impl.AndroidGame.java com.stjerndal.androidgames.framework.impl.AndroidGame.java com.stjerndal.androidgames.framework.impl.AndroidGraphics.java com.stjerndal.androidgames.framework.impl.AndroidGraphics.java com.stjerndal.androidgames.framework.impl.AndroidInput.java com.stjerndal.androidgames.framework.impl.AndroidInput.java com.stjerndal.androidgames.framework.impl.AndroidMusic.java com.stjerndal.androidgames.framework.impl.AndroidMusic.java com.stjerndal.androidgames.framework.impl.AndroidPixmap.java com.stjerndal.androidgames.framework.impl.AndroidPixmap.java com.stjerndal.androidgames.framework.impl.AndroidSound.java com.stjerndal.androidgames.framework.impl.AndroidSound.java com.stjerndal.androidgames.framework.impl.CompassHandler.java com.stjerndal.androidgames.framework.impl.CompassHandler.java com.stjerndal.androidgames.framework.impl.KeyboardHandler.java com.stjerndal.androidgames.framework.impl.KeyboardHandler.java com.stjerndal.androidgames.framework.impl.MultiTouchHandler.java com.stjerndal.androidgames.framework.impl.MultiTouchHandler.java com.stjerndal.androidgames.framework.impl.SingleTouchHandler.java com.stjerndal.androidgames.framework.impl.SingleTouchHandler.java com.stjerndal.androidgames.framework.impl.TouchHandler.java com.stjerndal.androidgames.framework.impl.TouchHandler.java com.stjerndal.androidgames.framework.impl.Values.java com.stjerndal.androidgames.framework.impl.Values.java