0
votes
0answers
4 views

Infinite Jumper Snow Effect

I wish to achieve a snowing effect on my game. The game is made in LibGDX and im using ParticleEmitter. I created a snow effect in ParticleEditor which consists in a line which spawns snow flakes. The ...
0
votes
0answers
10 views

Word game - board implementation?

I'm working on a boggle type game for android, using libgdx. The user is presented with a 4x4 grid of letters and must find words by dragging their finger over the letters. Unlike boggle I want used ...
0
votes
0answers
3 views

[LibGdx]Moving a fixture on a body

Okay, I'm working with Box2D and I have a basic platform and a box bounces off of it. // Static Platform bdef.position.set(160 / PPM, 120 / PPM); bdef.type = BodyType.StaticBody; Body b = ...
0
votes
1answer
14 views

Tower Defense AI Path

I'm writing a tower defense game and I have most of the core parts done, except for having my enemy AI's follow a specific path. The path is not hard coded in. It should be generated from a tiled map. ...
0
votes
0answers
5 views

Gdx.graphics.getDeltaTime(); Returns 0

I am coding a game in Java using Eclipse and Libgdx. I am trying to make an object move until it reaches a certain random point. I am relying on delta time to make the objects speed the same on ...
0
votes
2answers
14 views

Check which object was activated first

How do I check which object was activated before the other? Let's say that there's door to open. To open the door you need to press firstly the second button and then the first button...but not the ...
0
votes
1answer
12 views

OpenGL strange rendering problem when buffers have different sizes

I have encountered a very odd error in my program, "odd" in the sense that everything the API says suggests that the error should not occur. I have a bunch of 2D un-indexed vertex data, and I want to ...
0
votes
0answers
44 views

Architecture of a simple game [on hold]

I am creating a simple 2D game in Android. When I started, I originally had all of the variables specific to each session of the game (score, level, etc.) as static variables inside of my game loop ...
-1
votes
0answers
14 views

Java external libraries [on hold]

Hello this is a pretty straight forward question but if you made a game (and sold it to people) using OpenGL or some other external libraries would you have to pay the people who made the external ...
0
votes
0answers
10 views

GameLogic Model as Property or Constants with lookup in other Models?

Basically imagine a game where the Player has a Weapon which has a BulletType/type of Bullet. Now Player, Weapon and Bullet are Models having properties and they would represent Instances in the ...
0
votes
0answers
6 views

LibGDX - Accelerometer Problems

I got some issues. I'm using LibGDX. When I hit an object, my Fighter is supposed to fall to the Ground. BUT, because of the Accelerometer, i can still move it up and down eventhough it died. The ...
0
votes
2answers
36 views

Clipping text in algorithm

I'm looking for an algorithm that can clip a text ( GUI Mesh text ) when it's length is over 20 characters. The problem is I have one background image(textured plane) (orthographic), where I want to ...
1
vote
0answers
18 views

Alpha Blending & HDR: How can I make my existing blending work with Linear Color?

I'm using semi-transparent particles with alpha blending set to One / InverseSourceAlpha. I'm rendering the "incorrect" way, in gamma space, with no srgb or anything. This looks great. Now I changed ...
0
votes
0answers
8 views

Android Eclipse Andengine [on hold]

Im trying to add a Game Engine on my project and that's AngEngine GLES2.0. My concern is that do adding/installing of it on my eclipse can damage my existing project? Also on my library there is an ...
0
votes
1answer
22 views

How to run multiple Lua scripts within the same lua state without conflict

I've been working with Lua for sometime and there is a problem that I could never solve it. First, I'm using a single lua state to have a connection between my scripts so they could transfer data via ...
1
vote
0answers
23 views

OpenGL seems to be getting its colour from the wrong array on some machines

I have a OpenSceneGraph application which displays a 2D mesh and allows the user to make selections on triangles and vertices and colour them. If you aren't familiar with OpenSceneGraph, it's basiclly ...
0
votes
1answer
66 views

How to prevent a circular dependency between an entity and its state?

I've read this question, and I think it has some good answers and discussion, but it appears to focus primarily on rendering. I have a different problem in the management of a game entity's state. ...
1
vote
0answers
22 views

