Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (542)
Games in Android Showcase (133)
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 ... 284
1  Discussions / General Discussions / Re: I no longer use Google Play and I block ads on: 2014-12-26 17:56:00
The intent might not be mallicious, but the information is stored 'forever', meaning that it's not far fetched to assume one day it may be used against you.

- insert argument about filing info about race prior to WWII, of which the nazis took advantage. why would neutral information ever be used against you, right -
2  Discussions / General Discussions / Re: I no longer use Google Play and I block ads on: 2014-12-26 17:44:28
Riven absolutely could make a buck a month off of many of us and I wonder why he doesn't...

Let's assume I'm rather full of myself, and consider everybody that gave me 2 or more medals since joining JGO, an active member that is among the target audience in my evil plan to extract $1 per month from. This means my target audience is slightly over 90 members, of which 10% might actually subscribe.

After transfer fees, taxes, etc., that's about $5 profit per month. Maybe $15, knowing how super awesome everybody knows I am. JGO is simply too small to make it worth while.

From a different angle: once people pay anything for a service, they suddenly feel entitled to the most arbitrary shit. I'm not going to expose myself to that.
3  Discussions / General Discussions / Re: I no longer use Google Play and I block ads on: 2014-12-23 17:37:28
Banks sell your financial information too...
4  Discussions / General Discussions / Re: Hi guys on: 2014-12-23 00:06:00
The end game is to write a self-help book about best strategies and acquired personality traits to become successful in ninety days flat.
5  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-12-22 20:56:24
Got inspired by basil_'s nested noise. Roll Eyes

I pondered, and decided to call it: drought (or... dried smudged clay).

