Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (563)
Games in Android Showcase (151)
games submitted by our members
Games in WIP (604)
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 ... 9
1  Game Development / Newbie & Debugging Questions / Re: OSX 10.10 seems to have broken my games on: 2015-03-26 19:34:34
A lack of crash reports is rather ambiguous as a statistic  Pointing  Kiss

Absence of evidence is not evidence of absence.
2  Discussions / Miscellaneous Topics / Re: Good language for prototyping on: 2015-03-01 22:36:22
Scala and Slick2d is a match made in heaven for really quick development, I find.
3  Discussions / Miscellaneous Topics / Re: I published a game.... on: 2015-03-01 15:20:17
I can't conceive any scenario why it'd be on the front page of the store. Unless it becomes hugely popular it's not likely to end up there - and for your first game I doubt it has the potential for that.
4  Game Development / Newbie & Debugging Questions / Re: How can I make entities render once? on: 2015-02-23 12:18:55
Since stars are entities you could just add them to the entities list and not keep a separate list for them.
5  Discussions / Miscellaneous Topics / Re: Yay, free games! Zero's Game Giveaway on: 2015-02-22 23:30:59
CopyableCougar4 has it right, I vote that you do it in that fashion next time.
6  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Java OpenGL Math Library (JOML) on: 2015-02-22 23:29:18
Thank you so much for this! This makes OpenGL programming so much more convenient Cheesy
7  Java Game APIs & Engines / Engines, Libraries and Tools / Re: TGA Decoder on: 2015-02-22 23:28:34
Great! These things are sorely lacking from Java and interfacing with native libraries is a pain.
8  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-16 21:51:41
I have 1871 actual mentions. I can make this all go away with the push of a button. You just have to give up your identity and everything you hold dear. Emo

PM me a slight alteration of your nick and I'll make it happen. Soon.
Actual as in 1871 mentions of him or 1871 mentions of you?
9  Discussions / Miscellaneous Topics / Re: Bit pissed off at uk school system... on: 2015-02-12 09:54:43
I am also a firm believer that if you voluntarily enter someone else's property (such as a house, business, or institution of any kind) then you also subject yourself to any rules that they impose as a condition of entering the property. Simple examples include removing your shoes before entering a person's house (if customary), or subjecting to a bag search upon exiting a shop. If you disagree with these rules, then you shouldn't enter the property.
Yeah right, because all children voluntarily go to school every day.
10  Discussions / General Discussions / Re: New feature: mentions in posts on: 2015-02-11 20:18:28
Nobody lost any medals, non-reifiable as they may be.
Oh I meant the social stats rankings, you know the medals next to the names. I used to actually have my name on them... back in 2012 or so.
11  Discussions / Miscellaneous Topics / Re: Just bought a whiteboard on: 2015-02-11 20:13:58
Also cue the inevitable "black boards are much better because x"
12  Discussions / General Discussions / Re: New feature: mentions in posts on: 2015-02-11 20:13:00
My last mention was in June 2014... I really should be more active on this forum. I lost all my unatonable non-reifiable medals too  Emo
13  Games Center / WIP games, tools & toy projects / Re: The Minecraft RPG on: 2015-02-08 20:01:35
Saying that you don't know what the story would be if it's not Minecraft-centered... Minecraft doesn't even have a story.
14  Discussions / General Discussions / Re: Worried, Scared. Life wasted? [YOU SAY!] on: 2014-10-31 15:47:20
Your 15.

You don't even know what fear is. Get on with it and enjoy the process.
He may not have as much experience as older people but his emotions are just as valid as anybody elses.
15  Discussions / General Discussions / Re: dart on: 2014-08-27 12:38:15
Dart has been around for a long time but it hasn't been very interesting from a game-dev perspective, well, ever.
16  Discussions / Miscellaneous Topics / Re: Is our Universe Simulatable? on: 2014-08-02 21:23:50
Short answer: no. You would need at least enough room to store the whole universe a second time to simulate it perfectly. Sorry for my lack of references, I don't remember who explained it the very first time in the history. Drenius and SimonH already explained that a bit better than me.
Now I don't know very much about this topic, but what about compression?
17  Game Development / Game Mechanics / Re: Improving Texture Loading on: 2014-08-02 16:07:59

Maybe you should display something (a message with a progress bar for example) that doesn't need any resource stored in a file while loading a few files when the end user launches your game. You can still improve texture loading but imagine that you have to load a lot more images, you'll need to indicate that you're loading something instead of just showing a black screen.

I fully agree. Even if he got texture loading down to a few ms, he'd eventually reach a point where loading all his textures takes noticeable time. Unless of course his game consisted of a dozen or so images total. So a loading screen is more or less inevitable no matter how fast you load your textures.
18  Game Development / Game Mechanics / Re: Character Stats on: 2014-08-01 19:22:04
This is interesting. Most games use the armor stat to absorb a percentage of physical damage, though some use it as an extra health bar. If it's the latter, armor can usually not be restored once broken. Both kinds of games can have an armor penetration stat, though it works differently. In the first case, it reduces the percentage absorbed, and to be worthwhile it has to reduce the percentage enough that it's not swapped for a Damage stat. In the second case, it increases the amount of damage done to armor. Here, too, it needs to be balanced so that it's not prioritized away.

There are also other interesting concepts such as avoidance (dodging or parrying an attack, or an attack missing outright). The hardest part is to balance all these things against each other so that fights take a reasonable amount of time, otherwise the player might get bored due to fights being too long, or fights being too short.

