KRPG is finally Real!!!!

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

It looked good for about 2 seconds :slight_smile:

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

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 :slight_smile:

Keep up the sterling work!

Kev

Thanks Kevin;
Could you send me a stack Trace ?

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

[quote]Sorry I had to post it, haven’t got a mail for you handy…

Kev
[/quote]
That’s OK … This is the first time my code has ever thrown an exception anyways… :wink:

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

I think its when I hit the teleporter.

Kev

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?

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 :stuck_out_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…

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.

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. :slight_smile:

[quote]Went into a shop and got a divide by zero when I walked by a wall. Got a consisitent 60 FPS.
[/quote]
That’s because I haven’t defined the boundaries in the shop map yet. Thanks for all the helpful input. :smiley:

Hurray post number 100 ;D

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

hey kevglass, nice tutorial - now I don’t need to write one for Xith ;D

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

Cheers,

Will.

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.

[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
[/quote]
Kevin once again… You rule. 8)

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 :slight_smile:

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

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