Hello.
I am trying the Penelope Tutorial, and I am getting a lot of errors, probably related to version 1.7
The complete tutorial causes a huge amount of erros when compiled.
Is there a tutorial adequate for version 1.7?
Or can you point us in the right direction to solve the problems?
Here below I paste one of the errors ocurring in the Joystick.js, right in the first compiling attempt.
Assets/Scripts/Joystick.js(15,29): BCE0018: The name 'Touch' does not denote a valid type. (Filename: Assets/Scripts/Joystick.js Line: 15)
Here below is the code, similar to that in the tutorial:
START OF CODE:
function Update(){
var count = Input.touchCount;
for ( var i: int = 0; i < count; i++){
var touch : Touch = Input.GetTouch(i);
if (gui.HitTest(touch.position)){
gui.pixelInset.x = touch.position.x;
gui.pixelInset.y = touch.position.y;
}
}
}
END OF CODE
variable gui declaration was done before, and it is ok.
Thanks for your help.