Unity3D PRO v3.3.0-P2P
Page 1 of 1
LeoNatan
☢ NFOHump Despot ☢



Posts: 73194
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Sat, 11th Jun 2011 01:05    Post subject: Unity3D PRO v3.3.0-P2P
Someone might be interested. Wink
Back to top
garus
VIP Member



Posts: 34200

PostPosted: Sat, 11th Jun 2011 01:10    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:58; edited 1 time in total
Back to top
LeoNatan
☢ NFOHump Despot ☢



Posts: 73194
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Sat, 11th Jun 2011 01:20    Post subject:
It also has iOS and Android support! Very Happy

But for iOS you need to throw $99 at Apple and have a Mac. Rolling Eyes With Epic UDK you at least can develop on Windows without the need for a Mac.
Back to top
VGAdeadcafe




Posts: 22230
Location: ★ ಠ_ಠ ★
PostPosted: Sat, 11th Jun 2011 01:40    Post subject:
Which languages does it support ?
Back to top
garus
VIP Member



Posts: 34200

PostPosted: Sat, 11th Jun 2011 01:44    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:58; edited 1 time in total
Back to top
LeoNatan
☢ NFOHump Despot ☢



Posts: 73194
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Sat, 11th Jun 2011 01:49    Post subject:
It is a more higher-level engine/framework akin to Unreal rather than an API. But scripting can be done in C# and there is a full debugger as well, so it is still very powerful.
Back to top
garus
VIP Member



Posts: 34200

PostPosted: Sat, 11th Jun 2011 01:51    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:58; edited 1 time in total
Back to top
LeoNatan
☢ NFOHump Despot ☢



Posts: 73194
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Sat, 11th Jun 2011 01:51    Post subject:
Yes, but debugging is done with MonoDevelop. Laughing
Back to top
garus
VIP Member



Posts: 34200

PostPosted: Sat, 11th Jun 2011 01:52    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:58; edited 1 time in total
Back to top
garus
VIP Member



Posts: 34200

PostPosted: Sat, 11th Jun 2011 14:01    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:58; edited 1 time in total
Back to top
BearishSun




Posts: 4484

PostPosted: Thu, 16th Jun 2011 18:22    Post subject:
iNatan wrote:
Yes, but debugging is done with MonoDevelop. Laughing


Yeah you can forget debugging. I got used to writing Debug.Logs, in the end it's faster than debugging with that POS monodevelop. Especially for larger projects.
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Fri, 17th Jun 2011 13:43    Post subject:
Thanks leo! Very Happy Some resources you guys with android development skills could recommend me? Mainly game programming on android related.

Like sprite rendering, collision detection, memory management, speed optimization, best practices and stuff :>


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
garus
VIP Member



Posts: 34200

PostPosted: Fri, 17th Jun 2011 13:51    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:57; edited 1 time in total
Back to top
LeoNatan
☢ NFOHump Despot ☢



Posts: 73194
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Fri, 17th Jun 2011 14:12    Post subject:
Sprite rendering, is not any different than any other OpenGL sprite rendering techniques. You can do the calculations in shader or CPU. Smile

It is good to remember that while GLES2 supports shaders, the mobile GPUs are for the most part very slow in that front, so trivial stuff should be done on the CPU.
Back to top
BearishSun




Posts: 4484

PostPosted: Fri, 17th Jun 2011 15:30    Post subject:
On mobile devices you will probably want to combine multiple sprites into one larger sprite, as draw call amount is very limited. That means you need to create texture atlases that multiple sprites share.

In Unity, you can use Texture2D.PackTextures to create a texture atlas (although it not very efficient way of doing it. I wrote some better code if you ever need it PM me). And Unity does automatic batching of static and dynamic objects (dynamic objects have to be under 300 vertices on mobile devices, otherwise they wont get batched).

If you're not using Unity then you have to do these things manually. Nothing special there, just combine textures into atlas, and meshes into a large vertex object.

Shaders shouldn't be an issue. You can use them freely, although complex ones are out of question of course. If using Unity it doesn't matter whether you use shaders or fixed pipeline as fixed pipeline is emulated via shaders anyway.

For the other stuff standard principles should apply: use memory stacks and pools, even when programming in C# (i.e. avoid dynamic allocation and garbage collection).

If working with managed language, force garbage collection frequently (i.e. every 30 frames or so). If you don't you will generally notice a large FPS drop when it kicks in automatically. It takes about 5ms to garbage collect 200KB on iOS, I assume it's similar for Android. (Although the best way to handle this is to use preallocated memory heaps and pools that you manage yourself).

And if you use a language like C++, well then there's a shitload of things you can do to improve performance further, but you should have plenty of materials on that topic on the net. (I suggest http://www.agner.org/optimize. Although some stuff here might not apply for mobile CPUs).

Hopefully this helps a bit.


Last edited by BearishSun on Fri, 17th Jun 2011 15:35; edited 1 time in total
Back to top
garus
VIP Member



Posts: 34200

PostPosted: Fri, 17th Jun 2011 15:32    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:57; edited 1 time in total
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Fri, 17th Jun 2011 15:36    Post subject:
Thank you very much! Isn't android development limited to java anyway?


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
garus
VIP Member



Posts: 34200

PostPosted: Fri, 17th Jun 2011 16:40    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:57; edited 1 time in total
Back to top
Yuri




Posts: 11000

PostPosted: Tue, 21st Jun 2011 11:26    Post subject:
I always hear people complaining about monodevelop. Why exactly is it useless for debugging?



1 and 2 are still amazing.
Back to top
BearishSun




Posts: 4484

PostPosted: Tue, 21st Jun 2011 11:30    Post subject:
MonoDevelop is okay on its own. It's nothing compared to Visual Studio though.

MonoDevelop + Unity is "useless" for debugging. You need to run entire Unity in debug mode. Exceptions (which happen often during development) often crash Unity when it's running in debug mode, and MonoDevelop often just decides to freeze on its own.

I only tried it on larger projects and it doesn't work well. It might be fine for smaller projects where there's less going on.
Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - Programmers Corner
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group