Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (754)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (842)
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  Discussions / General Discussions / Re: Applet VS Webstart , what do you prefer as a end user ? on: 2009-03-09 16:55:42
Definately applets

2  Games Center / Archived Projects / Re: Sparx 2 WIP on: 2009-01-03 23:47:15
Locked framerate at 60 fps. Added alot more particle effects.
Please let me now your system specs if you have lower fps.
3  Games Center / Featured Games / Re: Beyond Negotiation on: 2008-12-31 13:30:36
There's a small community dedicated to the danish game scene at
You might want to check that site out aswell...
Yep i know it, im checking the forums several times a week :-)
4  Games Center / Featured Games / Re: Beyond Negotiation on: 2008-12-30 20:42:41
Really nice game, thumbs up again to you Scarzzurs , your productivity amaze me!! Nice to see some other indy java game developers from Denmark. Keep up the good work!!
5  Games Center / Archived Projects / Re: Sparx 2 WIP on: 2008-12-30 20:18:34
Ok, now its locked at 80 fps (= 79 on my own rig). But i feel like its a bit too slow now, but i have been playing it for ages, so my opinion is very biased.
I would like too speed it up a little, especially the speed of the player so i will probably add some kind of  'speed power ups' to grab after a timed interval.
I will probably make it level based too, with some arcadey score numbers(as sprites) approaching after a kill, and a multiplier pickup.

Furthermore i think i will make it level based(to feel that extra urge to reach a bit further), and make some stages where the aim is locked at a fixed position, to make the player move more(because thats the fun part), instead of just standing still and shooting.

Any other ideas are welcome, i have a lot of plans and inspiration right now, but time and inspiration is
 a relative beast, so hope i can catch it right while i can :-)
6  Games Center / Archived Projects / Re: Sparx 2 on: 2008-12-30 08:20:01
It takes freaking ages to start, and doesn't show anything to the user while doing so, so at first I thought it had crashed on start up. You should really put a splash screen or something there.
Im gonna add a splash screen. At home it only takes max 4-5 seconds to startup, but just tried it here at work on an old celeron 2.53 and it takes 5 minutes or so, i thought it had crashed too, but checked the console and saw it running..
7  Games Center / Archived Projects / Sparx 2 WIP on: 2008-12-29 22:26:22
Until now its just a Sparx with way better performance and a new particle system.
But more will come.There is no fps lock yet, and only 1ms sleep so on high end pcs it may run a little fast.

After i have deployed it, and run it from the webpage, its suddenly 3Xfaster(==to fast on a q6600) than when i run it in netbeans???Anyone know why? Netbeans cant be that much overhead.

8  Games Center / Archived Projects / Re: Sparx WIP on: 2008-07-20 09:23:22
Finally got some time to work on the game again, hiscore is finally up now. Gonna add some music later today!
9  Games Center / Archived Projects / Re: Sparx WIP on: 2008-06-14 01:04:18
Beautiful game. Particles are lovely, different enemies are nice and it all feels very polished. It seemed a little bit easy as it stands tho, I got bored before I died. Need to have to move more.

Loving it so far tho!


Thanx Kev, actually started up game programming, reading your space-invaders tutorial to get an idea of game programming basics :-)

Added some multiply pick-ups to the game, when enemy sprite dies a token is left, take the token and 0.2 is added to your your multiplier.
Multiplier is used to calculate enemy point. Destroyed enemy score=score * multiplier.
This way the player is forced to move, and will hopefully make the game more enjoyable.

Its late now, got it working... but need to optimize it tommorow, some slowdowns, but plenty of room for optimization, just need to start looking for it :-)


10  Games Center / Archived Projects / Re: Sparx WIP on: 2008-06-04 20:33:26
I am probably gonna add some kind of leveling, and some challenging stages (like in galaga), where i lock the aim at a given position, and the player, have to rotate about it to hit the enemy, because thats the way i usually play it(only using the aim a little, but circling around it with the spaceship, to direct the bullets at the enemy, and thats way more fun than standing still and using the aim!!!), but i found out most people just stands still and use the aim, and that is pretty boring.......... so i have to find a way tomake people play it the fun way...Matbe i could also add some bombs that freeze the aim, making the player move around more.
11  Games Center / Archived Projects / Re: Sparx WIP on: 2008-05-30 07:37:09
Just updated the game, the engine is much more versatile now, will take some screenshots tommorrow.
12  Games Center / Archived Projects / Re: Sparx WIP on: 2008-02-08 17:17:18
Thread.sleep(x) will not reliably sleep x millis, maybe that is causing the trouble?  For example, I've found that on some windows computers, calling sleep(1) actually sleeps for 20ms.

