0
votes
0answers
5 views

Can I map uniform variables?

I'm literally just starting with GLSL, I'm using python and I actually can't run 330 (intel hd3000 on Debian) so I'm using 130, so far is ok. I started using in first and didn't know about uniform ...
0
votes
1answer
9 views

Unity - Stuttering character rotation

Am working on the controls and camera movement for my character. What I am trying to do is have the character head be able to rotate left and right and then when the head is rotated a certain amount, ...
0
votes
0answers
18 views

Unity Endless Runner Restart Scene

I just created an endless runner. Everything works fine on Unity, but when I play on iOS and Android, when I press the restart button from canvas, after 3-4 times when restart was pressed, the game ...
0
votes
0answers
12 views

Control Camera with gyroscope and place a gameobject always in front of it

Actually I have came here after searching from past 5-6 hours. Actually I am making a small game in which I have a camera and a gameobject. The Game Object is place in the center of the scene at 0,0,0 ...
1
vote
0answers
18 views

Getting world coordinates from mouse position

I am drawing a 2D mesh imported from CAD. The mesh vertex coordinates are in feet from some arbitrary origin and Z is always 0. I am supplying the coordinates to my shader program and using projection ...
0
votes
0answers
11 views

SteamVR_Controller.GetPress, GetPressDown and GetPressUp always return false?

I'm developing for htc vive with Unity. Using the Prefab [CameraRig]. In Unity I attached this script to the 'Controller (left)' inside [Camera rig]: public class WandController : MonoBehaviour { ...
0
votes
1answer
18 views

Unity - how to remove standart sky but keep the lighting?

How can I remove the standart Unity sky (to have an empty space with no texture around my scene), but keep all the lighting effects from it?
2
votes
0answers
17 views

LibGDX, How to create a 2d collision terrain

How can I create a surface so my bike collides with the ground? I'm thinking of placing x,y coordinates, but that will be too straight and I want it more smooth. (I don't want to place 1 million dots)
0
votes
0answers
13 views

Expanding a basic matchmaking system

I'm looking to create a matchmaking "app" to match 2 players. I have had no game development education or what so ever, all my knowledge comes from googling, looking at existing games / documentation ...
0
votes
0answers
22 views

Use an image as mask only where pixels are opaque

We are into a game where to build our tile map, we carve on an image with a mask (At first the whole map is an image, and we create holes on it with tiles to create the map and le the background show. ...
0
votes
0answers
14 views

Phaser P2 - How to create contactmaterial?

I'm trying to make a game with Phaser. I want my player to slide down a hill I made with a polyline in Tiled. The player is sliding down it, but verrrry slowly. So I'm trying to make contactmaterial ...
0
votes
0answers
32 views

while loop not being executed on iOS

So I have this code for showing an ad. It is supposed to pause the app while the ad is showing. It works on android but on iOS it doesn't even seem to be called, judging from the debug msgs shown in ...
0
votes
0answers
9 views

Setting wrap mode of a NPOT WebCamTexture to repeat

In my project, I am using an orthographic camera and a quand in front of it. The quad is set to be stretched and fills the whole view port using the following script. float scaleY = Camera.main....
0
votes
1answer
20 views

How do I find an accurate current speed of a navmesh agent?

So I have a blendtree of an idle/walk/run animation of a character (the navmesh agent). I want to use a normalised float of the speed of the navmesh agent to control the blend of the animation cycles. ...

15 30 50 per page