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
0answers
9 views
Socket.getRemoteSocketAddress() not returning private IP address of client [migrated]
I have a client server program where the client is running on a pc with two ip address (public ip address visible via internet and private ip address). My server is running on a different network. ...
1
vote
1answer
30 views
AndEngine player, background and camera
I'm developing a 2D shooter using AndEngine. At the moment I'm trying to make the camera follow the player. As I've understood the common approach is to use the SmoothCamera zooming it and setting the ...
1
vote
1answer
23 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?
0
votes
1answer
125 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
103 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 ...
1
vote
1answer
98 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
79 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
47 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 ...
1
vote
2answers
93 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
153 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 ...
2
votes
2answers
107 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 ...
8
votes
3answers
405 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
55 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
96 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
44 views
Circle physics and collision using vectors
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 want ...