Author Topic: Beggar  (Read 61347 times)

valianjuan

  • Newcomer
  • Posts: 27
  • Karma: +0/-0
    • View Profile
    • Beggar
Beggar
« on: October 08, 2007, 08:30:11 PM »
Well, thought it was worth posting what I was working on... :D

http://sourceforge.net/projects/beggar

corremn

  • Rogueliker
  • ***
  • Posts: 700
  • Karma: +0/-0
  • SewerJack Extraordinaire
    • View Profile
    • Demise RogueLike Games
Re: Beggar
« Reply #1 on: October 09, 2007, 12:57:44 AM »
Gave it a quick try today.  Maybe you should mention a bit about your project, dont be shy, RL developers always need to do self promoting to begin with.

Another java RL in development...

For some reason I like the name, but why did the beggar chose to don a helmet and hack the poor helpless slimes apart? :)

Look forward for more development in the future.

Please no default full screen, seriously messed around with my desktop. Leave it as an option.

P.s Do slimes really breath? :)
corremn's Roguelikes. To admit defeat is to blaspheme against the Emperor.  Warhammer 40000 the Roguelike

valianjuan

  • Newcomer
  • Posts: 27
  • Karma: +0/-0
    • View Profile
    • Beggar
Re: Beggar
« Reply #2 on: October 09, 2007, 03:53:08 AM »
Well,
I actually have a story written out in my notebook, but I figure I need an engine at least to put it in!  ;)   (Hence the slimes for testing.  I mean, isn't an rpg that starts with you battling slimes classic?)

The basic bit o' it is that a beggar watches as a powerful (but old) wizard guns down a fleeing thief.  Once dead, the wizard has a heart attack, leaving behind a mysterious item that puts you on a serious quest, because upon picking it up, you find it's cursed.

It's tile based, written in java, and will at some point have a full-featured  :-\ xml input scheme that lets you write your own mods.  I was greatly inspired by IVAN and hope to expand on some of the features in that game.

I'm working on various screen resolutions/full screen options now.  That will be the 0.5.0 release.  8)
« Last Edit: October 09, 2007, 03:55:50 AM by valianjuan »

corremn

  • Rogueliker
  • ***
  • Posts: 700
  • Karma: +0/-0
  • SewerJack Extraordinaire
    • View Profile
    • Demise RogueLike Games
Re: Beggar
« Reply #3 on: October 09, 2007, 01:03:13 PM »
Well,
I actually have a story written out in my notebook, but I figure I need an engine at least to put it in!  ;)   (Hence the slimes for testing.  I mean, isn't an rpg that starts with you battling slimes classic?)

The basic bit o' it is that a beggar watches as a powerful (but old) wizard guns down a fleeing thief.  Once dead, the wizard has a heart attack, leaving behind a mysterious item that puts you on a serious quest, because upon picking it up, you find it's cursed.

Ha, take that stupid wizard! 

It's tile based, written in java, and will at some point have a full-featured  :-\ xml input scheme that lets you write your own mods.  I was greatly inspired by IVAN and hope to expand on some of the features in that game.

I noticed the IVAN influence ;)

Good luck!
corremn's Roguelikes. To admit defeat is to blaspheme against the Emperor.  Warhammer 40000 the Roguelike

valianjuan

  • Newcomer
  • Posts: 27
  • Karma: +0/-0
    • View Profile
    • Beggar
Re: Beggar
« Reply #4 on: October 09, 2007, 11:50:51 PM »
Just put up a new version w/ options for screen resolutions.  ;D

valianjuan

  • Newcomer
  • Posts: 27
  • Karma: +0/-0
    • View Profile
    • Beggar
Re: Beggar
« Reply #5 on: October 11, 2007, 12:00:45 AM »
And now with random map! And varied terrain.

Slash

  • Creator of Roguetemple
  • Administrator
  • Rogueliker
  • *****
  • Posts: 1203
  • Karma: +4/-1
    • View Profile
    • Slashie.net
    • Email