Determine wheter an octree node needs to be continue

For collision detection (moving vs. non-moving) in my current project, I decided to implement an octree approach after the preselection. The only collision detection I'm currently using is a ...
1
vote
1answer
48 views

Using A*Pathfinding on terrain created by scripts?

I'm looking to use A* Path-finding as a method of navigating my game terrain. Trouble is, my terrain is built upon play using a script and A* grid does not detect this, therefore marking all nodes as ...
0
votes
0answers
24 views

How can I create a 2D camera with zoom and parallax scrolling that works on every Windows Phone resolution?

Mario game that uses parallax scrolling: http://www.youtube.com/watch?v=de5f3mvRyIY I want to create a Windows Phone jump-and-run game with parallax scrolling. The parallax scrolling should be like ...
2
votes
1answer
24 views

SpriteKit - How to jump to specific position?

I'm would like to achieve something like Object A will jump to position A in parabolic way. For example: I am able to make the object jump but i do not know how to calculate to make the object jump ...
0
votes
0answers
44 views

terrain not properly rendering

I'm extending the terrain quad with resources from various tutorials and have the following code: public class WorldTerrain extends TerrainQuad { public static final String NAME = "terrain"; ...
1
vote
0answers
28 views

Yet another libGDX resolution independance question

I am developping a Android smartphone game in LibGDX, and I am encountering issues about resolution managing. Most notably, I have no clue how to handle that in LibGDX. For now, I am developping ...
1
vote
0answers
50 views

UI rich Strategy/RPG UI - 2D Game Engine or UI Toolkit?

I'm on the fence regarding the graphics engine of my current game and hope for some advice. This is an UI heavy strategy/rpg. Although the game is played on a (simple) 2D map, it is largely turn ...
1
vote
1answer
72 views

why am I being unable to access public array of a class inside other class? [on hold]

I know this question has been asked before but my case is different(or i could not gather any kind of help from those) I am facing "NullReferenceException: Object reference not set to an instance of ...
0
votes
0answers
13 views

What are the steps that should be in mind when Modelling and exporting a Vehicle for Game [on hold]

I am new in 3D Game Development, I would like to know the steps that are included when modelling and exporting a Vehicle for Game In Details about all. I prefer 3Ds Max for Modelling the Vehicle ...
0
votes
0answers
29 views

Ray-Triangle Intersection Detection using Barycentric Coordinates

I am attempting to convert the algorithm from http://www.cbloom.com/3d/techdocs/fast_ray_tri.txt to java code, but my solution does not function correctly. The only intentional change I made was for ...
1
vote
1answer
43 views

How was/is playback of music handled on consoles such as the NES, Master System, Gameboy, etc?

So, I deliberately left out the SNES because AFAIK the music subsystem is basically entirely self-contained. However, on systems like the NES and Gameboy, while there are sound chips, there isn't any ...
0
votes
1answer
24 views

UE4: Apply texture on landscape based on angle

I am creating a material for my landscape. I know that one could for example use the landscapes heightmap as a mask to apply textures at certain heights, but I want to apply textures at certain ...
1
vote
1answer
39 views

Problem with Sprite not jumping off of platform (using rectangles for collision Detection)

When my sprite is on top of the platform, he stays on top of it, thanks to the rectangles I made for him and the ground he stands on. but when I click "jump" he does not jump most of the time. I need ...
0
votes
0answers
58 views

Designing a combat system in Unity [on hold]

I am working on a 3D RPG game using Unity and one of my next task is to design and implement a simple combat system. The combat system has multiple modes and allow the player character to attack the ...
2
votes
2answers
94 views

Implementing Mouse Lasso

I am toying around with a Boogaloopers clone (http://www.youtube.com/watch?v=zuaRi_fhdlQ). I have a small problem with the lassoing. Here's my current naive algorithm. The problem with this is that ...
1
vote
1answer
51 views

What is the appropriate way to implement wobble/balance mechanics in Unity 3D?

We are trying to implement a minigame where the player character sits on a bouncing ball, and needs to a) hit forward to move forward and b) hit left/right to adjust against the the ball's natural ...
0
votes
2answers
33 views

XNA graphics.PreferredBackBufferWidth's new value doesn't immediately change window size

