All Questions

0
votes
0answers
5 views

Opengl Quad Tessellation Control Shader

I have the generic tessellation evaluation shader for triangles but I need to make it work for quads. Is there any chance someone could explain what is happening here and point me in the right ...
-1
votes
0answers
6 views

SharpDx Null Reference Exception on SpriteBatch.End()

I'm trying to port a blur effect from an XNA project over to SharpDx, and I get a "Null Reference Exception" wich I'm unable to find the reason for. private void blurShadow(RenderTarget2D to, ...
1
vote
2answers
48 views

Quaternion Rotation - Clockwise or Counter-Clockwise?

when we specify a Quaternion as (axis of rotation, rotation amount), in which 'direction' is the rotation, assuming we are looking down the rotation axis (i.e. camera at the origin, looking along the ...
0
votes
0answers
8 views

cross game center client api [on hold]

Is there any package or api for unity so with, we can use "apple game center, google play game services and Facebook's game services" together(achievements, leaderboards and scores)? We want to ...
-1
votes
0answers
30 views

Where can I look for a game modding savvy C++ gameplay programmer? [on hold]

I am looking for a C++ gameplay programmer who in the past modded Quake1/2/3 and derivatives, Doom 3 and derivatives or UT series, to help me with my game project. I tried ModDb job board with a ...
0
votes
0answers
18 views

NHibernate over Mono in Unity, connection string problems

I'm using NHibernate in Unity, and running the project in the debug environment works great, but when running the compiled EXE, I was getting a NullReferenceException when trying to access the ...
0
votes
1answer
14 views

Streamline Facebook and Google Play Game Services integration in Android Game

This has been confusing me a lot . I am creating a simple 2D platformer which I wish to make social. So I thought of letting users do the following: Share their in game objective completion/ their ...
0
votes
0answers
16 views

How can I use a texture as a font in Unity3D

I am making a game in unity and I am trying to make a custom font for showing numbers. I created a png with the numbers, turned it into a material and added it to a custom font object. I set up the ...
0
votes
0answers
10 views

How to control animationClip though scripting or button pressed

I am stuck in my project designing Game Menu in unity. I am using NGUI plugin free version. I created image button and animated in animation view. It made animationclip and added in animator ...
0
votes
0answers
17 views

Normal Mapped Models Render with render target background color acting as transparency and lighting Problem

Originally I noticed some sort of transparency when rendering in Direct3D 11. I noticed it was worse once I changed my background color to something other than black. I also created a simple exporter ...
0
votes
1answer
38 views

Making my character jump [duplicate]

How do I fix my code? At the moment my character goes up for as long as you hold the up key. I want a more jump like effect where the character will drop back down when it reaches a certain height. ...
-1
votes
0answers
21 views

Tile map only rendering 1 layer when it should be 3

I've been working on this for a while and I can not seem to figure it out. I had the fileParser() method in the constructor and it worked fine. Then I was told it's very bad practice to have it in the ...
-1
votes
1answer
21 views

Problem with Corona SDK [on hold]

I will learn game developing with Corona SDK, but when i import a corona project the app does not display well: All projects see equals. Thx
0
votes
0answers
12 views

Blender games on TV platforms [on hold]

I am interested in putting blender games on tv platforms such as OUYA and Amazon Fire Tv. I'm not quite sure how to port blender games to these type of platforms, the only platform I know you can put ...
0
votes
0answers
17 views

Applying inputs on server from client

I've read lot of articles about game networking and finally feel like almost get it. But have a couple of questions. If client sends input to server and then server apply it to simulation, should ...
0
votes
0answers
16 views

some images on grid are not being displayed using random . [on hold]

So I have an image that is going to be presented in a grid in random spots and I have a 2d array that will check if a position in the array is available or not. the problem is that not all images are ...
0
votes
0answers
38 views

Flickering Textures

I have downloaded an FBX and its textures and imported them into my project. The problem I have is that the textures are flickering very much in my current scene whenever I move the mouse. I have ...
1
vote
1answer
20 views

How to improve Batch Rendering to work with 3D skeletal animation data

I've implemented a batch rendering technique that is described in detail here: http://www.gamedev.net/page/resources/_/technical/opengl/opengl-batch-rendering-r3900 I'd like to extend it now to ...
8
votes
1answer
1k views

How do I tell if my enemy can see my player?

Given a player and an enemy with position, and given the direction vector of each, how can I tell if one can "see" the other? In other words, how do I test if one position with direction is in front ...
0
votes
0answers
26 views

How to move 2D camera in OpenGL

I am new in OpenGL, I am making a game in 2D and I want the camera to follow the character. I started with gluLookAt() but I read that I could just move the matrix with glTranslatef() and It should ...
0
votes
2answers
9 views

Setup VertexPositionTexture array for a texture2D at a location

I am trying to adjust the following code to render a quad on a 2D texture at a specific location and specific size. Currently this code will render a fullscreen quad, which makes sense since the ...
0
votes
0answers
9 views

SDL_Mixer .xm file loop not working correctly

I am working on a little game in my spare time using C++ and SDL and I have encountered a problem with a .xm file playback. The music is supposed to have an intro of a couple patterns and then ...
0
votes
0answers
28 views

Dynamically destroy objects when player enters a boxcollider2D

What would be the best approach for destroying dynamically objects when player enters a boxcollider2D? Currently using parent objects with boxcollider2d to activate OnTriggerEnter2D, boxcollider2d is ...
0
votes
0answers
24 views

Change 2D Angle Into Isometric Angle

i Rendered My Sprite With 72 Angles In Isometric View. Rendered Frame Number 0 And Angle 0 Is When My Sprite Looking Right And And I Rendered My Sprite Every 5 Angle. In My 2D Game My Sprite Moving ...
0
votes
0answers
24 views

3D Engine For Multiple Monitors [on hold]

We are trying to create a simple 3D game that should run on about 8 monitors. I can't really tell you many details because we are in a very early state. The game itself won't be too complicated, it's ...
0
votes
0answers
19 views

Multiplayer movimentation and animations [on hold]

I'm planning my first multiplayer game that will be similar to this: http://www.youtube.com/watch?feature=player_embedded&v=N9ii54dYO6w I will make the client in C++/DarkGDK and the server in ...
0
votes
1answer
41 views

Place tile values over 'chunk' boundries

My game has a 'chunk' engine similar to Minecraft's but in 2 dimensions. Each chunk is a square of 32 by 32 tiles. What I want to do is generate a defined shape across multiple chunks without ...
0
votes
0answers
11 views

Predicting circle-circle bounce vector when aiming one at another

I am making a game with libGDX (with box2d) in which you drag and aim one circle body at another then release to fire. I would like to be able to predict the path of the second circle based on the aim ...
-1
votes
0answers
30 views

Name for Energy / Hunger meter [on hold]

I am a year into development of a survival simulation game. The three main meters the user has to care for are Energy, Hydration and Body Temperature. The issue is with Energy and how users in play ...
0
votes
0answers
31 views

Pathfinding in an one-dimensional array? [on hold]

I programmed the A* pathfinding algorithm for a bot in JavaScript. It works but it is not fast/efficient enough. The grid is one-dimensional and contains of 154 zones. For every zone I have a ...
-1
votes
0answers
56 views

Can anyone explain that code? [on hold]

public class Player : MonoBehaviour { public float speed =10f; public Vector2 maxVelocity = new Vector2(3, 5); void Update () { var forceX = 0f; var forceY = 0f; var absVelX = ...
0
votes
0answers
17 views

Use Box2D for collision only?

Is it a good idea to create Box2D bodies in the game and shapes for that bodies for not doing physical simulation but moving them manually with setting velocity or position in each frame and getting ...
0
votes
0answers
12 views

How to separate player's planets (between each others) in a massive multiplayer game?

The game consists in commanding several planets; The universe is made of galaxies; You play in one galaxy at the time and when you level up you go into another galaxy; Each galaxy have around 10 ...
0
votes
0answers
16 views

Can I break the UI MASK hierarchy in unity 4.6?

I'm using unity 4.6. I saw a couple of UI masks tutorials and saw that there's a certain hierarchy I can't seem to break: -Canvas --- Panel (holds the mask component) --------Image I want to move ...
0
votes
1answer
34 views

Need help in tracking down memory leak in Unity standalone game

I'm experiencing a memory leak in my Unity game. If the game sits idly (no new game objects are being created in the scene), Windows Task Manager will show the memory of the .exe slowly rising. I've ...
-1
votes
0answers
60 views

If developers had a talent tree, what skills would it have? [on hold]

We have seen talent trees in almost every game we played. So if we could make a talent tree of our development skills, how should we classify it, by languages, engines, tools? What should every tree ...
1
vote
0answers
22 views

Snapshot data architecture for networked real-time games

I want to create a simple client-server real-time multiplayer game as a project for my networking class. I've read a lot about real-time multiplayer network models and I understand the relationships ...
0
votes
0answers
16 views

Bullet Physics for Collision Detection and Smooth Response

I'm creating a game using LibGDX, and to prevent the need to spend lots of time writing collision detection code I've decided to make use of Bullet Physics, simply for collision detection and not for ...
0
votes
0answers
38 views

slowing down graphics card [on hold]

My friend just got a new laptop and running skyrim she gets 40-50 frames on medium. She loves graphics mods with include hair, higher detailed models, new clothing, ui mods, and fun mods now it looks ...
0
votes
1answer
51 views

Unity, Cannot change a single Vector2 element of mesh.uv?

I have a simple procedurally generated mesh, with uvs that tile correctly for(int i=1; i<vertices; i++) { uv[i] = new Vector2(x,z); //pseudocode } mesh.uv = uv; This works fine. However if ...
0
votes
2answers
45 views

GUI Text counter Skips numbers after a few seconds

The counter counts perfectly up until the first bump. After this it starts to add about 4-5 "points" instead of just 1. using UnityEngine; using System.Collections; public class GameController : ...
0
votes
0answers
38 views

How can I fix my implementation of one way platforms? [on hold]

I'm trying to figure this out for my doodle jump clone on andengine. I found this post http://stackoverflow.com/questions/12267562/one-way-walls-in-andengine which helped me a lot. I've implemented ...
0
votes
1answer
10 views

Andengine onAreaTouched TouchEvent not working - ACTION_OUTSIDE & ACTION_CANCEL

I have a simple problem. I have a button on the screen. I want isActionDown to push the button down, and isActionUp to push the button back up again and make my character jump. But the problem is if I ...
0
votes
0answers
19 views

Simple Python Archery Gamer help [on hold]

I have to create a program in python that makes a target and when the user clickes areas on the target is gives back there score. The bullseye is worth 15 points going to 10,8,6, and 4 points. A total ...
0
votes
0answers
15 views

In Ogre, how to get the depth buffer value?

I am rendering an object to a texture using the following setup code which I copied from Ogre's rendering to texture tutorial: Ogre::RenderTexture *renderTexture = ...
0
votes
0answers
16 views

Formal parameter with _declspec(align(16)) [on hold]

I am currently trying to learn DirectX. So I was using one of the old templates from my teacher where everything is set up. As I am done with the course, I am moving away from these things I renamed ...
1
vote
1answer
33 views

Implementing monte-carlo tree search in a tile based game with units

I have this simple risk-like game I would like to develop an AI for. Players move their Units on the map and a simple fight resolution is done. There is a time constraint of 100ms for each round, the ...
0
votes
1answer
25 views

How to increase the rotation of a quaternion by a percentage of X % in a Unity script?

There is a simple way to increase the rotation described by a quaternion by a percentage X? Sorry, but in the documentation of Unity3D I found nothing and I have a poor knowledge on the topic.
0
votes
0answers
5 views

Problem with the method unproject of the class OrthographicCamera of LibGdx [on hold]

cam is a object of OrthographicCamera v3 is a object of Vector 3 in the next line the play closes in android, in the PC it works good, I don´t which is the problem cam.unproject(v3); Thanks very ...
0
votes
0answers
41 views

Shadows in html5 canvas game

I'd like to ask for reference. I met an article about how to cast shadows in games. I'm using html5 canvas (currently without webgl) with javascript for my projects. The article mentioned above is ...

15 30 50 per page