0
votes
1answer
5 views

Moving autonomous robot form one location to another based on array

I have a 3D model of a house, and I want an autonomous robot to move from 1 object in this house to the next one. I have it moving to the first, but it won't move to the second one. This is my code: ...
0
votes
1answer
9 views

Is There a Way To Keep Precision When Transforming GameObjects

I've seen this issue before, but it's never been a particular issue for me until today. I have each "room" of a dungeon created with a class script that contains details of that room. During the ...
0
votes
0answers
6 views

libGDX GWT compile with “-style DETAILED”

So basicly my libgdx HTML5-gradle build doesn't work. When switching from state it gives the following error: __gwt$exception: <skipped>: Cannot read property 'tM' of null Of course I want to ...
0
votes
1answer
16 views

Autonomous robot - moving from 1 object to the next object

This question falls in line with my last question: Unity 3D - create autonomous moving robot in house + first person camera movement What I have I have a 3D model of a house; a first-person camera ...
0
votes
0answers
6 views

Drag event inverts in landscape mode

I am developing an car game for android with an UI steering wheel to control the car. I'm following Answer example for the wheel rotation. This is the code to rotate the wheel. ...
0
votes
0answers
13 views

How to make an object move in winform application c#?

I'm trying to make an object in such a way as to allow it to move. This is the objects that I initialized. This is a 25 cell board, made with 4 types. Black box is made from number 0, White box is ...
0
votes
0answers
19 views

Are two dimensional and isometric games popular nowadays? [on hold]

In the last few years there were some titles in 2d and 2.5d that got quite popular. Creating them will take definitely less time in comparison to 3d with similar resolutions. Is it a good idea to ...
0
votes
0answers
21 views

Creating a custom mouse cursor with LWJGL in Java

