Skip to content

Instantly share code, notes, and snippets.

View ugonight's full-sized avatar
😇

ugonight ugonight

😇
View GitHub Profile
@ugonight
ugonight / CMakeLists.txt
Last active January 4, 2019 13:03
AndroidStudio&cmakeでcocos2d-xをビルドする ref: https://qiita.com/ugonight_nanase/items/0cab13437dfa2ae003bd
# add cross-platforms source files and header files
# list(APPEND GAME_SOURCE
# Classes/AppDelegate.cpp
# Classes/HelloWorldScene.cpp
# )
file(GLOB_RECURSE GAME_SOURCE RELATIVE ${CMAKE_SOURCE_DIR} CONFIGURE_DEPENDS "Classes/*.cpp")
# list(APPEND GAME_HEADER
# Classes/AppDelegate.h
# Classes/HelloWorldScene.h
@ugonight
ugonight / AppDelegate.cpp
Last active March 26, 2017 07:38
初心者向け!cocos2d-xでの脱出ゲーム制作の手引き ref: http://qiita.com/ugonight_nanase/items/06f2c42dc543d5d32518
#include "AppDelegate.h"
#include "control.h" //"HelloWorldScene.h"
~
// create a scene. it's an autorelease object
auto scene = Control::create(); // HelloWorld::createScene();
// run
director->runWithScene(scene);