Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17093

Cocos2dx code structure and coding style

$
0
0

@iaprogramsUP wrote:

So after I find cocos I like it. I reand programmers guide, tutorials from games of scratch, but I am a little confused...
Like a programmer in python and C++ I wasnt confuesd when I see 4 sources in classes. But now I am.
What does this sources even do? I don't find any int main() inside. How does they work?

Can somebody explain this code structure? Because, in programmers guide, code is represented on the wqay I coud use it normally, even without classes.

Is there a way, my app can have only one source, withjout AppDelegante.h and AppDelegante.cpp?
Because this sources that are in projects when we create them, are really hard for me.

Can I use cocos like, for ex. SDL or normal standard libary?
With one simple source?

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 17093

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>