Java is both a popular programming language and runtime environment which allows Java programs to run unchanged on most hardware and software platforms.
0
votes
1answer
55 views
Making an efficient collision detection system
I'm very new to game development (just started 3 months ago) and I'm learning through creating a game engine. It's located here. In terms of collision, I know only brute-force detection, in which ...
4
votes
2answers
88 views
Sprite batching in OpenGL
I've got a JAVA based game with an OpenGL rendering front that is drawing a large amount of sprites every frame (during testing it peaked at 700). Now this game is completely unoptimized. There is no ...
0
votes
1answer
79 views
Color based collision detection
I am making a game where you fly a ship around some randomly generated planets. Since I am using a for loop to draw over 5000 planets, using the rectangle class or an oval-type class for this is not ...
0
votes
2answers
66 views
Logic behind a checkers game?
I'm starting to make a checkers game and I've got all my graphics + the board drawn. Before I moved on to creating the pieces I was wondering what an easy way to tackle the logic side of the movement ...
0
votes
0answers
40 views
Platformer Collision Error [closed]
I am currently working on a relatively simple platform game that has an odd bug.You start the game by falling onto the ground (you spawn a few blocks above the ground), but when you land your feet get ...
0
votes
2answers
81 views
How should I generate and store the boundries of a cave?
I am making a small cave copter game (seriously, where did this type of game come from anyway) and I am trying to figure out how to make and store the procedural generated walls. I am thinking about ...
1
vote
4answers
109 views
Knowing state of game in real time
I'm trying to code a tic tac toe game in java and I need help figuring out how to efficiently and without freezing the program check if someone won the game.
I'm only in the design stages now, I ...
1
vote
2answers
97 views
Game Database Connectivity Java
I'm developing a simple multi-player puzzle game in Java. Both players should be able to view the same game board on his own computer. Then, when one player makes an action in the game (ex. drags an ...
7
votes
3answers
371 views
Is there any relation between Game Theory and Game Development?
I'm a Java programmer interested to learn games on Java, recently I looked on a book on Operations Research written by Wayne L.Winston. There is a topic on Game Theory.
It's truly mathematical. I'm ...
1
vote
1answer
48 views
Uniform not being applied to proper mesh
Ok, I got some code, and you select blocks on a grid.
The selection works. I can modify the blocks to be raised when selected and the correct one shows.
I set a color which I use in the shader. ...
-5
votes
1answer
95 views
i am going to start learning to develop games, and have a very importent question [closed]
so i am going to be starting to start learning to develop games soon, and i have already learned the basics of java. before i really go balls out. am i making a bad choice of language? should i stop ...
0
votes
2answers
33 views
Vectors with Circles Physics -java
This is a problem I've been having, When making a set number of filled circles at
random locations on a JPanel and applying a gravity (a negative change in the y),
each of the circles collide. I ...
3
votes
2answers
99 views
How do you set the movement speed of a sprite?
I'm using Slick 2D/Java to play around with graphics. Getting an image to move is easy:
Input input = gc.getInput();
if(input.isKeyDown(sprite.up)){
sprite.y--;
}else if ...
2
votes
4answers
206 views
Can a high FPS negatively affect how a program runs?
Yeah I know this is a broad question and will get down rated, I'm just hoping for some answer before it gets closed.
Anyway, I'm using Slick 2D/Java to play around with graphics. I'm having some ...
-1
votes
1answer
97 views
rotate sprite and shooting bullets from the end of a cannon [closed]
Possible Duplicate:
How to Align Gun with Bullets
Hi all i have a problem in my Andengine code,
I need , when I touch the screen, shoot a bullet from the cannon (in the same direction of ...