Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (576)
games submitted by our members
Games in WIP (497)
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 14: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 02: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 13: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 13: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 Discussions / Re: Getting traffic on: 2007-08-11 03:17:44
Ok. I've submitted to every site that was suggested and here are my results so far:

www.i-am-bored.com and www.jayisgames.com I haven't heard a thing from. Either they haven't gotten to my submission yet or have rejected it.
www.heavygames.com has a 20 day wait, but i'm confident i'll get on the site and get some decent traffic.
www.milkandcookies.com has sent about 100 people to my site, but after a day my link was deleted so that's all from that.
http://www.millionsofgames.com/ 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 http://www.ollo.net/. 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 13: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.

suggestion:
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 10:41:23
Your digg link caused to submit a duplicate of this: http://digg.com/playable_web_games/Splatballs
(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 Discussions / Re: Getting traffic on: 2007-08-06 14: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: http://gpwiki.org/index.php/Game_Submission_Sites
I had a look at that list but it's mostly for downloadable games, not applets.

So far i've submitted to

http://www.millionsofgames.com/
http://www.andkon.com
http://www.albinoblacksheep.com

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 13: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:
http://www.moojoogames.com/dev/colorWheels.php

screenshot:

10  Games Center / Archived Projects / Re: Splatballs on: 2007-08-06 10: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 Discussions / Getting traffic on: 2007-08-03 07: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 16: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 05: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 10: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 07: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 02: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 14: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 08: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:
www.moojoogames.com/dev/splatballs.php


Screenshot:
Pages: [1]
 

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

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (12 views)
2014-04-15 18:08:23

BurntPizza (10 views)
2014-04-15 03:46:01

UprightPath (24 views)
2014-04-14 17:39:50

UprightPath (10 views)
2014-04-14 17:35:47

Porlus (27 views)
2014-04-14 15:48:38

tom_mai78101 (49 views)
2014-04-10 04:04:31

BurntPizza (107 views)
2014-04-08 23:06:04

tom_mai78101 (207 views)
2014-04-05 13:34:39

trollwarrior1 (176 views)
2014-04-04 12:06:45

CJLetsGame (182 views)
2014-04-01 02:16:10
List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:05:20
java-gaming.org 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‑gaming.org
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!