Outdated Docs > Optimizations > Best Practice of cross-platform games

Best Practice of cross-platform games

super keyword

this keyworld is offered only by Microsoft VC. So you had to call the very name of parent class, instead of*super.

folder separator

For cross-platform games, you must use”/" in all sources.

standard C library & STL

Use standard C library & STL instead of the particular APIs of each platform.
Note that some functions seem like the members of standard C library, but actually they aren’t. Especially, junior programmers with only windows platform experience usually can’t differentiate API set between standard C and win32 API.

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.