newlist

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 2 3 4 5 6 ··· 26 下一页

2015年2月27日

摘要: http://cn.cocos2d-x.org/tutorial/show?id=507command :-workdir E:\xg_svn\client\cocos2d-x-2.2.2\projects\xg\Resources -file scripts\main.lua复制去Google翻译... 阅读全文
posted @ 2015-02-27 11:51 一枚程序 阅读(691) 评论(0) 推荐(0) 编辑

2015年2月26日

摘要: CREATE TABLE `activitybaseprop` ( `ID` smallint(6) NOT NULL DEFAULT '0' COMMENT '活动ID 1:签到奖励 2:升级福利 3:天天美食 4:月卡系统 5:激活码兑换 6:分享 7:问卷调查 8:登录有礼', `Name... 阅读全文
posted @ 2015-02-26 16:26 一枚程序 阅读(270) 评论(0) 推荐(0) 编辑

2015年2月21日

摘要: 时间:1228今天是周日,去公司重整抽宝箱模块,只把业务分成四个文件,一个金币单抽,一个金币十连抽,一个是钻石单抽,一个钻石十连抽,每个业务一个文件,今天只做了金币单抽,到宝箱的晃动,写到这里的时候出现了一个问题,原来在UI上的设计上有个问题,就是添加了很多Layout导致了,整个程序思路和逻辑很混... 阅读全文
posted @ 2015-02-21 15:10 一枚程序 阅读(258) 评论(0) 推荐(0) 编辑

2014年11月27日

摘要: class EnemyBase : public Sprite { public: virtual bool init() override; CREATE_FUNC(EnemyBase); Animation* createAnimation(std::s... 阅读全文
posted @ 2014-11-27 21:51 一枚程序 阅读(256) 评论(0) 推荐(0) 编辑

摘要: //让精灵动起来,并改变方向void EnemyBase::changeDirection(float dt) { auto curr = currPoint(); if(curr->getPositionX() > this->getPosition().x ) {... 阅读全文
posted @ 2014-11-27 15:54 一枚程序 阅读(209) 评论(0) 推荐(0) 编辑

摘要: //给精灵创建帧动画Animation* EnemyBase::createAnimation(std::string prefixName, int framesNum, float delay) { // 1 Vector animFrames; // 2 fo... 阅读全文
posted @ 2014-11-27 15:10 一枚程序 阅读(427) 评论(0) 推荐(0) 编辑

2014年11月14日

摘要: -- 加载列表测试function UIBagController:onLoadTest() self.goodsprop = DB.getTable("goodsprop"); local itemAmount = 50; -- 计算高度 local nAmount... 阅读全文
posted @ 2014-11-14 20:35 一枚程序 阅读(420) 评论(0) 推荐(0) 编辑

2014年4月16日

摘要: -- 组件行为基础local Behavior = class("Behavior"); function Behavior:ctor(name) self.owner = nil; self.name = name; self.id = getNextID(); self.... 阅读全文
posted @ 2014-04-16 10:42 一枚程序 阅读(3457) 评论(0) 推荐(0) 编辑

摘要: ---- Author: chentong-- Date: 2014-3-24-- 系统提示:-- 先做个简单的,在中上位置出现提示,逐渐消失,如果有新提示,则直接删除旧提示。-- 规则:-- 1、根据消息编号和语言,从表中找到提示内容,如果有参数则格式化;-- -- 需要扩展:主要是字体,大小,颜... 阅读全文
posted @ 2014-04-16 10:40 一枚程序 阅读(4266) 评论(1) 推荐(0) 编辑

摘要: 这是爬塔的协议 ... 阅读全文
posted @ 2014-04-16 10:32 一枚程序 阅读(838) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 26 下一页