Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (843)
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]
1  Game Development / Newbie & Debugging Questions / Re: Multiple Threads, Multiple Cores on: 2007-09-24 12:38:23
Single threaded applications will only run in a single core. When you have multiple threads the JVM decides where and when they will run, it may use the second core or it may run the thread in the same core. You don't really have any control over that. But in general java will take as much of the system resources as it can get, so if your program has multiple threads that are both using a lot of CPU time it will probably use both cores.
2  Java Game APIs & Engines / Java 2D / Re: Swing in Game on: 2007-08-31 00:38:17
I had a look at using swing to do the UI for the last game I was developing. In the end I gave up and created my own UI. Since I don't really need all the features that swing has and I only use simple components it took less time to build my own than figure out how to make swing do what I wanted. I've reused the same UI in 3 games now so it was worth the time spent developing it.
3  Game Development / Newbie & Debugging Questions / Re: Pong on: 2007-08-11 11:52:03
Calculate the distance from where the ball hits to the centre of the paddle. If you multiply this value by 2 and divide by the length of the panel you will end up with a number between -1 and 1. Then multiply this by some angle constant, say 30 degrees, then apply this angle to the ball. Then the ball angle will change by 30degrees if the ball hits the end, 0 at the centre and a smoot change in angles at other points on the paddle.

This will give you a linear change in angle with respect to the location the ball hits, which seems right to me, but you could make it quadratic by simply squaring the [-1,1] number. Then just mess around with the constant until it feels right.

4  Java Game APIs & Engines / Java 2D / java vector based drawing program on: 2007-08-11 11:29:09
Is there any program that lets you draw basic shapes on the screen and then gives you the coresponding java2D code to draw those inside a program. I'm planning on doing my current game using only java 2D drawing code as opposed to images but I don't know if it's worth it if I have to spend ages writing+testing all the drawing code.
5  Discussions / Business and Project Management Discussions / Re: Getting traffic on: 2007-08-11 01:17:44
Ok. I've submitted to every site that was suggested and here are my results so far: and I haven't heard a thing from. Either they haven't gotten to my submission yet or have rejected it. has a 20 day wait, but i'm confident i'll get on the site and get some decent traffic. has sent about 100 people to my site, but after a day my link was deleted so that's all from that. has sent me about 20 people.
The topsites I have submitted to usually send me an average of a person a day.
User moderated sites (digg,reddit) have sent me about 10 hits each, it's worth posting links there but unless you have something that stands out it's probably not going anywhere.

Interestingly enough i'm getting the most hits from over 200 so far and i'm still on the front page. I didn't submit my game there so they must have just seen it somewhere else and liked it. I guess that's what you have to hope for in the end, it takes a lot of time looking for ways to drive traffic and it's much easier when someone does it for you,

Thanks for the advice and I hope what i've learned helps someone.
6  Games Center / Archived Projects / Re: Splatballs on: 2007-08-09 11:43:23
Well I'm going to guess that all of the entries on the first page of the high score table are from people who paused the game, when it pauses you should not be able to see the game field.

Most of the people on the front page are people I work with, they were all done using the autobuyer and only paused at the start to set the autobuy up. As soon as I added that feature to the game the top scores pretty much doubled because people weren't having to stop and start.

before you draw your new frame, draw a large black rectangle with 90% transparency. That will darken all trails with 10%. If your graphics are accellerated, that shouldn't slow things down.

I put this in, it took up a fair bit of speed so I only do it every 15 frames. Even then it still takes up a bit of time, I don't think java accelerates alpha drawing. It's off by default so if you want to use it you'll have to turn it on in the options. Let me know how it runs on your machine.
7  Games Center / Archived Projects / Re: Splatballs on: 2007-08-07 08:41:23
Your digg link caused to submit a duplicate of this:
(plus shows the wrong count of diggs)

I moved the page without updating the digg url. Fixed now.

The shop provides for a cheat opportunity, simply enter the shop and you have just paused the game!
You can press 'P' to pause anyway. Pausing was actually one of the biggest problems I first encountered with the game, half the time when you go to the shop as soon as everything starts moving again you die. That's why I put the autobuy feature in.

EDIT: Ok, the trails need to clear themselves quicker, a fade out will do fine.

I wouldn't mind doing this but right now I just draw the trails straight onto a BufferedImage and then paint that on the screen.To fade I would have to fade the whole screen. I can't think of a way to do that quickly.
8  Discussions / Business and Project Management Discussions / Re: Getting traffic on: 2007-08-06 12:47:13
Maybe you should try submitting your game to more than a "few" games sites.
I haven't been submitting like crazy to games sites that require the game to be reviewed by staff fbecause I want some feedback first, I don't want to send it to 50 sites for them all to tell me the same thing. So far I haven't gotten any but it's only been a week.

Also, you would probably get more traffic if you had more games on your site.
Working on that too.

Here's a link to a list I used the other day when submitting to sites:
I had a look at that list but it's mostly for downloadable games, not applets.

So far i've submitted to

1 or 2 others that I can't remember right now. Most websites don't seem to be interested in java applets.

