All Questions

0
votes
0answers
6 views

Bullet Physics, btRigidBody Problems [on hold]

I am learning game development and I have problems when I was developing my character, I am using btRigidBody to my character. I created a jump, move (using impulses) and duck actions for my ...
0
votes
0answers
18 views

How to get rid of half pixel artifacts?

I've been having a bit of trouble using OpenGL to make 2D games. I am using a traditional ortho perspective with just some sprites being rendered and moved around. It all works perfectly but there is ...
1
vote
1answer
521 views

What should I use for the event name when logging metrics with Flurry?

I'm working on a multiplayer game and I want to use Flurry to record game events. In the game you can build, grow and train troops. In Flurry you can log an event (optionally with parameters). It ...
3
votes
3answers
166 views

Why are leaderboards often seperated between platforms?

I noticed that many games (if not most or all) are employing different leaderboards for different platforms. For example, different leaderboard for iOS and Android. Different leaderboard for Xbox and ...
0
votes
1answer
396 views

How do I determine the look-at vector of a free-look camera?

I'm trying to create a free-look camera with DirectX 10. I've figured out how to get the directions for forward and back and left to right. However, I don't know how to rotate the look-at vector of ...
0
votes
1answer
76 views

Component-Entity Systems Code Generation [on hold]

I'm really enjoying component entity approach (I'm currently using ASH haxe, but particular language/framework doesn't really matter). However the problem is - there're way too many elementary ...
0
votes
0answers
8 views

How to make an object in box2d have constant velocity even after collision?

I have iOS game where I have a bouncing character. Everything is being handled by box2d. The problem is when the character hits a wall of another character it's velocity changes, but I don't want ...
0
votes
0answers
11 views

Processing.js for loop not executing all the way

I'm trying to add elements to an ArrayList (in Processing.js, basically a javascript array) in a for loop. BEcause of the many objects I need to add, the for loop is not incrementing all the way ...
0
votes
1answer
29 views

How to load and render PhysX 3.3 heightfield

I'm trying to load a PhysX 3.3 heightmap and render it with OpenGL using glm and glfw, but so far it doesn't seem to be working. I'm basing my code on the PhysX samples, and am also using FreeImage to ...
0
votes
1answer
77 views

Decentralized Matchmaking in Unity?

I'm making a card-playing game, similar to Magic Workstation. I've been looking into several options for networking. I have a working LAN version with the build in Unity networking, as well as Photon ...
5
votes
4answers
2k views

Is there a sound library for C to generate sound samples from code? [closed]

I'm working on an engine for a retro-style game in C. I'm looking for a sound library that would produce chip sounds from code...I want to make my own simple chiptune tracker for the engine to create ...
3
votes
2answers
101 views

Why is Euler integration sometimes preferred over RK4 even if RK4 is more accurate? [on hold]

Some high quality engines such as Box2d uses the Simplistic Euler integrator instead for RK4 when Eumplectic Euler commits a global error of the order of Δt whereas, RK4 has Δtˆ4 error? RK4 is not ...
0
votes
3answers
78 views

Dynamic Crafting Systems [on hold]

I have been toying with the idea of having a game that is based purely around crafting. That on its own is not much of a big deal. The way the crafting would work is the problem. The idea I have is ...
0
votes
1answer
18 views

Using RPC's for movement of an object across a network [on hold]

I've been building upon http://www.gamasutra.com/blogs/DarrelCusey/20130221/187128/Unity_Networking_Sample_Using_One_NetworkView.php At the moment when I spawn a sphere on the server it spawns on the ...
0
votes
1answer
714 views

How to attach a sprite to a TMXTiledMap at a particular coordinate, in AndEngine?

I am trying to add a sprite at a "grid" location on the tiled map. The TMX tiled Map is like a grid, and you can access the size of the grid by calling mTMXtiledMap.getTileRows() and ...
0
votes
1answer
53 views

OpenGL Question about scaling 3D Object

I got some scaled cubes (1, 2.5, 1) in a 3D Space with a grounded floor with position (0, 0, 0) and scale (100, 0, 100) like in the picture. But why are the cubes scaled out from the center. I want to ...
0
votes
1answer
47 views

