Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (744)
Games in Android Showcase (225)
games submitted by our members
Games in WIP (825)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  KRPG is finally Real!!!!  (Read 7140 times)
0 Members and 1 Guest are viewing this topic.
Offline krypto

Junior Devvie




while(true) { self.caffeinate (); }


« Posted 2003-10-02 09:50:33 »

Kind Of. I've been working on... was working on and am now returning to my KME/KRPG ...
The KME is my map editor for what is basically a Gage map. The KRPG is the Game I'm creating w/ those maps.

Keep in mind that this is very pre-alpha. Not to much you can do in it. Walk around with the character, talk by pressing space bar.. (it is just a test of my xml dialog system), pick up items and teleport to another world... (The pink square is the teleport for now) once you get to the second world there is no way out, so press the P key and select quit from the menu.

Please check it out and let me know how it runs. Just unzip the file and run the batch file...JRE1.4 Required.

the download can be found here https://kme.dev.java.net/servlets/ProjectDocumentList

JRPG Users -  General Users Site
JRPG Developers -  The JRPG Project's Home
Offline kevglass

« JGO Spiffy Duke »


Medals: 319
Projects: 25
Exp: 22 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #1 - Posted 2003-10-02 10:12:31 »

It looked good for about 2 seconds Smiley

I got an unsatified linker error for "timer", probably cause gagetimer wasn't in the zip file?

Then I got a divide by zero error from GageEngine.java:257.

Is there a way I can run it in a window btw?

Great to finally see a version of this!

Kev

Offline kevglass

« JGO Spiffy Duke »


Medals: 319
Projects: 25
Exp: 22 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #2 - Posted 2003-10-02 10:33:56 »

After fixing the timer.dll it ran for a while, but then I got an array index out of bounds from inside GAGE on the parralax map.

Other than these little niggles it looks really cool! Yes, the dialog system did look quite familiar and having looked the XML I remember better Smiley

Keep up the sterling work!

Kev

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline krypto

Junior Devvie




while(true) { self.caffeinate (); }


« Reply #3 - Posted 2003-10-02 10:39:15 »

Thanks Kevin;
Could you send me a stack Trace ?

JRPG Users -  General Users Site
JRPG Developers -  The JRPG Project's Home
Offline kevglass

« JGO Spiffy Duke »


Medals: 319
Projects: 25
Exp: 22 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #4 - Posted 2003-10-02 10:50:37 »

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
       at com.dnsalias.java.gage.map.Parallax.render(Parallax.java:135)
       at com.krypto.k2.graphics.GameEngine.render(GameEngine.java:170)
       at com.krypto.k2.graphics.GFXEngine.render(GFXEngine.java:207)
       at com.krypto.k2.graphics.GameEngine.run(GameEngine.java:242)
       at com.krypto.k2.graphics.GameEngine.main(GameEngine.java:361)

Sorry I had to post it, haven't got a mail for you handy..

Kev

Offline krypto

Junior Devvie




while(true) { self.caffeinate (); }


« Reply #5 - Posted 2003-10-02 10:57:51 »

Quote
Sorry I had to post it, haven't got a mail for you handy..

Kev


That's OK ... This is the first time my code has ever thrown an exception anyways.. Wink

JRPG Users -  General Users Site
JRPG Developers -  The JRPG Project's Home
Offline krypto

Junior Devvie




while(true) { self.caffeinate (); }


« Reply #6 - Posted 2003-10-02 11:02:14 »

BTW kev; Does the stack dump happen when you perform a certain action or movement?

JRPG Users -  General Users Site
JRPG Developers -  The JRPG Project's Home
Offline kevglass

« JGO Spiffy Duke »


Medals: 319
Projects: 25
Exp: 22 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #7 - Posted 2003-10-02 11:08:06 »

I think its when I hit the teleporter.

Kev

Offline krypto

Junior Devvie




while(true) { self.caffeinate (); }


« Reply #8 - Posted 2003-10-02 11:25:33 »

Thanks again for help w/ debugging. I'll updated the zip and fixed the error. (zip was missing a level) and fixed the timer lib path in the script(I think). Kevin.. any chance you could coach me on how to enable it via webstart?

JRPG Users -  General Users Site
JRPG Developers -  The JRPG Project's Home
Offline Orangy Tang

JGO Kernel


Medals: 57
Projects: 11


Monkey for a head


« Reply #9 - Posted 2003-10-02 11:38:42 »

Hmm.. worked ok, pretty smooth scrolling and fps. Can't seem to do much though. And it gives array out of bounds errors when ever I walk near edges of the maps, you really should fix that Tongue Especially since it doesnt crash nicely at all.

Oh, and you might want to replace your graphics, I doubt Square and such would be happy with you ripping their work and distributing it for free..

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline krypto

Junior Devvie




while(true) { self.caffeinate (); }


« Reply #10 - Posted 2003-10-02 11:56:14 »

Quote

Oh, and you might want to replace your graphics, I doubt Square and such would be happy with you ripping their work and distributing it for free..


