-1
votes
0answers
6 views

SDL - Annoying error checking [on hold]

Alright, hello guys so i am trying to make my first C++ game using SDL, and i ran into the problem, so please take a look in the following source code it is not big it has like 4 files, for someone ...
2
votes
1answer
42 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
vote
1answer
25 views

How can I change the rendering backend on Windows in Monogame?

I'm using MonoGame with Visual Studio 2013 Express. I'd like to switch from a SharpDX backend to OpenGL and OpenAL. How do I achieve that?
0
votes
1answer
25 views

Handle Entities & Collision in large numbers [on hold]

I am creating a simple 2D maze game and I am a little confused about entities & collision detection. At the moment, my entity class is an abstract class containing position, velocity, sprite and ...
0
votes
1answer
60 views

How can I smoothly move from tile to tile?

I've looked at other games with tile based movement. I am aiming to create a game like pokemon, where the player moves smoothly to the next tile. I am using KeyAdapter, in my KeyInput class. This ...
1
vote
1answer
553 views

Start an animation exported from 3ds Max in UDK

I made a shape in 3ds Max with one bone and I gave it an animation. I exported it and imported to UDK. When I shoot to that shape, I want my animation to start playing. How can I do this?
0
votes
0answers
6 views

LibGDX, Screens , Animation [on hold]

I want to know is there a way to make beautiful animation between two screens , for example 1st screen will start fading animation and under that second screen well be displayed ?
9
votes
3answers
211 views
+50

How to snap player movement to the surface of a 3D object using Unity?

I'm trying to create an effect similar to that of Mario Galaxy or Geometry Wars 3 where as the player walks around the "planet" gravity seems to adjust and they don't fall off the edge of the object ...
-2
votes
0answers
9 views

DirectX9 seems to call EventRegister(), unsupported on windows XP? [on hold]

I'm no n00b to Directx9, but suddenly it seems like running an application developed using Visual Studio 13 and directx9 will NOT run on XP. Why? Because EventRegister() is not supported. Fine... I ...
2
votes
1answer
207 views

How do I use unpackHalf2x16?

I'm trying to use (un)packHalf2x16, without success so far. I'm drawing with: glVertexAttribIPointer(0, 2, GL_UNSIGNED_INT, 0, 0); glEnableVertexAttribArray(0); glBindBuffer(GL_ARRAY_BUFFER, vbo); ...
1
vote
1answer
82 views

How can I load raw Bayer images using OpenGL?

I want to load a raw Bayer format image and convert it to RGB using OpenGL. So far I have played around with glTexImage2D() and loaded a Bayer image as a monochrome texture. My question is: how can I ...
0
votes
1answer
21 views

Memory strategy for multilayer, tilebased maps

I am currently developing a 2d mmorpg and am having some memory issues with regards to my tile based map. The client takes a little while to load and then sits around 1GB ram, because I am loading ...
0
votes
1answer
40 views

Restricting character movement to “rails”

I'm building a Pacman clone in Unity 3D and am now thinking about how to restrict the movement of the player to the hallways that the map is made up of. Basically, the player is only allowed to ...
2
votes
2answers
71 views

box2d rendering performance degrading extremely even with sleeping bodies?

I'm working on my first smartphone game, a simple 2D platformer built with libgdx. Game maps use the Tiled level format, so a map is just a bunch of blocks. I recently started using box2d to implement ...
0
votes
0answers
26 views

Stuck with which approach to take (architecture) [on hold]

I am currently in the process of building a 3d game engine in c++ however I have kind of slowed down development because I am unsure of the architecture that I want to use, more specifically the ...
1
vote
1answer
90 views

At what scale do I need to make tools? [on hold]

In making a game, if I'm writing my own engine, at what sort of scale of team should I invest time in making a level editor tool? If it's just me on my own will it be worth it? Or when there's a team ...
0
votes
0answers
12 views

How can I optimize my XONIX game flood-fill algorithm? [on hold]

