Hi !
Featured games (81)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (575)
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 ... 32
1  Game Development / Newbie & Debugging Questions / Re: Teaching Java Game Programming to Children on: 2014-06-17 23:58:14
I have to figure out how to get the less motivated students to get into programming.
How about Logo? Online here.
It was specifically designed to get less involved students doing some programming without realising it.
They immediately get something to show for their work. Even if it is just a square, they did it!
2  Discussions / Miscellaneous Topics / Re: Is our Universe Simulatable? on: 2014-04-20 23:30:57
Thinking about it some more...
Some of the most powerful computer systems are simulating the weather on earth with a pretty good degree of (short-term) accuracy. As CPUs get ever more powerful, it's reasonable to assume that models (rather than a simulations) will be made of the universe. That could get interesting! In the same way that our weather models showed the el nino current to be highly significant to our climate, maybe universe models will show us things we never guessed at? Wormholes maybe?
3  Discussions / Miscellaneous Topics / Re: Is our Universe Simulatable? on: 2014-04-20 23:10:49
Logically, you can't simulate the universe.
If you managed to make a simulator, then the universe would be different - it'd have the simulator in it. You'd have to simulate the universe with the simulator in it simulating the universe which had in it the simulator simulating the simulator simulating the universe... and so on ad infinitum...
4  Discussions / General Discussions / Re: Rendering a 2.5D game on: 2014-04-18 23:56:40
You can do this in 2D, but it's very tricky if you also want perspective. You have to calculate the corners of each tile in 3D space then distort the tile images to fit their polygons. I have done this, but it's not at all easy! You'll get artifacts and all sorts of problems with matching up tile edges.
Practically, it's simpler to use a 3D engine with a fixed y-angle and render the characters as billboards than it is to try and emulate this in 2D.
5  Game Development / Artificial Intelligence / Re: Can anyone give me an easy ANN exercise? on: 2014-03-05 00:58:34
A classic ANN exercise is an XOR logic gate (that's what I had to do in college anyway). Build an 8 input XOR gate. If you can get a 100% accurate result then you've cracked it.
So, you have 8 inputs and one output. If one and only one of the inputs is 1 then the output is 1, otherwise the output is 0. Good luck!
6  Discussions / General Discussions / Re: JGO coinage tally on: 2014-01-30 01:02:16
Yah, Adwords is evil. They stole £60 off me with 'no appeal'. I still don't know why...
I think a 'Donate' option would be a good idea. Nothing fancy, just an extra tab, but those of us who benefit from the wisdom herein and are doing well might think: 'Cool! Thanks, problem solved! Here's a little token of my appreciation.' and drop a fiver on the site. Why not? No-one gets hurt. Do they?  persecutioncomplex
7  Games Center / 4K Game Competition - 2014 / Re: In The Dark 4K on: 2014-01-06 01:35:44
The voxel/lighting effects are beautiful. Quite something for 4K!
My only grumble is the direction of fire, sometimes I really have to work hard to be firing in the right direction (especially when enemies appear beside or behind me) - couldn't I just fire the way I'm movng? I guess you've done it this way it is for a reason?

Very impressive though! How many voxels are you juggling?
8  Games Center / 4K Game Competition - 2014 / Re: Treasure Hunt 4k on: 2014-01-06 01:16:23
I really like the concept but I've never actually managed to find any treasure!
There's a few low-cost tweaks that I think would help a lot;
Reset - essential!
Map - make the game freeze while you check the map. I found myself keeping the map open as I sailed to look for pattern matches and hitting sea monsters before I knew it Undecided
Dots - are they sandbars? rocks? Anyway, fewer, larger obstacles in those zones would be better.

On a cosmetic note, could you increase the resolution of the land? Smoother edges would really help the immersion value (maybe double the screen buffer size and interpolate?). Maybe some green dots on land for trees?

Nice game!
9  Game Development / Game Mechanics / Re: Generating "True" 2D Perlin Noise on: 2013-12-31 01:18:01
It's really good fun isn't it!

I always call value or simplex noise 'Perlin noise'. I know it's not strictly accurate but I love Ken Perlin's attitude and sheer class. I reckon calling all PRNG noise techniques after him will add to his fame. A great man - cheers Ken!
10  Games Center / 4K Game Competition - 2014 / Re: BUG4BOO on: 2013-12-13 15:55:39
It isn't easy to jump excatly (for me) but I had a nice time with the game!
The jumping does take a little getting used to but it is quite accurate! Click and hold to charge the jump bar then release the mouse to jump to the pointer. Click again to grab hold of plants.
A fully charged bar will let you jump the whole width of the map!  Grin
11  Games Center / 4K Game Competition - 2014 / BUG4BOO on: 2013-12-12 16:25:01
A new twist on an old favorite;

Hope you enjoy playing it as much as I did making it!
12  Games Center / Contests / Re: Discuss the future of 4k contest on: 2013-12-03 00:27:58
OK, sorry I've been a bit stressy about this launcher business but I'm pretty much1 won round now.

Perhaps special recognition award for the best "new comer" entry would help include those who are not considering entering being intimidated by the fantastic entries of the old hands?
Superb2 idea! A 'Best Newcomer' category would be an excellent addition to the contest.

1Nothing to do with one of my games being used for the demo - honest!
2On the J4K website news the word 'superb' has been typoed to 'supberb' - just saying...

13  Games Center / Contests / Re: Discuss the future of 4k contest on: 2013-11-24 02:14:05
I so want this compo to carry on, but I can't see how a launcher do that... asking people to sacrifice personal security for all 4K games seems worse to me than asking them to do so for just one of them.
I spend a lot of time telling people to be careful when they click 'OK', and here's this thread trying to get people to open up their machines to potentially malicious content. Why should they trust us? It's no go for me.
I'm working on a game ATM where all the whole toolchain is pure java but the delivery is javascript/HTML5. It makes sense to me.
Maybe we should split it up - 4K source JS for safeys and 4K applet for dare-devils.
It is JAVAscript after all!
14  Games Center / Contests / Re: Discuss the future of 4k contest on: 2013-11-19 03:14:24
Poor old applets! Cry
How about something like XMLVM where the the compiled java code had to be under 4K (ulp!) but the game would also be available as HTML5, android or iphone? Just a thought...
15  Games Center / Contests / Re: Discuss the future of 4k contest on: 2013-11-15 20:41:25
Is there a way to turn this into an android game contest?
I don't have an android!  Undecided
I still favour Javascript. It runs on android, windows and osx, has no scary security issues and there's plenty of tools & libraries out there.
What's not to like?
16  Java Game APIs & Engines / Java 2D / Re: Re-sizable Target Java Paint on: 2013-10-28 20:14:50
If you wanted 5 rings, how about;
g.fillOval(x-radius, y-radius, 2*radius, 2*radius);

int nextRadius=(int)(radius-(radius/5)); // reduce radius by 1/5
g.fillOval(x-nextRadius, y-nextRadius, 2*nextRadius, 2*nextRadius);

nextRadius=(int)(radius-(radius/5)*2); // reduce radius by 2/5
g.fillOval(x-nextRadius, y-nextRadius, 2*nextRadius, 2*nextRadius);
and so on...
17  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Looking for 3D engine on: 2013-10-23 20:17:24
I'd recommend jPCT. Very easy to use and not too hard to integrate with JBullet for the physics (if you need them).
18  Games Center / 4K Game Competition - 2013 / Re: random seed sequences as a form of data compression on: 2013-10-19 02:08:02
I had a lovely dream where you gave a seed to a PRNG and that generated the next 2 seeds which made the next 4 seeds... and so on... until it made an image...
As Riven says, the tough bit is finding the first seed!
I bet a really good mathematician could devise a convergence system where you worked both ways, finding seeds for pixels and pixels for seeds, improving the approximation every time. Maybe.

Can anyone recall a (possibly fictional) Russian algorithm based on prime numbers where you could get perfect data recovery from something like 23442791-1?
19  Games Center / Contests / Re: Discuss the future of 4k contest on: 2013-09-17 19:58:56
Why not simply have a javascript4K compo? Plenty of compression tools about, instant gratification, runs everywhere... I'd be up for that!
I think depending on libs or a custom JVM might be asking too much of casual players.
20  Games Center / Contests / Re: Discuss the future of 4k contest on: 2013-09-10 00:18:46
If normal users can't use applets, there's no point with the "applets only" rule. We can go back to webstart and see how that shakes things up in terms of window sizes (fullscreen) and such. (I'm inclined to do a "webstart only" contest next just to make it a bit different).
Please, no! Webstart is an even more evil experience than applets, you still get scary pop-ups and then you have to 'uninstall' every single game you play through the control panel? WTF?!
One thing we all agree on: immediate gameplay gratification through java is no-go. To my mind, either we play it as a by-devs-for-devs thing or do something completely different.
Anyway, with the Minecraft and Runescape (is that still going?) phenomena, maybe applets aren't quite the total turn-off we think they are.
Can anyone name a successful game that used webstart?
21  Games Center / Contests / Re: Discuss the future of 4k contest on: 2013-09-09 13:57:05
IMHO the end result has usually been a lot of, well, very crap games.
I disagree! There have been some abysmal entries it's true, but overall I'd say the quality was remarkably high, especially given the constraints.
I was watching a vlogger who set out to find the 10 best LD entries (out of 2700!) and he had trouble actually finding 10 which (in his opinion) had any playability value at all. That's 0.3% 'good' games. I'd give 4K a figure of 10-20% 'good' games, and rarely a contest goes by without at least 1 really top quality game being produced.

I was wondering if it would be possible to make/use a tool which would 'html5-ise' the games...?
22  Games Center / Contests / Re: Discuss the future of 4k contest on: 2013-08-31 00:25:33
I can't think of anything better - Unity 64K? It wouldn't be the same...
I see 4K as a great way to play around with ideas within bounds. I also got a big kick out of trying to do AC, GTA, Far Cry & Skyrim in 4K.
Sure online java's shot itself in the foot then looked down the barrel to see where the bullet came from and shot itself in the face, but it's still a beautiful language to use.
Sod popularity, if we wanted full coverage we'd have to use JS or libGDX or something and the 4K constraint would be null and void.
I say stick with applets for this year. Nothing lasts for ever, so let's make the last days the best!
23  Discussions / General Discussions / Re: JGO mission on: 2013-05-21 23:07:39
JGO needs a mission like a fish needs a bicycle.
Hang on, I thought our mission was: "To explore strange new libraries, to seek out new algorithms and new methodologies, to boldly go where no coder has gone before". Don't tell me I've been wasting my time - splitting the infinitive isn't easy!
24  Discussions / Business and Project Management Discussions / Re: The nightmare of taxes, and what can I do about it on: 2013-05-10 15:58:16
And this 60% of tax comes from:
27% general tax on everything you sell for a person
16% personal income tax
2% industry tax
12% if you want to take your money out of the company.
Ok, so you make a game and in 1 year you sell 1000 copies at €20 each and make €20,000.
Take off 27% sales tax leaves €16,300.
Take off 2% industry tax leaves €15,974.
What's left is your personal income and you pay 16% tax leaving you €13,418.

That's 33% tax, not 60%!

It's also unlikely that you'll have to pay sales tax unless you make more than a certain amount (around €170,000 in the UK) in which case you'd only be paying around 17% tax.
25  Game Development / Newbie & Debugging Questions / Re: [SOLVED] strange if statement problem on: 2013-05-07 00:47:12
I knew that! It's still confusing for a beginner though... Maybe there ought to be a compiler warning or something?
26  Game Development / Newbie & Debugging Questions / Re: [SOLVED] strange if statement problem on: 2013-05-07 00:40:53
An excellent question! Er... Anyone?  persecutioncomplex
27  Game Development / Newbie & Debugging Questions / Re: strange if statement problem on: 2013-05-07 00:35:30
It's a gotcha for java.
This prints 'yes' so you kinda expect it to work everywhere;
String s="x";
if (s=="x")

It's caught me before!
28  Game Development / Game Play & Game Design / Re: Trying to pixelate a section of an image on: 2013-04-18 19:14:15
You can't average colours like that, you have to break them into RGB;
int red;
int green;
int blue;

// loop over pp field of (numDots pixels)


// end loop

int averageColour=((red/numDots)<<16)|((green/numDots)<<8)|(blue/numDots);

// loop over pp field


// end loop

Edit: On reflection, it might be better just to use the first pixel of the pp field to colour the whole field - faster too!
29  Game Development / Newbie & Debugging Questions / Re: Generating three random booleans on: 2013-04-11 02:18:38
How about;
double rnd=Math.random();
boolean b1=(rnd<=(1f/3));
boolean b2=(rnd>(1f/3) && rnd<=(2f/3));
boolean b3=(rnd>(2f/3));
30  Java Game APIs & Engines / Java 2D / Re: Rotating images, fast? on: 2013-03-19 21:21:35
A trick you could use is to make a spritesheet of the turret image rotated in 10' steps and just draw the one closest to the true rotation value. (You could alternatively generate 36 rotated sprites at runtime and use them in the same way). Not perfect, but very fast!
Pages: [1] 2 3 ... 32

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

The first screenshot will be displayed as a thumbnail.

Longarmx (35 views)
2014-10-17 03:59:02

Norakomi (25 views)
2014-10-16 15:22:06

Norakomi (24 views)
2014-10-16 15:20:20

lcass (26 views)
2014-10-15 16:18:58

TehJavaDev (50 views)
2014-10-14 00:39:48

TehJavaDev (50 views)
2014-10-14 00:35:47

TehJavaDev (40 views)
2014-10-14 00:32:37

BurntPizza (63 views)
2014-10-11 23:24:42

BurntPizza (36 views)
2014-10-11 23:10:45

BurntPizza (75 views)
2014-10-11 22:30:10
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

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06 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!