Hey all:
I have study cocos2d-x for some days, And I want to do something with it.
so this is the result. a uncompleted demo for a Tris Game,there isn’t any game logic, just UI effect.
If you are new to cocos2d-x like me, I think it may help you
This game is based on cocos2d-x 0.7.1 stable. I modified the code in CCDirector::end() to avoid data abort at game exit. You can download attachment:BTris_bin.zip and run directly
Hey all:
I have study cocos2d-x for some days, And I want to do something with it.
so this is the result. a uncompleted demo for a Tris Game,there isn’t any game logic, just UI effect.
>
If you are new to cocos2d-x like me, I think it may help you
>
This game is based on cocos2d-x 0.7.1 stable. I modified the code in CCDirector::end() to avoid data abort at game exit. You can download attachment:BTris_bin.zip and run directly
Nice video. I notice you are using parallels to run XP & Visual Studio on your mac. Is it very fast? I think I’ve tried it in the past, but maybe with VMWare and I found typing and debugging to have a lot of latency.
Thank you. With your example I can quickly learn cocos2d. My development environment is win7, vs2008, cocos2d-0.99.5-x-0.7.2-rc.
I read all of the code. There are several questions about the class CResConvertor.
1, AddVirtualScreen() Why save the rate, why not value.
2, SetScaleStep() what is used to do, step Why is the value of 480, step_count is doing what.
3, several CRCScaleModes What is the difference.
4, Process () is difficult to understand.
What documents, or what knowledge can help me understand CResConvertor.
I can’t compile this code, im getting tons of errors (seems like linkaeg errors?)
My end is here: “c:2d-1.0.1-x-0.10.0\cocos2dx\platform\ccgl.h(68): fatal error C1083: No se puede abrir el archivo incluir: ‘GLES/gl.h’: No such file or directory”
Im trying to include all the paths in the project to reduce the errors, but i can not fix that one, it seems the ccgl.h is refering to an unexisting directory, is this a cocox2dx bug or a Btris bug? I included this path too “…2dx\platform\third_party\win32\OGLES\GLES” but it seems the compiler is trying to find “platform/GLES/gl.h” wich does not exist.
Also this one “#include <KHR/khrplatform.h>” does not exist?
I’m a newbie to cocos2d-x. I downloaded this example and cocos2d-x 1.0.1 and found the example call to API is old. I update it and run ok on ubuntu 12.04. Since resources file is too large, my zip ball don’t contain resources. You can download the resources from above.