Hi !
Featured games (90)
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  Games Center / Archived Projects / Re: Super Bubble Pop Fruit Drop Deluxe Edition on: 2008-06-28 10:46:21
I get an exception when I try to run the game.

BadFieldException[ Cache must be enabled for nativelib or installer-desc support,]
   at com.sun.javaws.jnl.XMLFormat.handleResourceElement(Unknown Source)
   at com.sun.javaws.jnl.XMLFormat.access$800(Unknown Source)
   at com.sun.javaws.jnl.XMLFormat$2$1.visitElement(Unknown Source)
   at com.sun.javaws.jnl.XMLUtils.visitChildrenElements(Unknown Source)
   at com.sun.javaws.jnl.XMLFormat$2.visitElement(Unknown Source)
   at com.sun.javaws.jnl.XMLUtils.visitElements(Unknown Source)
   at com.sun.javaws.jnl.XMLFormat.buildResourcesDesc(Unknown Source)
   at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
   at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
   at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
   at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
   at com.sun.javaws.LaunchDownload.downloadExtensionsHelper(Unknown Source)
   at com.sun.javaws.LaunchDownload.downloadExtensions(Unknown Source)
   at com.sun.javaws.Launcher.downloadResources(Unknown Source)
   at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
   at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
   at com.sun.javaws.Launcher.launch(Unknown Source)
   at com.sun.javaws.Main.launchApp(Unknown Source)
   at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
   at com.sun.javaws.Main$ Source)
   at Source)
2  Games Center / Archived Projects / Re: Submarine-Game on: 2008-06-28 10:44:06
I tried out your game.

It ran fine here. I liked the graphics.
It is good for a first game!

It would be cooler with some sound effects, animated submarines, torpedoes and some explosions.
3  Games Center / Archived Projects / Re: Karl's Kard's - a simple memory game on: 2008-06-28 10:33:47

I too also get an exception when trying to run your game.
4  Games Center / Archived Projects / Re: Zatikon on: 2008-06-28 10:32:31

I tried out your game.
There where no other players online so I played against the computer for a bit.
The game was fun tho I did not need to deploy my whole army against the first two computer AI players as they would only put out about 3 units.

Also I think I lost by not having a unit on my castle and an AI rider rode onto it. It is when that happened my connection to the server was cut instead of going back to the main menu?
5  Game Development / Newbie & Debugging Questions / Re: Asteroids: Shoot at a target question on: 2008-06-18 02:37:14
I tried the bullet maths you suggested and it works.
The little flying saucers are quite dangerous now  Smiley

Thanks for the help!

I added my game to the Java Game Tome as well.
6  Game Development / Newbie & Debugging Questions / Asteroids: Shoot at a target question on: 2008-06-17 03:31:33

I have been making a clone of Asteroids in Java. You can see my progress here Play Asteroids

I am having some trouble with getting the flying saucers to shoot at the player.
I have done some research and found that by taking the players position away from the flying saucers position and using the Math.atan2 function on the result I should get the rotation in radians needed to point towards the player from the flying saucers position.

Here is that in code.
double x1 = saucer.x.get();
double y1 = -saucer.y.get();
double x2 = player.x.get();
double y2 = -player.y.get();
double x = x2 - x1;
double y = y2 - y1;
double angle = Math.atan2(y, x);

I tried this and it did not work. So I did some test calculations to see why.
Saucer PositionPlayer PositionResult
(100, 100)(100, 90)3.14
(100, 100)(110, 100)1.57
(100, 100)(100, 110)0
(100, 100)(90, 100)-1.57

This would rotate an object to point in the direction I wanted except the Y axis was upside down.
So if I multiplied the Y by -1 it comes out ok.

I then calculate the velocity for the bullet the saucer fires at the player as such
xVelocity += Math.sin(angle) * ACCELERATION;
yVelocity -= Math.cos(angle) * ACCELERATION;

I tried this in my game and the saucers do not shoot at the player.
Any tips on what to try next?

7  Games Center / Archived Projects / Re: Falling Meteor Game on: 2008-04-22 09:46:15

There is a score. It is in the top center of the screen.
It counts how many red boxes drops you have currently survived.

The graphics are very simple on purpose to keep with the minimal theme of the competition.
I agree I think with some tweaking the game could turn out to be pretty playable.
8  Games Center / Archived Projects / Re: Falling Meteor Game on: 2008-04-21 12:16:20

I am glad you liked the graphics!
Yeah I agree the game play could do with some more work, the idea seemed more fun in my head and I only had 48 hours to tweak it Tongue
9  Games Center / Archived Projects / Falling Meteor Game on: 2008-04-20 12:25:43

Entered the LD48 game comp
Made a java applet entry with Pulpcore & Jbox2d.


Play the game here

You are the blue square.
Dodge the red squares using the arrow keys.
Use the mouse to fire at the red blocks. You can't destroy the red blocks, just deflect them. Get hit too many times and it is game over.

Have fun!
10  Games Center / Archived Projects / Re: Brick Dropper Game - Pulpcore Applet on: 2008-02-27 13:12:11
No worries!

I have code for a Pong clone, a game of life applet and a few other misc things on there as well.
11  Games Center / Archived Projects / Brick Dropper Game - Pulpcore Applet on: 2008-02-25 03:22:43

Wrote a brick dodging game in Java using the Pulpcore API
Dodge the bricks dropped from the top. Use the dropped bricks to form a staircase and escape over the wall!
Runs in your browser if you have Java installed.

Link to the game and its full source code can be found in this blog post.

Screen shot

Pages: [1]
DesertCoockie (33 views)
2018-05-13 18:23:11

nelsongames (75 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 (622 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!