Spawning a Sphere and trying to move it [on hold]

I've been trying to build upon a blog post on Gamasutra http://www.gamasutra.com/blogs/DarrelCusey/20130221/187128/Unity_Networking_Sample_Using_One_NetworkView.php In this I would like to spawn a ...
0
votes
1answer
36 views

Slick2d - state change problem

In my slick-based game, I have 4 states - introState, gameState, pauseState and menuState. From the gameState, I want player to go to either menuState or pauseState. To do that, I did this in ...
0
votes
1answer
24 views

How does browserquest handle tiles above players

How does browserquest handle tiles above an player? For example: When the player stands in front of the tree. the player will be displayed on top of the tree. When the player stands next to the ...
1
vote
1answer
35 views

Custom 3D Noise function incorrectly generating in Lua

I have been working on a custom noise generator (not Perlin on Simplex or whatever), which works fine in two dimensional space, but upon converting it into three dimensional space, it turns into a ...
0
votes
1answer
46 views

Batching and object's transformation

I'm trying to implement batching in my game (Sprite batching and 3D Mesh batching), I've read a lot of documentation about that but I don't understand something: When each object have is own ...
4
votes
4answers
4k views

Detecting collision between ball (circle) and brick(rectangle)?

Ok so this is for a small uni project. My lecturer provided me with a framework for a simple brickbreaker game. I am currently trying to overcome to problem of detecting a collision between the two ...
1
vote
1answer
41 views

how much memory does Adreno 320 GPU provide? [on hold]

I wanted to know how much memory does Adreno 320 GPU provide ? I am using Nexus 4. I Googled about it and not able to find any details about it. Can anyone provide the details?
-1
votes
0answers
11 views

Libgdx- Translate animation is not work [on hold]

