Skip to content

Instantly share code, notes, and snippets.

@tks2shimizu
tks2shimizu / HelloworldScene.cpp
Last active October 13, 2015 18:37
card game 25 source code 5
#include "HelloWorldScene.h"
#include "SimpleAudioEngine.h"
using namespace cocos2d;
using namespace CocosDenshion;
using namespace std;
enum {
kTagTimerLabel = 100,
kTagHighScoreLabel = 200,
@tks2shimizu
tks2shimizu / HelloWorldScene.cpp
Last active October 13, 2015 18:38
card game 25 source code 4
#include "HelloWorldScene.h"
#include "SimpleAudioEngine.h"
using namespace cocos2d;
using namespace CocosDenshion;
using namespace std;
enum {
kTagTimerLabel = 100,
kTagHighScoreLabel = 200,
@tks2shimizu
tks2shimizu / HelloWorldScene.cpp
Last active October 13, 2015 18:38
card game 25 source code 3
#include "HelloWorldScene.h"
#include "SimpleAudioEngine.h"
using namespace cocos2d;
using namespace CocosDenshion;
using namespace std;
enum {
kTagTimerLabel = 100,
kTagHighScoreLabel = 200,
@tks2shimizu
tks2shimizu / HelloWorldScene.cpp
Last active October 13, 2015 18:38
card game 25 source code 2
#include "HelloWorldScene.h"
#include "SimpleAudioEngine.h"
using namespace cocos2d;
using namespace CocosDenshion;
using namespace std;
CCScene* HelloWorld::scene()
{
CCScene* scene = CCScene::create();
@tks2shimizu
tks2shimizu / HelloWorldScene.cpp
Last active October 13, 2015 18:38
card game 25 source code 1
#include "HelloWorldScene.h"
#include "SimpleAudioEngine.h"
using namespace cocos2d;
using namespace CocosDenshion;
using namespace std;
CCScene* HelloWorld::scene()
{
CCScene* scene = CCScene::create();
@tks2shimizu
tks2shimizu / HelloWorldScene.cpp
Last active December 11, 2015 01:28
100匹のネコ (1)CCSprite
#include "HelloWorldScene.h"
#include "SimpleAudioEngine.h"
using namespace cocos2d;
using namespace CocosDenshion;
CCScene* HelloWorld::scene()
{
CCScene *scene = CCScene::create();
HelloWorld *layer = HelloWorld::create();
@tks2shimizu
tks2shimizu / HelloWorldScene.cpp
Last active December 11, 2015 01:29
100匹のネコ (2)Texture Atlas
#include "HelloWorldScene.h"
#include "SimpleAudioEngine.h"
using namespace cocos2d;
using namespace CocosDenshion;
CCScene* HelloWorld::scene()
{
CCScene *scene = CCScene::create();
HelloWorld *layer = HelloWorld::create();
@tks2shimizu
tks2shimizu / HelloWorldScene.cpp
Last active December 11, 2015 01:29
100匹のネコ (3)非同期読込
#include "HelloWorldScene.h"
#include "SimpleAudioEngine.h"
using namespace cocos2d;
using namespace CocosDenshion;
CCScene* HelloWorld::scene()
{
CCScene *scene = CCScene::create();
HelloWorld *layer = HelloWorld::create();
@tks2shimizu
tks2shimizu / HelloWorldScene.cpp
Last active December 11, 2015 01:29
100匹のネコ (4)Texture Atlas画像の非同期読込み
#include "HelloWorldScene.h"
#include "SimpleAudioEngine.h"
using namespace cocos2d;
using namespace CocosDenshion;
CCScene* HelloWorld::scene()
{
CCScene *scene = CCScene::create();
HelloWorld *layer = HelloWorld::create();
@tks2shimizu
tks2shimizu / HelloWorldScene.cpp
Created January 13, 2013 14:13
1000匹のネコ (1)CCSprite
#include "HelloWorldScene.h"
#include "SimpleAudioEngine.h"
using namespace cocos2d;
using namespace CocosDenshion;
CCScene* HelloWorld::scene()
{
CCScene *scene = CCScene::create();
HelloWorld *layer = HelloWorld::create();