Jump to content
Sign in to follow this  
TORthegreat

C++ to C# Unity converting

Recommended Posts

Hi, im learning game development in Unity with C# at the moment and want to make advanced 3D RTS game with multiplayer option and systems. I see that the source code of 0.A.D is in c++ on a custom engine. Since im all new to this im just wondering if there is any use for me to download and try to learn this code? 

Also, I wonder if you can show me any good example projects, good forums, books to read etc, if my goal is to learn making system based RTS games. 

Im thinking about implementing the new Entety system in Unity for better performance, is this a good idea to look into? 

Most sincerly 

Share this post


Link to post
Share on other sites

> C++ to C# Unity converting

> new Entety system in Unity

Are you saying you want to convert 0AD from C++ to C# in order to achieve what these people did with C# jobs, unity, and a data oriented entity component system?

Any starting lecture for 0ad is at https://trac.wildfiregames.com/wiki/BuildInstructions and http://trac.wildfiregames.com/wiki/GettingStartedProgrammers.

See all of the libraries that Pyrogenesis uses, one would have to replace or otherwise compensate for all of them..

Share this post


Link to post
Share on other sites

Not sure if this is something I would ever be capable of doing myself. I was thinking, since Unity is an engine running on C/C++ using C# to communicate with the built in functions/ API (My personal understanding), maybe it would be possible, without too much effort, to convert  it to Unity, or atleast the skeleton, template. Maybe with the new Entety system it would be interesting for you aswell. My programming experience is limmited to C# in Unity. No Idea how to build an engine. Maybe I should look into it

Share this post


Link to post
Share on other sites

I wonder if you couldn't just eval JS through C# :)

But I'm not sure any of it is worth it :)

Share this post


Link to post
Share on other sites
23 hours ago, TORthegreat said:

I see that the source code of 0.A.D is in c++ on a custom engine. Since im all new to this im just wondering if there is any use for me to download and try to learn this code

If your goal is to learn using unity: then no. First learn unity.

If you're not sure whether to use pyrogenesis (engine of 0ad) or unity: sure, why not?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...