int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { UNREFERENCED_PARAMETER(hPrevInstance); UNREFERENCED_PARAMETER(lpCmdLine); #ifdef USE_WIN32_CONSOLE AllocConsole(); freopen("CONIN$", "r", stdin); freopen("CONOUT$", "w", stdout); freopen("CONOUT$", "w", stderr); #endif // create the application instance AppDelegate app; EGLView eglView; eglView.init("TestCPP",320,480); int ret = Application::getInstance()->run(); #ifdef USE_WIN32_CONSOLE FreeConsole(); #endif return ret; }
int main(int argc, char *argv[]) { AppDelegate app; EGLView eglView; eglView.init("MoonWarriors", 480, 720); return Application::getInstance()->run(); }
int main(int argc, char *argv[]) { AppDelegate app; EGLView eglView; eglView.init("Hello World",900,640); return Application::getInstance()->run(); }
int main(int argc, char **argv) { // create the application instance AppDelegate app; EGLView eglView; eglView.init("Cocos2d-x Game Using LUA",288 * 2, 512 * 2); return Application::getInstance()->run(); }
int main(int argc, char **argv) { // create the application instance AppDelegate app; EGLView eglView; eglView.init("HelloCpp",900,640); return Application::getInstance()->run(); }
int main(int argc, char **argv) { // create the application instance AppDelegate app; EGLView eglView; eglView.init("TestCPP",240, 320); Application::getInstance()->setAnimationInterval(1.0f/60.0f); return Application::getInstance()->run(); }
int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { UNREFERENCED_PARAMETER(hPrevInstance); UNREFERENCED_PARAMETER(lpCmdLine); // create the application instance AppDelegate app; EGLView eglView; eglView.init("ShootFly",640,960); return Application::getInstance()->run(); }
int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { UNREFERENCED_PARAMETER(hPrevInstance); UNREFERENCED_PARAMETER(lpCmdLine); // create the application instance AppDelegate app; EGLView* eglView = new EGLView(); eglView->init("Tilter2dx", 480, 320); return Application::getInstance()->run(); }
int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { UNREFERENCED_PARAMETER(hPrevInstance); UNREFERENCED_PARAMETER(lpCmdLine); // create the application instance AppDelegate app; EGLView eglView; srand(time(0)); eglView.init("TestCPP",1620,900); return Application::getInstance()->run(); }
int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { UNREFERENCED_PARAMETER(hPrevInstance); UNREFERENCED_PARAMETER(lpCmdLine); #ifdef WIN32 //CreateConsole(); #endif // create the application instance AppDelegate app; EGLView eglView; eglView.init("TestCPP",960,540); return Application::getInstance()->run(); }