In the libgdx how to scale animation.. this code has been not work. ScaleAnimation scal=new ScaleAnimation(0, 1f, 0, 1f, Animation.RELATIVE_TO_SELF, ...
5
votes
0answers
135 views

Why does accessing a uniform float make my shader more than twice as slow?

My fragment shader was significantly slowed down by a recent change, and I've been trying to understand why. I isolated the main slow-down to accessing a single particular uniform float. If I include ...
1
vote
1answer
38 views

Get quaternion between two objects on sphere

In a planetary gravity environment objects are represented in the following way: struct object { struct quaternion quat; // quaternion to represent the rotation between the object and the center ...
0
votes
2answers
58 views

(Graphic giltch) pixels between triangles

As you might be able to see in the following image, a "graphic glitch" occurs between triangles. I know you are able to make this less visible by enabling anti-aliasing but i was wondering if there is ...
1
vote
2answers
2k views

Create a body of an irregular 2D sprite in Farseer

I'm trying to create a body of a irregular 2D sprite Farseer 3.3.1. The regular shapes that BodyFactory provides are not that I want. Is there a way that one can create irregular objects? Could it be ...
-1
votes
0answers
13 views
-1
votes
2answers
46 views

Why does Corona SDK not build a .apk file?

I'm trying to put a game I created in Corona SDK on my Galaxy S5. I go to the Corona Simulator, click Build for Android.. Then I fill out the information, and then I hit build. The problem is, it's ...
2
votes
2answers
50 views

Corona SDK, display.contentWidth and height does not get the expected values

I'm drawing a simple rectangle to fill the entire screen. local bg=display.newRect(0,0,display.contentWidth,display.contentHeight) Instead of drawing a full screen rectangle, all i get is this: ...
0
votes
0answers
25 views

Automated test a mobile game [on hold]

Im a newbie in Game industry. I have no idea which tool even how to test a game automatically. Any suggestion? Please give some tips. Thanks
-2
votes
1answer
318 views

Identify mouse click unity3d [closed]

I have a 3 fbx models. When i click on the first object it should displays its name of the gameobject in a label and clear the label when click on another object. How to display the name of the ...
0
votes
1answer
118 views

Exporting spritesheet for Cocos2d

I would like to know how people usually save the animations in order to load them easily in Cocos2d with as few hard-code as possible. E.G. The solution I thought of is to have one plist file ...
1
vote
0answers
10 views

Drag and drop in Flare3d

Now iam working on drag and drop prototype in flare3d.I have a f3d object and have different boxes to place the parts of the f3d objects . when i drag the parts of f3d object towards the boxes,if ...
2
votes
1answer
557 views

How to correctly set window size in Libgdx scene2d.ui dialog

In my libGDX application I am using the scene2d.ui classes to render my game's GUI. One of the things I render via these classes is a dialog window with a background image set. I have created the ...
0
votes
0answers
14 views

mouse-controlled third person camera

I have a simple camera that always stays a set distance behind and above the player. Mouse-on-screen coordinates are used to do Pitch and Yaw, and the keyboard is used to roll. I get how to position ...
1
vote
2answers
79 views

How to find the points of intersection of two OBBs

In my game I need to be able to find the points of intersection between two OBBs. I'm using Separate Axis Theorem to check if there's an intersection and get the penetration vector if there is one. ...
0
votes
1answer
227 views

How to follow object on CatmullRomSplines at constant speed (e.g. train and train carriage)?

I have a CatmullRomSpline, and using the very good example at https://github.com/libgdx/libgdx/wiki/Path-interface-%26-Splines I have my object moving at an even pace over the spline. Using a simple ...
0
votes
1answer
21 views

Box2D recommended step, velocity and position iterations

Here in this article there is a nice explanation that velocity iterations and position iterations settings affect the way bodies will react when they collide, and step affects on speed and how gravity ...
0
votes
0answers
13 views

What are the different Xamarin Technologies? What do they do? [on hold]

Can anyone please help me in knowing the list of all the Xamarin technologies related and for game development in Android and iOS platforms: libraries, game engines, API, SDK, etc. I am new to Xamarin ...
0
votes
1answer
86 views

Collision detection doesn't register until player sprite jumps

I have implemented a shooting mechanic into my game, and the act of shooting works fine. The shooting work is done in my "game1" class. The issue that arises is when I incorporate collision detection ...
1
vote
2answers
68 views

How can I pass a std::vector<Vector3f> to my shader?

I have a Vector3f type which has x, y, and z properties. I have a std::vector of these vertices which describe my terrain. I would like to pass these values to a vertex shader through a uniform ...
0
votes
2answers
78 views

How to make sprites from multiple images using SDL2

Using SDL2 in C++ I can load textures with out problem however, I have sprites that are from about 15 different png's that I was hoping I could load them all up and for loop through them. However, ...
0
votes
1answer
40 views

How to make an object that has no rigidbody2d component smoothly fall on the ground in Unty2d?

I have two character in my game: enemy and main character. Enemy can throw different objects into the main character. For this moment i am doing this action in such way: void FixedUpdate(){ if ...
0
votes
0answers
46 views

Unity How to stop a jump?

transform.Translate(Vector3(horizontal * speed * Time.deltaTime, vertical * speed * Time.deltaTime ,0)); Im new to unity and Im asking how to stop a jumping, cause if I turn on this script on char ...
1
vote
1answer
586 views

importing animations in Blender, weird rotations/locations

This is for the Blender 2.6 API. There are two problems: 1. When I import a single animation frame from my animation file to Blender, all bones look fine. But when I import multiple (all of the ...
0
votes
0answers
29 views

Cards game - Save and reload state

I have developed a card game in c#. When the user left the application, I serialize into a XML file the state of the current game (current playing player, cards of each players, scores...). But, I ...
0
votes
0answers
44 views

Maze game 2D - simple solution [on hold]

I want create simple game for Android using Java in my app where user using his finger moves his hero from top to bottom of the screen, and have to avoid enemies moving from left to right randomly. ...
2
votes
2answers
63 views

How to convert non-discreate data for discreate pathfinding?

I have a list of entities that looks like [{x,y,width,height}, {x,y,width,height}, ...]. This list is non-discreate, It doesn't follow a grid. entities can be positioned at floats like x:2.345 Most ...

15 30 50 per page