How to Make 2 dimension array of classes
i have the following classusing UnityEngine; using System.Collections; public class Tile_Info { int ID; int Varriation; } i would like to access it using simillar to thismaparray[0,0].tile_id=0can...
View ArticleHELP BCE0077: It is not possible to invoke an expression of type...
Hi everyone, this is my first time posting here and I was wondering if someone could help me fix a mistake in a line of code i am writing for my pool game. Ok so what i am trying to achieve is that...
View ArticleHow to use event.KeyCode
Trying to test out my controls here, but I keep getting weird error messages. This code is just to test to see if I'm doing it write, to see if when I press the x-button, and a character is under the...
View ArticleChanging the parent's position based on a child's variable
This is the code for my object "Light Switch" attached to an object called "Floor" which is parented to an object called "ShadowWall"var hit : RaycastHit; var keyCode : KeyCode; var state : int = 1;...
View ArticleHow to get 'real' time?
I need to get the current time in good ole 'seconds since 1970' format. Using JScript.I tried the System call DateTime.Now and DateTime.UtcNow, but I get this error:BCE0077: It is not possible to...
View ArticleCan someone help me with this script please
hi,I have a script to make a messagebox that appears after a couple of seconds on the screen,but i get an error ;Assets/Guimessgage.js(5,7): BCE0077: It is not possible to invoke an expression of type...
View ArticleIm haveing trouble with my baisc movment script
Here is my script, there is a var not being used at the moment. Also here is the problem it shows. BCE0077: It is not possible to invoke an expression of type 'float'. var moveSpeed:float = 1.0; var...
View ArticleAssets/Player.js(10,34): BCE0077: It is not possible to invoke an expression...
heyy guys , i'm trying to learn the basis of game animation and programming. I've been getting this error and don't know what to do . This is the script please tell me whats wrong var PlayerState :...
View ArticleBCE0077: It is not possible to invoke an expression of type...
I am making a FPS game and I am OK at scripting. I am getting that error twice, one at line 46, and one at 55. What I am trying to do is to make it so my animations play as fast as I am running so my...
View ArticleWalking sound Script returns with Error: BCE0077
I'm new to unity and i have some Problems at creating a Script that plays a sound when pressing "w" "a" "s" "d" and stops it when releasing those. Here's the Script so far: #pragma strict var Sound :...
View Article[Andorid; 2D; acceleration; Movment] Assets/Movments.js(7,38): BCE0077: It is...
Ok this is my second attemp in writting this :) .. First of I am completly new.. and I want to creat my first Andorid game. I startet with a couple of tutorials and even managed to make some small...
View ArticleBCE0077: It is not possible to invoke an expression of type 'float'.
i will try this code.. function Update () { if(Input.touches.Length>0) { for (var i:int =0; i
View ArticleHow to Make 2 dimension array of classes
i have the following classusing UnityEngine; using System.Collections; public class Tile_Info { int ID; int Varriation; } i would like to access it using simillar to thismaparray[0,0].tile_id=0can...
View ArticleHELP BCE0077: It is not possible to invoke an expression of type...
Hi everyone, this is my first time posting here and I was wondering if someone could help me fix a mistake in a line of code i am writing for my pool game. Ok so what i am trying to achieve is that...
View ArticleHow to use event.KeyCode
Trying to test out my controls here, but I keep getting weird error messages. This code is just to test to see if I'm doing it write, to see if when I press the x-button, and a character is under the...
View ArticleChanging the parent's position based on a child's variable
This is the code for my object "Light Switch" attached to an object called "Floor" which is parented to an object called "ShadowWall"var hit : RaycastHit; var keyCode : KeyCode; var state : int = 1;...
View ArticleHow to get 'real' time?
I need to get the current time in good ole 'seconds since 1970' format. Using JScript.I tried the System call DateTime.Now and DateTime.UtcNow, but I get this error:BCE0077: It is not possible to...
View ArticleCan someone help me with this script please
hi,I have a script to make a messagebox that appears after a couple of seconds on the screen,but i get an error ;Assets/Guimessgage.js(5,7): BCE0077: It is not possible to invoke an expression of type...
View ArticleIm haveing trouble with my baisc movment script
Here is my script, there is a var not being used at the moment. Also here is the problem it shows. BCE0077: It is not possible to invoke an expression of type 'float'. var moveSpeed:float = 1.0; var...
View ArticleAssets/Player.js(10,34): BCE0077: It is not possible to invoke an expression...
heyy guys , i'm trying to learn the basis of game animation and programming. I've been getting this error and don't know what to do . This is the script please tell me whats wrong var PlayerState :...
View Article
More Pages to Explore .....