LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: CuppoJava on June 20, 2006, 17:34:11

Title: Game showoff. Templar - 30% Completion
Post by: CuppoJava on June 20, 2006, 17:34:11
http://members.shaw.ca/Li_Variation/templar2.jar

Existing Controls:
Arrow Keys : Move/Turn
W: Shoot Up
A: Shoot Left
D: Shoot Right
Hold two firing directions to shoot in two directions.
Double tap UP: Flip forward.
Double tap DOWN: Flip backwards.
Double tap Left/Right: Slide left/right. (Not yet animated) [Update: Now updated]
Double tap Right and Hold: Flip Right

This is brain-child of 2 months. It's about 1/3 completed.
Inspired by the movie Equilibrium.
I animated the little mannequin myself, and the background tiles are ripped off of a game that I used to play.

I'm now looking for some volunteer artists that are willing to complete this game with me. Do you think what I have is sufficient to attract artists? What other fancy stuff should I add to get some artists interested enough to help?

Anyway, thanks for checking it out. Feedback is welcome.
 -Cuppo

PS: Sorry about not using Web-Start. I'll get that running once I figure out how.
Title: Game showoff. Templar - 30% Completion
Post by: Matzon on June 20, 2006, 18:47:12
java -cp bin;templar.jar -Djava.library.path=libs\win32 templar.Templar                  
java.io.FileNotFoundException: C:\Nocturne\Java\Templar\classes\tileSet.png (The system cannot find the path specified)
Title: Game showoff. Templar - 30% Completion
Post by: CuppoJava on June 20, 2006, 18:49:15
arg. okay i'll fix that...
Title: Game showoff. Templar - 30% Completion
Post by: CuppoJava on June 20, 2006, 19:09:13
K, should be fixed now.

Here's a screenshot:
(http://members.shaw.ca/Li_Variation/screenshot.jpg)
Title: Game showoff. Templar - 30% Completion
Post by: Matzon on June 20, 2006, 19:56:37
err - 4.4 MB screenshot???
might want to jpg it, 65% - ~ 140kB
Title: Game showoff. Templar - 30% Completion
Post by: Matzon on June 20, 2006, 20:00:56
works, no skipping in frames or likewise. Might want to make ESC the exit button :)

has a certain ultratron feel over it.
Title: Game showoff. Templar - 30% Completion
Post by: CuppoJava on June 20, 2006, 20:33:14
Thx for trying it out Matzon.
Okay, so it works. That's always good news =)

I haven't played Ultratron yet, but it looks like a really cool game.
I trust all the users here to know Alt-F4 so I was too eager to post it to write in a exit function.

I'll get the screenshot fixed.
Title: Game showoff. Templar - 30% Completion
Post by: CuppoJava on June 20, 2006, 20:48:53
Downloaded the Ultratron demo,
Heh, that's a sweet game. If anyone hasn't tried it out yet, go do it right now.
Although.....the demo kills you right one you reach the boss....arg...
Title: Game showoff. Templar - 30% Completion
Post by: princec on June 20, 2006, 20:53:00
Muahahaha :) Good nag, innit?

Cas :)
Title: Game showoff. Templar - 30% Completion
Post by: CuppoJava on June 20, 2006, 21:29:59
muuuaarrrg..

I'll get you back one day on my demo....   however many years later that may be.
Title: Game showoff. Templar - 30% Completion
Post by: CuppoJava on June 20, 2006, 23:21:00
I added a few new animations. See the first post for details
Title: Game showoff. Templar - 30% Completion
Post by: princec on June 20, 2006, 23:41:02
Webstart! Webstart! Webstart!

Cas :)
Title: Game showoff. Templar - 30% Completion
Post by: CuppoJava on June 21, 2006, 02:38:08
Does anyone know of a good tutorial for getting Webstart up and running?
Title: hmmmmmmm...
Post by: Fool Running on June 21, 2006, 14:42:34
I can't seem to run it :cry:

org.lwjgl.LWJGLException: The current DisplayMode instance cannot be used for fullscreen mode
       at org.lwjgl.opengl.Display.switchDisplayMode(Display.java:279)
       at org.lwjgl.opengl.Display.create(Display.java:593)
       at org.lwjgl.opengl.Display.create(Display.java:573)
       at org.lwjgl.opengl.Display.create(Display.java:557)
       at engine.View.init(View.java:44)
       at engine.Game.init(Game.java:27)
       at templar.Templar.main(Templar.java:13)
Exception in thread "main" java.lang.NullPointerException
       at org.lwjgl.opengl.GL11.glGenTextures(GL11.java:1792)
       at engine.Loader.loadGLTexture(Loader.java:66)
       at engine.GLTextureInfo.readObject(GLTextureInfo.java:43)
       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 java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
       at java.io.ObjectInputStream.readSerialData(Unknown Source)
       at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
       at java.io.ObjectInputStream.readObject0(Unknown Source)
       at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
       at java.io.ObjectInputStream.readSerialData(Unknown Source)
       at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
       at java.io.ObjectInputStream.readObject0(Unknown Source)
       at java.io.ObjectInputStream.readArray(Unknown Source)
       at java.io.ObjectInputStream.readObject0(Unknown Source)
       at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
       at java.io.ObjectInputStream.readSerialData(Unknown Source)
       at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
       at java.io.ObjectInputStream.readObject0(Unknown Source)
       at java.io.ObjectInputStream.readObject(Unknown Source)
       at templar.Templar.init(Templar.java:23)
       at engine.Game.init(Game.java:28)
       at templar.Templar.main(Templar.java:13)
Title: Game showoff. Templar - 30% Completion
Post by: CuppoJava on June 21, 2006, 15:38:21
that's weird...
I think it's because of my quick and dirty fullscreen solution.
I'll turn off fullscreen for now.
Title: Game showoff. Templar - 30% Completion
Post by: CuppoJava on June 21, 2006, 15:44:50
K. Fullscreen is now off.
..a quick and dirty solution to fix my quick and dirty solution...
Title: hmmmmmmm
Post by: Fool Running on June 21, 2006, 17:34:04
Still geting the same error... Did you update the .jar download in your first post? Or do I need to get it somewhere else?

EDIT: My machine specs (if you need them):

P42.8GHz w/HT - 2GB ram  - ATI Radeon X600 PRO 256MB - 2 monitors (one at 1280x1024x32@60, other at 1600x1200x32@85) - Windows XP Pro
Title: Game showoff. Templar - 30% Completion
Post by: CuppoJava on June 21, 2006, 19:09:43
heh. I forgot to update the jar file.
It should be fine now.
Title: hmmmmm...
Post by: Fool Running on June 21, 2006, 19:49:57
It still doesn't work  :cry: Same error
Title: Game showoff. Templar - 30% Completion
Post by: CuppoJava on June 21, 2006, 20:42:47
mmmm okay that's really weird..
I'm not even trying to set it to fullscreen anymore...
Title: Game showoff. Templar - 30% Completion
Post by: CuppoJava on June 21, 2006, 20:49:26
Ah hah.
Fixed!
My ISP was keeping a ghost copy of the previous jar file somewhere...
Title: hmmmmmmm...
Post by: Fool Running on June 21, 2006, 21:47:24
Thanks, that worked.
Title: Game showoff. Templar - 30% Completion
Post by: CuppoJava on June 21, 2006, 22:35:02
Great!
So what do you guys think?
Are the controls intuitive?
How's the camera? Some of my friends complained about it being really disorienting, but I think it's the lesser of two evils. If the camera was still, and the player itself rotated, then controls will be harder (like driving an RC car).