Introduction to Unity Scripting

In these four videos I will give you an introduction to scripting in Unity with C#.

In the first project, BoxScaler, I will show you how to create a simple scene with a script that scale a box on mouse over.

In the second project, BallBouncer, I will show you how to create a simple game with two scenes and game scripts in C#.

1/4 – Unity project “BoxScaler”
In the first movie I will show you how to create a simple script that scales a box on MouseOver

2/4 – Unity project “BallBouncer”
Create the main menu scene using EZGUI

3/4 – Unity project “BallBouncer”
Create the game level, player ball, enemy balls using cubes, dynamics and textures.

4/4 – Unity project “BallBouncer”
Create all the script logic for the game BallBouncer

You can download the necessary textures for tutorial 2-4 here

Volvo Trucks FH16

On November 3 Volvo Trucks launched the game FH16 which I have worked on as project leader and developer for almost a year now. If you have an Android device, iPhone 4, 4S or iPad 2, make sure you check it out – it’s fun and completely free!

The game was created with the game development engine Unity.

Introduction to Unity and EZ GUI

Last week I held my first internal Unity 3D class at HiQ. In this first seminar I explained how to use Unity and the plugin EZ GUI together to create rich 2D applications.

You can view my video tutorial files below.

In this first video I will give you a walkthrough of the Unity environment: Scene view, game view, hierarchy view, project view, inspector, console, asset server, asset store, profiler, and more.

In this video I will show you how to add EZ GUI to your Unity project, and going from image, to texture, to material, to sprite atlas to draw an EZ GUI Button on the screen.

In this video I will show you how to work with EZ GUI Panels, and how to use the EZ GUI Panel Manager to toggle between panels using EZ GUI Change Panel Buttons.

In this video I will show you how to use multiple transitions on Panels, and how to properly add, copy and paste transitions to EZ GUI Buttons.

In this video I will show you how to draw text on the screen using EZ GUI Label.

You can use the following tools to create EZ GUI fonts:

Glyph Designer (OSX only)
http://glyphdesigner.71squared.com/

Hiero (Java, does not work properly under OSX 10.7 Lion)
http://slick.cokeandcode.com/demos/hiero.jnlp

BM Font (Windows only)
http://www.angelcode.com/products/bmfont/

App Store Submission

On Wednesday, October 19, we are finally submitting the Unity game we have been working on the past year. The game will launch for free in November for Android phones, Android tablets, iPhone (3GS, 4, 4S) and iPad (1 & 2). My role in the project has been project leader, although I have spent most of my time the past weeks coding script logic in C#.

Once the game is released I will be able to talk a bit about the details in how we implemented it. I will post this as small tidbits on this blog later on.

On Wednesday next week I will also start a course in developing 2D games with Unity 3D. I intend to use this blog as well to post tips and tricks for using Unity 3D.

So keep visiting this site every now and then if you’re into Unity development. You might find something useful. :)

Samsung Galaxy S2 Tips

If you happen to be the lucky owner of a Samsung Galaxy S2 phone, you might be interested in this thread at XDA-Developers that has some nice usability tips.

From the thread:

  • In the contacts list, dragging left on a contact sends them an SMS, dragging right calls them.
  • The applications drawer can be pinch-zoomed out.
  • You can take a screenshot of the screen using the Home + Power buttons.
  • Hold down your finger on the notification bar for a few seconds, it then becomes a brightness slider. If you then drag your finger left or right you will decrease or increase your screen brightness.

Read more at xda-developers