CCPhysicsColorMatch
===================
A simple Cocos2D v3 and CCPhysics based color matching game.
![screenshot](http://files.slembcke.net/upshot/upshot_fhJzJPmI.png)
This is a very bare bones project demostrating some of the CCPhysics basics. The game consists of only three classes. AppDelegate shows how to setup Cocos2D with some of the basic options. ColorMatchScene is the main scene class that contains the game logic and physics setup code. The last class, Ball, shows how to make a CCNode with physics properties and also how to accept custom touch input.
Object of the Game
-
The game itself is a stripped down version of our old [Crayon Ball](http://howlingmoonsoftware.com/crayonball.php) game.
The object of the game is to get four balls of the same color to touch. Tapping on a ball would remove it from the game and allow other balls to fall into it's place.
In the original game, a timer would be counting down to game over. Tapping on a ball would decrease the timer duration while making matches would add to the timer. This logic was removed in the example project to make it simpler. So you can't really "win" the example game. ;)
没有合适的资源?快使用搜索试试~ 我知道了~
一个简单的基于 CCPhysics 的配色游戏_Objective-C_代码_下载
共50个文件
png:33个
m:4个
wav:3个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 45 浏览量
2022-06-24
17:18:12
上传
评论
收藏 2.34MB ZIP 举报
温馨提示
一个简单的基于 Cocos2D v3 和 CCPhysics 的配色游戏。 效果展示: https://camo.githubusercontent.com/4521a7954768b94bf5641f3099a882dad7df6c1b7e2018d3b9fe0f38452a029c/687474703a2f2f66696c65732e736c656d62636b652e6e65742f757073686f742f757073686f745f66684a7a4a506d492e706e67 这是一个非常简单的项目,展示了一些 CCPhysics 基础知识。游戏只包含三个班级。AppDelegate 展示了如何使用一些基本选项来设置 Cocos2D。ColorMatchScene 是包含游戏逻辑和物理设置代码的主要场景类。最后一课 Ball 展示了如何制作具有物理属性的 CCNode 以及如何接受自定义触摸输入。 更多详情、使用方法,请下载后阅读README.md文件
资源详情
资源评论
资源推荐
收起资源包目录
CCPhysicsColorMatch-master.zip (50个子文件)
CCPhysicsColorMatch-master
.gitmodules 106B
CCPhysicsColorMatch
Supporting Files
main.m 433B
Prefix.pch 306B
Resources
Background-hd.png 468KB
Default-Landscape~ipad.png 33KB
Ball_red.png 13KB
Default.png 17KB
Ball_green-hd.png 46KB
Ball_violet-hd.png 46KB
Ball_blue.png 13KB
Default-568h@2x.png 44KB
Ball_violet.png 13KB
Ball_orange.png 13KB
Foreground.png 232KB
Ball_blue-hd.png 48KB
Ball_green.png 13KB
Ball_orange-hd.png 42KB
Default@2x.png 43KB
ploop.wav 14KB
Foreground-hd.png 889KB
thump.wav 10KB
Ball_yellow-hd.png 41KB
Ball_yellow.png 12KB
Info.plist 2KB
pop.plist 6KB
Icons
Icon-Small@2x.png 7KB
Icon-72@2x.png 14KB
Icon.png 6KB
Icon-Small.png 4KB
Icon-76.png 8KB
Icon-120.png 12KB
Icon-76@2x.png 15KB
Icon@2x.png 12KB
Icon-Small-50.png 6KB
Icon-iPad-Spotlight-iOS7@2x.png 10KB
Icon-Spotlight-iOS7@2x.png 8KB
Icon-Spotlight-iOS7.png 5KB
Icon-72.png 8KB
Ball_red-hd.png 41KB
Background.png 170KB
pop.wav 8KB
Classes
AppDelegate.h 1KB
AppDelegate.m 2KB
Ball.h 1KB
ColorMatchScene.m 9KB
Ball.m 4KB
ColorMatchScene.h 1KB
CCPhysicsColorMatch.xcodeproj
project.pbxproj 34KB
Cocos2D
.gitignore 46B
README.md 1KB
共 50 条
- 1
快撑死的鱼
- 粉丝: 1w+
- 资源: 9156
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0