0
votes
1answer
34 views

Seeking Advice: Collision with JBox2d for Top-Down or Isometric Maps

I Hope I can make this as clear as possible! Currently working on an action RPG game, very early stages, more just the basic ideas down and written in. So i'll start on with my setup: Using Java ...
0
votes
0answers
14 views

2D Tile Movement in Java

I have this tilemap and a player in my game, and I got the player to move by adding the velocity to the position. However, it is very hard to control the player exact this way of the tilemap. So, I ...
0
votes
0answers
6 views

How do I disable default behaviour and enable my own behaviour for moving a sphere in jMonkeyEngine 3?

I'm very new to jMonkeyEngine 3, and I'm trying to make a sphere just move up, down, left and right, depending on which of the arrow keys are pressed. To do that, I created the following code ...
5
votes
1answer
63 views

Can I (safely) assume that people playing my game have a middle mouse button?

The title pretty much says it all. I am currently writing a desktop game, which will probably not be played by the casual gamer. Thus my expectation is that nearly every user will most likely ...
0
votes
0answers
15 views

Unity 4.6 GUI C# - How To Dynamically handle events generated by any gui element

Hello thanks for your time! GOAL: What im trying to achieve is to create my own small event system for new ui 4.6 elements so i can manipulate them by code , in this small test project im trying ...
2
votes
1answer
48 views

Might this alternate circle-circle collision test help performance?

Preface: I’m no gaming pro…I code business apps, but I’m experimenting with game coding this Christmas. :-) I want to detect collisions between 200+ circles of different sizes which are moving at ...
1
vote
1answer
196 views

Bullet 3D Physics Objects Not Rotating?

So I've got Bullet 3D controlling the motion of objects rendered with DirectX. In the clipping below I've got 2 identical rectangles & 5 balls. The lowest rectangle has a mass of 0 and doesn't ...
0
votes
0answers
10 views

Unity game works on iOS cannot start as apk on Android

Im using Unity for my game and I exported it successfully to iOS. Now I exported the apk for Android and tried to install it. Here is the result after the installation: ...
0
votes
0answers
10 views

Impulse resolution with varying time delta

I thought I'd try building a basic 2D physics engine, and I'm currently writing the impulse resolution part of it (yeah, not very far into this). Using quick internet tutorials like this as a guide, ...
0
votes
0answers
17 views

XNA Pixel Collision Detection

I've been working on a platform game and I'm trying to get the player to move diagonally on a tiled surface using pixel detection but for some reason I can't get it to work. here is the code (very ...
0
votes
2answers
36 views

how can I put an array of objects into a script?

