Posts Tagged ‘unity 4’

Wednesday, November 14th, 2012

Unity 4 is live, very fast after public beta.

Flash export, Linux export, DirectX 11, animation system and loads of cleanup needed are included.

Lots of great things in there but a huge one is namespaces in MonoBehaviours.

Scripting: MonoBehaviours can now be inside namespaces.

Previous to 4, you could have namespaces in dlls/libs you created with the overhead of managing separate dll builds for each platform define, but within the unity project this was not possible.  Finally, classes with the same name can be in the same project under different namespaces.  Yes their can now be two GameController or UIButton classes if they are in multi game loader and you don’t have to rename them GameShooterController and UIShooterButton, just put them in a namespace, welcome to the future of the past! I prototype lots of games and have a prototype project with helpers that I test many prototypes in, I hate having to name them so specific or devise hierarchies and base classes that facilitate that during prototyping or make a new project for similar naming, just want to see the gameplay and iterate fast.  This actually helps that big time. With the asset store and many products using the same class names this is a welcome big change that is lost in all the other new features.

Another great feature is supporting Android extra OBB apk files for storage on larger games. (This can also be used in Unity 3.5 via an asset store plugin from Unity.

Android: Support for APK Expansion Files (OBBs) – effectively enabling applications larger than 50Mb in the Google Play Store.

I don’t see Shuriken full particle system scaling in editor or runtime yet.  Shuriken particle system added in 3.5 is much nicer but scaling the systems is more difficult, not all properties were exposed to do that easily outside of the editor (like scaling at runtime). There is a Particle Scaler asset on the store that scales all the internals nicely but having this as a feature is needed yesterday. One project I worked on with loaded asset bundles at different scales had this problem and caused lots of rework scaling up the systems to work at the correct scale in the base app using the bundles.

Unity is a great system  and there are lots of great changes in Unity 4, cleanup being some of the best of them. It has flaws but it makes up for it in intense help on shipping and getting to all platforms. It is a mammoth task to democratize game development and support so many platforms and developer types.

Pick it up!  I have to figure out the best time to upgrade and move all current projects to it.  I guess the holiday tasks are identified.

Thursday, November 1st, 2012

Pick up the public beta of Unity 4.

Looking forward to trying the Mecanim animation system.  Mecanim combined with NavMeshAgents could be fun.

  • Once imported as muscle clips, animations can be used with all humanoid characters with no additional conversions needed.
    • Use the same animations on different proportion characters with no overhead or need for storing multiple versions of the clip.
    • Map the bones of your model to human muscles with a single click, or fine tune the setup for full control.
  • Slice up your authored or motion-captured animations directly inside Unity with the industry’s best tool for the job.
    • Preview the animation as your drag the ranges of a clip.
    • Indicators for pose looping quality and motion looping quality lets you easily pick the range with optimal looping.
    • Differences between start and end pose is smoothed out by the importer to ensure perfect looping.

Real-time shadows on mobile to see if magic carpets are no longer needed in some cases. Then again we are still on mobile with a tight rendering budget on low end.

Unity 4 includes one of your most requested features: dynamic shadows on mobile devices. Add more realism to your mobile games with Unity 4, by casting hard dynamic shadows from directional lights.

One nice welcome is a licensing system, it is a pain when getting a new computer and it looks like Unity is going more self managed for this which is great.

License: New activation system was developed:

  • Ability to un-license a machine yourself!
  • Continuous license and content updates.
  • Unity Account login for certain license types.

Also of course looking forward to the final Flash and Linux exporters. And any improvement to large lightmapped scenes is good.