登录
首页 » Android » 连连看 Android 版 开发源码

连连看 Android 版 开发源码

于 2022-10-27 发布 文件大小:1.28 MB
0 221
下载积分: 2 下载次数: 1

代码说明:

Android SDK写的连连看,是一个完整的游戏源码,界面精美,游戏功能正常,编译后可安装在安卓机上玩一把。   连连看是过关游戏,带有音效,源代码中定义了各个游戏类,包括声音文件、定时器,碰撞测试等,有些地方写的很科学,比如音效控制部分,初始化soundPool 对象,第一个参数是允许有多少个声音流同时播放,第2个参数是声音类型,第三个参数是声音的品质等,定义了Function: play(); Parameters: sound:要播放的音效的ID, loop:循环次数 Returns: None.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 使用 Xamarin 的 android 服务
    样品去演示示例使用 Xamarin 的 Android 服务。Android 的服务运行在后台,独立于应用程序。它们非常适合于长时间运行的任务包括完成 web 上传、 播放背景音频和接收位置更新。
    2022-01-25 20:22:44下载
    积分:1
  • Android短信/彩信管理-短信修改
    Android手机短信/彩信管理-包括了已接收短信修改,   进入初始页面 EntryPage,传递数据:   1 标题,即该viewtitem的名称   2 类型,短信为0,彩信为1,所有会话为2,   点击短信时 传递标题“短信”,传递0,进入ListBoxPage   点击彩信时 传递标题“彩信”,传递1,进入ListBoxPage   点击所有会话时 传递标题“所有会话”,传递2,传递uri ,进入ListConversationPage   进入收信息分类页面 ListBoxPage,接收标题,并设置标题:   接收类型,根据类型设置当前类型protocol   执行动作:   1 点击收件箱时,传递“收件箱”,传递类型,传递uri,进入ListConversationPage   2 点击收件箱时,传递“发件箱”,传递类型,传递uri,进入ListConversationPage   3 点击收件箱时,传递“草稿箱”,传递类型,传递uri,进入ListConversationPage   4 长按viewtiem时会出现清空菜单   传递参数:   1 标题,当前itemview的名称   2 类型,短信为0,彩信为1   3 Uri,要搜索的content provider uri   进入会话页面 ListConversationPage,接收标题,并设置标题;接收类型,付给当前类型protocol;接收Uri,付给当前Uri。   执行动作:   1搜索uri下的所有会话,得到会话thread_id, 短信数量msg_count,最新短信内容snippet,姓名name,日期date(除thread_id外,其他不能直接得到,要有操作,msg_count可以通过group by thread_id得到,snippet可以通过orderby date得到,name可以通过电话address搜索电话联系人得到)   2 长按viewtiem,会出现“清空”菜单   传递参数:   1 Thread_id,会话id   2 Uri,要搜索的uri   3 传递标题,当前viewitem的名称,即name   4 传递类型 protocol   还有更多功能请参见源码中的文档。
    2022-02-14 09:00:46下载
    积分:1
  • 第13章 Andriod三大动画
    这是一个用android studio 开发工具实现的动画效果 适合初学者学习(This is a Android Studio development tool to achieve the effect of animation for beginners to learn.)
    2018-11-13 11:44:00下载
    积分:1
  • Android 光线控制页面背景(传感器-12_107).zip
    Android 光线控制页面背景(传感器-12_107).zip
    2019-10-07下载
    积分:1
  • android 用Http请求网页源代码(get/post形式均已实现)【有截图附完整源码】
    android 用Http请求网页源代码(get/post形式均已实现)【有截图附完整源码】
    2013-03-02下载
    积分:1
  • android 异步 执行 任务 例子 附讲解
    Rules::The AsyncTask instance must be created in UI thread. .execute must be invoked on the UI thread.Never call  objMyTask.onPreExecute(), objMyTask.doInBackground(), objMyTask.onProgressUpdate(),  objMyTask.onPostExecute manually.The AsyncTask can be executed only once (an exception will be thrown if a second execution is attempted.)AsyncTask have Four Main Method... onPreExecute()  doInBackground() onProgressUpdate() onPostExecute()  onPreExecute-This method is called first when you start AsyncTask using objAsync.execute().And mostly this method is use for initializing dialog(ProgressDialog,CustomDialog) and showing. doInBackground-The main purpose of AsyncTask is accomplished by this method.Any non-UI thread process is running in this method.Such as Rss Feed Reader,Image and video Uploading and Downloading.You cant handle your View in this method.Because this method is non-UI thread.While any background process is running if you want to handle UI therea are  onProgressUpdate method. after completion of process this method send result to OnPostExecute. onProgressUpdate-While backgrounding task is running ,you can handle your UI using this method .Such as status of downloading or uploading task.and this method is called from  doInBackground.Using publishProgress() you can call onProgressUpdate method to update UI while process is running. onPostExecute -This method is called after the background computation finishes.The result of background process in passed in this method as parameters.And now you can dismiss progress dialog ,to indicate that background task is completed. You can cancel AsyncTask using objAsyncTask.cancel().then you just check in doInBackground, if (isCancelled()) { break; } else {        //continue... } See this Image For more Clear.
    2013-07-05下载
    积分:1
  • Android 仿窗帘效果
    android UI布局模仿拉窗帘的效果,非常好玩好用,只需要继承相关CurtainView.java,就可以实现拉窗帘的效果,详情请看源码。
    2023-07-29 11:45:04下载
    积分:1
  • NFCDemo
    安卓NFC读写M1卡,默认采用默认密钥读写M1卡所有扇区的数据并显示出来。(The android NFC reads and writes the M1 card by default using the default key to read and write the data for all sectors of the M1 card.)
    2020-07-03 04:00:01下载
    积分:1
  • 简单的登录 增删改查
     简单的登录  增删改查
    2014-05-14下载
    积分:1
  • 中国象棋-Cocos2d-x版本-带图
    应用背景 中国象棋-Cocos2d-x版本-带图 一款简易的中国象棋,自己收集的代码,稍加配置就可以跑起来的。 代码是Cocos2d开发的,可以用来入门学习, 上边是资源图, 关键技术 采用,Cocos2d,c++ 开发,的,功能比较完整的。可以用学习。
    2022-03-11 04:00:59下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载