Some people just always do sleep(1) between frames and use variable time-step updates,
others do Thread.yield() or Thread.sleep(0) in a loop until the current time is greater than whatever delay they want.

Hope that helps.
Thanks alot keith, you just saved my day Wink
That solved my timing problems, and the slowdowns.

13  Games Center / Archived Projects / Re: Sparx WIP on: 2008-02-04 21:39:23

Calculate sleeptime for each frame again.

Put a frame counter on, but are getting some very unstable readings.


        public static final int FRAME_RATE = 80;
        public static int sleepTimeMs=1000/FRAME_RATE;
   private int frameTime=1000000000/FRAME_RATE;

   public void paint(Graphics g){
            long startTime = System.nanoTime();
            Graphics2D g2d=(Graphics2D)g;

      Color c=game.getBackgroundColor();
         g2d.fillRect(0,0,getWidth(), getHeight());
      long estimatedTime = System.nanoTime() - startTime;

                if (sleepTime<1){sleepTime=1;}


        public void run() {
                long startTime1 = System.nanoTime();
              } catch (Exception e){

                long estimatedTime1 = System.nanoTime() - startTime1;


14  Games Center / Archived Projects / Re: Sparx WIP on: 2008-02-04 21:03:52
Suddenly runs at hundreds of frames per second, unplayable :/ What did you change?

Cas Smiley

only 2ms sleeptime,
Before i calculated the sleeptime each frame, so i could get a stable frame rate, was not sure if it worked, but will change it back right away..
15  Games Center / Archived Projects / Re: Sparx WIP on: 2008-02-04 19:54:21
Thanx for all the feedback  Smiley

Updated to v0.7

-Better graphics
-Better enemy bevior
-General Performance/Game tuning
16  Games Center / Archived Projects / Re: Sparx WIP on: 2008-01-27 13:02:55
Wow, love the graphics!!!  How did you do it, obviously using java2D?  All of those little effects with the pixels flying about are great.

Its my own own little java2d engine, all graphics are done via java2d line/rect/oval drawing (no photoshop here), to keep the graphics simple, but stylish.
All animations are prerendered then cached.
The explosion are made with my own simple particle system(no physics, only velocity and speed), also prerendered and cached.

Glad you like it  Grin
17  Games Center / Archived Projects / Re: Sparx WIP on: 2008-01-26 18:40:44
game looks nice but runs way too slow here, probably due the size of the applet, would probably be equally as good at half that size.
Whats your machines specs?
18  Games Center / Archived Projects / Re: Sparx WIP on: 2008-01-26 18:34:25
Same problem here: Pressing S doesn't do anything. And yes, the applet has focus.
Ups my fault(put a faulty version up late last night), should be ok now.

19  Games Center / Archived Projects / Re: Sparx WIP on: 2008-01-26 15:16:17
Way to fast here...a game lasts 1-2 seconds before i'm dead without the slightest chance to survive (Athlon X2 4200+, GF 7600gt, Java 6u10 (early access version with D3D pipeline)).

Think im going to test it with Java 6u10 with the D3D/Opengl pipeline today, and try to make some sort of speed test, so speed of game adapts to computer used..... Do you know when Java 6u10 is officially released ??
20  Games Center / Archived Projects / Re: Sparx WIP on: 2008-01-25 21:55:26
Looks great and plays great!   Smiley

I did a global high score table on my game by getting my applet to send the data to a servlet like this:
URL url = new URL(cHOST_NAME);
URLConnection urlConnection = url.openConnection();
if (urlConnection instanceof HttpURLConnection) {
else {
    throw new Exception("this connection is NOT an HttpUrlConnection connection");
urlConnection.setRequestProperty("Content-Type", "application/octet-stream");

// send data to servlet
OutputStream os = urlConnection.getOutputStream();

You probably don't need to make it an octet-stream if you're just sending Strings.

Thanks  Grin
-Think im gonna make a quick filebased solution tonight, my server runs php so no servlets.

quote author=g666 link=topic=18091.msg142010#msg142010 date=1201297408]
nothing happens when i press S here  Huh

Make sure that the applet is in focus, by pressing the mouse button while the pointer is on the applet.
21  Games Center / Archived Projects / Sparx WIP on: 2008-01-25 13:26:55
Hey everyone,
Have been writing my first game in Java, its still WIP, but playable.
Its an arena shooter done in Java2d.

Take a look, and leave a comment.

Need some tips on implementing a global  hiscore table.

Check out my music -->
Pages: [1]
DesertCoockie (33 views)
2018-05-13 18:23:11

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

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

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

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

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

Solater (98 views)
2018-03-17 05:04:08

nelsongames (179 views)
2018-03-05 17:56:34

Gornova (405 views)
2018-03-02 22:15:33

buddyBro (1065 views)
2018-02-28 16:59:18
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!