I have been trying to create a custom mouse cursor in my LWJGL application and I am almost there. I implemented the following method that I call right after creating the game window: cursor.png (36 ...
0
votes
0answers
5 views

How to include a new file js in a project cocos2d js?

I'm trying to include a new js file containing a new scene on a cocos2d js project, but every time try occurs the following error: Uncaught ReferenceError: GameScene is not defined. I included ...
0
votes
0answers
12 views

'Free' Camera Rotation using Quaternions

I'm trying to implement a 'free' camera (rotate about all axes) using quaternions but I'm getting strange issues with what seems reasonable to me. I have a camera 'object' and I define the up, left ...
0
votes
0answers
6 views

Trouble with GLM and Android Studio

I'm trying to use glm in my native (C++) Android Application using OpenGL. But I don't manage to have it included correctly. What I have done is copy the glm directory in the jni directory, and then ...
0
votes
0answers
9 views

Handling light bounding volume

So, i managed to do deferred shading like yesterday or 2 days ago. I got pretty big impact which causes my fps to drop from 1000fps to around 300~fps for 25 lights (after some optimization, i don't ...
0
votes
1answer
11 views

Type `UnityEngine.UI.Text' does not contain a definition for `Text'

I came from Unreal Engine 4. I created a script, and I keep getting an error: Assets/scripts/UpgradeManager.cs(17,18): error CS1061: Type `UnityEngine.UI.Text' does not contain a definition for ...
0
votes
0answers
8 views

Unity Sphere rendering two faces in same material

I was creating a simple unity game with a sphere as a ball. The problem is that the ball face towards the camera origin renders material correctly but the one away from camera does not. The ball has ...
0
votes
0answers
17 views

Point welding on generated terrain

Currently I am converting two 2D images (A Voronoi graph and a Diamond Square noise map) into a 3D object. However when finding the corner points of the Voronoi I am left with gaps, so I thought to ...
0
votes
0answers
11 views

What is GPU instancing and what are its differences in comparison to standard instancing?

I have been reading a lot of debate on a new feature that will be in Unity 5.4: GPU instancing. I understand the importance of instancing in general, both in terms of saving memory and draw calls. ...
0
votes
0answers
4 views

Is using Scene2d the best approach for creating a tetris like game using libgdx?

I would like to know if using Scene2d is the best approach for creating a tetris like game using libgdx ? If yes, what's the approach ? each block is an actor ? How can I achieve this easily ?
0
votes
0answers
29 views

Start game development from scratch? [on hold]

I have a great interest in game development, but i am unable to get from where to start, like what to study how to practice for it, which language and skills do i need to have. Right now i have ...
0
votes
0answers
14 views

What are the best bullet collision detection methods for FPS games? [duplicate]

Bullets are too fast and can be represented as points. Common collision detection methods, like the ones using bounding volumes, may not be suitable. What would be the best for this work. Edit: this ...
0
votes
0answers
11 views

Resolution-Independent Rendering squishes view field

For the last couple of days, I've been trying to get a resolution-independent renderer going on an XNA game. I have a camera and a renderer class that I added, based on this tutorial Here's the ...
0
votes
0answers
16 views

How to make this vector field animation

This screenshot is from Windows app called MyRadar by ACME AtronOmatic LLC. I found their wind direction animation to be very visually appealing and was wondering if anyone knew how to create this ...
0
votes
0answers
19 views

3D engine dll only (without a user interface) [on hold]

Is there a modern, supported 3D Engine that exists as a dll only? I started making a game a while back using Unreal Engine, however despite making fast progress initially, progress has slowed down. ...
0
votes
0answers
12 views

How do you create a basic tile map using a 2D array [on hold]

I am extremely new to game coding. I can't seem to find a straight forward tutorial on how to make a game map using a 2D array. Can anyone point in the right direction. Something small, like a 5 x 5 ...
0
votes
1answer
14 views

How to enable depth test with QOpenGLWidget? It renders black screen

Currently I am writing a small application with Qt and OpenGl and I choosed QOpenGLWidget for rendering graphics. That's how I declared my widget: class GLWidget : public QOpenGLWidget, protected ...
0
votes
0answers
10 views

How do you play more than one animation at a time in unity

I am trying to have 2 animations on one GameObject and i want them to play at the same time. I have been looking all over and messing around with the animator controller but i cant get it working.
0
votes
0answers
8 views

How do I rotate enemies on NavMesh in Unity?

I have a NavMesh Script for my enemy but it just looks into my direction and if I run around him he is still looking in one direction and not turning and facing me, how can I rotate him in the script ...
0
votes
0answers
5 views

Unity: Blending two animations together using blend trees?

I am starting to build the foundations for a skateboard simulator game like skate 3. I want to be able to have multiple animations that can blend together to form tricks. For example when the player ...
0
votes
0answers
13 views

Unity 5 New Netorking, SyncVars, RPC how does it actually work

I have just started working on a client - server flow for an open world game, as far as I understand unity have implemented a fairly new ways to communicate and work with networking but I cant seem to ...
-1
votes
0answers
10 views

How do you transport art/animations into your app/game? [on hold]

How do you transport your art into video game apps?
0
votes
2answers
29 views

Lerp velocity in specific time

How to lerp velocity to 0 in specific time? For example in two seconds? I need this for jumping. velocity.Y = MathHelper.Lerp(velocity.Y, 0, [time]);
0
votes
0answers
19 views

Project camera-to-pixel ray in world coordinates

I'm trying to implement a very simple ray tracing function but I have a problem with projecting the camera ray (from camera to pixel) to the world space. In the screen coordinates have the pixel ...
0
votes
0answers
9 views

Turn based browser game - Recommended framework/technique [on hold]

I would like to create a turn based browser game (cf. BiteFight, Ogame etc). Currently I am used to (because of another project) a combination of Spring-MVC (Java), JSP and AngularJs for Frontend and ...
0
votes
0answers
29 views

std::vector clears after every frame? [on hold]

I execute the following code each frame std::vector<DataType>& data = bigData->moreData[i]->evenMoreData[j]->data; Why does the vector get destructed after I finished drawing the ...
0
votes
0answers
8 views

AI: Turn-Based Movement with 2 actions per Unit

I am currently building a turnbased tactics game. The Board is a small (about 4*6) tiled grid. The AI plans all moves of its units, each unit can move 2 times move and attack or attack at ...
0
votes
0answers
11 views

Garment Maker crashing in 3ds max 2013 [on hold]

When adding Garment Maker on any object with density 0.01 it works well but on increasing the density it crashes. I have tried removing auto mesh option in the garment maker (#Found on Autodesk ...
0
votes
0answers
5 views

Mixing animations in an 3d Tennis game in Unity 5.3

I am trying to make an 3d Tennis game. This is my first Unity Game. My game requires multiple animations like running and hitting the ball, making a volley on net, Serving the ball, etc. I am ...
0
votes
1answer
16 views

Gamemaker studio - Rooms Object doesn't stick inside the square grid

I keep trying to put an object into the square of the grid but the object keeps going to the top corner of the square; also I can't place multiple objects by grabbing the 4 point on the vertex of the ...
1
vote
0answers
15 views

Chunk/Region Compression/Decompression

Reading this article here, the author writes about chunk saving and using a lookup table and then saving each chunk in a region file, each region file having 4096 chunks and each chunk having 4096 ...
2
votes
2answers
26 views

In Unity, is there a way to Set a new MeshRenderer?

Here is what I want to do in Unity for a given GameObject go = new GameObject(). I want to create a MeshRenderer, change its properties and only in the end set it as the component of go. For instance: ...
3
votes
1answer
52 views

Details of what GPU actually do when clipping in 4D homogeneous space?

I am learning programmable rendering pipeline by implementing a tiny software renderer. I try to implement it in a 'hardware' style. However, I am not familiar with the GPU pipeline and got some ...
0
votes
0answers
52 views

What will happen if i sell my game that was made with a cracked engine [on hold]

I can't seem to afford to buy a license for GameMaker Studio and I am currently using a pirated version of it. what will happen if i put my game on a website like gamejolt or even steam will ...
0
votes
0answers
16 views

Making an iOS game like Age of Empires [on hold]

Hey me and two of my friends are students and trying to make an iOS game. We're two programmers (CS majors with experience in Swift / Java / Python / C / C++) and a graphics guy. We want to build ...
0
votes
1answer
38 views

Entity-components pattern and memory management

I indent to use a level-entity-components hierarchy in my c++ game engine where level is just a placeholder for entities. However, since I'd like to setup all the levels at once (and thus entities and ...
0
votes
1answer
36 views

How to program destructibles? [on hold]

I'm thinking about programming a 2d simulation of a spaceship that takes damage depending on where the projectile came from (e.g. from behind - engine, from the front - lasers, sides - hull, etc.). ...
0
votes
0answers
12 views

How can I have margins or padding around a texture in libgdx?

I am building a game using libgdx a 2048 like game and I draw the tiles of the board using textures (each texture represents a tile with the number 2 or 4 etc.) I would like tohave a small space ...
0
votes
0answers
30 views

What kind of parallelism is usually used in game development? [on hold]

Since I'm starting to learn about parallel programming, I was curious about what kind of parallelism is usually used when developing games and if different kinds of parallelism are used in the same ...
-1
votes
0answers
34 views

What engine should I use to make an open world, 2D sandbox sidescroller? [on hold]

As the title says, I want to make an open world sandbox that is a 2D sidescroller. I have considered Unreal and Unity, but I'm not sure which, and I haven't completely shut out the idea of making my ...
0
votes
0answers
21 views

How to animate a child in Unity

I am making a FPS Zombie game. I have the walking animation attached to the player camera and I have the gun attached to a game object called "gunPoint", which is a child of the player camera. I ...
0
votes
1answer
10 views

How to ensure a condition in a behaviour tree when processing followin nodes?

Exmaple Tree (Source): As far as I understood, a sequencer iterates over the children until one failed or all are successful. If one children returns "running", the sequencer will start to process ...
0
votes
0answers
19 views

How can I hide the Transform in a Prefab?

I have a prefab. It has a script attached that has this code: void Reset() { transform.hideFlags = HideFlags.HideInInspector; } If I create it, the Transform is hidden. Good. When I move it ...

15 30 50 per page