I want to create an animation from an object sequence. I already achieved exactly what I needed with the "MeshAnimaton script" from bummzack: using UnityEngine; using System.Collections; /** * ...
0
votes
1answer
13 views

Unity 2D collision detector not working

I'm making a 2D sidescrolling game in Unity where the player shoots at obstacles while running. But nothing I try seems to get the collision detection to work. This is the obstacle script: void ...
0
votes
0answers
19 views

Directx9 engine Z-buffer problem with d3dimage

I am trying to integrate my Direct9 engine into my new WPF application via D3DImage. Everything is working except for the Z buffer. With the AutoDepthStencil at FALSE I can render my meshes but the ...
4
votes
1answer
158 views

Game Programming Gems series still of value? [on hold]

Former Nintendo dev Mark DeLoura wrote a series of books called "Game Programming Gems". (http://www.satori.org/game-programming-gems/) Do these books still contain valuable concepts, considering ...
2
votes
2answers
82 views

Dealing with back to front drawing with alpha blending and z buffer for a list of 2d quads

I'm using depth buffer as a layering system for my 2d render and I have to draw them from back to front to make semi-transparent quads work out. The problem is I have to sort my quads vector based on ...
0
votes
1answer
21 views

differences betwen game resolution in a different display resolution

my game is not supported on the other devices with a different resolutions. for example may character is 140w X 55h pixels which is ok on a 4 inch display but it goes wide when i tested my game on a ...
1
vote
1answer
22 views

How to to convert UV coordinates to texel coordinates and how to convert texel coordinates to “array coordinates”?

I am currently writing a UV texture mapper. But i don't know how to convert UV coordinates to texel coordinates. And i also have no idea how i should convert texel coordinates to "array ...
0
votes
1answer
20 views

How do I make this block go back to the left with another click?

This is the script I've written so far which makes the block move from the left of the screen to the right on a mouse click. What I want to achieve is for the block to move back to the left when I ...
0
votes
3answers
128 views

Solving the “bullet problem”

I have a 3D matrix filled with "empty space" where I put some objects (objects are represented as bunch of occupied space). The bullet is fired from coordinates (x1,y1,z1) at angles ...
1
vote
1answer
33 views

How to calculate reflection vector from point sprite sphere?

So far I achieved building a cube map following this tutorial. Then I drew three points using glDrawArrays(GL_POINTS,0,3) and calculate the normals based on a sphere. To compute the incoming light ...
0
votes
0answers
5 views

How to set up lights in Libqglviewer?

I decided to use Libqglviewer and the simple camera example to have a basic camera setup and play with fragment shading. I have not much experience in OpenGL but I have made my way through it. I have ...
0
votes
0answers
22 views

Developing Moddable game - Unity C# or Java LWJGL? [on hold]

So I'm about to start a new project (and no, this is not my first project) and I was wondering which of these would work better? I am not sure if it is possible to make a moddable game by Unity. I ...
2
votes
1answer
112 views

Unity access Label in GUI?

There is a quick and dirty appreoch to creating text boxes: void OnGUI(){ GUILayout.Label("Text 1"); } It works well. But, since the Label method returns void, how do I access this later on? ...
0
votes
1answer
16 views

My Collider2D checkerscript not working [on hold]

So today I started working on my little android game but I ran into a problem whit my moving script. Whenever I jump I will be able to jump more than once.I have attached the script to the player and ...
0
votes
1answer
30 views

Milkshape3D Animation on Windows 7 64-bit

when I run Milkshape 3D on my 64-bit Windows 7 machine, certain joints expand when I try to rotate them. For example, my model's leg has hip, knee, foot and toe joints. So to do a walking animation I ...
0
votes
1answer
14 views

Framerate on AIR for Android - Actionscript 3

I am currently working on making Android apps using AIR for Android. This is a sample file and package that I am running to test the FPS and Memory usage of my application while it is not even doing ...
-1
votes
0answers
21 views

Slick2d - Why is my init() method running twice?

In the init() method, I have called the method loadMap() from the "world" object. But it seems to be called twice. I do not want loadMap() to be called twice. I have no idea why is this happening. ...
3
votes
2answers
65 views

In XNA 4, how can I access SpriteBatch's transformMatrix in my shader?

I would like to use a custom effect with a regular XNA SpriteBatch. I have a 2D camera which computes a transform matrix, so I need my shader to take this into account. I have put a world matrix ...
1
vote
1answer
35 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 ...
0
votes
1answer
31 views

NLua - How to implement Roblox like function security?

Roblox uses Normal Identities, basicly they assign a lua block/object to a certain number. They use 2 for Scripts and LocalScripts, which can only use non-secured functions, while the command bar can ...
2
votes
0answers
161 views

How do I do 2D z-index parallax in Unity3d?

I am new to unity3d and want to develop a simple game like crazy cabie. I have to implement a z-index parallax for moving sprites towards the player and generating new sprite at the farthest z-index. ...
0
votes
2answers
83 views

Implicit Functions and extracting an isosurface

I recently discovered a paper on Dual Marching Cubes which produces a much reduced poly count to other methods like Dual Contouring and Marching Cubes, however a recurring theme when reading these ...
0
votes
1answer
91 views

Client side latency when using prediction

I've implemented Client-Side prediction into my game, where when input is received by the client, it first sends it to the server and then acts upon it just as the server will, to reduce the ...
-3
votes
0answers
22 views

Display game object one after the another [on hold]

I have two gameobject.I want to display one gameobject after another, after a specific time.How can do this I tried out with this code private bool showLabel = false; private bool showLabe2 = false; ...
0
votes
0answers
17 views

Generating Triangles and Convex Hulls from concave polygons with holes [on hold]

I'm looking for something like polypartition https://code.google.com/p/polypartition/ that I can chuck a 2d polygon at and get back a set of convex hulls, for physics, and a set of triangles for ...
0
votes
0answers
19 views

How can I stop getting errors about my font not being loaded in Java? [on hold]

I have a little problem with my game made in entire Java, using no external libraries, except twitter4j. I have a custom font that I have put into the game, and will be using for the game graphics, ...
0
votes
1answer
2k views

Android Bitmap: Collision Detecting

I am writing an Android game right now and I would need some help in the collision of the Pawns on screen. I figured I could run a for loop on the Player class with all Pawn objects on the screen ...
0
votes
0answers
24 views

libgdx or JMonkeyEngine which one is the best to start? [on hold]

I want a game engine which is totally written in java. I have two options, LibGDX supports only 2d where as JMonkeyEngine adds support to 3d. I want to know which one is the best comparing those two?
0
votes
0answers
50 views

Help slope tile collision platformer (XNA/C#) 2D

I have been creating a platform game in C# and XNA, everything works pretty well least the slope (down left and right). This is the project that I have so far. PlatformGameEngine.rar When the ...
5
votes
1answer
3k views

Implementing a skybox with GLSL version 330

I am trying to get a skybox working with OpenGL 3.3 and GLSL version 330. I could not find a completely modern OGL skybox tutorial anywhere on the web, so I modernised an older one (using ...
0
votes
2answers
26 views

libgdx texture edge blending problem

I have two completely white bitmaps here: They're there, trust me. When I put one on top of the other and scale them down with TextureFilter.Linear I get this: How do I get rid of the dark ...
1
vote
0answers
35 views

Why does XNA create two GraphicsDeviceManager services?

While working with XNA today, I looked at the debugger information for Game.Services to retrieve the GraphicsDeviceManager so that a component could utilize it. Instead, I found two different objects: ...
0
votes
1answer
19 views

Out of screen position to inner screen position

I don't know how I could solve this. I'm trying to accomplish this: So if a object is out of my screen I would like to calculate the position it would be inside of the screen. Searched already but ...
0
votes
1answer
48 views

I want to buy a 3d model of a city. The included format is 3ds max. Can I explore this city [on hold]

... like a virtual reality environment using a vr hmd? And can I use the model in ue4 instead of 3ds max? I would assume No to this but I can't afford 3ds max.
2
votes
2answers
504 views

Odd Android touch event problem (Nexus 10)

Overview When testing my game I came across a bizarre problem with my touch controls. Note this isn't related to multi-touch as I completely removed my ACTION_POINTER_UP and ACTION_POINTER_DOWN ...
3
votes
1answer
182 views

Using textureGrad for anisotropic integration approximation

I'm trying to develop a real time rendering method using real time acquired envmap (cubemap) for lightning. This implies that my envmap can change as often as every frame and I therefore cannot use ...
0
votes
0answers
21 views

Jumping Cube, should I use box2d or just speed and acceleration? [on hold]

I'm completely new to the game development world. I come from the web and mobile (iOS) development, but I want to start making games! I chose LibGDX, it's free, seems to be good and multiplatform. ...
8
votes
1answer
211 views

Creating a glitch effect similar to Watch Dogs

I'm currently working on a LibGDX game. When a user does something wrong, I would like all the graphics on the screen to jitter very similar to the glitch/distort effect seen in the game Watch Dogs ...
0
votes
0answers
27 views

Draw image layer in tmx map - libgdx

I created a map only with an image layer in tiled map editor. When I want to load the map the layer isn't shown. Only the background color. Followed the tutorial from ...
2
votes
1answer
47 views

Jumping higher when the player touches a trigger collider in Unity

Im using Unity engine to create a 2D platformer. My character can single/double jump, this works fine everywhere except when i am in range of a collider with a IsTrigger set to TRUE, then my character ...

15 30 50 per page