Java-Gaming.org    
Featured games (78)
games approved by the League of Dukes
Games in Showcase (429)
Games in Android Showcase (89)
games submitted by our members
Games in WIP (466)
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  
  Caverns of Underkeep - Applet Roguelike  (Read 5485 times)
0 Members and 1 Guest are viewing this topic.
Offline JoshuaSmyth

Senior Newbie


Projects: 1



« Posted 2008-02-11 09:44:11 »

*** Edit *** Link is now Fixed

Hello, I'm new to these forums and I thought I'd post about a game I've been working on over the last 3 months or so.

Its a browser-based roguelike, modeled closely after Castle of the Winds

The current project status is that the game is in Beta, any bug reports and feedback are appreciated, especially when it comes to doing a sequal.
(which I'm about 90% sure I'll do, only when is the question that still remains...)

You can play the game at www.tinyfrogsoftware.com/cavernsbeta

Image seems to have some funny scaling on it- But you get the idea



Attack of the Meeplings - Free 2D Shooter
Caverns of Underkeep - Free Browser Based Roguelike
Offline Noya

Senior Newbie





« Reply #1 - Posted 2008-02-11 13:03:15 »

After the applet loaded it remains white with the following error.

1  
2  
3  
4  
Exception in thread "Thread-8" java.lang.NullPointerException
   at sSoundEngine.stopHeartBeat(sSoundEngine.java:204)
   at javarogue.run(javarogue.java:214)
   at java.lang.Thread.run(Thread.java:619)


This is under Ubuntu Linux 7.10
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #2 - Posted 2008-02-11 15:45:43 »

worked great here - enjoyed it thoroughly - but couldn't save Sad

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

Senior Newbie


Projects: 1



« Reply #3 - Posted 2008-02-11 21:29:46 »

After the applet loaded it remains white with the following error.

1  
2  
3  
4  
Exception in thread "Thread-8" java.lang.NullPointerException
   at sSoundEngine.stopHeartBeat(sSoundEngine.java:204)
   at javarogue.run(javarogue.java:214)
   at java.lang.Thread.run(Thread.java:619)


This is under Ubuntu Linux 7.10

Thanks for the report I should be able to fix that,

worked great here - enjoyed it thoroughly - but couldn't save Sad

Thanks, saving is a bit too difficult for me to implement. The game is short but, at around 1-2 hours.
It seems browser based games need to be shorter, so for the sequal I might have to try to make a 30-45 minute roguelike so people can play it in their lunch breaks Smiley

Attack of the Meeplings - Free 2D Shooter
Caverns of Underkeep - Free Browser Based Roguelike
Offline SimonH
« Reply #4 - Posted 2008-02-11 22:38:39 »

It's fun but it really needs a save system! I fought my way to the second dungeon and died...

People make games and games make people
Offline fletchergames

Senior Member





« Reply #5 - Posted 2008-02-12 00:28:14 »

I'm playing the game now, and it's really cool.

A save system would be nice, but you could make it so that people are ressurrected in town with a gold and xp loss upon death.  That would reduce the effects of getting killed.  It would still hurt you, but wouldn't end the game.

Maybe you would only get ressurrected if you some special item, which is consumed when used.  You could start the game with one and have to find more later.

I really like that unlocking treasure chests has an actual puzzle to it, rather than just checking a statistic.  It would be cool if disarming traps did too.  However, statistics should count in some way.  Maybe if the relevant statistic is high enough, the puzzle is partly solved for you.

Edit: Also, IMHO, raising Endurance or Intelligence should retroactively increase your HP and MP from previous levels.
Offline JoshuaSmyth

Senior Newbie


Projects: 1



« Reply #6 - Posted 2008-02-12 02:31:27 »

Thanks for the feedback

There is an item which resurrects you when you die, you have to buy it at the magic shop (and have it equipped) in order for it to work.

Another mini-game would be cool, I'll think about adding one.

