JoshuaSmyth
|
 |
«
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/cavernsbetaImage seems to have some funny scaling on it- But you get the idea
|
|
|
|
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
|
|
|
|
|
Matzon
|
 |
«
Reply #2 - Posted
2008-02-11 15:45:43 » |
|
worked great here - enjoyed it thoroughly - but couldn't save 
|
|
|
|
Games published by our own members! Check 'em out!
|
|
JoshuaSmyth
|
 |
«
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  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 
|
|
|
|
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...
|
|
|
|
fletchergames
|
 |
«
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.
|
|
|
|
|
JoshuaSmyth
|
 |
«
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.
|
|
|
|
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) |
|
|
|
|
JoshuaSmyth
|
 |
«
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?
|
|
|
|
Markus_Persson
|
 |
«
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. =)
|
|
|
|
Games published by our own members! Check 'em out!
|
|
JoshuaSmyth
|
 |
«
Reply #10 - Posted
2008-02-12 11:28:02 » |
|
Thanks Markus  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.
|
|
|
|
Markus_Persson
|
 |
«
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. =)
|
|
|
|
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
|
|
|
|
fletchergames
|
 |
«
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.
|
|
|
|
|
noblemaster
|
 |
«
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  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?
|
|
|
|
JoshuaSmyth
|
 |
«
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 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 
|
|
|
|
Abuse
|
 |
«
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! 
|
|
|
markus.borbely
|
 |
«
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.
|
|
|
|
|
JoshuaSmyth
|
 |
«
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 
|
|
|
|
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))
|
|
|
|
fletchergames
|
 |
«
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.
|
|
|
|
|
markus.borbely
|
 |
«
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.
|
|
|
|
|
SwampChicken
|
 |
«
Reply #22 - Posted
2008-02-17 15:52:30 » |
|
well done... that was heaps of fun! 
|
|
|
|
|
JoshuaSmyth
|
 |
«
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  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...
|
|
|
|
luisoft
|
 |
«
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.
|
|
|
|
|
JoshuaSmyth
|
 |
«
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/
|
|
|
|
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...
|
|
|
|
|
Swattkidd7
|
 |
«
Reply #27 - Posted
2008-02-23 21:45:09 » |
|
That's weird...
IT WAS YOU!!!!!!!!:D
|
|
|
|
|
Noya
Senior Newbie 
|
 |
«
Reply #28 - Posted
2008-02-23 22:56:19 » |
|
IT WAS YOU!!!!!!!!:D
damn, you got me... :p
|
|
|
|
|
|