Re: Beggar
« Reply #6 on: October 11, 2007, 12:49:31 AM »
Ha, development rush :P

Ex

  • IRC Communications Delegate
  • Rogueliker
  • ***
  • Posts: 313
  • Karma: +0/-0
    • View Profile
Re: Beggar
« Reply #7 on: October 11, 2007, 06:36:08 AM »
I think it's an awesome project.

valianjuan

  • Newcomer
  • Posts: 27
  • Karma: +0/-0
    • View Profile
    • Beggar
Re: Beggar
« Reply #8 on: October 12, 2007, 01:49:18 PM »
Thanks! :D
I like it.  I just put up a version with much harder slimes.  I think I'll have to implement resting for new releases...  Too easy to die.

Also working on an xml parser, that will take a while, but then I'll be able to add content much more quickly.

Anvilfolk

  • Rogueliker
  • ***
  • Posts: 374
  • Karma: +0/-0
    • View Profile
Re: Beggar
« Reply #9 on: October 12, 2007, 02:59:53 PM »
You should probably check DOM, JDOM or SAX, I've read they have Java API's. I've worked with DOM for Python, and it's nice:) It's terribly easy to use - just tell it the file you want to open, and it'll give you access to a node which is the root of the XML "tree". Just browse the children and you're done!

I hear SAX isn't tree-based.
"Get it hot! Hit it harder!!!"
 - The tutor warcry

One of They Who Are Too Busy

Slash

  • Creator of Roguetemple
  • Administrator
  • Rogueliker
  • *****
  • Posts: 1203
  • Karma: +4/-1
    • View Profile
    • Slashie.net
    • Email
Re: Beggar
« Reply #10 on: October 12, 2007, 03:32:10 PM »
SAX is event based, which is nice for big XML streams too expensive to load in memory as in DOM

valianjuan

  • Newcomer
  • Posts: 27
  • Karma: +0/-0
    • View Profile
    • Beggar
Re: Beggar
« Reply #11 on: October 12, 2007, 04:17:01 PM »
I saw sax but wasn't thrilled.  Besides, I think the game runs better the more I can preload.  Real time loading is slow for java, methinks.

I will check out DOM though.  If it it saves me coding time, I'm in!  8)

Anvilfolk

  • Rogueliker
  • ***
  • Posts: 374
  • Karma: +0/-0
    • View Profile
Re: Beggar
« Reply #12 on: October 12, 2007, 07:17:40 PM »
Heh, cool!

From my (small) experience using DOM, you can pretty much just load the XML file you want into a "DOM" tree. Then, go through it recursively, putting everything you want in YOUR data-structures to ensure efficiency. Just get rid of the XML tree once you've got all the data, and the pre-loading's done :)

Not sure what the DOM java API looks like though, so I can't give you any pointers :\
"Get it hot! Hit it harder!!!"
 - The tutor warcry

One of They Who Are Too Busy

valianjuan

  • Newcomer
  • Posts: 27
  • Karma: +0/-0
    • View Profile
    • Beggar
Re: Beggar
« Reply #13 on: October 12, 2007, 07:33:56 PM »
After a little reading on my break I think JDOM is best.  I can preload, and the code is minimized.  SAX comes preintegrated as does DOM, JDOM just makes it easy to read and write.

Slash

  • Creator of Roguetemple
  • Administrator
  • Rogueliker
  • *****
  • Posts: 1203
  • Karma: +4/-1
    • View Profile
    • Slashie.net
    • Email
Re: Beggar
« Reply #14 on: October 13, 2007, 03:40:51 PM »
One disadvatage of XML is some data is better handled as tabular data instead of tree structured, specially for human edition (I am talking about for example monster and item stats, which you may want to sort out, filter, etc). Best thing to do is using both things at the same time and link them via entity IDs.