Attack of the Meeplings - Free 2D Shooter
Caverns of Underkeep - Free Browser Based Roguelike
Offline SimonH
« Reply #7 - Posted 2008-02-12 03:38:23 »

Oops!

1  
2  
3  
4  
5  
6  
7  
8  
Exception in thread "Thread-40" java.lang.IllegalArgumentException: alpha value out of range
   at java.awt.AlphaComposite.<init>(Unknown Source)
   at java.awt.AlphaComposite.getInstance(Unknown Source)
   at guiButton.render(guiButton.java:109)
   at GameState.renderSuperClass(GameState.java:124)
   at GameStateManager.renderCurrentState(GameStateManager.java:248)
   at javarogue.run(javarogue.java:226)
   at java.lang.Thread.run(Unknown Source)

People make games and games make people
Offline JoshuaSmyth

Senior Newbie


Projects: 1



« Reply #8 - Posted 2008-02-12 07:49:47 »

@SimonH

Thats a bit of an odd bug, theres range checking before calling the function... may I ask what OS and comp specs you have?

Attack of the Meeplings - Free 2D Shooter
Caverns of Underkeep - Free Browser Based Roguelike
Offline Markus_Persson

JGO Wizard


Medals: 12
Projects: 19


Mojang Specifications


« Reply #9 - Posted 2008-02-12 11:15:20 »

Oh, wow. =) I love this, so here's some hopefully useful feedback:

I used to play roguelikes quite a bit, my first one being Castle of the Winds, and my favorite one being ADOM (although the current version crashes.. sigh..), and this is just neat. I love the idea of a simple applet based roguelike without too many confusing stats and things to keep track of, and the graphics are nice and clean.
As you said, it might be a bit too long for casual play. Some kind of cookie system where the game picks up where you left off when you leave the page, perhaps? I'm not sure a 30 minute roguelike would be much fun, since then you don't feel like you're leveling up your character for a purpose.

The interface is really clean, with good tooltips on most things, I just wish more of it was playable with just the keyboard, like the inventory and the chest minigame.
Speaking of which, the chest opening minigame seems to be very picky about registering my mouse clicks, turning it into a frustrating competition against the controls instead of against the word puzzle (which I like! It beats the hell out of the plumbing in bioshock).

I love the art and the sounds. They're simple, sure, but they feel solid and thought through, with nice damage text pops. For some reason, I keep getting the "hit" and "miss" animations mixed up, though, I think it's the green color on the miss that does it.. perhaps replace the green "miss" icon with a gray one? Oh, and perhaps the damage popups could have a different color depending on if it's the player getting hurt, or a monster?

The line of sight code seems a bit strange, leaving gaps in corridors, and showing more to the left than on the right below the player sometimes.. I'm guessing you're doing simple raycasting?


I'll play some more.. If I think of more comments, I'll post them. =)

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

Senior Newbie


Projects: 1



« Reply #10 - Posted 2008-02-12 11:28:02 »

Thanks Markus Smiley

I'll check into the input, infact managing input in java applets, the whole eventing system - why not be able to poll? Has been a bit of a thorn in my side.

You're right about the LOS code, it's a bastardised version of raycasting - I've never noticed it being a bit odd, I'll pay more attention next time I'm play testing.


Attack of the Meeplings - Free 2D Shooter
Caverns of Underkeep - Free Browser Based Roguelike
Offline Markus_Persson

JGO Wizard


Medals: 12
Projects: 19


Mojang Specifications


« Reply #11 - Posted 2008-02-12 12:41:38 »

I just noticed it was sucking up 100% cpu time when idling, making for a not-so-fun session of team fortress 2. =)

Play Minecraft!
Offline SimonH
« Reply #12 - Posted 2008-02-12 14:42:35 »

Thats a bit of an odd bug, theres range checking before calling the function... may I ask what OS and comp specs you have?

AMD 2800+, 500MB RAM, W2K

It's a fun game - reminds me a bit of exile all those years ago...