9  Games Center / Archived Projects / Color Wheels - Simple puzzle game on: 2007-08-06 11:46:27
I made this puzzle game, it turned out to be a bit easier to complete than I had hoped, but then not all games have to be hard I guess. What's everyone think, anything that needs to be changed?
I'm thinking about making a seperate game that uses gears instead of wheels, so when you turn one piece the rest of the board turns as well.

here's the link:


10  Games Center / Archived Projects / Re: Splatballs on: 2007-08-06 08:41:08
I had everything for that implemented but had forgotten to add the speed check in Tongue

I fixed that up so erverything has a max speed. The pink ones are still kind of fast but not to the point where you can't stop them. Also try staying in the centre of the screen, that usually stops them from getting too much speed.
11  Discussions / Business and Project Management Discussions / Getting traffic on: 2007-08-03 05:12:26
Ok, i've got my applet up on my website and ready for people to play. Problem is I can't seem to get any traffic. I've tried topsites, forums,directories and submitted my game to a few games sites but nothing seems to get me more than a few hits.
Search engines aren't really an option because i'll never get a high rank on common keywords.
I tried digg, but unless you get a whole bunch of hits in the first hour, you're on page 2 and that's the end of that.
Now i'm pretty much out of ideas. I don't expect my game to be the next big thing but so far all I have managed to do is get my friends to play the game.

Does anyone know good ways to get some traffic flowing, or places to submit java games?
I don't really want to spend money advertising because with only 1 game on my site I think it would be wasted.
12  Games Center / Archived Projects / Re: Splatballs on: 2007-08-02 14:09:36
I ended up just making my own menu system. Now I have complete control over what my buttons look like. I'm working on a way to easily add animations on mouse overs and clicks but that's taking a bit of thought. Also I can now add buttons inside my game.

I fixed the press any key bug and added a quick start button that automatically buys items for you.

More to come.
13  Discussions / General Discussions / Re: What if a programmer caught a cold and coughed in your country? on: 2007-08-02 03:30:34
Last time I had a cough I turned up ready to work and they told me to go home before I made everyone else sick.
I had a pretty bad cough but other than that I felt fine.
14  Games Center / Archived Projects / Re: Falling Blocks on: 2007-08-01 08:14:12
The controls seem a little sluggish, sometimes I press a key and it misses it.
15  Games Center / Featured Games / Re: Bunny Golf on: 2007-08-01 05:53:12
Looking pretty good so far. I'm looking forward to the finished version.

What did you use to create front page menu? I'm at a point with my current project where I want to create something that looks pretty similar.
16  Games Center / Archived Projects / Re: Splatballs on: 2007-08-01 00:21:22
Press any key only works on mapped keys, I'll fix that up tonight.
Adding more lives seems like a good idea, i'll mess around with that as well.
You can upgrade rate of fire and bullet size by pressing 'U', but since that feature has been overlooked by everyone I think i'll add a quick start mode so upgrades will be bought automatically.

There are a few different difficulty modes in the challenge menu (most of them harder though)

As for the swing interface, does anyone have any ideas on quick ways to fix this? I don't really want to create my own GUI system. I had a look into making my own look and feel but i'm not sure if that's worth the effort, does anyone who has worked with look and feel recomend going down this road? Or does anyone know of a good look and feel for games or some other way to create a nice looking GUI quickly?

Thanks for playing and for the feedback Smiley
17  Game Development / Game Play & Game Design / What do you want in a web game? on: 2007-07-31 12:21:46
I'm nearing the end of my current applet based project and am about to start a new one. I currently have a few ideas for games, but i'm not sure which one to start on, or exactly where to take it.
So here is my question:

What does a game need in order to get your attention? What do you look for when you want to play a game? What makes one game stand out from the rest?
I'm not after a list of things that make a game good, lists like that are easy to find, but what you personaly want to see in a game, what you've always wanted to see.

Personally I love a game that you can never win, a game where you get better every time you play but can never be perfect at.(As long as there are scores so you can beat your friends Cheesy)

Keep in mind i'm making a small web game so extremly graphics/processor intensive things aren't that helpful.
18  Games Center / Archived Projects / Splatballs on: 2007-07-31 06:37:02
Here is a little java game i'm working on. I was trying to make a game that 1 or 2 minutes to play but has large replay value. All you have to do is avoid the other balls on the screen by either shooting them or dodging.

I'm still developing it and any suggestions or comments would be appreciated.
Here is the link:

Pages: [1]
EgonOlsen (42 views)
2018-06-10 19:43:48

EgonOlsen (22 views)
2018-06-10 19:43:44

EgonOlsen (43 views)
2018-06-10 19:43:20

DesertCoockie (197 views)
2018-05-13 18:23:11

nelsongames (124 views)
2018-04-24 18:15:36

nelsongames (123 views)
2018-04-24 18:14:32

ivj94 (863 views)
2018-03-24 14:47:39

ivj94 (124 views)
2018-03-24 14:46:31

ivj94 (768 views)
2018-03-24 14:43:53

Solater (140 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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!