20. Connect your game
$ telnet localhost 6010
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
21. help command
> help
Available commands:
allocator Display allocator diagnostics for all allocators
config Print the Configuration object
debugmsg Whether or not to forward the debug messages on the console. Ar
director director commands, type -h or [director help] to list supported
exit Close connection to the console
fileutils Flush or print the FileUtils info. Args: [flush | ]
fps Turn on / off the FPS. Args: [on | off]
help Print this message
projection Change or print the current projection. Args: [2d | 3d]
resolution Change or print the window resolution. Args: [width height re
scenegraph Print the scene graph
texture Flush or print the TextureCache info. Args: [flush | ]
touch simulate touch event via console, type -h or [touch help] to li
upload upload file. Args: [filename base64_encoded_data]
version print version string
>
22. scenegraph command
> scenegraph
>
<Scene | tag = -1>
- <Node | Tag = -1
- <Layer | Tag = -1>
-- <Node | Tag = 0
--- <Sprite | Tag = 5, TextureID = 4>
Total Nodes: 5