Re saving - can't you give a password/keyword at the end of each dungeon, so if you have to leave you can come back to almost where you left off?
eg;
password1 gives XP level 2, 200 gp
password2 gives XP level 3, 300 gp &c

People make games and games make people
Offline fletchergames

Senior Member





« Reply #13 - Posted 2008-02-12 19:10:41 »

Maybe you should consider making a more complicated application version of this game when you're done with the applet.

It could be even more fun and have a good save/load feature.
Offline noblemaster

JGO Ninja


Medals: 20
Projects: 9


Age of Conquest makes your day!


« Reply #14 - Posted 2008-02-12 19:27:22 »

Great job! I ended up liking the game more than I anticipated! I just wanted to give it a try but then ended up playing for half an hour  Grin

One comment: It would be great to change the mouse pointer when I am above the avatar. It feels very awkward to pick up items, because there is an array pointing away... Maybe picking up of items could also happen with a left-click of the mouse?


Offline JoshuaSmyth

Senior Newbie


Projects: 1



« Reply #15 - Posted 2008-02-12 21:41:39 »

If you stand on an item and right click you can pick it up, left clicking whilst adjancent on such a small tile felt a bit wrong when I implemented it.

I'll look into the cpu hogging, does anyone know how to stop this? Do I need to call somekind of sleep function? At the moment I just let it run in a tight loop.

A lot of the comments have been about design issues that I've had to make compromises over  Wink
I've pretty much got two paths that I'd like to take a) Make another applet game and make it half the length and b) Do a downloadable game and make it 5x the length (and allow saving)

I'll probably do both when I find the time Smiley

Attack of the Meeplings - Free 2D Shooter
Caverns of Underkeep - Free Browser Based Roguelike
Offline Abuse

JGO Coder


Medals: 10


falling into the abyss of reality


« Reply #16 - Posted 2008-02-12 22:20:22 »

Edit: Also, IMHO, raising Endurance or Intelligence should retroactively increase your HP and MP from previous levels.

Indeed, the best strategy seems to pile everything into Endurance for the first few levels to make yourself indestructable - only then begin to worry about being able to kill the enemies in any reasonable time-scale.

Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here! https://dl.dropbox.com/u/54785909/EliteIVsmaller.png
Offline markus.borbely

Junior Member





« Reply #17 - Posted 2008-02-14 18:49:53 »

I only played it very briefly, but it looked very nice, clean, simple and fun. I will come back when I have time. If you generate the dungeon from a single seed, you could give that seed to the player. Together with a compact string for the players stats. When the game starts, the player can input the seed and the player stats string and the continue play where he left.
Offline JoshuaSmyth

Senior Newbie


Projects: 1



« Reply #18 - Posted 2008-02-14 20:31:00 »

I only played it very briefly, but it looked very nice, clean, simple and fun. I will come back when I have time. If you generate the dungeon from a single seed, you could give that seed to the player. Together with a compact string for the players stats. When the game starts, the player can input the seed and the player stats string and the continue play where he left.

Thats the method I thought of, along with recording all the players input to play back the game in highspeed. Unfortunately because the game is still being tweaked and altered the playback might not exactly go very smoothly Smiley

Attack of the Meeplings - Free 2D Shooter
Caverns of Underkeep - Free Browser Based Roguelike
Offline SimonH
« Reply #19 - Posted 2008-02-14 20:41:58 »

I'll look into the cpu hogging, does anyone know how to stop this? Do I need to call somekind of sleep function? At the moment I just let it run in a tight loop.

Yes, you should! You need a Thread.sleep(10) near the end of the run loop. (I did some tests and found that sleep(10) is actually faster than sleep(1))

People make games and games make people
Offline fletchergames

Senior Member





« Reply #20 - Posted 2008-02-14 23:39:33 »

Yes, you should! You need a Thread.sleep(10) near the end of the run loop. (I did some tests and found that sleep(10) is actually faster than sleep(1))
On WIndows, the timer's granularity is only 10 milliseconds (at best), so sleeping for 10 milliseconds and sleeping for 1 should be about the same.

