0
votes
0answers
3 views

DllNotFoundException: OVRGamepad

Iam working on GearVR app with unity.When I runned my app,its giving an error DllNotFoundException: OVRGamepad OVRInput+OVRControllerGamepadDesktop..ctor () (atAssets/OVR/Scripts/OVRInput.cs:1738) ...
0
votes
1answer
17 views

Making a Randomize() Function not go past 0 (VB.Net)

I am wondering on how I can prevent a Randomize() function from returning a value less than 0. Thanks!
0
votes
1answer
7 views

Multiplace instances of an object in Game Maker with a variable changing

I want to do a level selection menu in GameMaker. There's one button for each level. Clicking on the button 1 take you to level 1, button 2 take you to level 2 and so on. But if I duplicate the ...
1
vote
1answer
19 views

unity real time terrain editor

im trying to make an editor for my game. but I want to know is it possible to edit terrain map heights or textures? if the answer is true, should i make it from scratch or can I use unity editor tools ...
0
votes
0answers
9 views

how to make a fast fragment shader that converts intensity to saturation?

I have a simple fragment shader that looks like this: #ifdef GL_ES precision lowp float; #endif varying vec4 v_fragmentColor; varying vec2 v_texCoord; uniform vec4 u_desiredColor; uniform sampler2D ...
-4
votes
0answers
25 views

One Line Chess Game [on hold]

