syuhari / Console

Cocos2d-x console sample project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Console

Cocos2d-x console sample project

What about Console

http://www.cocos2d-x.org/wiki/User_Tutorial-Console_Tutorial

Connect your game

  1. start your game
  2. enter bellow command
    $ telnet ipaddress port
    if you launch it on the ios simulator and port is 6010, command is the bellow
    $ telnet localhost 6010
  3. you can get usage if enter help command

help

About ConsoleManager

  1. start console function
    ConsoleManager::getInstance()->startConsole();
  2. added two custom command
    dispatch custom event command
    remove a file command
    please check help messages.

About

Cocos2d-x console sample project


Languages

Language:Java 90.0%Language:Objective-C++ 4.0%Language:C++ 3.9%Language:Objective-C 0.8%Language:Python 0.6%Language:C 0.3%Language:Makefile 0.3%Language:Shell 0.1%