0
votes
1answer
27 views

How crucial is 3D terrain in a classic RTS game?

My love of RTS games is from the days of Warcraft II, C&C, etc, when top-down/isometric views were king and terrain was generally tiled and flat. More modern games - as CPU/GPU power increased - ...
0
votes
0answers
15 views

Diffuse Lighting changing with camera position

I am trying to do lighting in view space, but I am afraid I have an issue. I calculate the normals as: N = norm_mat * vec4(vert_norm,0.0) where norm_mat is the ...
0
votes
0answers
5 views

Embedding multiple Twitch channels to page

If I embed 4 or 5 twitch channels to my page, how good connection do users need to watch it all at once?
1
vote
1answer
17 views

libgdx, how to check collision of randomly generated actors?

I have two groups of randomly generated actors, one is bullets second is enemies. And as of now I have no idea how to check collision of randomly genrated actors and remove the overlaped actors. I'm ...
1
vote
0answers
18 views

Fastest way to find closest triangle of mesh from specified point

I have two triangle meshes (let me call them A and B). The meshes may be really big (10.000 - 100.000 polygons). I want to find for every point in A the closest triangle from mesh B. Is there fast ...
0
votes
1answer
16 views

Graphic resources size in Unity2d mobile builds

I'm working with Unity for two months and I really like this framework, but still there is one thing that puzzles me. Why does Unity save graphic resources in Android apk's and iOS ipa's in a bitmap ...
0
votes
1answer
32 views

Is there any solution to render a game in ascii art for Unity3D?

I'm trying to create an easter egg for a 3D game in Unity3D. I've the idea to pass my game momentanly in ascii art. I want to know what's the best approach to do something like that. I don't know ...
0
votes
0answers
12 views

Rotate object against Gyroscope in Unity

I would like to rotate a simple object against the z-rotation of the gyroscope of a smartphone, so that the object will always "look" to the physical floor where the user is standing. After that, I ...
0
votes
0answers
19 views

How does windows games load its data? [on hold]

I have done quite some programming and database management(undergraduate student in CS) .So , I was wondering , how does the modern games like assassins creed , farcry load their data at the runtime ? ...
0
votes
0answers
14 views

I am trying to write a c++ text based game like zork. Need help [on hold]

I am new to c++. I am trying to write a text based game in c++. It is for a school project. I am supposed to have an xml parser read through an xml file and I am supposed to program the game in c++. I ...
-1
votes
0answers
14 views

Translating a Tutorial from GLFW to SDL [on hold]

I've been using this tutorial series to teach myself OpenGL. However, I wanted to use SDL instead of GLFW because SDL seems to be more ubiquitous and I have an SDL project already set up in VS2013. I ...
0
votes
0answers
17 views

C# Monogame & Farseer Physics: Collisions

I am a begginer. I am using Monogame and Farseer Physics Library in C#. (latest versions) In my game, whenever my ball (circle) hits the corner of a rectangle, (or even another circle), it is ...
1
vote
0answers
14 views

Are custom data types a possible and viable option for variable size efficency? [migrated]

Instead of storing a single boolean into a byte block, why not store 8 booleans in that same block. Example: 01010101 = 8 booleans, 1 3 5 7 = false, 2 4 6 8 = true. Would this work? is there a ...
0
votes
0answers
27 views

Change graphics in-game (without needing to restart)Unity

