- Home /
Unity3D architecture
Hello. I have a several questions about Unity3D. Your answers make me better)
Where i can find information about unity3d architecture? (structure, internals)
What rules i must folow to make a crossplatform(ios,macos,win,unix,xbox) my game?
on what language unity3d is writed?(C++?) + what librarys?(boost,qt...or what?)
What multiplayer engine is better?(Photon?)
Thanks for halp ^)
The problem with multipart questions is that some people won't know all the answers and therefore won;t answer at all...
UA doesn't promote debate so Q4 is a matter of opinion and should be asked on the forums.
The documentation on the Unity site has everything that they reveal to us
Each platform has different hardware and different performance characteristics, if you are going for mobile then you either need to develop your graphics and level designs to fit that platform's characteristics (remember multiple screen resolutions on iOS). Obviously each platform has different inputs - so you need to manage how you are going to represent controls on each platform differently - there are assets on the Asset Store to help with this. The core game logic can be the same, the code looks the same (apart from Input), but each platform is capable of different things in terms of image effects and shaders that you can use.
It is written in C++. You have no access to the C++, you code in C#, Boo or Unity Script. You can write platform specific plugins in any language you like.
I use Photon because it helps with NAT punchthrough issues on mobile ga$$anonymous$$g over 3G.
thanks for help!) 1) i wont to find the unity3d architecture diagram like this: http://software.intel.com/sites/default/files/m/d/4/1/d/8/appA.JPG
Answer by rolandflentge · Jul 28, 2016 at 01:28 PM
I think this is not a unity specific topic. Its true u have some nice extra features in unity but in my game (huge 2d tile-map, RTS) i use general patterns and practices. Unity is a nice editor but i u want to make your game fancy or keep the complexity in check while your code is growing u need 2 need some more info en tricks.
some nice architectural books : -Game Engine Architecture 1st Edition -Game Programming Patterns Paperback – November 2, 2014
some nice AI books easy to step in books -Programming Game AI By Example (Wordware Game Developers Library) 1st Edition -Behavioral Mathematics for Game AI (Applied Mathematics) Paperback – March 5, 2009
general coding -Clean coding robert c martin -Code Complete: A Practical Handbook of Software Construction, Second Edition 2nd Edition -search on google.com -YAGNI (learn some agile tricks about coding)
Some books are in C++ but u its possible to map those examples to c#/javascript
Further more learn about those nice performance tips from the unity guys.
I am fairly new to game programming (hobby) but i program more than 15 years on businesses applications and how to write those clean an maintainable. Game programming is different but can also benefit from general practices like clean coding, unit testing, managing complexity, Continuous integration.... so these things are also a must to understand and be used in games.
Answer by Graham-Dunnett · Jan 15, 2013 at 10:30 AM
What are you trying to learn? Ad whydoidoit says, the documentation is online.
What whydoidoit said. So the rule is really to test the game on each platform often.
C++, some assembler, some c#
What car is better? Ferrari? Toyota Prius?
Your answer
Follow this Question
Related Questions
yield WaitForSeconds c# 4 Answers
[Closed]multiplayer camera script 2 Answers
Authoritative Server Architecture 0 Answers
Voice chat in browser based unity projects 3 Answers
Unity networking tutorial? 6 Answers