All Questions

0
votes
0answers
3 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
8 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
17 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
13 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 ...
3
votes
1answer
412 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
10 views

Camera 2d in OpenlGl

I am new in OpenlGL, 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 gl.glTranslatef(); and It ...
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
6 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
21 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
20 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
19 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
18 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
31 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
26 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
26 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
46 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
14 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
8 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
13 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
24 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
55 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
16 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
15 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
36 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
42 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
36 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
37 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
7 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
18 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
14 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
14 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
31 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
23 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
36 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 ...
0
votes
1answer
32 views

I am trying to implement a falling animation to my game and i am having alot of problems doing so

i am trying to have it so that when my character isnt touching anything he plays an animation of falling, yet when he moves from one game object to different one, he plays the animation. for example ...
0
votes
1answer
32 views

Stat Multipliers: from Base Value or Iterative

I'm aware similar questions have been asked before but this time I'm asking about a specific issue with the maths of stat modifiers. I have a stat system that applies a list of modifiers to a stat, ...
0
votes
1answer
30 views

Change one prefab without changing all prefabs

I have this code that will spawn in a lot of prefabs. It then edits the prefabs. The problem is that every time it changes a prefab it will reset and move all the other ones. Can you please explain ...
0
votes
0answers
11 views

Android LibGdx Assets Sizes/Newbie Questions [on hold]

I'm trying to get started with a game idea for Android. I've got everything planned out, yet I don't know where to begin. I know what the player, and enemies will look like, as well as the ...
-1
votes
1answer
14 views

Sprite position on Android

I have created android game wherein hero and villains run in circular path. Screen already have three circles drawn and now I want to move my hero(sprite) along with that circle. I have used cos and ...
-1
votes
0answers
16 views

How set window position?

How set window position? Monogame version: https://www.nuget.org/packages/MonoGame.Binaries/3.2.2-alpha This dont work because OpenTKGameWindow is internal: ...
0
votes
0answers
51 views

2D pixel art gets “jittery” as camera moves

I'm working on a game that makes use of low-res 2D pixel art. The textures are filtered with nearest neighbor filtering, and sprites are created with 1:1 size ratio of the textures (eg. 16x16 sprite ...
0
votes
1answer
11 views

NodeJS setTimeOut - How to run callback before delay time exceeded

I'm developing a card game server. I want to do this : While server process a turn for players, players have 20 seconds to do something. If players send a request to server within 20 secs, timer will ...
0
votes
0answers
9 views

Leaderboard in game, android, LibGDX [on hold]

I am developing android game using LibGDX engine (java) , I want to put leaderboard (top scores) in it . I can't find any tutorial that explains how to do it using Google play services , any ...
0
votes
0answers
19 views

What do I need to implement in order to make my engine based on Ogre3D [on hold]

I want to make an open source realtime 3D engine using Ogre3D. I don't talk about the game system such as fightings, gameplay, maps... B/c It will be the scripting part. I'm taking about the engine ...
0
votes
0answers
21 views

How to make speech recognition for a game? [on hold]

Is there anyway to make speech recognition in a game and/or just normal speech recognition where the program remembers what the user says, puts it a JavaScript variable, and responds?
1
vote
0answers
31 views

How to turn off antialiasing in Graphics class?

I have been using the following code with a Graphics2D buffered image g.setRenderingHint(RenderingHints.KEY_INTERPOLATION,RenderingHints.VALUE_INTERPOLATION_NEAREST_NEIGHBOR); to ensure the image ...
0
votes
0answers
12 views

How to receive LAN serverlist in unrealscript

We are currently creating a multiplayer game. We can setup a server and connect to it. However we have to use console command: "open #ip#" for it. We would like to be abble to request a list of all ...
0
votes
0answers
4 views

GdxRuntimeException uiskin.atlas

I have problem when trying to use the uiskin.atlas from github/libgdx. I've downloaded(cloned) it from libgdx.git but it just doesnt work. I get the following error: ...

15 30 50 per page