Hey I am new to scripting and I am not so sure if this is possible to do in Unity. Currently I have it for example; public void AntiAliasing(GameObject Description){ sliderValue = ...
2
votes
1answer
36 views

How to create laser redirection?

Think portal 2, where a laser can go through a cube, and depending on the rotation of that cube, it will redirect it. Examples: Here is my barely functioning code. It works for one cube, I'm able ...
0
votes
0answers
15 views

Can't import org.lwjgl.opengl.Display [on hold]

I have problem , i want to start learn lwjgl i copy the source code here http://thecodinguniverse.com/lwjgl-window/ while i import import org.lwjgl.opengl.Display; import ...
1
vote
1answer
32 views

Threading in Sound

I am developing a game and a question that constantly comes to mind is how my sound system is going to work. I am currently working on the graphics and terrain generation portion of my game and sound ...
0
votes
0answers
42 views

Deferred rendering lights covering different areas moving camera

I am new to both this site and deferred rendering (and very new to graphics in general), so sorry in advance if the question is bad. I am in the middle of the implementation of the Light pass for a ...
-1
votes
0answers
5 views

SDL_Flip identifier not found [on hold]

#include "game.h" #include "character.h" #include "music.h" #include "fog.h" #include "background.h" #include "zombie.h" #include <vector> #include <SDL.h> int main(int argc, char** ...
3
votes
1answer
891 views

How to profile CPU and GPU performance if I have a monster PC?

I'm going to upgrade my PC soon. I'm worried that I will no longer spot performance losses in my game because of the better specs. I can check memory usage easily, but how do I check and debug CPU ...
-1
votes
0answers
14 views

Most suitable game engine to use with 3ds Max [on hold]

Please what is the best game engine to use with 3DS max? My office is about to undergo a project, and 3DS Max is the Modelling suite to be used.
0
votes
1answer
60 views

Can the GUI be used to create game objects?

I want to be able to position 10 various game objects (sprites) within the area of the screen which will be dynamically sized accordingly to the screen size of the device. The area in which I want to ...
1
vote
1answer
17 views

Give alpha to an object OpenGL ES

I am new on OpenGl and what I want to achieve is to give a texture the alpha from 1.0 to 0.0 I have been searching and only found "how to load alpha in images" but I cant find how to apply alpha to ...
0
votes
0answers
31 views

How do I make 3d terrain maps [on hold]

How do I make 3d maps like this: http://i.epvpimg.com/thNdc.jpg ? Most of the map will be made out of the bricks but from time to time I want different brick colors, and from time to time I want to ...
3
votes
1answer
34 views

Parallax effect for layers in Unity2D

I have a simple game scene where i have put a number of images. I combined these images into layers (SortinLayer, to be specific). So now I have 3 layers. I have read a few tutorials, but in them was ...
0
votes
0answers
21 views

Fast 2D Turn Based Combat [on hold]

I'm looking for a turn based combat system in a 2D environment (browser game), but I want it to be fast. So far I like the following ones, but they are still not as good as I want: Disciples 2. ...
0
votes
0answers
15 views

LWJGL exception in JME3-JFX!

Video playback in jMonkeyEngine 3.0 seemed to be in limbo for quite a while until I chanced upon this thread about playing videos by integrating JavaFX 2 into the JME3 framework. This coupled with the ...
1
vote
0answers
25 views

Manual response when 2 shapes made of rectangular volumes collide

I have 2 compound objects made of rectangular blocks. One of them (the one that is moving) has a script that listens to OnTrigger callbacks. What I need is to position the moving compound object on ...
0
votes
1answer
17 views

Change sprite at touch input: “scroll through characters”

if(Input.GetKey("y")){ gameObject.GetComponent<SpriteRenderer>().sprite = Characters[0]; } if(Input.GetKey("u")){ ...
-1
votes
0answers
25 views

How to manage interpolations?

I would like to implement a class to manage interpolations and I don't know how to to it, my goal is to make something like that (at 2:00). For now, I've got a class to make different type of ...
0
votes
0answers
36 views

C++: vector<Foo*> with reserve(), push_back() destroying values [migrated]

The title is a tad confusing. Here is a greatly compressed version of my current predicament: Classes.h: class Foo { int x; Foo(): x(0) { } Foo(int y): x(y) { } }; class B { ...
0
votes
0answers
45 views

How to render multiple objects as a single object for fluid simulation?

I'm trying to do fluid simulation using particles in 2d game. I have larger particles, which interactive each other physically, those particles collide with environment (e.g wall,obstacles) to ...
4
votes
2answers
33 views

Player acceleration formula and using it with authoritative server

I know the theory behind authoritative client-server architecture, it works very well for character movement in a tile-based world: you send messages like "I moved one square to the right", the server ...
0
votes
0answers
46 views

Game loop that works on every smartphone [on hold]

So i am developing a game in Eclipse (Android SDK) and having troubles with perfect game loop. I tried couple of tutorials but with no success. I was wondering is it possible to have perfect game loop ...
0
votes
0answers
16 views

Automated GUI testing for libGDX [on hold]

There is Selenium - a tool, which emulates browser and makes automated UI testing of a web application possible. For a native Android applications - it's Robotium. Does similar tool exist for testing ...
0
votes
0answers
22 views

Box2d for large game? [on hold]

I am considering developing a terraria clone for testing purposes and also as a challenge. The physics engine has always been tough for me to smooth out so I am considering using Box2d. My concern is ...
1
vote
1answer
36 views

How to diagnose the problem when the input assembler and the vertex shader look correrct, but the Output Merger is wrong?

I'm porting some OpenGL code to Direct X 11. I ended up with nothing being drawn on the screen. I reverted to a simple program, which I am writing about here. I'm now trying to use the Graphics ...
0
votes
0answers
15 views

How to evenly add textures to objects in Three.js?

I'm trying to add simple textures to my game in Three.js but I can't figure out how to evenly map textures to differently sized objects. This is how my textures look at the moment: The textures ...
1
vote
0answers
21 views

Clamping quaternion rotation

Currently I have an orbiting camera that fixates on a single point. In the node-based structure, _cameraNode is a child of _cameraTargetNode. I am able to orbit around the target node via the ...
0
votes
0answers
58 views

How do I create a dungeon mapper [on hold]

I'm attempting to write a dungeon mapper based on the random dungeon generation tables in the AD&D DMG starting on pg. 169. What I don't know how to do is, where do I start? Meaning, I don't know ...
0
votes
2answers
36 views

Irregular gravity bouncing

I am working in a simple bouncing ball game. The ball moves right to left at a constant speed and back when it collides with the border of the display. But it jumps every time the the user clicks and ...
0
votes
0answers
13 views

Draw my array at a position defined with Vector2

I'm developing a space invaders game in C# using XNA Game Studio. So I got some of the invader logic complete: An array holds the invaders and draws them on the screen, animated and moving.But I can't ...
0
votes
1answer
54 views

Where do I store project data in Unity?

In Unity the PhysicsManager has project data. It exists across scenes but its data is unique to each project. If it make my own CustomManager, where/how to I store its data so that it's associated ...
0
votes
1answer
41 views

Problem setting up OpenGL dev environment in Ubuntu 14.04

Currently I'm using this tutorial to get started with opengl.So when I try to compile the example program : #include <GLFW/glfw3.h> #include <thread> int main() { glfwInit(); ...
1
vote
1answer
45 views

Triangular Mesh Collision/ Resolution

I've been trying some different approaches for collision detection and now I want to try to implement simple Mesh-Mesh collision detection for triangular meshes. I'm wondering if I'm on the right ...
1
vote
0answers
50 views

What causes sprite tearing / corruption in unity PC stand alone running on Windows XP?

The image below is representative of my client's experience running the released version of an app I created for him on his Windows XP Machine. I built it using Unity 4.5. The messed up buttons ...
-1
votes
0answers
24 views

Framework for rapid creation of 3d network game [on hold]

We are a small team and want to create a 3D racing game with local network support for multiple players. It is kind of a proof of conecpt. We all do have programming skills (but mostly from science ...
0
votes
1answer
54 views

How do I avoid going through objects at high speed? [duplicate]

I am quite the beginner in XNA. I have only recently started using GameComponents. I have a multiplayer game called Better Pong. I move the ball (which is an object) by incrementing the Vector2 (the ...
1
vote
1answer
20 views

Tournament ranking for card game bot fights - how to try new bot against existing ranking?

Let's say we run a tournament for 10 bots playing 1-1 fights in card game with significant randomness influence. To measure bot skills level we run round-robin with 10k matches per each pair. Ranking ...
1
vote
0answers
27 views

How do I fill a shape with a texture in Libgdx?

I am making a 2D racing game. I want to fill the area of the ground object with a texture. I have the shapes of the ground (a Box2D shape). If I make images of the ground with textures, it uses a lot ...

15 30 50 per page