2

Possible Duplicate:
How do I build Unity from source?

What Language is Unity written in? Also, where can i get its source code?

I have an idea for a windowing enviroment or shell (dont know what to call it). What i want to do is teach myself to create it.

i like some of several ideas i have seen, but i want to redo all of them, also the concept of how a desktop works.

I figured learning the language Unity is written in, and studying Unity and Gnomes code would be a good start.

i am on Ubuntu 12.04 acer aspire 5920 3 gb ram 160 gb hard drive

John
  • 691

2 Answers2

3

Unity is developed using C, C++ and Vala. This Link will provide all information about Unity Development. Check out Gnome Developer Center for Gnome Development. You will get tutorials for Gnome development and platform related information.

KK Patel
  • 19,083
2

Unity is written mostly in C++. It's source code can be found in Launchpad. To get the code you need Bazaar. This which can be installed with

sudo apt-get install bzr

Then to create a branch of the code you would execute

bzr branch lp:unity trunk

This creates the directory trunk with the Unity source code. If you just want to look at the code, you're done. If you want to build it you will need to install some dependent libraries. This is most likely just Nux but can, depending on your setup, have more requirements.

More information about developing Unity can be found on the Unity development page. A more detailed explanation of building the current Unity from source can also be found with this answer

Sean Lynch
  • 270
  • 1
  • 3
  • 9