最近在看C#,写了一个很水的方块游戏练手。namespace game{ class Square { public Square() { state = 0; positionY = 0; p...
Risk is a board game in which several opposing playersattempt to conquer the world. The gameboard consists of a world map broken upinto hypothetical countries. During a player's turn, armies stationed...
分类:
编程语言 时间:
2014-12-29 18:25:50
阅读次数:
316
1、游戏对象使用cc.game单例代替了原有的cc.Application以及cc.AppControl2、属性风格API旧的API新的APInode.setPosition(x,y); node.x = x; node.y = y; node.setRotation(r); node.rotati...
分类:
Web程序 时间:
2014-12-29 11:37:36
阅读次数:
240
Description: In the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. The hook is made up of several cons...
分类:
其他好文 时间:
2014-12-28 22:01:51
阅读次数:
212
目前进展:
封装蛇的移动方法:
typedef struct snakeinfo
{
int numParts;/* how many parts,蛇身体分多少个段 */
int lenParts[GAME_WIDTH];/* 蛇身体每段的长度 */
int xPartsHead[GAME_WIDTH];/* 蛇身体第i段的x坐标,初始值为1 */
int yPartsHead[GAM...
分类:
移动开发 时间:
2014-12-28 20:56:56
阅读次数:
152
Description Nchildren are sitting in a circle to play a game. The children are numbered from 1 toNin clockwise order. Each of them has a card with a.....
分类:
其他好文 时间:
2014-12-28 15:33:01
阅读次数:
291
Description
Children are used to playing with special cubes with letters written on thecubes' faces. The goal of the game is to compose words using such cubes. If youwant to compose the word "DOG",...
分类:
其他好文 时间:
2014-12-27 17:40:35
阅读次数:
297
本文为孤月蓝风编写,转载请注明出处:http://fengyu.name/?cat=game&id=296DiaQ是plyGame旗下的一款对话及任务系统。拥有可视化的对话及任务编辑器,能够很方便的处理对话及任务。但是官方文档却不给力,经过一般研究,终于会使用简单的对话系统了,分享给大家。首先,你需...
分类:
编程语言 时间:
2014-12-27 15:05:04
阅读次数:
679
FPS 60 time interval:0.01666666666666666666666666666667sFPS 59 time interval:0.01694915254237288135593220338983sdifference value:0.0002824858757062146...
分类:
其他好文 时间:
2014-12-26 21:33:04
阅读次数:
187
import randomnum = random.randint(0,100)print numtimes = 0print "Number[0,100] guess game"print "You will have 10 times to guess"print "Guess out of r...
分类:
编程语言 时间:
2014-12-26 18:31:18
阅读次数:
257