52ky 发表于 2022-10-26 12:22:22

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 us import external fonts for display on the Android platform. 2. Toast with images. The following Youwonin36seconds Toast uses a custom design to display images and text. 3. Customize the Button control, you can see whether the mark is a mine, and the button control that displays the number of nearby mines. Beginners can easily learn the commonly used custom control technology 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
.....)




页: [1]
查看完整版本: Android扫雷游戏源代码