As you can see, this is really powerful stuff. With little effort you get interesting patterns. It's a fair bit of fine tuning but due to the limited amount of code it's quite manageable. After applying diffuse lighting (simple N dot L) on the generated heightmap you get a good sense of the 'texture' of the material.

         PerlinLayer createNoise(int octaves, float range) {
            PerlinNoise noise = new PerlinNoise();
            return new PerlinLayer(noise, octaves, 1.0f / range);

         PerlinLayer ridgeTwister     = createNoise(4, 512.0f);
         PerlinLayer slopeTwisterX    = createNoise(8, 48.0f);
         PerlinLayer slopeTwisterY    = createNoise(8, 48.0f);
         PerlinLayer slopeTwisterZ    = createNoise(8, 48.0f);
         PerlinLayer rollingHills     = createNoise(2, 128.0f);
         PerlinLayer ridgeCreator     = createNoise(4, 256.0f);
         PerlinLayer sparseMultiplier = createNoise(4, 256.0f);

         float noise(float x, float y) {
            float z = PerlinNoiseUI.time;

            float dx = slopeTwisterX.getSmooth3D(x, y, z) * 8;
            float dy = slopeTwisterY.getSmooth3D(x, y, z) * 16;
            float dz = slopeTwisterZ.getSmooth3D(x, y, z) * 1;

            x += dx;
            y += dy;
            z += dz;

            float twister = ridgeTwister.getRough3D(x, y, z) * 128;
            float ridges  = ridgeCreator.getRough3D(x + twister, y - twister, z - twister);

            float valleyMultiplier = (0.5f + 0.5f * sparseMultiplier.getRough3D(x, y, z));
            return ridges * valleyMultiplier + rollingHills.getSmooth3D(x, y, z) * 0.33f;

To give you a sense of the performance: a 512*512 map takes 175ms to render on my crappy workstation, using Java2D, performing noise calculations on the CPU.
6  Discussions / General Discussions / Re: How do you feel about selling out? on: 2014-12-22 08:31:57
Personally, if someone offered me millions for RPC there's a very high chance that it's already worth (or has made) millions.

Well, obviously, if somebody offers you millions, by definition it's worth millions (to the buyer).

On another note: if you get offered X, then your company's *potential* is worth that much. Minecraft didn't make billions, yet it was worth billions to Microsoft. When you get a multi million dollar offer for your game, it might have earned you 200k. But whatever it grossed it not really that important. It's about potential for whoever invests in it.

Long story short, you should take those millions and run. Smiley
7  Discussions / General Discussions / Re: Does web development count as programming experience? on: 2014-12-21 22:39:58
You're probably refering to your 'Exp.' in your JGO profile. I wouldn't count it as programming/coding experience, simply because your experience there didn't teach you much about programming. If you use that time to elevate your experience, it will quickly show, potentially causing people to wonder why you are still asking these basic questions.

There are no hard rules btw. If you feel like stating you have more coding experience than years you exist, then that's perfectly fine too.
8  Discussions / General Discussions / Re: Lockable variables on: 2014-12-20 12:42:20
9  Discussions / General Discussions / Re: Lockable variables on: 2014-12-20 11:06:48
You can simply setup a breakpoint to determine/prohibit the execution of a certain piece of code.
10  Discussions / General Discussions / Re: The memory paradox on: 2014-12-19 14:38:04
The initial stack pointer is given to you by the OS when it allocates the stack for your process thread.
There, FTFY Smiley
11  Discussions / Miscellaneous Topics / Re: Markus bought a new house on: 2014-12-19 13:05:09
Ah, I know nothing of his personal life, as it's none of my business.
12  Discussions / Miscellaneous Topics / Re: Change My JGO Name on: 2014-12-19 12:01:39
Possible: yes.
Going to happen: no.
13  Discussions / Miscellaneous Topics / Re: Change My JGO Name on: 2014-12-19 11:58:22
Possible: yes.
Going to happen: no.

People know you by your name. Just like IRL, changing ones name creates a lot of confusion. I made some exceptions, but in general you're stuck with whatever name you chose when you registered.
14  Discussions / Miscellaneous Topics / Re: Markus bought a new house on: 2014-12-19 11:52:05
@Cas: Ah, why so sour. Maybe he gave a wannabe friend a mock Christmas present.
15  Discussions / General Discussions / Re: Weird Math.max() behaviour. Math.max(0f, Float.MIN_VALUE) is Float.MIN_VALUE?? on: 2014-12-17 18:58:40
Apparantly you felt the need to tell me where 80% of programming happens. For what it's worth, I was addressing basil_'s usage of -Float.MAX_VALUE.

How to implement the behavior of aggregate functions on empty sets is rather offtopic in this thread. Typically the callsite is smart enough not to call that function in the first place, and to handle that edge case in the appropriate manner, given that there is no single correct way to handle it.
16  Discussions / General Discussions / Re: Weird Math.max() behaviour. Math.max(0f, Float.MIN_VALUE) is Float.MIN_VALUE?? on: 2014-12-17 15:25:54
I always do:
   float min = Integer.MAX_VALUE;
   float max = Integer.MIN_VALUE;

I haven't come across a use case that had to deal with floats beyond the signed 32 bit integer range. persecutioncomplex
17  Discussions / Miscellaneous Topics / Re: Minecraft Java/LAN problem? on: 2014-12-15 17:59:28
Use PING to determine IP-connectivity among peers.
Use a dummy HTTP server to determine TCP-connectivity on port 80.
Turn off the firewall(s) temporarily to see whether that affects anythings.
18  Game Development / Newbie & Debugging Questions / Re: Day night cycle, cant seem to convert hex with alpha to RBGA Intager on: 2014-12-15 17:21:04
// c is color integer, a is [0-255] alpha
private static int setAlpha(int c, int alpha) {
-    return c & 0xFFFFFF & (a << 24);
+    return (c & 0xFFFFFF) | (a << 24);
19  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-12-15 17:08:47

This is the first time she's wearing a hat...
20  Java Game APIs & Engines / Engines, Libraries and Tools / Re: libGDX: Lag when drawing single TextureRegion multiple times on: 2014-12-12 19:57:48
Render new sprites into an FBO, render the FBO to screen.

This way you only render the number of sprites that were added in that very frame.
21  Discussions / Suggestions / Re: Ability to Remove a Medal on: 2014-12-12 13:59:18
Uhm, call me heretic, but what about a little "really give medal to xy?" popup?
... and see the number of awarded medals dwindle.

Not because people were mistakenly awarding medals, but because it's such a nuisance having to confirm all the time that you wanted to be nice.
22  Discussions / Miscellaneous Topics / Re: Full Visual Studio for free on: 2014-12-12 11:22:18
FYI: they are like unix/linux hardlinks & symlinks, but then needlessly complex. Pointing
23  Discussions / Suggestions / Re: Ability to Remove a Medal on: 2014-12-11 22:10:44
I don't care one bit about criticism on ways to lower the bar to give positive feedback.
24  Discussions / General Discussions / Re: am thinking of getting this PC, for both gaming and developing on: 2014-12-09 23:52:20
I wish I could "wait a couple months and save" but that is just not happening. Am at 50-50% odds on whether a given month will earn or lose money! Making do within limits is the reality.
In such circumstances I'd keep that $400 close to my chest, just in case, say, the washing machine breaks... Undecided
25  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-12-09 23:07:54
You only need a touch of dithering to smooth out those gradients... right in your tone mapping shader, almost for free.

And what's 'up' with the superfluous overdraw at the top of the cone? Doesn't seem an easy fix, given the sheer amount of faces converging. Do you steadily reduce the tesselation towards the top?
26  Discussions / Miscellaneous Topics / Re: Is drinking half a bottle of vodka safe? on: 2014-12-06 11:29:35
Alcohol does not kill brain cells. The only people who "compare it to being hit by a baseball bat" are people who have no idea what they're talking about.
Source of the quote was a neurologist, putting the effects of passing out due to alcohol, in Layman's terms, like already stated in this thread.
27  Game Development / Newbie & Debugging Questions / Re: Z-Ordering technique? on: 2014-12-04 14:48:52
Or, pre Java8/implement Comparable:

// in Entity class, which implements Comparable<Entity>
public int compareTo(Entity e) {
    return, y);




is such an anti-pattern for anything but Numbers... Emo There isn't a natural order for Entities. Use
and let which ever code is going to sort those objects, determine which ordering strategy is appropriate:
Comparator<Entity> yOrder = new Comparator<Entity>() {
    public int compare(Entity a, Entity b) {
        return, b.y);
Collections.sort(entities, yOrder);

Comparator<Entity> strengthOrder = new Comparator<Entity>() {
    public int compare(Entity a, Entity b) {
        return + a.hp, b.shield + b.hp);
Collections.sort(entities, strengthOrder);

* Riven rambles...
28  Discussions / Business and Project Management Discussions / Re: [PAID] is Looking for Games on: 2014-12-02 21:25:16
I'm not a fan of the proposed scheme, but this is not quite like gambling. You mostly pay to play the game, for the game itself. The 'win the pot' angle is so crude that I expect it will fail to hook people drawn to gambling. At the same time I expect anybody not drawn to gambling to scream bloody murder about such a scheme. Question is... who's left? Who's the tiny target audience?

Oh well, maybe my flimsy analysis is bonkers.
29  Discussions / Business and Project Management Discussions / Re: [PAID] is Looking for Games on: 2014-12-02 16:50:52
It doesn't matter. Not a single game here would be eligible.
30  Games Center / Contests / Re: End of 4K. Thanks all! on: 2014-12-01 06:39:27
One of the downsides of Java4K became that you needed this insane toolchain to compress your classfile. The better your tools the better the odds of an advanced game. Your hacking skills became gradually less impotant. With my compile-n-shrink, I tried to level the playingfield, but it was really disheartning that when I tried to bring it up again the next year, I couldn't get the same compression ratios, as I overwrote the binaries with their latest versions.

If there were to be a new contest, I'd limit the sourcecode, as compressing that is somewhat within your own control, as opposed to the blackbox that Java4K tools became.
Pages: [1] 2 3 ... 284

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Elsealabs (11 views)
2014-12-28 10:39:27

CopyableCougar4 (17 views)
2014-12-28 02:10:29

BurntPizza (21 views)
2014-12-27 22:38:51

Mr.CodeIt (14 views)
2014-12-27 04:03:04

TheDudeFromCI (19 views)
2014-12-27 02:14:49

Mr.CodeIt (26 views)
2014-12-23 03:34:11

rwatson462 (58 views)
2014-12-15 09:26:44

Mr.CodeIt (47 views)
2014-12-14 19:50:38

BurntPizza (94 views)
2014-12-09 22:41:13

BurntPizza (115 views)
2014-12-08 04:46:31
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

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50 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!