会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yufenghou
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
25
26
27
28
29
30
31
32
33
···
43
下一页
2014年10月27日
git 1
摘要: 安装pysgit软件git config --global user.email "emial"git config --global user.name "name"我选择的是bash,这个是纯linux的命令mddir gitcd git将当前路径变化为一个仓库git init在这个路径下添加一...
阅读全文
posted @ 2014-10-27 11:24 yufenghou
阅读(145)
评论(0)
推荐(0)
2014年10月25日
cocos3.2 搭建开发环境
摘要: ---恢复内容开始---需要的东西antndksdkcocos3.2python 2.7首先修改host保证能访问google,让后可以再eclipse当中下载android sdk的任何版本。下载好上面的东西以后解压。让后统统添加到环境变量当中。ANDROID_SDK_ROOTNDK_ROOTAN...
阅读全文
posted @ 2014-10-25 21:26 yufenghou
阅读(211)
评论(0)
推荐(0)
2014年10月17日
love 音效
摘要: sound = love.audio.newSource("pling.wav", "static") -- the "static" tells LÖVE to load the file into memory, good for short sound effectsmusic = love....
阅读全文
posted @ 2014-10-17 19:36 yufenghou
阅读(146)
评论(0)
推荐(0)
love 图片
摘要: function love.load() mm = love.graphics.newImage("mm.jpg") x = 0 y = 0endfunction love.draw() love.graphics.draw(mm, x, y)end
阅读全文
posted @ 2014-10-17 19:10 yufenghou
阅读(110)
评论(0)
推荐(0)
2014年10月8日
cocos2d error
摘要: #include #include using namespace std;void change(int a){ a=6;}int main(){ int a=5; printf("%d\n",a); change(a); printf("%d\n",a); r...
阅读全文
posted @ 2014-10-08 10:38 yufenghou
阅读(116)
评论(0)
推荐(0)
2014年10月7日
cocos2dx tiledmap 碰撞检测
摘要: bool HelloWorld::init(){ ////////////////////////////// // 1. super init first if ( !CCLayer::init() ) { return false; } ...
阅读全文
posted @ 2014-10-07 17:03 yufenghou
阅读(1521)
评论(0)
推荐(0)
2014年10月4日
cocos2d tiledmap 获取属性
摘要: CCTMXTiledMap *map=CCTMXTiledMap::create("1.tmx"); addChild(map); //fight juchi CCArray* pChildrenArray=map->getChildren(); CCSpriteBa...
阅读全文
posted @ 2014-10-04 13:39 yufenghou
阅读(606)
评论(0)
推荐(0)
2014年10月3日
cocos2d tiled at
摘要: CCTMXTiledMap *map=CCTMXTiledMap::create("4.tmx"); addChild(map); //CCSize s=map->getContentSize(); //fight juchi CCArray* pChildrenAr...
阅读全文
posted @ 2014-10-03 12:22 yufenghou
阅读(201)
评论(0)
推荐(0)
2014年9月29日
junit case
摘要: package test;public class Calculator { private static int result; // 静态变量,用于存储运行结果 public void add(int n) { result = result + n; } ...
阅读全文
posted @ 2014-09-29 22:20 yufenghou
阅读(194)
评论(0)
推荐(0)
2014年9月27日
cocos2dx 状态机
摘要: #pragma once#include "cocos2d.h"USING_NS_CC;enum EnumState{ enStateWriteCode, /* 状态:写代码 */ enStateWriteArticle, /* 状态:写教程 */ e...
阅读全文
posted @ 2014-09-27 21:03 yufenghou
阅读(560)
评论(0)
推荐(0)
上一页
1
···
25
26
27
28
29
30
31
32
33
···
43
下一页
公告