0
votes
0answers
8 views

Recommended approach for event system in Java

What are the recommended approaches for an event system of a turn-based RPG's battle engine? The system I'm currently working on has a runEvent method that sorts the actions queue based on their ...
-1
votes
0answers
56 views

What language should I use, and how should I go about this? [on hold]

After a few weeks of trying to decide what my personal game project will be, I finally came up with one. I'm a pretty decent programmer, but I don't know if I am coming at this the right way. I plan ...
0
votes
1answer
98 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 ...
0
votes
1answer
85 views

The sprite will not move in libGDX

When I ran the android application, The sprite image will not move when I press the input keys. I followed a tutorial based on input keys and wish to know what's wrong. Can anyone see what's wrong? ...
1
vote
1answer
76 views

Structure gameobjects and call events

I'm working on a 2D tile based game in which the player interacts with other game objects (chests, AI, Doors, Houses etc...). The entire map will be stored in a file which I can read. When loading the ...
0
votes
0answers
53 views

Rendering bug in java

I'm using a simple rendering method in java to render tiles. Everything looks fine, but I notice that some rows grow 1 pixel when I move, and dhen shrink back, but I have no idea why. Infos: I'm ...
0
votes
1answer
126 views

Grid collision - finding the location of an entity in each box

I am trying to implement grid-based collision in a 2d game with moving circles. The canvas is 400x400 pixels. Below you can see the code for my Grid class. What I want it to do is check inside which ...
0
votes
3answers
80 views

Getting entity type object [closed]

