Off Topic > Off Topic
UNITY: Game Development Tool
Jimmg:
I watched some guy make a portal like game in under an hour with presets models.
LaCuckooRacha:
I use it. It is really expensive for indie. And even more for pro. I have indie right now...
Edit: pic of my lava place. I know you would instantly die here in real life, but this is a game.
Jimmg:
Is that a snake I spot :cookieMonster:
Zenthos:
Holy forget the web based engine is amazing
Im likin this so far.
Meh I tried one of the games and the input was stuffty
LaCuckooRacha:
--- Quote from: Jimmg on October 30, 2009, 03:50:04 AM ---Is that a snake I spot :cookieMonster:
--- End quote ---
Default player shape (first person shooter)
I will change it later with Genghis.
I came across a problem... The map instantiates a transform defined in the scene, so I cant access it through the prefab list, but the map soon fills up with random balls of fire hurdling themselves at you very fast. I want them to time destruct, but to do that, I would need to add that to the first object, meaning that it would delete and the instantiate is trying to find a non existent object to clone.
I have no idea how to get it to work... :C
Edit: I think I found it!
--- Code: ---var script = "script";
var scripttoadd1 = "script";
var scripttoadd2 = "script";
function Start () {
if (gameObject.Component (script));
{ //do nothing
};
gameObject.AddComponent (scripttoadd1);
gameObject.AddComponent (scripttoadd1);
}
--- End code ---
I can't find how to do an if in javascript when using functions, so I took a guess. I was wrong.
--- Quote from: console ---Assets/Component Adding.js(4) error BCE0019: 'Component' is not a member of 'UnityEngine.GameObject'.
Assets/Component Adding.js(5) error BCE0034: Expressions in statements must only be executed for their side-effects.
--- End quote ---
I would ask the unity forums, but it still thinks I am under 13 from when I tried to register over a year ago. Apparently people don't age. >_<
If you are under 13 your parents have to send a form with their signature on it, saying you can join. Unfortunately my om threw it out the day it arrived. A year and a half has passed and I'm still 12 apparently. I e-mailed them asking them what to do, they didn't reply...