上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 43 下一页
摘要: 安装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)
摘要: ---恢复内容开始---需要的东西antndksdkcocos3.2python 2.7首先修改host保证能访问google,让后可以再eclipse当中下载android sdk的任何版本。下载好上面的东西以后解压。让后统统添加到环境变量当中。ANDROID_SDK_ROOTNDK_ROOTAN... 阅读全文
posted @ 2014-10-25 21:26 yufenghou 阅读(211) 评论(0) 推荐(0)
摘要: 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)
摘要: 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)
摘要: #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)
摘要: bool HelloWorld::init(){ ////////////////////////////// // 1. super init first if ( !CCLayer::init() ) { return false; } ... 阅读全文
posted @ 2014-10-07 17:03 yufenghou 阅读(1521) 评论(0) 推荐(0)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: #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 下一页