Category: Develop

cover_small

GitBook Multilanguage Template

This book is a multilanguage template packed with some useful plugins:

  • emoji
  • disqus
  • todo
  • emphasize
  • katex
  • mermaid-compat
  • chart
  • search-pro
  • toc

Book contents:

  • How to create a book on GitBook with the source code hosted on GitHub
  • Some basic markdown syntax supported when using GitBook
  • Some useful and suggested GitBook markdown plugins

Link to book on GitBook



cover_small

Cocos2d-JS jsdoc

Target

Write well formatted comment && Generate a pretty online document for cocos2d-js game project.

Related Skills

  • javascript
  • node.js
  • python
  • html
  • css

jsdoc && cocos2d-js Comment Specification



cover_small

Running && Logging Cocos2d-JS Game on Android Emulator

Target

Compiler && Install && Run && Debug Logging cocos2d-js game on Android Emulator without using any heavy IDE such as Eclipse Android Studio and simplify && minimize the installation requirements && process.

Enviroment

  • cocos2d-js v3.10
  • Mac OS X
  • android-ndk-r9d
  • Android 4.4.2 (API 19)


cover_small

Cocos Protocol Buffer Memo

This is not a tutorial but a learning memo on using Protobuf v2.5.0 in Cocos2d-JS v3.10.

Main Content

Demo (cpp/java/python/js)

  • Create Instance
  • Serialize to String
  • Serialize to File
  • Parse from String
  • Parse from File
  • Dump GameInfo Instance
  • Relection Dump Message
  • Relection Generate Message
  • Load Proto
  • Encode / Decode / js
  • Excel .xls to ProtoBuf .bin / Python

Protobuf-2.5.0

Generated libs

CocosProtobuf

Using Protobuf with Cocos2d-JS in JSBinding
– Send Data from C++
– Receive Data from C++
– Send Data from javascript
– Receive Data from javascript

A complete project can be found here on GitHub.



face

Work Collection

Updated 2016.04

I happened to have a lot of spare time recently so I updated my resume and made a complete yet detailed summary of all the projects I have done in my career life up till now and most of them are open-sourced.

A GitBook version is here



5 Mins Mystery (v2.0) released !!!

It has been over one year since the last update so this time it is a BIG BIG update:

feature_1_enfeature_1_enfeature_1_enfeature_1_enfeature_1_en



Cocos2dHtml5Dev — A cocos2d-html5(2.x) plugin for SublimeText

I happened to tried the QuickXDev — a powerful quick-cocos2d-x develop plugin for sublime text recently and it is really an awesome solution for quick && light && free cocos2d-x lua game develop solution.

But being a cocos2d-html5 user it’s a pity that there is no such cool plugins for js solution.

So I took some time read the sublimne text plugin api document and the QuickXDev source and tried to make something similar for cocos2d-html5.



A simple solution on implementing bluetooth multiplayer with cocos2d-html5 + JSBinding + cocos2d-x + GameKit

Why do this:
I’m trying to add bluetooth multiplayer features to my recent released game which uses cocos2d-html5 + JSBinding + cocos2d-x and could not find articles about this on the Internet so I decided to find a way out myself.
If you are looking for something similar to this I hope you can get inspired by this demo 🙂

1-jpg



Icon-152x152

5 Mins Mystery (v1.0) released !!!

It has been about 3 years since my last game released on AppStore …

It has been too long …

And I think this is my last game as a indie game developer …

The game is made with cocos2d-html5 + JSBinding + cocos2d-x + Parse …



cocos2d-html5 + node webkit

A little bit experiment (using node webkit):

. tests
.. macos 10.8.5