Questions tagged [java]

Java is both a popular object-oriented programming language and runtime environment which allows Java programs to run unchanged on most hardware and software platforms.

Filter by
Sorted by
Tagged with
3
votes
4answers
2k views

How to properly multi thread an RPG

I am working on an RPG type game in Java and I would like to know a few things relating to threading, What is the best way to implement a "wait for this then do this" without hanging the whole thread?...
4
votes
1answer
397 views

Spriting engine on mobile platforms, OpenGLES

I'm writing a basic spriting engine for a blackberry app, and I want to know the best way to draw tons of sprites using the glDrawArrays() command. We have several ...
6
votes
5answers
6k views

Has Java 3D changed much since 2005? [closed]

I'm thinking of picking up the book called "Killer Game Programming" by Andrew Davidson, but its pretty old, now. I know Java, and I've been messing with jMonkeyEngine for a few days, but I'm curious ...
16
votes
8answers
7k views

How do I create tileable solid noise for map generation?

Hey guys, I'm trying to figure out how to generate tileable fractals in code (for game maps, but that's irrelevant) I've been trying to modify the Solid Noise plug-in shipped with GIMP (with my ...
3
votes
2answers
913 views

Mouse-driven Movement

I'm trying to write a game where player picks where they are going by just mouse-clicking on that position and it goes there (just like RuneScape's point-and-click mouse interface). I'm trying to get ...
17
votes
14answers
2k views

Advice for a first year CS major [closed]

I'm coming to the end of my first year of CS which has been primarily a Java based course. I'd like to get my feet wet with some game development but I'm not sure where to start. Some people have ...
3
votes
1answer
1k views

State of art shadowing technique for OpenGL on isometric terrain?

What's the most efficient way of creating shadows for object on a isometric terrain with OpenGL and JOGL? Note that this terrain is not flat and is not heightmap generated. Think it as another model. ...
21
votes
2answers
8k views

How can I define items in my RPG like Java game?

I am casually working on an RPG type game in Java but I am having trouble figuring out how I can have items that can do many different things without creating a different class for every item. As an ...
1
vote
3answers
1k views

What's the best open source physics engine to use with JOGL? [closed]

I have a past with jbullet but the existing jogl compatible sources and demos seems uncompleted. I have managed to implement it to an extent but still looking for a better documented engine with more ...
13
votes
2answers
21k views

How different is Java for JRE vs Java for Android?

I'm new to all this game developing, and I'm starting to learn java because I was told it was a great way to start. I want to later on create games for the android market, and want to get a good view ...
4
votes
1answer
130 views

Where can I obtain the latest stable aggregated builds of JOGL?

I have checked many different sites including jogamp but couldn't manage to find any zipped,rared or jared collection of builds and javadocs.
3
votes
1answer
2k views

Handling game states for Android

Currently developing a game for Android. I went through a tutorial to get sprites, loop, etc. up and running, and it all works fine. The way it is currently set up is that Main creates a canvas, the ...
4
votes
1answer
2k views

Best way to store a word list in Java/Android

I'm building a game where I form words (think Scrabble) and I need to have them validated in real-time, meaning that I need to have some sort of word list loaded where I can check if the word made ...
2
votes
3answers
330 views

What technology(s)would be suitable for the front end part of a Java web game?

As asked in a previous question, I'm looking to create a small MMO that will be deployed onto GAE. I'm confused about what technologies I could use for the user interface, I've considered the ...
6
votes
2answers
2k views

How to loop over a part of an ogg vorbis stream?

I'm successfully streaming ogg vorbis data to openAL with the Java library JOrbis, but now I want to loop over a part of this stream, e.g from 30" to 1'30". I thought that at the end of the loop, I ...
3
votes
1answer
125 views

Need some advice on a java api to use for a 'presentation display board' - based on game 2d/3d tech

As part of the project i am working on I am looking to produce some software that works on a LCD display (think call center info boards) and displays various graphs (the bars grow etc in realtime, so ...
12
votes
5answers
10k views

Is there an XNA-like library for Java? [closed]

I'm curious to know if there is an XNA-like library for Java; that is, a library that Handles the game loop - i.e. you just implement an existing method, and it will get called every frame. Handles ...
4
votes
1answer
2k views

New Vector Calculation for Elastic Collision of Circle and Fixed Rectangle

I am writing a fairly simple breakout-style game for Android phones. I have successfully detected the collisions between the ball(s) and bricks. The problem that I am having is in calculating the new ...
2
votes
2answers
367 views

What's the preferred way to put music in a java applet?

Is there an easy way to put music in a java applet? Preferably streaming so that it doesn't need to be preloaded.
12
votes
5answers
3k views

2D Game dev and Java. Other possibilities than OpenGL? [closed]

I recently started to program some basic OpenGL stuff in Java, but OpenGL and DirectX is too much to handle and to understand for me and I'm getting bored really fast. Now I am wondering if there are ...
8
votes
3answers
4k views

Android differences (Dalvik+Java vs Old School C++)

Developing in Android is going to be different for me, having spent the last 10 years coding games in C++. What's the main differences / pitfalls / bottlenecks to developing for the Android? My big ...
8
votes
6answers
4k views

Which server platform to choose [closed]

I'm going to write a server for an online multiplayer with these requirements: Pretty simple turn based game (think a card game) that is played entirely on the server (security reasons) Must be able ...
9
votes
3answers
3k views

PacMan character AI suggestions for optimal next direction

Firstly, this is AI for PacMan and not the ghosts. I am writing an Android live wallpaper which plays PacMan around your icons. While it supports user suggestions via screen touches, the majority of ...
6
votes
4answers
892 views

Profiling server side game loop in java

I am looking for tips to profile the server side game loop of a Java program for CPU usage. I tried to use the TPTP plugin for Eclipse so far. The problem I am having is that it is really slow. For ...
14
votes
8answers
10k 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 ...
2
votes
2answers
2k views

anyone knows any open skeletal/bones 2d animations framework for java? [closed]

Some examples could be the animations framework used in Aquaria, or in Crimson Legend.
15
votes
4answers
2k views

How can I implement a global high score ladder? [closed]

Are there any existing frameworks I can build on? Should I build my own? How can I prevent fake scores from being posted to it?

1
62 63 64 65
66