Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (601)
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,http://slick.cokeandcode.com/demos/natives-win32.jar]
   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$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown 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
Hi,

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
Hi,

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
Hi,

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.
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
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
1  
2  
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?

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

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
Thanks,

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
Hi,

Entered the LD48 game comp http://www.imitationpickles.org/ludum/
Made a java applet entry with Pulpcore & Jbox2d.

Screenshot


Play the game here http://blog.alexjeffery.org/pulpcore-applets/ld4811-minimalist-entry/

Instructions.
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
Hi!

Wrote a brick dodging game in Java using the Pulpcore API http://www.interactivepulp.com/pulpcore/
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.
http://blog.alexjeffery.org/2008/02/22/brick-dropper-game/

Screen shot


Enjoy!
Alex
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.

rwatson462 (30 views)
2014-12-15 09:26:44

Mr.CodeIt (20 views)
2014-12-14 19:50:38

BurntPizza (42 views)
2014-12-09 22:41:13

BurntPizza (76 views)
2014-12-08 04:46:31

JscottyBieshaar (37 views)
2014-12-05 12:39:02

SHC (51 views)
2014-12-03 16:27:13

CopyableCougar4 (48 views)
2014-11-29 21:32:03

toopeicgaming1999 (115 views)
2014-11-26 15:22:04

toopeicgaming1999 (103 views)
2014-11-26 15:20:36

toopeicgaming1999 (30 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

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
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!