Slick Forums

Discuss the Slick 2D Library
It is currently Wed May 22, 2013 11:32 am

All times are UTC




Post new topic Reply to topic  [ 111 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8  Next
Author Message
 Post subject:
PostPosted: Mon Aug 11, 2008 2:42 am 
Offline
Regular

Joined: Sat May 31, 2008 12:26 am
Posts: 207
1. Trader targeting and patrol system improved

2. Added "AI Editor". This editor allows you to place patrol nodes and ambush zone. Right now, it only works for traders. Thus placing an ambush zone will crash the game. Currently, the only way to decide WHICH trader you are placing patrol zones for is to place a new one. The new trader you place will automatically become "selected" and the editor will allow you to place patrol nodes for it.

3. Added "burst" functionality to weapons, allowing guns to fire in predetermined numbers of bursts. Pirates now fire 3-5 shot bursts to show off this feature. (pirates are much more difficult to defeat now)

JNLP updated:
www.kittsplace.com/klingenco/rockets/rocketpod.jnlp


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 11, 2008 4:09 am 
Offline
User avatar

Joined: Tue May 13, 2008 11:33 pm
Posts: 32
Wow that it heaps of fun! Keep it up, its going to be a great game!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 23, 2008 5:03 am 
Offline
Regular

Joined: Sat May 31, 2008 12:26 am
Posts: 207
Just some updates:
I'm at Carnegie Mellon right now, getting ready to begin college studying computer science here. I don't mean to brag, but CMU has one of the best and most rigorous computer science programs in the world, and I haven't (and will not) have much time to do anything else but study.

However, I've still had some time to update my game, and I see it as a way to keep my compsci skills sharp.

1. fixed sparks turning off on map reset

2. Pirates now use boid AI. They use "offset pursuit", and will pursue the player at a given distance, firing at him the entire time.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 12, 2008 11:43 pm 
Offline
Regular

Joined: Sat May 31, 2008 12:26 am
Posts: 207
This game is now under active development as part of the Game Creation Society at Carnegie Mellon University. I am in the process of gathering a team, and by the end of the year, this game should be totally fleshed out!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 13, 2008 1:10 pm 
Offline
Game Developer

Joined: Sun Nov 12, 2006 11:18 pm
Posts: 890
Location: Germany
Cool progress getting a team of students to work on it!

Aah, studying computer science at university - that was one of the best times of my life! Enjoy it :wink:

Cheers,
Tommy

_________________
Right Angle Games | Marte Engine
Back to the past | Star Cleaner | SpiderTrap


Top
 Profile  
 
 Post subject: Hey
PostPosted: Sun Sep 14, 2008 6:59 pm 
Offline

Joined: Wed Mar 21, 2007 7:59 pm
Posts: 96
Three comments.

(1) Your web serve doesnt send the right mime type for the jnlp so it wont run form my browser. i had to downlaod it and try launching it from the desktop

(2) Your JNLP does not yet seem to support Mac OSX. I suspect because you are pointing the the Sun JDk as a resource.

(3) I tried to grab it from your website and run it locally but I could not get a script to run it as an app to work right. It panics out with a nil pointer in AWT message.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 14, 2008 8:35 pm 
Offline
Regular

Joined: Sat May 31, 2008 12:26 am
Posts: 207
1) I know, and I don't know how to fix that.

2) I know, and I don't know how to fix that.

3) I know and I don't know how to fix that.

Sorry :(


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 15, 2008 12:16 pm 
Offline
Site Admin
User avatar

Joined: Thu Jan 01, 1970 12:00 am
Posts: 3143
1) You need to configure apache mime types, this gives some details on how to do that:

http://www.flashcentral.com/Tech/Server/Apache.htm

JNLP files should have the application/x-java-jnlp-file mime type.

2)

The reference to the Sun JDK in the JNLP shouldn't really be an issue since Java will already be there, unless you're asking for a java version that isn't supported - at which point the Mac needs the 1.6 jdk thats now available (assuming of course it's 64 bit).

3)

Sounds like a bug in SoyLatte if it doesn't ack like the RI from Sun?

Kev


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 22, 2008 8:36 pm 
Offline
Regular