I am implementing a XONIX game, using FLOOD FILL algorithm, but I want to optimize it to improve performance. How can I do that? (I am willing to use a completely different algorithm, if possible) ...
0
votes
1answer
31 views

Is it possible to create sqlite database only for android in LIBGDX game? [on hold]

I want to know if I can just implement sqlite database for android in libgdx game? Also if this is not possible then may I know the simple way to integrate libgdx game to just store scores in sqlite ...
8
votes
2answers
154 views
+50

How would a game-state snapshot system be implemented 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
1answer
93 views

Unity3D : Prefab Instancing Issue

I am using latest unity engine and I am having a scripting issue. I create a prefab , added a few scripts to it and I am trying to instantiate a few of those objects like this : GameObject ...
0
votes
0answers
31 views

Deterministic random noise generator from multiple 64-bit inputs? [migrated]

I am trying to create a pseudo-random number generator in C# that produces the same output, given the same set of inputs. It needs to be fast, accept 64 bit numbers and, particularly important allow ...
0
votes
1answer
15 views

Making dialog “clips” in libGDX or in general?

I'm new to libGDX (I just released my first game), and I've started thinking about things I'd like to do next time. One thing I really want to do is, have those story type movies, where you tap the ...
0
votes
2answers
30 views

How to setup glOrtho and Viewport [duplicate]

When setting up a window I set 6 variables in my render class int windowWidth; // the width of the window int windowHeight; //the height of the window int dimL; // the coordinate of ...
0
votes
0answers
25 views

Pygame: Right Datastructure for 2D Games [on hold]

Development-Community, i started to program with pygame and stuck at the question what's a right datastructure for 2D games like Diablo/Warcraft (of course with inferior graphics). My main Problem is ...
-1
votes
4answers
1k views

2D game development with C++ [on hold]

I'm pretty newbie in this things and I've never really had particular experience in game developing. I started learning something about 3D (using 3Ds Max and then Blender) and then 3D game developing ...
-4
votes
0answers
29 views

Find someone who is familiar with games [on hold]

I am a game developer. All the games are intended for western mobile gamers, now I have met many problems. I don't know how to do the promotion, could you give me some advices? Or somebody who is ...
1
vote
1answer
171 views

Cocos2d/Cocos2d-x Attaching an arrow (sprite) to another body sprite (person)

I am trying to set up a simple bow and arrow game. When the arrow hits the enemy body, the arrow's body is deleted and the arrow sprite continues to update, keeping the position correct in relation to ...
10
votes
2answers
10k views

when to use vertex array and when to use vbo

