Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (581)
Games in Android Showcase (162)
games submitted by our members
Games in WIP (632)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1] 2 3 ... 30
1  Discussions / Miscellaneous Topics / Re: What are your habits while you're programming? on: 2015-05-14 08:31:15
2  Java Game APIs & Engines / Java 2D / Re: Mirroring Isometric image on: 2015-05-14 07:59:25
A negative width on g.drawImage might work.

3  Game Development / Game Mechanics / Re: Using delta time messes up movement on: 2015-05-06 08:44:53
What @Springrbua is describing is a simple time accumulator.

In code it could look like this (javascript):

module.exports = function(rate) {
   var accum = 0;
   return function(time, callback) {
      accum += time;
      while (accum >= rate) {
         accum -= rate;


Might also want to check out this:
4  Discussions / Miscellaneous Topics / Re: What do you define as a programming language? on: 2015-05-01 18:24:30
<a href=";hl=en_US&amp;start=" target="_blank">;hl=en_US&amp;start=</a>
5  Game Development / Newbie & Debugging Questions / Re: Getting errors in CMD on: 2015-05-01 18:21:22
do you have the "public static void main(String[] args) {};" method in the class you're trying to run?
6  Games Center / Showcase / Re: You can't fight here, this is the War Room! on: 2015-04-30 14:40:15
The debug version didn't output anything but I ran the exe as admin and it ran fine.

As for the game, well, can't go wrong with some Dr Strangelove.

IMHO you should stick with HTML5 for simple/quick LD games - makes deployment much much easier and brings the audience within reach of a single click.
7  Game Development / Networking & Multiplayer / Re: Smartphone external IP problem on: 2015-04-30 14:16:12
I don’t want be rude.
But it not ethical, is this so hard write: “Ok” or “Thanks” or at least anything “I read it”
Or click “no one care” medal button.

This is so frustrating when you wasting time on some one and hi even can’t say that hi read answer on own question.

Nothing personal: I don't say all this if that was first time, or second, or third …^^

P.s That why I so rarely answer someone - many of them don't care answer XD

pp.s And yes many ppl here doing the same, but its wrong really)
Its destroy forum and mood to do something. People let be ethical and tolerant - please!!!

No reply doesn't mean they didn't read it. Also, I think that omitting the one-word "thanks" posts is better,
That why forum have "Appreciate" button  Pointing

If no one give you needed answer,
or you don't need it any more
or find self solution say THAT )

I would hope that most people don't need the confidence boost of someone saying "thanks" after their post,
IMHO: If you can't even say thanks to someone why other must help you?

IMHO 2: I understand that all useless, but at least I try.


Not everyone has time to read the forums every day. Or even care or notice the medal awarding system.  Plus you come off as a needy imaginary point hustler - it's only been a day.

More importantly, however, I don't see any particularly "medal" worthy (indulging their superficial merit for the moment) content other than a sign of interest to the OT.

p.s gratitude != respect

my 2cents
8  Games Center / WIP games, tools & toy projects / Re: Tower Defense prototype on: 2015-04-30 09:00:15
I had 1.8u40 - there's really no need to build for the latest version is there? Anyhow, worked fine, looks cool!
9  Games Center / WIP games, tools & toy projects / Re: Tower Defense prototype on: 2015-04-30 08:34:05
Ahh, this takes me back!
Click to Play

Anyhow, the app crashes for me, giving me this

JVM Architecture: 64bit

>>>>>>>>>>>>The game will now start.<<<<<<<<<<<<<<
Shader log:

Inserted click event!
Inserted click event!

and this

10  Discussions / Miscellaneous Topics / Re: TheDungeonLooter (LiveStream Coding) (Offline!!!!) on: 2015-04-30 08:12:08 Might be a more suitable platform.
11  Game Development / Newbie & Debugging Questions / Re: Getting started with game programming on: 2015-04-29 00:37:50
Watch this:

It's not java but it doesn't matter - the principles are the same.
12  Game Development / Newbie & Debugging Questions / Re: Drawing voxel pixels? on: 2015-04-28 01:09:36
For what it's worth, I just draw rays through the 3d array - as soon as I hit a block, I drew it. With this being orthographic projection only these rays were essentially along the depth axis and then stepping down one block at a time.



ala wolfenstyle raycasting?
13  Java Game APIs & Engines / OpenGL Development / Re: GLSL: packing two floats into one on: 2015-04-27 02:04:13 ?
14  Discussions / Miscellaneous Topics / Re: Random Image Generator on: 2015-04-26 23:31:46
32^(100x100) is a bit more than just "a lot". Given that there are an estimated only 10^80 something particles in the observable universe.
15  Game Development / Newbie & Debugging Questions / Re: [SOLVED] Game (Executable .jar) won't Load Files on: 2015-04-26 21:39:40

import java.nio.*;
import java.nio.file.*;
import java.nio.charset.*;

import javax.swing.*;

class Main extends JTextArea {
  String text = "";

  public Main() {

  public void run() throws IOException {
    Path path = FileSystems.getDefault().getPath("res", "list.txt");
    BufferedReader br = Files.newBufferedReader(path, StandardCharsets.UTF_8);

    String str;
    while (true) {
      str = br.readLine();
      if (str == null)

  private void print(String str) {
    text += str + "\n";

  public static void main(String[] args) {
    Main m = new Main();
    JFrame frame = new JFrame();

    try {;
    } catch (Exception e) {


solved  ! Grin Grin Grin Grin Grin
Click to Play
16  Game Development / Newbie & Debugging Questions / Re: Game (Executable .jar) won't Load Files on: 2015-04-26 18:37:23
17  Game Development / Game Mechanics / Re: Using delta time messes up movement on: 2015-04-26 07:59:17
Or better yet use a fixed step game loop. A variable step loop is more often than not a mistake.
18  Discussions / General Discussions / Re: Check network state in libGDX on: 2015-04-26 07:45:47
19  Game Development / Newbie & Debugging Questions / Re: Unknown Source when loading Image from JAR on: 2015-04-26 07:27:18
20  Game Development / Newbie & Debugging Questions / Re: Drawing voxel pixels? on: 2015-04-23 03:26:55
Voxels are more or less an idea of how to think about the things we display on screen - not necessarily the method of implementation.

Have a look at these:
21  Games Center / WIP games, tools & toy projects / Re: 2D Terrarian engine on: 2015-04-17 13:00:39
Cool. You might be interested in
22  Game Development / Newbie & Debugging Questions / Re: How to detec Collisions in open world games? on: 2015-03-29 16:11:56
23  Discussions / Miscellaneous Topics / Re: Python Load Balancing. on: 2015-03-29 10:40:29
Oh, but it is. And so is the ritual of trout slapping.
24  Game Development / Newbie & Debugging Questions / Re: Game loop not accurate. How can I make a better one ? on: 2015-03-29 10:29:45
You can take a look at what LWJGL uses:
25  Discussions / Miscellaneous Topics / Re: Python Load Balancing. on: 2015-03-29 10:05:19
Then tell your friend his or her question is utterly meaningless, in not only one but multiple levels, and implicates general, deeper misconceptions about networking. The most on-point answer anyone can give to a question such as this is "... What?"

If your friend is trying to compare the two programming languages, Java and Python, in terms of networking suitability by posing such a question then his misconceptions overflow outside of simple networking but into general computer science and even possibly magnets (and how the f**k do they work?) - in which case the correct answer is to slap him or her in the face with a trout.
26  Game Development / Networking & Multiplayer / Re: Solved Kryonet How to update sprite animation in client/server on: 2015-03-28 13:56:37
You should try and identify the core state of your objects. Have it live in a single place, i.e., minimizing the state.

Ideally, for instance, to render the scene you should be able to pass only a single blob of state to the renderer to render the whole scene. This way you'll only have to pass blobs of state around instead of trying to haphazardly synchronize data between multiple clients.
27  Game Development / Newbie & Debugging Questions / Re: Best Practise - Quad Trees on: 2015-03-28 11:47:57
There isn't really a best practices kind of thing for this. It depends on what you need. Generally you'd either check neighboring cells or have the objects that fit inside two or more cells pushed up to a top level cell.

Skimmed through the first links on google:
28  Discussions / Miscellaneous Topics / Re: Python Load Balancing. on: 2015-03-27 23:21:29
The question you've posed is flawed, as is the conclusion you've reached regarding Java Servlets. The replies clearly reflect this. What are you really trying to do?
29  Discussions / Miscellaneous Topics / Re: Crash - Corrupt File, Months of Work Lost on: 2015-03-21 04:55:10
Even as single developer, version control is invaluable.
- for tracking down bugs
- for developing features in separate branches
- for freezing published software and applying fixes independent of the ongoing work
- for just throwing away recent work that has gone into the wrong direction
- for looking up older implementations
- for freezing milestones

Yeah I can see that. but that implies a lot of skill, knowledge and experience with a version control system. I had so many conflicts and many times destroyed the whole repository that I just got burned too much to trust such a system. I do backup old versions of my code as zip files with time stamps. I wouldnt use branches because while someone skilled sees them as incredible useful, I only see them as adding a lot of risk.

So basically: If you are really good with those systems, I would agree.

1. "Implies a lot of skill" - No. The basics are simple as shit and already infinitely imporoves your workflow.
2. "Those systems" - No, we're not talking about 10 year old centralized SVN tomfoolery here.
3. "I had so many conflicts and many times destroyed the whole repository that I just got burned too much to trust such a system." - Tea, Rocket launchers and barbie dolls makes as much sense as what you just said.

Nobody cares what anyone uses personally - but please don't spread misinformation based on almost a decade old prejudiced experiences.

Throwing around tarballs was viable and even preferred well over half a decade ago but times have changed. And for the better, too. Sweet silky smooth baby jesus they have.
30  Game Development / Game Mechanics / Re: Push objects when walking into them on: 2015-03-20 06:00:53
My real goal is too find the appropriate ways of doing things. The cleanest ways.

This almost never happens. Approximately 0% per cent of the time. At least not on the first, second or even eleventh attempt. And when you finally do get it just right - someone has already done it better. This will mostly always be 100% of the time.

At best you are doing premature optimization - which is very bad:

At worst you'll never get anything done.

On the other hand reinventing the wheel for your own amusement has its own merits but only with the expectation that you'll probably do a piss poor job at it.
Pages: [1] 2 3 ... 30
MrMapcom (16 views)
2015-05-23 20:26:16

MrMapcom (22 views)
2015-05-23 20:23:34

Waterwolf (29 views)
2015-05-20 15:01:45

chrislo27 (36 views)
2015-05-20 03:42:21

BurntPizza (71 views)
2015-05-10 15:53:18

FrozenShade (56 views)
2015-05-07 09:11:21

TheLopais (219 views)
2015-05-06 13:36:48

TheLopais (202 views)
2015-05-06 13:35:14

TheLopais (207 views)
2015-05-06 13:33:39

TheLopais (228 views)
2015-05-06 13:32:48
List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!