I have a custom entity class and what it does is create a SQUARE object. public class Entity { Rectangle rect; public Entity() { this.rect = new Rectangle(20,20); rect.relocate(200,200); ...
0
votes
0answers
47 views

Space invaders 2d array to represent scene [duplicate]

For code optimization purposes, I want to create a 2d array that contains 40 equal squares (10x10px). Each square represents 1\40 of the displayed window (400x400px). I populate the 2d array with the ...
1
vote
1answer
386 views

Using Unity 3D in LibGDX

Is it possible to use Unity 3D engine with LibGDX when making Android game apps? Is it also possibly used for making 2D games using Unity 3D and LibGDX? I would like to know if it's possibly ...
3
votes
1answer
684 views

How to program dynamic touch events that scale according to device?

When using openGL to build a UI for my prototype I find that that I am still required to use pixels to capture touch events. To make matters worse the Android Docs make this subject slightly ...
2
votes
1answer
867 views

How to scale openGL textures by a ratio based on height/width (or alternative)

I have been able to successfully allow my UI to extend over edges of my game on higher resolutions by using the Android Guide and by implementing this code on the GL10 object: ...
1
vote
2answers
497 views

How would I detect if two 2D arrays of any shape collided?

Say there's two or more moveable objects of any shape in 2D plane, each object has its own 2D boolean array to act as a bounds box which can range from 10 to 100 pixels, the program then reads each ...
1
vote
2answers
240 views

Endless terrain in jMonkey using TerrainGrid fails to render

I have started to learn game development using jMonkey engine. I am able to create single tile of terrain using TerrainQuad but as the next step I'm stuck at making it infinite. I have gone through ...
2
votes
1answer
197 views

How to implement a multi-platform Java 2D game engine's graphics?

I'm not sure whether this question should be posted here. I'm trying to make a basic generic game engine in Java. Here's what I have so far. public abstract class Device { public abstract void ...
-4
votes
1answer
167 views

I need help generating terrain for a 2D circle [closed]

How would you go about generating terrain for a circle. To be specific i am using a 5x5 .PNG as the thing or object that will fill the circle. At the moment i am having problems making the terrain ...
2
votes
3answers
1k views

What are the benefits of using a 2D game engine on Android?

I have thought about just coding a 2D game on Android using just pure Java and the Android SDK, no engines like libdgx, cocoa-2dx attached. I don't know if I really need to use a game engine or not. ...
0
votes
2answers
309 views

What java library/framework for a game with baldurs gate like grapics? [closed]

I really would like to create my own small rpg. It could probably look as simple like baldurs gate. So without fancy 3D stuff. As language I want to use java (or scala, I thinking about it - the good ...
1
vote
1answer
129 views

Help with Collision Resolution?

I'm trying to learn about physics by trying to make a simplified GTA 2 clone. My only problem is collision resolution. Everything else works great. I have a rigid body class and from there cars and ...
1
vote
2answers
565 views

How do I add AndEngine documentation in Eclipse?

I am very new to AndEngine. I have just downloaded the full documentation file, but I can't attach it to Eclipse. How can I do that?
-4
votes
1answer
108 views

Questions about an Engine Java [closed]

so I am going to start developing Java games (3D) but I have a few questions. So I dont know if I should use an engine or make my own. I feel like I am "cheating" if I use an engine to make my game. ...
1
vote
1answer
199 views

Game Engine Collision Handler

I'm making a collision handler for a Java game engine. I made an interface called Collidable. I have a method called onCollision which takes the parameter of my Engine Game Object. public void ...
-6
votes
1answer
524 views

Choosing the right game engine [closed]

1 down vote favorite I'm trying to create a game in java inspired by a Gameboy Color Zelda game. I'm exprienced in java but not in game programming. I've been doing a lot of research on game engines, ...
3
votes
5answers
3k views

How do i choose what technology to use for a 2D game like Pokemon? [closed]

I apologize in advance for the wall of text about to come. I've had an idea for a game for a while now, and am stuck at step 1 of game development: Choosing a language/engine. I've read a whole ...
0
votes
1answer
859 views

Managing Game States

I'm thinking about making a StateManager for my game. I want to know how to design it; that is, how to use a stack to push and pop states onto, and draw them to the screen. For example, should each ...
2
votes
2answers
2k views

Java: How to Make a Player Class in a Tile-Based RPG

So I've been following a JavaHub tutorial that basically uses a pixel engine similar to MiniCraft. I've attempted to make a Player Class as such, and I'm basically making a mock Pokemon game for ...
40
votes
8answers
28k views

Is Java viable for serious game development? [closed]

Ever since I was a little kid, my dream has been to develop games. Well, now that I am older, more mature, and have some programming experience, I would like to start. However, I would like to turn ...
2
votes
2answers
3k views

Java game engine for android and desktop [closed]

I want implement 2d game as desktop application. And after development move it to android platform. Engine should be have input and network managers. Help me choose.
2
votes
1answer
1k views

How to setup JBox2D

I resently downloaded the JBox2D but how do I set this up?.. Its jbox2d-2.1.2.2 All I can see is a bunch of code and folders. Any websites with step by step tutorial?? You know how??
-4
votes
1answer
929 views

should i use java or c#? [closed]

i know a similar question has been asked before but, my question is somewhat different. I have been learning C# for a few years but nothing in game making, more like applications and web like ...
1
vote
2answers
875 views

Isometric game data structure and rendering

I'm starting development of a 2d isometric(tiled, roguelike) game and i'm brainstorming wich kind of data structure i would use to store runtime data like tiles and entities, but i don't want to use ...
11
votes
2answers
5k views

how should i develop my android game efficiently?

I have attached a image of a flow chart that i made in paint. The image shows how i want to develop my game. I want a game that runs great with smart coding that is easy to update and ad features ...
1
vote
2answers
552 views

Android pong clone, having trouble getting the paddle to stop at the screen edge

Well, I'm obviously very new to game dev and android. I've got a ball bouncing around (successfully detecting screen edge collision so that the bitmap stays within screen) and a paddle that the user ...
1
vote
1answer
2k views

Andengine Traffic game: moving sprites along path on map

I'm developing simple traffic educational game like https://market.android.com/details?id=cz.allianz.krizovatky.android . When the player taps on car sprite, it started to move with other cars. If ...
10
votes
3answers
356 views

Should scripts interact with an abstraction of the engine?

I'm using Java and Jython, and after some research I discovered giving scripts direct access to the engine interface could be a mistake, as it would tightly couple the two. It looks like most ...
1
vote
1answer
501 views

Network Abstraction for a Java Game Messaging System

I'm currently working on an online java game. Currently building the messaging system between the client/server and I came across a big if. I am not experienced as a game programmer, only worked with ...
8
votes
8answers
2k views

Best resources to learn Game Development from a Java background? [closed]

I'm an enterprise Java programmer, however something I've been interested in and what got me into the whole programming thing was the idea of being able to create a game. Just wondering if anybody ...
6
votes
2answers
839 views

Are there any game engines in C# or Java that are cross-platform and support multitouch input? [closed]

I'm looking for game engines (particularly 2D) that can run/create games for Windows, Mac, and Linux, and support multitouch inputs and gestures. I'm able to find many that meet the first two ...
13
votes
9answers
8k views

C# (Mono)/Java 3D Game Engine recommendation [closed]

can you recommend a good C# game engine for cross platform (Win/Mac/Linux, I don't care about consoles) development? I've got some experience with raw OpenGL and I played around with Java bindings ...