Problem with Javascript calling PHP pages in WebGL
I seem to be having issues with calling PHP pages from Unity when compiled into WebGL (HTML5). I have followed multiple tutorials online with posting and retreiving high scores. All works fine when...
View ArticleMini Game Timer - Unity 2017
Hello everyone! I am currently in the middle of my first game in Unity, so please bear with me haha. I have been having trouble for the past couple days trying to create a timer that starts when "e" is...
View Articleloading player with item to have ?
i have question difrent for this video if create loading for other scene how can you transport the player that you have with all item which has![alt text][1] [1]: /storage/temp/107371-loading-item.png
View ArticleGunshot not working?
I'm following a YouTube tutorial (https://www.youtube.com/watch?v=LVztnx4JHVQ&lc=z22jvzjw4zfmwbnri04t1aokgwf3ymvnqjg13040mqjtrk0h00410.1513252262818829) on creating an FPS and I've run into a...
View ArticleRealtime multiplayer over web server
I have a 2d game on a website. It is fairly simple because it is a 2d top-down shooting game. Right now it is between two players on the same client and keyboard (...
View ArticleMultiplayer Lobby & Gamemode selection Coding
im looking for someone to join my team doing a game that will be profit share from the game possible profits, so the game is using UFPS needs multiplayer lobby and gamemode selection please if you are...
View ArticleMy Nav Mesh Agent isn't working
I have this enemy move script in javascript: var ThePlayer : GameObject; var TheEnemy : GameObject; var EnemySpeed : float; var MoveTrigger : int; function Update () { if (MoveTrigger == 1) {...
View Articlehello guys anyone know how to change this js to c#
please , how to change this into c# script basicly just turn off object while turning on another same time and vice versa #pragma strict var A : GameObject; var B : GameObject; var On : boolean;...
View ArticleTrying to get animation to work. Problem with JS.
Hi. I'm asking this because I am a complete beginner to unity and honestly have no idea what to do. I want to add an animation to a weapon that a character in my game will hold, however the javascript...
View ArticleSyntax Help: JS ---> Reference a variable in another JS script
Help. 5 hours later, reading many, many posts later, and I cannot get the syntax correct, for referencing a variable from one JS script to another. ( I know how to do this in C#, but need to do this...
View ArticleHelp change the subject of this Script
i have a script that instaniate an object for examlpe a "cube" from the project to spawn at the mouse position i want to change to make the script " move an already exist in the hierarchy to the mouse...
View Article2D shooting js is not workin
haw to throwForce object game which appears after and haw to Destroy with the time after #pragma strict var throwForce : float; // var DistroyTime : float; var Andikemeno : GameObject; var Tagert :...
View ArticleHow do you change UI Text to an int?
I am trying to make a statistic menu in my game which will show you stats about your progress in the game. I am trying to make a text that will tell you how much time you have played the game. #pragma...
View ArticlePublishing my Game with my own website
Well, I've recently been thinking about making one of those clicker games and such! I want to know how to put your game on it's own website examples are: http://www.filltheoceans.com/ or search "Fill...
View ArticleProplem with position reset script of certain object
hello i want to achive a script when i press V the object no matter how far it went it gets back to the original position point near my player var startPosition : Vector3; function Awake () {...
View ArticleHow to make speed changed in js
i know, this is very simple. First off, this is not going to be attached to my Enemy but i want to know if its possible to change the navmeshspeed from a script to my enemy. It is named "OGRE". I need...
View ArticleHow to replace text with something else..
I know this might be super simple. Here is my code so far: #pragma strict static var currentScore : int = 0; var offsetX : float = 22.43; var offsetY : float = 376.6; var sizeX : float = 148.86; var...
View ArticleTriggering audio in javascript
I need to know how to play a audioclip/audiosource in javascript. pleeeeasseee plepleplpalepallplwpelpelplse i need to know how. Ive been searching but all them come with errors.
View ArticleHello all! I have a question regarding the cretion of an animation with...
Create animation with JavaScript within the 1000x800 canvas element according to the following description: you will draw on the left side of Canvas a cowboy with a gun. Once a page is loaded, a bullet...
View ArticleIn a test with ten questions, only the first question gets asked
Hello everyone, So, I think I might just need a fresh set of eyes for this one. I've made a simple dialogue script with a section for the player to make A/B choices. (The first part is straight...
View Article