Quantcast

Jump to content

» «
Photo

GUIDE: Making A 3D game...

2 replies to this topic
S99
  • S99

    Li'l G Loc

  • Members
  • Joined: 21 Sep 2012
  • United-Kingdom

#1

Posted 22 March 2013 - 08:06 AM Edited by MMD-stueycow, 23 March 2013 - 05:30 PM.

user posted image
Unity - Game Engine

www.unity3d.com


What is Unity?

QUOTE
Unity (also called Unity3D) is a cross-platform game engine with a built-in IDE developed by Unity Technologies. It is used to develop video games for web plugins, desktop platforms, consoles and mobile devices, and is utilized by over one million developers. Unity is primarily used to create mobile and web games, but can also deploy games to consoles or the PC. The game engine was developed in C/C++, and is able to support code written in C# or JavaScript. It grew from an OS X supported game development tool in 2005 to the multi-platform game engine that it is today. The latest update, Unity 4.0, was released in November, 2012. It currently supports development for iOS, Android, Windows, OS X, Linux, web browsers, Flash, PlayStation 3, Xbox 360, and Wii U. The game engine is downloadable from their website in two different versions: Unity and Unity Pro. - Wikipedia


Unity UI (user Interface)

user posted image

Common Operations

So if you wanted to rotate an object 5 degrees around its Y axis every frame you could write the following:

[javascript]

CODE

function Update() {
   transform.Rotate(0, 5, 0);
}


[c#]

CODE

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
   void Update() {
       transform.Rotate(0, 5, 0);
   }
}


[Boo]

CODE

import UnityEngine
import System.Collections

class example(MonoBehaviour):

   def Update():
       transform.Rotate(0, 5, 0)


If you want to move an object forward you would write this:

[Javascript]

CODE
function Update() {
   transform.Translate(0, 0, 2);
}


[C#]

CODE

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
   void Update() {
       transform.Translate(0, 0, 2);
   }
}


[Boo]

CODE
import UnityEngine
import System.Collections

class example(MonoBehaviour):

   def Update():
       transform.Translate(0, 0, 2)


Examples of games

My Pre-Pre-Pre-Alpher game

http://attitudegames...orum/4566931743

press "Car Test"
UNDER CONSTRUCTION

coin-god
  • coin-god

    High Roller

  • $outh $ide Hoodz
  • Joined: 18 Mar 2007
  • None

#2

Posted 22 March 2013 - 03:17 PM

You might want to finish it before creating a thread.
Are you going to write your own tutorial or take bits from other ones?

S99
  • S99

    Li'l G Loc

  • Members
  • Joined: 21 Sep 2012
  • United-Kingdom

#3

Posted 22 March 2013 - 04:31 PM

QUOTE (goin-god @ Friday, Mar 22 2013, 15:17)
You might want to finish it before creating a thread.
Are you going to write your own tutorial or take bits from other ones?

A bit of both mainly my own it is going to go in to depth. and i cant finish it before as... well its a on going thing




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users