I need help. I have to write the remaining functions. This is MovePawn and GameOver. using System; namespace GapFilling { class GapFilling { static char[] board; static int ...
0
votes
0answers
6 views

Create a Spreadsheet for tiled map

My plan is to write a tilemap generator that will automatically take the right sprite out of a spreadsheet and place it in the gameboard starting from the basics in this tutorial for Unity My problem ...
0
votes
0answers
7 views

OpenGL/Frustum Culling - Drawing part of a buffer in 1 call

Im learning OpenGL. I tested frustum culling for terrain (cells consisting of 2 triangles, 6 verts, xyz/normal/uv), worked fine, but every frame im recreating VBO / VAO to draw visible part of terrain ...
0
votes
1answer
41 views

What are the practical limitations of using XNA?

Since development on XNA has long since stopped, it is unlikely that it will ever be updated to be in line with modern graphics technology, however aside from the obvious fact that it's Windows-only - ...
0
votes
0answers
14 views

pygame scrolling: target moves faster than the camera

I know many questions have already been asked on this same topic, but I can't figure out from those how to solve my problem (possibly due to a different approach to achieve the same goal: scrolling my ...
0
votes
1answer
19 views

libgdx - Trying to load ttf font using asset manager

I tried to load a ttf font using an AssetManager like this: FreetypeFontLoader.FreeTypeFontLoaderParameter freeTypeFontLoaderParameter = new FreetypeFontLoader.FreeTypeFontLoaderParameter(); ...
0
votes
1answer
25 views

How to do I make my sprite move when it's instantiated in Unity5?

Here's the code I currently try to use to move my instantiated sprite: time++; if (cow == 1 && time >= wait) { Cow0Walk(); } if (cow == 2 && time >= ...
-3
votes
0answers
33 views

Networking protocol for replication via UDP for an MMO game [on hold]

I know there are lot of topics about UDP vs. TCP for real-time games, but I'm asking for a different thing. Assuming, I've decided to use UDP on low-level. Is there any existed messaging/packets ...
0
votes
0answers
13 views

How to animate a sprite in libgdx with Spriter

So, I have an animation that I've created in Spriter and a class in libGDX that extends Sprite and contains a box2D body. What I've done previously is have a texture atlas and loop through it to set ...
0
votes
0answers
46 views

Do we really need quaternions? In UE4 I rotate without them

I want to experience gimbal lock to be able to understand how it happens. In lots of videos it shows that when you rotate along one axis, other axis is also being rotated and you obtain gimbal lock. ...
0
votes
1answer
20 views

How to make object move in exact gametime in Monogame, XNA?

I have recently started learning monogame. The big question i faced is how to make object move, when gametime variable has an exact value. //Update method in Game.cs float delta = (float)...
3
votes
1answer
58 views

Procedural Hatching

I know that it is possible to make a shader that uses procedural hatching instead of pre-designed tonal art maps. But is it possible to make that procedural hatching in the fragment shader? I would ...
1
vote
0answers
26 views

what file architecture to follow while uploading an sdl based C++ project to Github? [on hold]

I created this sdl game containing header files source files and graphics files including tilemaps . I also have a setup file that will install a .exe file with dependencies such as dll files for sdl ....
1
vote
0answers
50 views

Unity Resolution

Why does my GUI appear shorter when in a 1366x600 resolution versus a 1366x768? To illustrate this, this is the 1366x768 resolution... ...and this is the 1366x600 resolution, which appears shorter ...
1
vote
0answers
15 views

how to implement ARVR controller in unity & vuforia

hello i've been strugling figuring out this thing. i'm trying to make ar controller for my vr cardboard game, so the idea is using AR and VR simultaniously. you will completely in vr game but your ...
0
votes
0answers
15 views

how to correctly scale box2d in libgdx

I'm currently using 800x480 resolution and FitViewPort and I divided that by PixelPerMeter variable which is equal to 10 and that helped to move my box2d body faster. But when I tried to use fonts I ...
0
votes
0answers
18 views

Questions on camera view and buffer updates

I am quite confused with how the game engine handles camera view in DirectX. I know all the matrix stuffs, but where the projection matrix goes finally seems rarely mentioned. I looked up in the ...
0
votes
0answers
31 views

Architecture for in-game Tutorial System?

I am trying to implement an in-game tutorial system and would like to know if my approach could be improved as it's quite messy at the moment. It needs to do the following: The system consists of a ...
0
votes
0answers
9 views

Unity 2D play animation with flipX then enabling and disabling GameObject “locks” flipX

I have a GameObject with an Animator that contains many different animations. In C# I switch between these animations with animator.Play("AnimName"). Some of the animations have the flipX property ...
1
vote
0answers
11 views

Drawing simulator - Tracking mouse movement

I was wondering what would be the logic behind coding a drawing simulator like the one on this website: https://www.mdbg.net/chindict/chindict.php?page=chardict&cdcanoce=0&cdqchi= The ...
1
vote
1answer
27 views

Certain lines in C# script not running on certain GameObjects in Unity

Sorry for the long question, but I'm being specific in order to avoid answers I've already considered. This is the weirdest problem I've encountered in Unity thus far. What's happening is that the ...
0
votes
0answers
19 views

MonoGame - Improving 2D array Spritebatch performance

I'm looking to improve the performance of my Draw() method for my tilemap. I've poked around for a few hours and done things like: Removed any new calls from the for loops where I'm drawing the tiles....
0
votes
1answer
45 views

Top down tile based game render order

I'm making a simple top down (like this) tile based game (using JavaScript, for reference) I use Tiled for making maps. I have sprites that are more than one tile high, and so whenever they are in ...
0
votes
0answers
10 views

Switch an component(cube) in a Blueprint Class's material through blueprints - UE4

Please explain in blueprints, not C++ I am making a security camera system for a game. I have a render target and stuff, but I need to be able to switch cameras from the display. I have the widget ...
0
votes
1answer
10 views

Aggregation of value in GLSL loop results in 0

I'm banging my head against a wall trying to understand why this code is giving me some reasonable results with some visible colors on parts of the screen... #version 130 in vec2 vTex; // must match ...
-1
votes
0answers
14 views

What is a Timeline in Game Maker Studio

What is a timeline do in game maker studio? Is it like a choose your ending sort of thing or what?
0
votes
0answers
10 views

Strange glitches with VolumetricLighting test scene (Unity)

I was going to test the VolumetricLighting test scene, but I faced a problem. After starting the game, I can see only some strange glitches on the screen. Also I get an error message in the console: ...
1
vote
1answer
40 views

OpenGL diffuse texture mapping

I am working on a small game engine and having some troubles when figuring out how to properly map more complex textures to their meshes. I am loading models using the .OBJ format and as far as I can ...
0
votes
0answers
21 views

How to fix a vertex projection distortion problem?

i have been writing a 3D soft-engine for a little while and i have gotten it a reasonable position but recently noticed a bug that i can't seem to solve. When i am rendering a few cubes as a test, if ...
0
votes
2answers
39 views

Loading next scene when counter is down to 0

I am trying to let my Unity project load next scene when the counter I have is down to 0. However I am unable to do that for some reason. The way I am trying to do it by : int i = SceneManager....
0
votes
0answers
5 views

Android: Collision with Swept AABB algorithm, how to compute velocity correctly (in onTouchEvent)?)

I have difficulties implementing the AABB swept collision algorithm for collision dectection in android. Let me explain my problem in detail and post some of my code at the end of the post. I have ...
1
vote
2answers
80 views

Calculating next speed of a ball

Is it possible to calculate the next speed of a ball knowing only dx and dy of the ball? For example if x = 120, y = 0, dx = -10, dx = 10, gravity = 0.05. So the next position of a ball (next update) ...
-3
votes
0answers
24 views

How to animate 2d trees?

I know that artists can create an animation for a tree. But to allow my artist colleagues to work on something else, I'd like to animate trees programmatically. How could I achieve this in unity?
0
votes
1answer
25 views

Follow a path in Unity

I want to know how I can make this game object follow the specified path in unity
0
votes
0answers
16 views

[Collision detection][Server side]Best way to implement collision algorithm?

I'm part of mmo server programming team for an already finished client. I need to implement creature to creature collision detection [server-side] My props: So each connected client has a list of ...
0
votes
0answers
16 views

libgdx BitmapFont setColor works only the first time

Here's my code: game.assetManager.get("fonts/zrnic40.fnt", BitmapFont.class).setColor(.5f, .5f, .5f, 1); game.assetManager.get("fonts/zrnic40.fnt", BitmapFont.class).draw(game.batch, text, x, y); ...
0
votes
0answers
23 views

Best tools for political game with real countries [on hold]

I want to write a game on real world which will subject relations of specific countries which will look like game "Plague Inc". Because it will be a hobby like project I am conservative about the ...
-1
votes
1answer
17 views

Incorrect values fron Input.GetAxis

I need the gamepad Input on my game, and I'm trying the Input.getAxis("Horizontal") function and the documentation says that returns a value from -1 to 1, 0 is the central value, when I not move the ...
-1
votes
1answer
27 views

Unity 5 Deleting Large Quantities of GameObjects (around 10000 or more) from Hierarchy

I've screwed up on this one. I used a script to randomly generate trees in my scene. The reason I did this instead of using the Mass Place Trees function in the terrain editor is because the trees all ...
0
votes
0answers
42 views

Monogame: Unwanted borders/gaps around sprites?

I've been struggling with this problem for quite a while now, and unfortunately haven't found a satisfying solution yet. So, here we are. I'm working on a 2D game using monogame in an isometric ...
0
votes
1answer
23 views

Deferred Shading and material ID

I am implementing a deferred rendering framework, and I wanted to allow programmers to write custom materials. However, I did not find yet how to handle different materials. For now, a material is ...
0
votes
0answers
17 views

Unity3D saving and loading complete scenes

I'm using an Entity-Component-System architecture in my game. Every entity and their components can be serialized. For serialization I use Easy Save 2. So far so good. Now I'm wondering, how the ...
0
votes
0answers
10 views

Unity3D: iTween ValueTo() not working

I have the following code to animate the Camera's FOV change: public float fieldOfView; public Camera theCamera; public float animTime; private float origFOV; void OnTriggerEnter(Collider other) { ...
0
votes
1answer
33 views

Controlling resolution in Unity 3D. Beginner's problems

i started working on developing games one month ago. I really like it, although it isnt easy. The problem i have now, is with display resolution after i build game. So far i have been working with ...
0
votes
1answer
28 views

OpenGL typedefs

How far up do I have to push openGLs typedefs? If I have GLfloat everywhere in my code, I have to include openGL libraries pretty much everywhere. Should I use glm:tmat4x4 or will regular glm::mat4x4 ...

15 30 50 per page