I set the width and height of the window in my game constructor, and then pass the graphics manager to a class to check the value. In the game's initialize function, it doesn't seem to recognize the ...
2
votes
1answer
63 views

How to run physics simulation in the background for possible future outcomes?

I'm designing a physics-heavy game in 3d. The core mechanic of this game is that the user gets to choose his actions based on probable future outcomes. For example - the player has a choice whether ...
0
votes
0answers
33 views

Which OpenGL Version shall I target? [on hold]

Okay, I've learned OGL 1 for some days now. glBegin() etc I've now realized that this stuff is absolutely deprecated and 'everyone' says "use OpenGL 3.0 and higher / you have to unlearn the most of ...
-2
votes
0answers
53 views

NODE.JS vs Windows Service [on hold]

I'm preparing a Game Design Document for a multiplayer online game and my friend and me are arguing about what is the best between a Node.JS server and a server running as a windows service (or any ...
-2
votes
2answers
77 views

AI shooting through walls [on hold]

I made a AI shooting script for my new game but the problem is that the AI ignores the walls and shoots through walls. This is my ai script : #pragma strict public var rocketPrefab : Transform; ...
0
votes
0answers
21 views

Libgdx - exception on mac [on hold]

i'm working on a game for about a month now.. it works perfectly on desktop and on android, but on the mac i'm getting an error and have no idea what to do from there.. the application starts with the ...
0
votes
1answer
79 views

GPL Game Engine - What needs to be released under GPL?

I'm hoping I can clarify this issue. Note, a similar question has been asked here, but it doesn't really give a specific enough answer that I can comprehend at this point! :- How does one escape the ...
5
votes
3answers
1k views

how to make blocks like “redstone” working in a minecraft-like game when the block is very far-away from your character

I'm working on a 2D minecraft-like game, I use chunks to save my world and each chunk has 128*128 blocks in it. And infinite chunks can create an infinite world. Memory should never be infinite and ...
1
vote
0answers
15 views

Vertical alignment of a padded font generated by Hiero in libgdx

I've generated bitmap fonts for libgdx using Hiero. I've got several distance field fonts that require a lot of padding, unfortunately they don't seem to align correctly. Below is a font with a ...
1
vote
1answer
58 views

Android Game Slows Down

I had been developing a Maze Game which is dragging a bitmap down on the maze going on the finish line. on first my game response quickly on my onTouch and dragging and after couples of adding toast ...
0
votes
1answer
39 views

Looking for a full featured C/C++ UV Mesh Unwrapper [on hold]

My first question! Is there an open source C++/C piece of code easy to integrate to solve the UV Unwrapping of arbitrary meshes out there ? I would like to use it to build a light mapper or similar ...
0
votes
2answers
56 views

Still award achievements/badges on failing level?

I've got a simulation game where the player works through a series of missions/levels. The player also earns in-level badges as he works through. But, if the player fails a mission (and has to ...
-1
votes
0answers
44 views

Android Game Development [on hold]

I am new to android and I want to know which is the best way of developing 2d games for android? Is the best way using Canvas, ImageViews etc . Or is it better to use game engines like libGDX ...
0
votes
0answers
19 views

Sprite are generated in a random manner. so i have problem to detect generated ccSprite

Sprite are generated in a random manner. so i have problem to detect which generated ccSprite and how to getTag() from each sprite?? this is my code:- for(int i=1;i<=2;i++) { int ...
1
vote
1answer
36 views

FBO result not drawing to screen

I recently added framebuffer rendering to my game and rendering to the FBO works (verified with glGetTexImage), but when I go to render a quad to show the result nothing is drawn to the screen. I'm ...
0
votes
1answer
41 views

Resources for designing (not programming) 2D platformer mechanics [on hold]

I've been making a 2D platformer in Unity and it's been going great. I have the fundamentals down (and as an experienced programmer, I know how to get the results I want; this is not a programming ...
0
votes
1answer
50 views

Fullscreen triangle SV_POSITION and deferred shading

So I'm trying deferred shading in DirectX11. I am using the following method (used in the FXAA shader and described here: http://www.altdev.co/2011/08/08/interesting-vertex-shader-trick/) to render ...

15 30 50 per page