Quantcast
Channel: Questions in topic: "javascript"
Viewing all articles
Browse latest Browse all 68

How can I port this Windows chess project to Android and iOS Devices?

$
0
0
There is an open source Unity3D [chess project][1] that I found online and I'm wondering if it is possible to make it build successfully on Android and iOS devices. When I run the scene with Windows as the target platform, the game runs smoothly with no errors. As soon as I change the target device to Android I get the following errors that can be seen at the bottom on this question. ---------- I'm asking this question because I've created mobile games in Unity game engine before and have never seen these errors. Is it a problem with the JavaScript files? My other games were programmed entirely in C#. The developer of this project said, "Unity will throw lots of errors for WebGL compile (or android, or iOS). Each platform is very much different and there is no universal code for them all. Or modify code as needed." I've never run into a common problem is the past. Is it fixable, or am I better off starting with a blank project? Thank you for your time! -----CompilerOutput:-stdout--exitcode: 255--compilationhadfailure: True--outfile: Temp/Assembly-UnityScript-firstpass.dll Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js(325,33): BCE0048: Type 'Object' does not support slicing. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js(326,33): BCE0048: Type 'Object' does not support slicing. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js(327,44): BCE0019: 'CrossFade' is not a member of 'Object'. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js(329,33): BCE0048: Type 'Object' does not support slicing. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js(330,33): BCE0048: Type 'Object' does not support slicing. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js(331,44): BCE0019: 'CrossFade' is not a member of 'Object'. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js(337,44): BCE0019: 'CrossFade' is not a member of 'Object'. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js(342,41): BCE0048: Type 'Object' does not support slicing. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js(343,52): BCE0019: 'CrossFade' is not a member of 'Object'. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js(346,41): BCE0048: Type 'Object' does not support slicing. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js(347,52): BCE0019: 'CrossFade' is not a member of 'Object'. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js(350,41): BCE0048: Type 'Object' does not support slicing. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js(351,52): BCE0019: 'CrossFade' is not a member of 'Object'. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonCamera.js(141,9): BCE0005: Unknown identifier: 'currentHeight'. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonCamera.js(142,9): BCE0005: Unknown identifier: 'currentHeight'. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonCamera.js(145,9): BCE0005: Unknown identifier: 'currentRotation'. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonCamera.js(150,37): BCE0005: Unknown identifier: 'currentRotation'. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonCamera.js(153,38): BCE0005: Unknown identifier: 'currentHeight'. Assets/Standard Assets/Scripts/Camera Scripts/SmoothFollow.js(32,9): BCE0005: Unknown identifier: 'wantedRotationAngle'. Assets/Standard Assets/Scripts/Camera Scripts/SmoothFollow.js(33,9): BCE0005: Unknown identifier: 'wantedHeight'. Assets/Standard Assets/Scripts/Camera Scripts/SmoothFollow.js(35,9): BCE0005: Unknown identifier: 'currentRotationAngle'. Assets/Standard Assets/Scripts/Camera Scripts/SmoothFollow.js(36,9): BCE0005: Unknown identifier: 'currentHeight'. Assets/Standard Assets/Scripts/Camera Scripts/SmoothFollow.js(39,9): BCE0005: Unknown identifier: 'currentRotationAngle'. Assets/Standard Assets/Scripts/Camera Scripts/SmoothFollow.js(42,9): BCE0005: Unknown identifier: 'currentHeight'. Assets/Standard Assets/Scripts/Camera Scripts/SmoothFollow.js(45,9): BCE0005: Unknown identifier: 'currentRotation'. Assets/Standard Assets/Scripts/Camera Scripts/SmoothFollow.js(50,31): BCE0005: Unknown identifier: 'currentRotation'. Assets/Standard Assets/Scripts/Camera Scripts/SmoothFollow.js(53,32): BCE0005: Unknown identifier: 'currentHeight'. -----CompilerOutput:-stderr---------- [1]: https://chessforeva.blogspot.com/2010/10/unity3d-chess-project.html

Viewing all articles
Browse latest Browse all 68

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>