I got the graphics from RPG-maker website. I know they are originally square but someday I'll try to get a graphics team to do new graphics.

JRPG Users -  General Users Site
JRPG Developers -  The JRPG Project's Home
Offline Mojomonkey

Senior Devvie




ooh ooh eee eeee


« Reply #11 - Posted 2003-10-02 12:03:07 »

Hi,

Looking pretty good. First time I tried it it made it to the title screen then crashed. Second time it worked. Went into a shop and got a divide by zero when I walked by a wall. Got a consistent 60 FPS.

EDIT: Typo... unfortunately, Krypto quoted it. Smiley

Don't send a man to do a monkey's work.
Offline krypto

Junior Devvie




while(true) { self.caffeinate (); }


« Reply #12 - Posted 2003-10-02 12:09:41 »

Quote
Went into a shop and got a divide by zero when I walked by a wall. Got a consisitent 60 FPS.


That's because I haven't defined the boundaries in the shop map yet. Thanks for all the helpful input. Cheesy

JRPG Users -  General Users Site
JRPG Developers -  The JRPG Project's Home
Offline krypto

Junior Devvie




while(true) { self.caffeinate (); }


« Reply #13 - Posted 2003-10-02 13:12:55 »

Hurray post number 100 Grin

JRPG Users -  General Users Site
JRPG Developers -  The JRPG Project's Home
Offline kevglass

« JGO Spiffy Duke »


Medals: 319
Projects: 25
Exp: 22 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #14 - Posted 2003-10-02 18:41:42 »

There are a whole bunch of FAQs and stuff around WebStart and JNLP. If you google you will find. However, since you asked, I knocked this up tonight:

http://www.cokeandcode.com/info/webstart-howto.html

Kev

Offline William Denniss

JGO Coder


Projects: 2


Fire at will


« Reply #15 - Posted 2003-10-02 21:14:50 »

hey kevglass, nice tutorial - now I don't need to write one for Xith Grin

Mind if I mirror or link to it from http://xith.org/tutes.php?

Cheers,

Will.

Offline kevglass

« JGO Spiffy Duke »


Medals: 319
Projects: 25
Exp: 22 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #16 - Posted 2003-10-03 04:50:51 »

Not a problem, probably easier if you reference it but stick your style sheet on it. It also probably needs checking for typos.

Kev

PS. Krypto, apologies for thread-hacking.

Offline krypto

Junior Devvie




while(true) { self.caffeinate (); }


« Reply #17 - Posted 2003-10-03 09:17:47 »

Quote
There are a whole bunch of FAQs and stuff around WebStart and JNLP. If you google you will find. However, since you asked, I knocked this up tonight:

http://www.cokeandcode.com/info/webstart-howto.html

Kev


Kevin once again... You rule. Cool

JRPG Users -  General Users Site
JRPG Developers -  The JRPG Project's Home
Offline zulo

Junior Devvie




Java games rock!


« Reply #18 - Posted 2003-10-03 12:56:01 »

Hey!

I liked this, looks cool..

I recently upgraded my pc to a p4 1.4ghz with radeon 9800 pro 128, and let me tell you, this game had smooooth graphics hehe Smiley

Got an index array out of bounds exception inside the house.
Offline krypto

Junior Devvie




while(true) { self.caffeinate (); }


« Reply #19 - Posted 2003-10-03 13:38:09 »

thanks for the feedback.... I know how to fix the array error.. I just need to update the map file.  

JRPG Users -  General Users Site
JRPG Developers -  The JRPG Project's Home
Offline zparticle

Senior Devvie




Thick As A Brick


« Reply #20 - Posted 2003-10-03 15:25:44 »

Well I ran it and it fried my Win2K box hard core, I had to plug the power plug out. I managed to see part of an exception about MIDI playback and the the graphics on the screen when it entered full screen mode where completely trashed.

Offline krypto

Junior Devvie




while(true) { self.caffeinate (); }


« Reply #21 - Posted 2003-10-06 08:11:58 »

Quote
Well I ran it and it fried my Win2K box hard core.


That really wierd... I'm running on 2k. anyone else have issues w/ the midi background music. It uses the GAGE sound engine. Huh

JRPG Users -  General Users Site
JRPG Developers -  The JRPG Project's Home
Pages: [1]
  ignore  |  Print  
 
 

 
Ecumene (149 views)
2017-09-30 02:57:34

theagentd (222 views)
2017-09-26 18:23:31

cybrmynd (301 views)
2017-08-02 12:28:51

cybrmynd (288 views)
2017-08-02 12:19:43

cybrmynd (298 views)
2017-08-02 12:18:09

Sralse (291 views)
2017-07-25 17:13:48

Archive (978 views)
2017-04-27 17:45:51

buddyBro (1102 views)
2017-04-05 03:38:00

CopyableCougar4 (1678 views)
2017-03-24 15:39:42

theagentd (1430 views)
2017-03-24 15:32:08
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
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!