Unity Scripting Lesson 3: Beginning C# Scripting

In this tutorial for Unity 3D we will be looking at the C# Scripting language, which is generally considered the option for serious or professional developers. For larger or more complex projects C# delivers many benefits such as having a stricter approach which reduces the potential for problems down the line and the performance gains you get from using C#.

For example, while C# is a more involved and difficult language compared to UnityScript, the latter is a lot easier to create inefficient code with and introduce bugs and problems down the line due to casting issues. Continue reading

Clock, a simple time display

In this tutorial we’ll write a small C# script to animate the arms of a very simple clock. You’ll learn to

  • create an object hierarchy;
  • create a script and attach it to an object;
  • access namespaces;
  • use the Update method;
  • rotate stuff based on time.

You’re assumed to already have a basic understanding of Unity’s editor. If you’ve played with it for a few minutes you’re good to go.

Continue reading

Custom Data, an introduction to serialized classes and property drawers

In this Unity C# tutorial you will create a simple data structure and write your own property drawer for it. You will learn to

  • use a serialized class
  • create a custom property drawer
  • use SerializedProperty
  • use Unity’s immidiate-mode GUI in the editor

You’re assumed to know your way around Unity’s editor and know the basics of Unity C# scripting. If you’ve completed some of the other tutorials then you’re good to go.

This tutorial is for Unity version 4.3 and above. The older version can still be found here.

Continue reading

Platformer Progress bar

Unity Tutorial on how to track player progress during the game.

In order to keep your player’s attention through a platformer you may want to show them some kind of HUD bar with an indication as to their progress, here is a simple example of how to achieve this using GUI commands and a texture. As usual due to site width restrictions the script is also provided here – http://www.pasteit4me.com/2269002 Continue reading

Constructing a Fractal, using recursive logic, coroutines, and randomness

Fractals are intriguing and often beautiful. In this tutorial we’ll write a small C# script that manifests some fractal-like behavior. You’ll learn to

  • create new game objects and add components to them;
  • work with recursion;
  • use coroutines;
  • use randomization.

You’re assumed to know your way around Unity’s editor and know the basics of creating C# scripts. If you’ve completed the Clock tutorial then you’re good to go.

Continue reading

Games

medium_review_medium_aa2013x12x11xx01x55x22x5133d44a6042c5ac21e842ec726ff4a4

Beberapa seri game zombie populer diirlis pada tahun 2013 ini. Bahkan dengan peluncuran dua konsol game raksasa, PS 4 dan Xbox One banyak developer yang mempersiapkan proyek-proyek penggarapan game zombie prestisius mereka. Paseban punya daftar game zombie terbaru yang direncanakan rilis tahun 2014 dan patut dicoba. Continue reading

UNITY

UNITY 3d adalah sebuah game developing software.
lisensi gratis, tapi jika agan memilih untuk membeli fersi yang “bayar”, agan bakal dapet beberapa tambahan-tambahan fitur.selain bisa untuk build game PC, UNITY juga dapat digunakan untuk membangun game console seperti Nintendo Wii, PS3, Xbox 360, juga Ipad, Iphone, & android.
Namun masing-masing membutuhkan biaya lisensinya sendiri.bahasa pemrograman yang dapat diterima UNITY adalah
JAVA SCRIPT, CS SCRIPT (C#) & BOO SCRIPT.

kalian bisa mengundunh software unity di :http://unity3d.com/unity/download

Cara Install unity

Library yang berguna untuk unity

Unity merupakan tools serba bisa untuk mengembangkan game. Unity dapat digunakan untuk mengembangkan berbagai jenis game seperti Role Playing Game (RPG), First Person Shooter (FPS) dsb. Dalam Unitypun sudah didukung berbagai library atau tools yang cukup ampuh unutuk mendukung pembuatan game. Sebut saja component physics NVidia Phisx secara default akan disematkan di unity untuk mempermudah mengaplikasikan hukum-hukum fisika pada sebuah object. Dari segi AI unity juga membenamkan component path finding secara default sehingga akan lebih mempermudah programmer untuk mengembangkan game yang memiliki musuh dengan AI yang mengaplikasikan pathfinding. Continue reading

Membuat Game pada unity

Proses  pembuatan game memerlukan sebuah software/tool yang disebut game engine. Game engine memberikan kemudahan dalam menciptakan konsep sebuah game yang akan dibuat. Mulai dari pengaturan game objek dan suara efek, grafik rendering, scripting karakter pemain/musuh, dan sebagainya.

Tahun lalu penulis telah membuat artikel membuat game dengan UDK, sekarang mari kita menggunakan  Salah satu game engine yang sudah banyak digunakan yaitu unity 3D.

Pada sesi awal ini kamu akan diperkenalkan pada fitur-fitur didalam unity3D, dan pada sesi-sesi berikutnya kamu akan mulai belajar membuat games canggih secara setahap demi setahap dengan Unity3D. Continue reading