Android扫雷游戏源码
MineSweeper是一个不错的Android开源扫雷游戏,关于初学Android开发网的网友可能有很大的帮助,关于Java游戏开发也有一定的参考含义。该游戏主要有以下技术值得学习:1.个性化字体,计分器使用的是LED字体,可以帮助大家如何导入外部字体在Android平台中显示。2.带图片的Toast,下面的Youwonin36seconds这个Toast使用了自定义的布局,可以显示图片和文字。3.自定义Button控件,可以看到符号是否为雷,显示邻近地雷数量的按钮控件,初学者可以很简单的学习到Android开发中常用的自定义控件技术。Source\assets\fonts\lcd2mono.ttf
Source\gen\com\VertexVerveInc\Games\R.java
Source\res\drawable-hdpi\icon.png
Source\res\drawable-ldpi\icon.png
Source\res\drawable-mdpi\icon.png
Source\res\drawable-nodpi\back.png
Source\res\drawable-nodpi\cool.png
Source\res\drawable-nodpi\icon.png
Source\res\drawable-nodpi\sad.png
Source\res\drawable-nodpi\smile.png
Source\res\drawable-nodpi\smiley_button_states.xml
Source\res\drawable-nodpi\square_blue.png
Source\res\drawable-nodpi\square_grey.png
Source\res\drawable-nodpi\surprise.png
Source\res\layout\main.xml
Source\res\values\strings.xml
Source\src\com\VertexVerveInc\Games\Block.java
Source\src\com\VertexVerveInc\Games\MinesweeperGame.java
Source\.classpath
Source\.project
Source\AndroidManifest.xml
Source\default.properties
.....太多文件了省略.....
(MineSweeper is a good Android open-source minesweeper game. It may be very helpful for users who are beginners of the Android development network, and it also has certain reference meanings for Java game development. The game mainly has the following technologies worth learning: 1. Personalized fonts. The scorer uses LED fonts, which can help you import external fonts for display on the Android platform. 2. Toast with pictures. The following Youwonin36seconds Toast uses a custom layout to display pictures and text. 3. Customize the Button control, you can see whether the symbol is a mine, and the button control that displays the number of nearby mines. Beginners can easily learn the custom control technology commonly used in Android development.
Source\assets\fonts\lcd2mono.ttf
Source\gen\com\VertexVerveInc\Games\R.java
Source\res\drawable-hdpi\icon.png
Source\res\drawable-ldpi\icon.png
Source\res\drawable-mdpi\icon.png
Source\res\drawable-nodpi\back.png
Source\res\drawable-nodpi\cool.png
Source\res\drawable-nodpi\icon.png
Source\res\drawable-nodpi\sad.png
Source\res\drawable-nodpi\smile.png
Source\res\drawable-nodpi\smiley_ button_ states.xml
Source\res\drawable-nodpi\square_ blue.png
Source\res\drawable-nodpi\square_ grey.png
Source\res\drawable-nodpi\surprise.png
Source\res\layout\main.xml
Source\res\values\strings.xml
Source\src\com\VertexVerveInc\Games\Block.java
Source\src\com\VertexVerveInc\Games\MinesweeperGame.java
Source\.classpath
Source\.project
Source\AndroidManifest.xml
Source\default.properties
..... Too many files omitted)
页:
[1]