C# vs Unityscript – Which is faster?

C# vs Unityscript – Which is faster?

Nov 20

I set out to find if there are any speed advantages to using C# when programming in Unity. I have for awhile kept both versions of my popular tweening engine LeanTween in C# and Unityscript, because I still thought there might be speed advantages to using Unityscript. This is a lot of work to maintain both versions, so I wanted to test my hypothesis and see whether Unityscript was actually...

How created my own Procedural Textures for Unity3d

How created my own Procedural Textures for Unity3d

Nov 18

I had been reading a lot about Perlin noise and other noise generation techniques, and I was pretty excited about the possibilities for endlessly variable textures that could be created on the fly. I hadn’t noticed anything like this in the Unity Asset Store, so I thought I could make something that other people could benefit from as well. So I got to work, creating an editor that created...

Lean Loader, load from web or cache – Unity3d

Lean Loader, load from web or cache – Unity3d

Nov 12

Lean Loader is a new library I created for Unity3d to easily loading assets from either the web or from a cached backup. Great for times when the user is offline or just to speed up performance! It does more than just cache the data, it simplifies the whole asset loading process. – Load images, sound, and text data (XML etc) – Minimal coding required – Simplifies tasks such as...

LeanTween Stress Test

LeanTween Stress Test

Jul 24

I came across this post about iTween bragging how it can animate 1,000 tweens at once (and this is for an experimental version that never came out). “1,000 iTweens running at the same time?! Yup, iTween 3 can do it without breaking a sweat.” Bob Berkebile – iTween Stress Test Link So, I couldn’t resist posting my own stress test with… 6,000 tweens! Just a tad bit...

Faking Global Illumination with Unity Basic

Faking Global Illumination with Unity Basic

Jul 11

Video Tutorial Descriptive Tutorial When I first started experimenting with the lightmapping feature in Unity3d I was disappointed with the results, which were very flat and not realistic looking. I soon found out that in order to get more realistic results you need a third light that is not offered in the Unity Basic that emulates the lighting given from the sun, this is called Global...

Sublime Text Autocompletion support

Sublime Text Autocompletion support

Jul 03

Do you have trouble remembering the syntax to your favorite LeanTween functions? Well suffer no longer! If you use the awesome text editor Sublime Text, you can download the package “Unity3d Snippets LeanTween” to enable autocompletion support for all of the most commonly used functions in both C# and Javascript. You will need to enable package support before you can get to this...

Unity3d Animation Engines Compared

Unity3d Animation Engines Compared

May 25

I built a test bed with which to test the different animation engines performance on Unity3d. This time I have also taken into account memory usage, and I have allowed you to adjust the number of boxes that are animated. Download the source and test for yourself!(This can be particularly handy when testing ondifferent hardware)   As you can see in the video below the performance of...

Rotate and Fade GUI Elements in Unity3d with LeanTween

Rotate and Fade GUI Elements in Unity3d with LeanTween

Apr 25

LeanTween now supports the ability to rotate and fade gui elements. This can be accomplished with remarkably little code compared to other solutions out there. Below is an example of all of the GUI animation effects that LeanTween now supports. : Click on the buttons to see each feature in action.   Javascript example of fading a button on click: if(GUI.Button(buttonRect.rect,...