A third way to do it, that'd be somewhat harder to balance and that I personally haven't seen much in the wild, would be to subtract the armor value from the attack value and deal the difference in damage to the entity. This would strike against casters (assuming you have magic in the game), and other characters with weak damage stats, such as tanks (assuming you have tanks in the game), and might leave them unable to do damage against some foes - not fun for the player.
19  Games Center / Archived Projects / Re: AWTEngine2D WIP | A 2D Engine using only AWT Canvas on: 2014-07-04 23:46:10
Thank you for linking this, I had no idea it existed.
20  Games Center / Showcase / Re: Flappy Taco | My first game on: 2014-06-13 19:58:41
Your pixel art is cool. The game seems easier than the actual flappy bird, but congrats on your first game. What game library did you use to make this?
From the outline showed in the YouTube video, it looks like a custom game loop - suggesting Java2D.
21  Game Development / Newbie & Debugging Questions / Re: objects existing beyond their scope on: 2014-05-30 00:28:39
Note: Scope and lifetime are not the same thing.
Clarification: scope is the amount of time you can count on the object existing - AKA how long it exists theoretically. Lifetime is how long is practically exists before it's garbage collected.
22  Game Development / Newbie & Debugging Questions / Re: Uniform locations return -1 on: 2014-05-24 19:01:52
   texLoc = glGetUniformLocation(world.getLightingProgram().programID, "sampler01");
Shouldn't you use t_diffuse as that is the variable name in the shader, when you access it? I've only a few hours experience with GLSL, so correct me if I'm wrong.
23  Game Development / Newbie & Debugging Questions / Re: Recursive rendering on: 2014-05-23 16:43:25
Really? I would think it's the other way around: when every node renders itself first and then calls the sub-nodes, the nodes furthest down are rendered last and those are the ones that you see.

Anyway, to answer your question, switch the places of the draw(this) and children.render() calls will reverse the order of rendering.
24  Discussions / Miscellaneous Topics / Re: f.lux on: 2014-04-19 19:57:32
I've been using f.lux for several months now without noticing any problems, it turns on when the sun goes down - making me actually notice the sun going down nowadays. On my Mac, I've noticed that closing a LWJGL window disabled flux for a short time. I'm not sure if this is the case on Windows; I don't use my desktop computer at night.

Besides, Windows font rendering in Eclipse is terrible.
25  Games Center / Archived Projects / Re: MERCury - 2d Game Engine on: 2014-01-20 06:20:43
You should use a .gitignore file to remove the /bin folder from your repo.
26  Java Game APIs & Engines / OpenGL Development / Re: Do you need to dipose of stuff when exiting application? on: 2014-01-14 13:02:24
Er, opposite stance here. The OS releases everything when the process exits. Save yourself the hassle and just let it do it for you.

Cas Smiley
Yes - it makes the OS more robust. If it didn't, our computers would be at the mercy of C programmers and their memory management.
27  Games Center / WIP games, tools & toy projects / Re: 3D Randomly Generated World on: 2014-01-09 20:42:57
If you're using
you will get errors if you try to double-click launch on Mac/Linux.

   public static String jarDir()
         return new File(SomeClass.class.getProtectionDomain().getCodeSource().getLocation().toURI()).getParent();
      catch(URISyntaxException e)
         return null;

I thought
new File(SomeClass.class.getProtectionDomain().getCodeSource().getLocation().toURI()).getParent();
was a joke the first time I read it, but apparently it's legitimate. Java's such a complicated and bureaucratic platform - maybe that's why companies like it?
28  Discussions / General Discussions / Re: From super skinny to normal weight, anyone ? on: 2014-01-09 20:37:52
Try to be full at all times and have fat-rich foods in the house at all time. The more fat, the less you'll need to get the same number of calories. So you don't have to sit for excruciating amounts of time stuffing your face. You might want to put something edible next to your computer, at least for me, when I can sit and casually eat while doing something else it's much less boring.

Eat as much meat as you can.
Start working out your legs with your body weight some time before starting with weights - or you can be brutal and just take the soreness as it comes.
29  Game Development / Newbie & Debugging Questions / Re: lwjgl getTime and it's delta issue on: 2014-01-08 13:56:51
int delta = (int)(currentTime * lastFrame);

Here is your problem.  The delta should be the difference between the times, not the product.  In mathematics, the Greek letter delta is often used for differences because, well, it's like a D for difference  Wink
And the negatives are probably because (long * long) cast to int will often overflow.
30  Game Development / Newbie & Debugging Questions / Re: Static Reference to Self on: 2013-08-21 15:37:38
Uh, isn't the Java ClassLoader lazy? Shouldn't that mean that the instance variable is initialized when the class is first used - that is, the same behavior as writing the singleton accessor lazily? I'm fairly certain that the ClassLoader loads classes as they are needed by the program, so the dependencies of the singleton should be loaded when it's constructed - so at the same time that it is initialized.
Pages: [1] 2 3 ... 9
wxwsk8er (49 views)
2015-03-20 15:39:46

Fairy Tailz (42 views)
2015-03-15 21:52:20

Olo (26 views)
2015-03-13 17:51:59

Olo (27 views)
2015-03-13 17:50:51

Olo (33 views)
2015-03-13 17:50:16

Olo (40 views)
2015-03-13 17:47:07

ClaasJG (29 views)
2015-03-10 11:36:42

ClaasJG (36 views)
2015-03-10 11:33:01

Pippogeek (45 views)
2015-03-05 14:36:23

Pippogeek (37 views)
2015-03-05 13:56:12
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

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27 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!