Quantcast
Channel: Questions in topic: "javascript"
Browsing all 68 articles
Browse latest View live
↧

problem with bullet instantiation

I have a mechanic in my game that allows the player to slow down time but whenever I use it, my bullet spawner starts spitting out bullets at a higher rate. What do I do? Here's my bullet spawner...

View Article


Why isn't my pixel reading script working?

I've got this script that should be reading the color of a pixel on the screen but it never returns the right result. For example; it will return black even though there's a giant white object on...

View Article


Unity WebGL build - HTML.asm.framework.js errors. I need help solving.

The error I am receiving is the following (I am not a programmer.) MOJ_HTML.asm.js:7 Invalid asm.js: expected doubles or floats MOJ_HTML.asm.framework.js:2 Loading player data from data.unity3d...

View Article

Enoent error: diskusage.node not found when starting Unity Hub

Hello! i have recently downloaded Unity Hub to make some games. However, on opening the Unity Hub, i seem to be getting this error![alt text][1] (see photo attached). i have seen another unity answer...

View Article

unity launch .app created in applescript - Win32Exception: Cannot find the...

All I want to do is launch an apple script that I've saved as a .app file so will play on launch. I've launched other applications with this line of code: System.Diagnostics.Process.Start("/file...

View Article


Using unity as a library for creating windows, mac and web application

Hi, I want to create an application in unity3d in which all my UI part will be created using web technologies (html, css, javascript, react.js etc). Means the whole UI will be handled in web...

View Article

Unity WebGL game on itch.io loads different scene than in editor

Hi everyone. In a short game I have scenes named "Level1", "Level2", and "DeadScreen". I wrote through code that, when the player's lives are 0 or smaller, the scene "DeadScreen" will load. However, if...

View Article

Photon disconnects in WebGL

Hi, Photon disconnects in WebGL when a tab is not visible or when you minimize the browser window. According to this link:...

View Article


UnityScript for unique simpleJSON lists

What is the simplest way to save multiple lists of different variables in simpleJSON? Im just getting started with learning JSON and this is what I've figured out so far var Pets : List.; function...

View Article


camera follows player in constant speed even in slow motion

Im working on a game in which the camera follows the player with the help of Vector3.SmoothDamp(). But when i trigger slow motion the camera is way to slow. I want the camera to feel constantly fast...

View Article

why i need .Net 4.0 to change scripts???

why i need .Net 4.0 to edit scripts?

View Article

HELP! Memory Leak issue - Game project crashes after 10 seconds

Hi, All the sudden I started getting these warnings in my project and now I cant even start my project anymore because it just crashes after about 10 sec. Internal: JobTempAlloc has allocations that...

View Article

Editing avatars using node.js

Hello everyone! I am a well experienced JS developer trying to work with unity for the first time. I'm trying to accomplish something using a JSON format to edit an avatar. Yet when I create a template...

View Article


Unity WebGL cannot load remote js source?

I want to call Google Sign in API on WebGL build but it never run into onload callback, because of that I cannot call any api of that lib. Does anyone know this issue?> Blockquote

View Article

How to create a .jslib file for unity webGl

I am trying to create a .jslib file but unable to do that with visual code . I am making a plugin for my java script functionality to communicate with each other.

View Article


How to retrieve nested JSON variable - sendMessage WebGL

Hello! How can I retrieve a nested object in Unity with JsonUtility. I have something like this in javascript: grid = { type: "frame", layer_1: { "height": 100, "numberOfComponents": 3 }, layer_2: {...

View Article

SHA512 JS -> C#

Is there any way that I can translate this JS Code Snippet: var contentHash = CryptoJS.SHA512(Json.stringify(requestBody)).toString(CryptoJS.enc.Hex); into C# language?

View Article


how to solve webgl.loader.js:1 Unable to parse Build/webgl.framework.js.br...

I have deployed an app in webgl from a storage account but I have problems with the cdn server configuration and it is not compressing I have problems with the accept-encoding: br![alt text][1] [1]:...

View Article

Calling a function from another function in webgl plugin

In my .jslib file I have multiple functions which returns string. Instead of writing the lines that convert the value to string over and over again, I tried to put that code in another function, and...

View Article

--- Article Not Found! ---

*** *** *** RSSing Note: Article is missing! We don't know where we put it!!. *** ***

View Article
Browsing all 68 articles
Browse latest View live


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