Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ondras

Pages: 1 [2]
16
It may be unoriginal, but frankly, your game is too much like ADOM to be called original at this stage. Fortunately, originality isn't in The Roguelike Definition™. ;)

Makes sense :)

Quote
4. Add some item types (especially potions and scrolls), spells, and quests;

I wanted to differ from ADOM a bit, that's why I decided to have scrolls instead of spellbooks. You might not have encountered them, but there are already at least five different scrolls (with five spells to learn from them!) :)

As for potions, yes - IIRC, there are only two or three of them right now.

Quote
5. Add some physical effects like teleportation, paralysis, poisoning, perhaps mutations and assign those to monsters and spells.

Teleportation is already present (as a spell, as a trap effect); I was also thinking about bleeding, confusion, ....

Quote
As for skills, their priority depends on how important you think they are for gameplay. If you decide to add them, consider the 'get skilled at what you train' method versus 'pick a skill to train at level-ups' method. Personally I prefer the former.

Actually, I do not personally value skills much. That is why having them will be probably at the end of the TODO list...

Quote
Coders easily beat designers at quantifying stuff. :) I'd say assign an experience value to a monster, and if the PC kills a monster, add that value to the PC's experience points. Then define a function to calculate the experience level from experience points (most likely you'll want exponential growth). When the PC levels, you could raise HP and one stat (chosen randomly, or biased towards racial predisposition).

A less traditional way to go about it is to define a linear experience level function, and lower the experience points gained from killing monsters as the player levels up. If I'm not mistaken, Angband does this.

I was thinking about the Fibonacci sequence for XP thresholds. Gaining a level would result in ability to increase two (three?) of available game feats (e.g. attributes, dv/pv, maxhp/maxmana, ...).

Now the interesting part is:

  • When is XP gained - this cannot be done automatically, I am afraid, so some hand-picked events (monster kill, quest done) must be explicitely marked
  • How much XP is gained - and this might be realizable algorithmically, by comparing the dead monster's stats with PC's ...

17
Another strange thing happened with the blacksmith quest though. I took the quest, killed the objective (a hobgoblin) in the Generic Dungeon, and went back to the blacksmith to get the reward. Then the quest disappeared from the quest list as expected. After that, I returned to the Generic Dungeon to scum a bit more, and when I killed a rat (not a giant one), I got an unexpected 'quest completed' dialog, returned to the blacksmith, and got another reward in the same game. So somehow the quest is silently re-assigned with a random objective.

Exactly. I also noticed this bug and fixed it yesterday evening.

Quote
Yes, it is. The disadvantage of having a one-level-only dungeon is balanced by the fact it is regenerated every time you enter it. My goal was not to emulate the Infinite Dungeon: there are some memory and storage issues in Javascript, which is why I do not exactly want the player to store huge amounts of (visited) levels in memory and/or savegames. Yet.

That seems contradictory. An infinitely deep dungeon with regenerated levels requires as much storage as a one-level dungeon which is persistent. I think the ID in ADOM needs to have regenerating levels because TB wanted to put that (+255, 32d128) Game Breaking Hammer of Maxint somewhere really safe. ;)

You are correct. To summarize my options here:

  • Current solution (one-level deep, regenerates)
  • ID-like (infinite levels, no regeneration) - storage issues
  • ID (infinite amount of levels, regenerates) - okay with storage, but very un-original

Not quite sure which solution to pick. Or maybe a hybrid one: regenerating one-level variant, where a down staircase exists - and take you to another random (first) level ... ? What is your opinion?

I'm curious where you will be taking this game. Both content-wise and as a technical challenge against browser/js limitations.

I am curious as well :) Regarding technical challenges, I believe I am able to overcome most issues, especially when browsers get really fast these days. But content-wise, who knows? There are so many content-related paths to take, and so little time. Which one is the most pressing? Beings? Items? Quests? Hand-picked maps? More game mechanics (skills, talents, ...) ? Tweaking and tuning base game rules? Experience?