i'm trying to learn about vertex array and vertex buffer object, but i don't understand the differences in term of: case-of-use (static geomerty like terrains, geometry that change every frame like ...
1
vote
0answers
21 views

Circular movement of player in unity [on hold]

I've got a shark as player object which I am trying to control using a script, wherein when I press a key, the shark moves in the desired direction along with the animation. The script works fine ...
0
votes
1answer
347 views

Unity-Animation parameters are not being set

I have the following animation controller: with two parameters of walkingSpeed and Jump. I have the following code which should change the values: animator.SetFloat("walkingSpeed",0.9f); ...
1
vote
3answers
70 views

Is this a viable architecture for lag compensation?

In some games/engines (such as Source), the server compensates for latency by applying player inputs in the past. Whenever the server receives a player's input for a frame, it rewinds the game to the ...
0
votes
2answers
36 views

Add dialogues to a visual novel in HaxeFlixel

I'm planning on developing a visual novel in Haxe Flixel, I wanted to know if there is a easier way to add the dialogues than to hardcode them in every square. I don't know if I can import a txt file ...
0
votes
2answers
37 views

Make a function in Haxe read the content in a text file and then do something with it

How can I make a function in HaxeFlixel for Flash that reads a line in a txt file, prints it/copy it's content to a variable, and then goes to the next line? My objective is to make the dialogues on ...
1
vote
1answer
136 views

Get a GID listing?

I have about 16 tiles in my spritesheet that I'm using for Tiled, and I'm trying to build a GID map so I can properly convert them in my game. I'm using the JSON format for my map, if that helps. ...
0
votes
1answer
128 views

Mobile: Physics and movement actions

I've been using spritekit for a while for a few small games. One thing I've noticed is that spritekit is the first game framework I've used that allows me to apply move actions to physics bodies. ...
0
votes
1answer
508 views

How do I add a Rigid body and a box collider component to a Texture2D?

I am making a snake game. I'm basing it on a basic tutorial game, which does no collision detection, wall checking or different levels. All snake head, piece, food, even the background is made of ...
0
votes
0answers
24 views

Scaling character sprite based on angle of camera in 2d scene [on hold]

I have a complex 2d scene that has been drawn roughly as if the camera is tilted at 60 degrees. I want to scale my character sprite in the scene as the character goes into the distance (i.e up the y ...
0
votes
2answers
82 views

Creating Entities from Identifiers (C#)

I am writing a game in C#/XNA. Often, it's useful to have a function like this in a game engine: Entity CreateEntity(string id, Vector3 location) { ... } So that, for instance, you ...
0
votes
1answer
31 views

UDK: Toggle Material on Brushes?

I'm attempting to change / toggle the material that's applied to a BSP brush. I've seen where it's possible on static meshes, but I can't seem to get it to work on brushes. Below is an example ...
1
vote
1answer
24 views

Checking whether moving object has reached target position

So I have a fast-moving object in my game, let's say a bullet. At each iteration of the main loop I update the object's position based on the delta time value dt and draw it at the new position. I ...
0
votes
0answers
108 views

Box2D shape/fixture position vs. body position

I load my rectangular shapes from a simple Tiled level into libGDX and want to create a physics world out of it via Box2D and attach sprite assets for rendering. I get the tiled object layer and ...
0
votes
2answers
51 views

Collision detection enhancement

I am developping a spaceinvader-like game. There comes the problem of how to handle collision detection. At first I was doing like that : forEach(fireBall : fireBalls) { forEach(stormTrooper : ...
-1
votes
0answers
12 views

php page inside other page-ogame like [on hold]

Im writing browser mmo game in php and I want to do structure similar to Ogame. There is menu with buildings, laboratories etc, and when you click on link only content in the middle is changing. I ...
0
votes
0answers
6 views

Issues displaying images behind an inactive scrollpane [on hold]

The background texture is only displayed when the scrollpane is scrolling, then it fades out to black. The text that is drawn displays fine in all cases. I don't know why this is, or how to fix it. ...
0
votes
0answers
15 views

NullPointer calling scrollpane draw from a libgdx application [on hold]

Solved: Using Stage to display rather than calling the ScrollPane draw method. I get this error when opening the GameScreen and calling the render method. Exception in thread "LWJGL Application" ...
4
votes
2answers
141 views

Isometric graphics with fake perspective

Diablo 2 is a game with isometric graphics. However, unlike other isometric games, D2 has the option to activate perspective. Obviously, the D2 developers found a clever trick to convincingly fake ...
-1
votes
0answers
52 views

A* Search produces infinite loop [on hold]

I am having some problems with my A* Search Algorithm. I am new to pathfinding so if I'm doing something really weird please notify me :) Here is the piece of code supposed to generate the path: ...
0
votes
1answer
52 views

Sprite sheets, Clamp or Wrap?

I'm using a combination of sprite sheets for well, sprites and individual textures for infinite tiling. For the tiling textures I'm obviously using Wrap to draw the entire surface in one call but up ...
0
votes
1answer
17 views

How to reference UnityEditor in external DLL when using UnityVS, successfully?

So I'm trying to put my scripts and custom inspector editor scripts in two external DLLs and I'm facing a problem on my Editor DLL. First of, I'm using UnityVS with Visual Studio 2013 Ultimate. I ...
0
votes
1answer
83 views

3D model editor manipulators

I'm trying to make my own 3D model editor to better learn 3D programming. I have my translate manipulators and I'm trying to calculate the Vector2 that the mouse would have to move in order to move an ...

15 30 50 per page