On Linux, the timer actually has 1 millisecond granularity.  Or at least it's supposed to.
Offline markus.borbely

Junior Member





« Reply #21 - Posted 2008-02-16 12:04:23 »

So I defeated *******, got the key.. of to the space level, and killed ******
It was a close call sometimes, but only because I was sloppy. I very early got the sword of the sun god and some enchanted armour (third level?). And when I got the scull staff it was a pice of cake. Just run into a wall witht the staff to regenerate my mana, then heal and bless.

Some thoughts:
Maybe the scull staff should regenerate every kill. That would be cooler and less game breaking.
Maybe the power of the items should rise more evenly. After I found the sword of the sun god there was no point looking. It was in the third level. I started with an enchanted dirk (relly crappy). Then very quickly I found three increasingly good items. Perhaps there should be two good items on each level. Suitable for defeating the creatures on the next. I was in very bad shape after meeting some tough guys early on the third level.
I think the two main enemies (the one with the key and the other one) could have some dialoge. I could be as easy as a bitmap covering the game until the mousebutton is clicked. Just to tell the player that this is kind of special. I met the last gobbo in a corridor, wow, he is tough I though, drank some potions and killed him. Oh, it was the end. Cool. I would have been cooler if I had met him in his throne room and if there had been some dialogue.
Offline SwampChicken
« Reply #22 - Posted 2008-02-17 15:52:30 »

well done... that was heaps of fun!  Grin
Offline JoshuaSmyth

Senior Newbie


Projects: 1



« Reply #23 - Posted 2008-02-18 03:55:35 »

Thanks for the comments.

The sword of the sun god is the most powerful item in the game Smiley It definately shouldn't be generated on the third level. I use a vCommon, Common, UnCommon, rare and vRare, system to generate items. Guess I need a veryVeryRare list that are only generated on levels 5&6

Good suggestion about the skull stuff regenerating when you kill enemies.

I'll think if I fit some dialog in...

Attack of the Meeplings - Free 2D Shooter
Caverns of Underkeep - Free Browser Based Roguelike
Offline luisoft

JGO Coder


Projects: 6


Java games rock!


« Reply #24 - Posted 2008-02-20 16:54:46 »

Is the link broken? I was not able to play it redirects to another web page.
Offline JoshuaSmyth

Senior Newbie


Projects: 1



« Reply #25 - Posted 2008-02-23 08:50:15 »

Is the link broken? I was not able to play it redirects to another web page.

Yeah, someone bought my domain before I could re-register it (and I swear I never got a notification of expiration) anyway the game is back up at a new domain.

www.tinyfrogsoftware.com/cavernsbeta/

Attack of the Meeplings - Free 2D Shooter
Caverns of Underkeep - Free Browser Based Roguelike
Offline Noya

Senior Newbie





« Reply #26 - Posted 2008-02-23 17:50:00 »

Yeah, someone bought my domain before I could re-register it (and I swear I never got a notification of expiration) anyway the game is back up at a new domain.

That's weird...
Offline Swattkidd7

Junior Member





« Reply #27 - Posted 2008-02-23 21:45:09 »

That's weird...
IT WAS YOU!!!!!!!!:D
Offline Noya

Senior Newbie





« Reply #28 - Posted 2008-02-23 22:56:19 »

IT WAS YOU!!!!!!!!:D

damn, you got me... :p
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (80 views)
2014-04-15 18:08:23

BurntPizza (72 views)
2014-04-15 03:46:01

UprightPath (83 views)
2014-04-14 17:39:50

UprightPath (67 views)
2014-04-14 17:35:47

Porlus (83 views)
2014-04-14 15:48:38

tom_mai78101 (107 views)
2014-04-10 04:04:31

BurntPizza (167 views)
2014-04-08 23:06:04

tom_mai78101 (263 views)
2014-04-05 13:34:39

trollwarrior1 (213 views)
2014-04-04 12:06:45

CJLetsGame (222 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
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!