I personally think that Experience is the first thing to implement; leveling is an important aspect. The problem is that I am not sure what "achieving a new level" should mean; what values should be raised and by what amount... I am mostly a coder, not a game designer :-(

18
The first time the blacksmith quest failed to complete was when I killed the objective (a bat) somewhere in the Maze. There was no 'quest completed' dialog. The blacksmith quest worked properly on Maze#2 for a goblin. Then, it did not work on Maze#3 for a rat (again, with no dialog). I played a human warrior every time.

Strange. Are you sure it was the exact moster type? For instance, you killed a bat, but the blacksmith might have requested killing a "giant bat" (those are two distinct monsters). The same for rats, "rat" and "giant rat" being different.

The healer's quest did work this time. I got the 'quest completed' dialog as soon as I found the objective. I half expected to finish the quest after I returned the item to the healer. The healer did have a reward when I returned though, so the quest seems to be fixed.

Cool. Also note that the 'q'uest log should use different text style to indicate a quest that is completed (but not yet rewarded).

I have to say though, the perfect maze levels are very aggravating. There's far too many dead ends or long twisting tunnels with only two exits, and the location of the down stairs is predictable. Worse, there's often no way around an opponent you can't beat (bears are much beefier than ogres, for instance).

That is true. The whole "maze" dungeon is supposed to be rather complicated, but with less enemies than other dungeons. Moreover,  the "perfect maze" level is encountered only once (it is the last level of the dungeon).

My intention was to make the downstairs predictable, to somehow eliminate the need to explore whole maze, which might be boring...

Thanks for adding the confirmation dialog to the up stairs in the village. The message doesn't say what actually happens though. Leaving the village could be understood as 'entering a huge wilderness map', especially since the game looks so much like ADOM.

Actually, one day, this might happen to be true :) Until then, I will add some "this will end the game!" alert, okay? :)

Is the Generic dungeon supposed to be only one level deep? I can't seem to find the down stairs even if I leave and return.

Yes, it is. The disadvantage of having a one-level-only dungeon is balanced by the fact it is regenerated every time you enter it. My goal was not to emulate the Infinite Dungeon: there are some memory and storage issues in Javascript, which is why I do not exactly want the player to store huge amounts of (visited) levels in memory and/or savegames. Yet.

19
Programming / Re: HTML5 RougeLIke
« on: June 28, 2011, 08:55:14 AM »
First has anyone done one yet?  Currently revving up one myself to A)Get experience programming a RL before inflicting them on my students B)To learn the CANVAS tag and HTML and it's always good to see what else has been done before.

http://ondras.zarovi.cz/js-like/ :)

20
Update: the village staircase and the necklace quest have been fixed. No progress on smith quest, as I am currently unable to reproduce the issue.

21
Hi,

thanks a lot for your feedback :) I am sorry that the quests did not work properly; I will try to investigate and fix the issue. When you killed the being in smith's quest, was the "Quest completed" dialog displayed?

As for the exit staircase, a confirmation seems to be a proper trick.

Finally, ogres - yeah, will boost them a little. Or, if you wish, feel free to clone the project and/or send a patch :)

22
Well, I've met "keys not working" bug again in Opera 11, but after several reloads it disappears. Maybe you can try open game in newly installed Opera 11 and try pressing keyboard keys such as "C", "c" etc. But maybe problem is only in my browser.

Okay, will try, thanks for the info.

Quote
The game has actually many levels, but some of them are available only after certain quests are acquired.
I've got a quest from an elder and from blacksmith, but there is no downstair on dungeon level 1. What do I'm doing wrong?

One possible explanation is that the (randomly generated) dungeon contains hidden doors and/or corridors, which means that certain areas are not acessible until these hidden features are found (ADOM behaves the same way). I suggest 's'earching close to potentially fake walls.

23
Update: the problem with IE "image not found" reproduced and fixed.

24
Congrats with release!
With just one level it's not very playable, but the engine seems working and i've failed to found much bugs.
Graphics mode looks very ugly as unknown territory is filled with some sort of "image not found".
Also when I first started the game the only keys that worked was arrows, but I can't reproduce this, so it can be my mistake.
Combinations like ctrl-K are reserved both in opera and IE, so they don't work. But

Hi,

thanks for a feedback. The game has actually many levels, but some of them are available only after certain quests are acquired.

I am interested in those browser-specific bugs. My primary development platforms are FF + Chrome, so I have not yet seen neither the "image not found" nor the "keys not working" issues; can you please describe those in more detail and/or post screenshots? Also, what version of IE do you use?


Thanks...

25
Hi,

I am happy to announce that js-like, my Javascript roguelike, has finally reached a playable state. js-like is played in a browser, using a keyboard and/or the mouse. It is heavily ADOM-inspired but pretty short and small. On the other hand, js-like features three different visualization backends :) The whole project is opensourced and hosted on Google Code.

Demo version: http://ondras.zarovi.cz/js-like/
Project page: http://code.google.com/p/js-like/

Pages: 1 [2]