My first Android project, created from a tutorial in an Apress publication. I changed some aspects and have plas to refine and polish a bit more for training.
SnakeChaser is hosted in the following web site
https://github.com/BakedLivewire/SnakeChaser
If you think the Android project SnakeChaser 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 SnakeChaser.
Item | Value |
---|---|
Java File Count | 35 |
Supported screen sizes | [mdpi, xxhdpi, hdpi, xhdpi] |
Target SDK Version | 19 |
Minimum SDK Version | 8 |
Activity Count | 1 |
jar files used | android-support-v4.jar android-support-v4.jar android-support-v7-appcompat.jar |
Required Permissions | android.permission.WRITE_EXTERNAL_STORAGE |
Asset File Names | assets\imgs\background.png assets\imgs\buttons.png assets\imgs\gameover.png assets\imgs\head_down.png assets\imgs\head_left.png assets\imgs\head_right.png assets\imgs\head_up.png assets\imgs\logo.png assets\imgs\mainmenu.png assets\imgs\numbers.png assets\imgs\pause.png assets\imgs\ready.png assets\imgs\stain1.png assets\imgs\stain2.png assets\imgs\stain3.png assets\imgs\tail.png assets\sounds\bitten.ogg assets\sounds\click.ogg assets\sounds\eat.ogg assets\sounds\music.ogg |
There are 57 image files in SnakeChaser. The names of the image files are listed as follows.
abc_ab_bottom_solid_dark_holo.9.png abc_ab_bottom_solid_light_holo.9.png abc_ab_bottom_transparent_dark_holo.9.png abc_ab_bottom_transparent_light_holo.9.png abc_ab_share_pack_holo_dark.9.png abc_ab_share_pack_holo_light.9.png abc_ab_solid_dark_holo.9.png abc_ab_solid_light_holo.9.png abc_ab_stacked_solid_dark_holo.9.png abc_ab_stacked_solid_light_holo.9.png abc_ab_stacked_transparent_dark_holo.9.png abc_ab_stacked_transparent_light_holo.9.png abc_ab_transparent_dark_holo.9.png abc_ab_transparent_light_holo.9.png abc_cab_background_bottom_holo_dark.9.png abc_cab_background_bottom_holo_light.9.png abc_cab_background_top_holo_dark.9.png abc_cab_background_top_holo_light.9.png abc_ic_ab_back_holo_dark.png abc_ic_ab_back_holo_light.png abc_ic_cab_done_holo_dark.png abc_ic_cab_done_holo_light.png abc_ic_clear_disabled.png abc_ic_clear_normal.png abc_ic_clear_search_api_disabled_holo_light.png abc_ic_clear_search_api_holo_light.png abc_ic_commit_search_api_holo_dark.png abc_ic_commit_search_api_holo_light.png abc_ic_go.png abc_ic_go_search_api_holo_light.png abc_ic_menu_moreoverflow_normal_holo_dark.png abc_ic_menu_moreoverflow_normal_holo_light.png abc_ic_menu_share_holo_dark.png abc_ic_menu_share_holo_light.png abc_ic_search.png abc_ic_search_api_holo_light.png abc_ic_voice_search.png abc_ic_voice_search_api_holo_light.png abc_list_focused_holo.9.png abc_list_longpressed_holo.9.png abc_list_pressed_holo_dark.9.png abc_list_pressed_holo_light.9.png abc_list_selector_disabled_holo_dark.9.png abc_list_selector_disabled_holo_light.9.png abc_menu_dropdown_panel_holo_dark.9.png abc_menu_dropdown_panel_holo_light.9.png abc_menu_hardkey_panel_holo_dark.9.png abc_menu_hardkey_panel_holo_light.9.png abc_spinner_ab_default_holo_dark.9.png abc_spinner_ab_default_holo_light.9.png abc_spinner_ab_disabled_holo_dark.9.png abc_spinner_ab_disabled_holo_light.9.png abc_spinner_ab_focused_holo_dark.9.png abc_spinner_ab_focused_holo_light.9.png abc_spinner_ab_pressed_holo_dark.9.png abc_spinner_ab_pressed_holo_light.9.png ic_snake.png
The following screenshort is generated from the image listed above.
SnakeChaser has the following Java source files.
com.bakedlivewire.framework.Audio.java com.bakedlivewire.framework.FileIO.java com.bakedlivewire.framework.Game.java com.bakedlivewire.framework.Graphics.java com.bakedlivewire.framework.Input.java com.bakedlivewire.framework.Music.java com.bakedlivewire.framework.Pixmap.java com.bakedlivewire.framework.Pool.java com.bakedlivewire.framework.Screen.java com.bakedlivewire.framework.Sound.java com.bakedlivewire.framework.impl.AccelerometerHandler.java com.bakedlivewire.framework.impl.AndroidAudio.java com.bakedlivewire.framework.impl.AndroidFastRenderView.java com.bakedlivewire.framework.impl.AndroidFileIO.java com.bakedlivewire.framework.impl.AndroidGame.java com.bakedlivewire.framework.impl.AndroidGraphics.java com.bakedlivewire.framework.impl.AndroidInput.java com.bakedlivewire.framework.impl.AndroidMusic.java com.bakedlivewire.framework.impl.AndroidPixmap.java com.bakedlivewire.framework.impl.AndroidSound.java com.bakedlivewire.framework.impl.KeyboardHandler.java com.bakedlivewire.framework.impl.MultiTouchHandler.java com.bakedlivewire.framework.impl.SingleTouchHandler.java com.bakedlivewire.framework.impl.TouchHandler.java com.bakedlivewire.sc.Assets.java com.bakedlivewire.sc.GameScreen.java com.bakedlivewire.sc.HighscoreScreen.java com.bakedlivewire.sc.LoadingScreen.java com.bakedlivewire.sc.MainMenuScreen.java com.bakedlivewire.sc.Settings.java com.bakedlivewire.sc.Snake.java com.bakedlivewire.sc.SnakeChase.java com.bakedlivewire.sc.SnakePart.java com.bakedlivewire.sc.Stain.java com.bakedlivewire.sc.World.java