自制的游戏开发基本架构
首要说明一下,该Demo不是游戏。请不要误认为该Demo是一个完整的游戏Demo。只是依据自己理解,做的一个游戏开发的入门架构。主要功能:1.一切游戏界面全面用SurfaceView。2.实现的SurfaceView上按钮控件的封装。3.视图、界面图片数据、操作逻辑的封装。GameDemo1\bin\lurkerming\gamedemo1\GameActivity.class
GameDemo1\bin\lurkerming\gamedemo1\GameDemo1.class
GameDemo1\bin\lurkerming\gamedemo1\GameImageData.class
GameDemo1\bin\lurkerming\gamedemo1\GameView$MyThread.class
GameDemo1\bin\lurkerming\gamedemo1\GameView.class
GameDemo1\bin\lurkerming\gamedemo1\NMGameComponentManager.class
GameDemo1\bin\lurkerming\gamedemo1\R$attr.class
GameDemo1\bin\lurkerming\gamedemo1\R$drawable.class
GameDemo1\bin\lurkerming\gamedemo1\R$layout.class
GameDemo1\bin\lurkerming\gamedemo1\R$string.class
GameDemo1\bin\lurkerming\gamedemo1\R.class
GameDemo1\bin\lurkerming\gamedemo1\WelcomeView$MyThread.class
GameDemo1\bin\lurkerming\gamedemo1\WelcomeView.class
GameDemo1\bin\lurkerming\NMComponent\NMButton.class
GameDemo1\bin\classes.dex
GameDemo1\bin\GameDemo1.apk
GameDemo1\bin\resources.ap_
GameDemo1\gen\lurkerming\gamedemo1\R.java
GameDemo1\res\drawable-hdpi\icon.png
GameDemo1\res\drawable-ldpi\icon.png
GameDemo1\res\drawable-mdpi\bt_back_1.png
GameDemo1\res\drawable-mdpi\bt_back_2.png
GameDemo1\res\drawable-mdpi\bt_exit_1.png
GameDemo1\res\drawable-mdpi\bt_exit_2.png
GameDemo1\res\drawable-mdpi\bt_start.png
GameDemo1\res\drawable-mdpi\bt_start_1.png
GameDemo1\res\drawable-mdpi\bt_start_2.png
GameDemo1\res\drawable-mdpi\game_bg1.png
GameDemo1\res\drawable-mdpi\game_welcome.png
GameDemo1\res\drawable-mdpi\icon.png
.....
(First of all, this Demo is not a game. Please do not mistake this Demo for a complete game Demo. It is just an introductory framework for game development based on your own understanding. Main functions: 1. All game interfaces fully use SurfaceView. 2. Encapsulation of button controls on the implemented SurfaceView. 3. Encapsulation of view, interface image data and operation logic.
GameDemo1\bin\lurkerming\gamedemo1\GameActivity.class
GameDemo1\bin\lurkerming\gamedemo1\GameDemo1.class
GameDemo1\bin\lurkerming\gamedemo1\GameImageData.class
GameDemo1\bin\lurkerming\gamedemo1\GameView$MyThread.class
GameDemo1\bin\lurkerming\gamedemo1\GameView.class
GameDemo1\bin\lurkerming\gamedemo1\NMGameComponentManager.class
GameDemo1\bin\lurkerming\gamedemo1\R$attr.class
GameDemo1\bin\lurkerming\gamedemo1\R$drawable.class
GameDemo1\bin\lurkerming\gamedemo1\R$layout.class
GameDemo1\bin\lurkerming\gamedemo1\R$string.class
GameDemo1\bin\lurkerming\gamedemo1\R.class
GameDemo1\bin\lurkerming\gamedemo1\WelcomeView$MyThread.class
GameDemo1\bin\lurkerming\gamedemo1\WelcomeView.class
GameDemo1\bin\lurkerming\NMComponent\NMButton.class
GameDemo1\bin\classes.dex
GameDemo1\bin\GameDemo1.apk
GameDemo1\bin\resources.ap_
GameDemo1\gen\lurkerming\gamedemo1\R.java
GameDemo1\res\drawable-hdpi\icon.png
GameDemo1\res\drawable-ldpi\icon.png
GameDemo1\res\drawable-mdpi\bt_ back_ 1.png
GameDemo1\res\drawable-mdpi\bt_ back_ 2.png
GameDemo1\res\drawable-mdpi\bt_ exit_ 1.png
GameDemo1\res\drawable-mdpi\bt_ exit_ 2.png
GameDemo1\res\drawable-mdpi\bt_ start.png
GameDemo1\res\drawable-mdpi\bt_ start_ 1.png
GameDemo1\res\drawable-mdpi\bt_ start_ 2.png
GameDemo1\res\drawable-mdpi\game_ bg1.png
GameDemo1\res\drawable-mdpi\game_ welcome.png
GameDemo1\res\drawable-mdpi\icon.png
.....)
页:
[1]