Tyrant - Java Roguelike Adventure Game

Just a quick announcement for Tyrant - It’s a fully open source, roguelike game written in Java. You play a heroic adventurer exploring a dangerous world of monsters and magic.

The Tyrant game world is randomly generated, so there is plenty of replay value. As the world gets larger and more intricate, we hope to have a game where you truly get to have a different adventure every time you play.

While Tyrant is still in development, the game is growing fast and has a very extensible game engine that should allow for rapid world building.

The online game:
http://tyrant.sourceforge.net

The development site:
http://www.sourceforge.net/projects/tyrant

The project is very keen to have some extra playtesting - so feel free test it out and post opinions / ideas / bugs on the development site!

Finally, some screenshots:

http://tyrant.sourceforge.net/screenshot3.png

http://tyrant.sourceforge.net/screenshot4.png

ISTR contacting you a few months ago suggesting some changes including a non-applet version (because the applet was far too small on a modern monitor :slight_smile: amongst other things). I can’t find the email now, but is there any progress on a non-applet version? Is it near ready to be submitted to the Java Games Factory?

I’m still working on it… there should be a Java Web Start version available soon.

The graphics have already been upgraded to 32*32 so they are a lot more clear now (actually, just realised that I posted some old screenshots - here is a newer one)

http://tyrant.sourceforge.net/screenshot5.png

Ah! Much better already! :slight_smile:

I get a security exception trying to run from the site when it tries to open a Socket. I downloaded the ZIP, and I can run it and create a character, but then I get a black screen with the status bar and the sidebar but nothing in the middle.

I can walk around and messages appear at the bottom, but the main world display never updates.

I am guessing you did something really silly like forgot to include the graphics files in the downloadable JAR? ::slight_smile:

If you aren’t going to simply scale up to the window size then you ABSOLUTELY MUST add a font-size setting! It’s painful at the moment (not that I can play right now, c.f. above problem) to try and read grey-on-black verysmall and verynarrow text :(.

Applet crashed with “Illegal name error” before anything displayed. See thread about Electroid for resolution.

Cas :slight_smile:

Thanks for the feedback people - haven’t tested with that many browsers so far so the input is really useful!

I think the security problem may be due to the applet being on a separate host from the web page - I’ve updated the link.

Cas - I’ve tried the fix from Electroid, can you confirm that it works for you?

I guess this is a Java 1.5 incompatibility?

Thanks. That’s fixed the main access problem. Also, perhaps because that version is a lot more recent than the download ZIP you have on the front page (the startup menus are clearly from different versions), it seems to have fixed the painting problems.

Now…if you could just add something - even just one pair of keys as a quickfix - to make those fonts readable @ 1400x1050…

Very nice game - is the webstart version the same size as the applet? I had the impression that it took much longer to download.

Also, saving didn’t work in the webstart version (it didn’t ask for security permissions either).

Other than that, everything was fine under Windows XP, Firefox, with JDK 1.4.2.

Yep, font change is in the pipeline.

The game was first conceived back when 640*480 was a common screen size… :slight_smile:

[quote]is there any progress on a non-applet version?
[/quote]
With the new URL (seems to be a differnet page?) there’s a webstart link (or did you add that today since I last checked the page :slight_smile: - or was I just being blind?).

Anyway, the webstart link works fine for me on 1.4.2_05 linux.

However…there is a bug on both the applet and webstart. When the first screen loads, if you have to alt-tab to get to the window (e.g. you brought a different window to the foregournd while waiting for it to load) it does NOT display the “enter your name” message until you press a key, and if you alt-tab away and back again, the message disappears again, until you press a key.

Also, in the webstart version, it won’t let me load games because - it claims - I’m using the applet version. Huh?

Also, I can’t seem to find documentation that even covers the first ten seconds of play - what do all these races and classes mean"

Ah yes - need to enable security permissions. Should be done shortly.

Bear with me - I’m new to this Web Start process :stuck_out_tongue:

PS Mikera, look at the Muffin threads from the past few days in this forum (can’t remember which category; Shared Code?) for free source code to make it easy to load and save small files within webstart and your main app, using special support for saving data in webstart that will give you saved games BUT it will still mean that you don’t have to ask for special permissions (which, BTW, is cool - it’s nice not to be asked for that :))

I really like the Muffin idea ! Will have a look at incorporating something like this sometime soon.

BTW - what is it exactly that causes the security dialog to pop up? ???

Now that I’ve signed my .jar file, it seems to do this all the time - which is very annoying since the applet doesn’t even need full permissions. Any hints on how to turn this off and/or default to normal unsigned applet security would be very welcome!

this is off the top of my head but Im pretty sure these tags in your JNLP file cause the dialog to pop up:

Got this error, I believe because I was poisoned and went out to the wilderness. I was playing the webstart version.

java.lang.NullPointerException

  at mikera.tyrant.GameScreen.keyAction(Unknown Source)

  at mikera.tyrant.GameScreen.mainLoop(Unknown Source)

  at mikera.tyrant.QuestApp.gameStart(Unknown Source)

  at mikera.tyrant.QuestApp.run(Unknown Source)

  at java.lang.Thread.run(Unknown Source)

Oh yeah, forgot to include that I like the game quite a bit, hope you stick with it and continue to upgrade it (at least long enough to get a cult following that will fanatically upgrade the game after you are sick of it).

Something should be done with some of the prompts, like when it’s asking if you want to equip something in the right or left hand, if you try to walk or something nothing will happen, it should default to something if you hit a key besides the ones it’s looking for (or at least have some more obvious indication that you aren’t moving because you haven’t answered a question). I thought the game had locked up and only realized what went wrong after I closed the game.