Joined: Sat May 31, 2008 12:26 am
Posts: 207
Bah, trying to distribute my changes as a .jnlp, but its giving me a weird error that is just
Code:
ERROR:org.newdawn.slick.geom.Vector2f.add(Lorg/newdawn/slick/geom/Vector2f;)V
java.lang.NoSuchMethodError: org.newdawn.slick.geom.Vector2f.add(Lorg/newdawn/slick/geom/Vector2f;)V
   at Player.move(Player.java:436)
   at Game.update(Game.java:2533)
   at org.newdawn.slick.state.StateBasedGame.update(StateBasedGame.java:252)
   at org.newdawn.slick.GameContainer.updateAndRender(GameContainer.java:541)
   at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:371)
   at RocketPod.main(RocketPod.java:42)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.sun.javaws.Launcher.executeApplication(Unknown Source)
   at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
   at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
   at com.sun.javaws.Launcher.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Mon Sep 22 16:33:49 EDT 2008 ERROR:Game.update() failure - check the game code.
org.newdawn.slick.SlickException: Game.update() failure - check the game code.
   at org.newdawn.slick.GameContainer.updateAndRender(GameContainer.java:558)
   at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:371)
   at RocketPod.main(RocketPod.java:42)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.sun.javaws.Launcher.executeApplication(Unknown Source)
   at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
   at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
   at com.sun.javaws.Launcher.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)


What does this mean? The line referenced is the addition of two Vecto2fs, and its saying that this method does not exist!

Is it because of the "Lorg" in the path name? I didn't even make that error in my code.


As for changes made in this version, the team:
1. Made tractor beams buyable. Added 3 new types of tractor beams.
2. Made a new weapon called "rocket", basically a missile without tracking.
3. Significantly improved control of the rocketpod by increasing thruster force, adding an "autoStop" method (spacebar), and increasing the gold pickup radius.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 22, 2008 10:41 pm 
Offline
Game Developer
User avatar

Joined: Sun May 25, 2008 9:45 am
Posts: 578
Quote:
java.lang.NoSuchMethodError: org.newdawn.slick.geom.Vector2f.add(Lorg/newdawn/slick/geom/Vector2f;)V

Means that the Vector2f class does not have the add method you are trying to call. Probably you need to update the slick and/or lwjgl JAR files.

_________________
SingSong Karaoke - http://singthegame.com


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 23, 2008 3:56 am 
Offline
Regular

Joined: Sat May 31, 2008 12:26 am
Posts: 207
NateS wrote:
Quote:
java.lang.NoSuchMethodError: org.newdawn.slick.geom.Vector2f.add(Lorg/newdawn/slick/geom/Vector2f;)V

Means that the Vector2f class does not have the add method you are trying to call. Probably you need to update the slick and/or lwjgl JAR files.


my .jnlp is pointing to the latest version of slick (I think) :oops:


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 23, 2008 4:29 am 
Offline
Game Developer
User avatar

Joined: Sun May 25, 2008 9:45 am
Posts: 578
If it were pointing to the same jar that you built your game with, the NoSuchMethodError wouldn't occur. :)

_________________
SingSong Karaoke - http://singthegame.com


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 23, 2008 4:36 am 
Offline
Regular

Joined: Sat May 31, 2008 12:26 am
Posts: 207
NateS wrote:
If it were pointing to the same jar that you built your game with, the NoSuchMethodError wouldn't occur. :)


maybe I'm using an old version of slick on my machine. That would be conceivable.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 23, 2008 4:20 pm 
Offline
Regular

Joined: Sat May 31, 2008 12:26 am
Posts: 207
That does seem to be the error. When I replace my libraries with the current ones, mouse and keyboard input fail completley.

Something tells me that I'm using an older version of Slick with different KeyListener methods.

... :cry:


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 27, 2008 7:38 pm 
Offline
Regular

Joined: Sat May 31, 2008 12:26 am
Posts: 207
1. Versions reverted back to old slick.
2. Pirates spawn with random weapons.
3. Pirates avoid asteroids and can collide with them.
4. Buy menu scrolls.
5. Added 2 new lasers, and a heavy cannon.
6. Player can shoot down enemy missiles.
7. Player can buy point defense lasers and autocannons to shoot down missiles automatically.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 111 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group