[DIY] making html5 wesnoth-themed roguelike
Moderator: Forum Moderators
-
- Posts: 80
- Joined: July 27th, 2014, 4:34 pm
Re: [DIY] making html5 wesnoth-themed roguelike
Point taken. Now stairs and monoliths will be purple, shops - white, lava - pink, snow - light gray. Monoliths will grant random aura upon activation.optimother wrote:Why is it the same? White color on minimap is also snow, lava and enemies are indistinguishable too. Why not make them different?[x] Accessible by trapdoor from the surface, take stairs to climb back to the sun (white dots on minimap, same as shops)
Hmm.. I do not have a clear understanding on how to implement fog of war. Tried to take it on once, but it turned out to be too complex for a quick feature.optimother wrote:I would prefer map covered with some kind of fog initially (like no monsters at all, real estate as a white dot), but since you've discovered something you'd be able to tell for sure what it is.
Well.. It is a great idea for an sequel or spin-off, but at this time it will require too many changes in practically all game concepts, so setting this aside for now.optimother wrote:Since we have underground now, maybe add undead heroes too? I'd like to grow dark adept into mature necromancer raising corpses Or vampire draining enemies blood, but suffering of sunlight
Aura expiration - that could be done in two ways (or a combination of): first, I can make aura more transparent with time, creating "fade off" effect with time. Second, I can make aura rotation slower until a full stop reached at about expiration time. Text notification about "x turns left until aura expires" is an easy, but a kinda atmosphere-destructive way to implement such effect, imho.optimother wrote:Bug: potion dropped on staircase is not taken when you step on it, only get to the ground
Feature request: shift-click buys/sells 5 items (scroll, armor, supporters )
Feature request: warn about aura expiration.
Feature request with implementation: a key for auto-attack
Auto-attack - I recall that you implemented it already, right? Do you have a patch for 0.89a? Procedure of patch application is much easier than git repository browsing and figuring out all dependencies on my own. Same request for buying/selling 5 items at a time..
-
- Posts: 76
- Joined: July 12th, 2014, 4:09 am
Re: [DIY] making html5 wesnoth-themed roguelike
Much better, thanks!Shadow_Walker wrote:Point taken. Now stairs and monoliths will be purple, shops - white, lava - pink, snow - light gray. Monoliths will grant random aura upon activation.
Simplest I can think of is to create a player-seen copy of map, initially populated with terrain (maybe, if you prefer exploration-style it will should be all blank at the start), and when player sees something (in the daylight you see twice as much as in the night) it is saved to his map. When he doesn't see something it's not changing, so monster may have already moved, but since you don't see it, on your map it is standing where you saw it. What do you think?Hmm.. I do not have a clear understanding on how to implement fog of war. Tried to take it on once, but it turned out to be too complex for a quick feature.
Ehh.. If you were using git I could have implemented it keeping up with your current changes, because to merge your changes now it's essentially redo it by myself.Well.. It is a great idea for an sequel or spin-off, but at this time it will require too many changes in practically all game concepts, so setting this aside for now.
That'd be perfect, I think. Unobtrusive and perfectly noticeable. Start fading when it have 100 turns left, so that you start worrying about it only when it's time to.Aura expiration - that could be done in two ways (or a combination of): first, I can make aura more transparent with time
I'll check latest sources later, but I hope it will remain more or less the same: https://github.com/optimouser/wessense/ ... 6fce7340be . I think it should be Math.min(player.range, player.sight_range), because without it you can shoot straight into the dark like a sniperAuto-attack - I recall that you implemented it already, right? Do you have a patch for 0.89a? Procedure of patch application is much easier than git repository browsing and figuring out all dependencies on my own. Same request for buying/selling 5 items at a time..
Also I've done many cleanups and rewrite that you often refer to, do you need it or just discard that?
- Elvish_Hunter
- Posts: 1584
- Joined: September 4th, 2009, 2:39 pm
- Location: Lintanir Forest...
Re: [DIY] making html5 wesnoth-themed roguelike
That's not completely correct. It's true that the new version only has the baseframe available, but the old version is fully animated, and was first used (and is still used, by the way) in A Rough Life.Shadow_Walker wrote:I asked pixelmind about his beautiful dragon, which is missing attack/defense sprites, but did not get any ETA on remaining poses, unfortunately.
I'm attaching the frames for your convenience.
- Attachments
-
- dragons.zip
- (717 KiB) Downloaded 682 times
Current maintainer of these add-ons, all on 1.16:
The Sojournings of Grog, Children of Dragons, A Rough Life, Wesnoth Lua Pack, The White Troll (co-author)
The Sojournings of Grog, Children of Dragons, A Rough Life, Wesnoth Lua Pack, The White Troll (co-author)
-
- Posts: 80
- Joined: July 27th, 2014, 4:34 pm
Re: [DIY] making html5 wesnoth-themed roguelike
Ahem, I was asking for a patch, because I don't want to search for missing functions myself. Highlighted code in your git reference contains function which I don't have in my version. Many cleanups - same thing.I will gladly accept a 100% complete patch, which just needs to be inspected and applied to latest published version. Reference to git requiring me to scan external repository for all missing bits manually - no, thanksoptimother wrote:I'll check latest sources later, but I hope it will remain more or less the same: https://github.com/optimouser/wessense/ ... 6fce7340be . I think it should be Math.min(player.range, player.sight_range), because without it you can shoot straight into the dark like a sniperAuto-attack - I recall that you implemented it already, right? Do you have a patch for 0.89a? Procedure of patch application is much easier than git repository browsing and figuring out all dependencies on my own. Same request for buying/selling 5 items at a time..
Also I've done many cleanups and rewrite that you often refer to, do you need it or just discard that?
-
- Posts: 80
- Joined: July 27th, 2014, 4:34 pm
Re: [DIY] making html5 wesnoth-themed roguelike
Very promising dragon, thank you! It looks different from the final version, but having "not so scaly" dragon is much better than having no dragon at all.Elvish_Hunter wrote:That's not completely correct. It's true that the new version only has the baseframe available, but the old version is fully animated, and was first used (and is still used, by the way) in A Rough Life.Shadow_Walker wrote:I asked pixelmind about his beautiful dragon, which is missing attack/defense sprites, but did not get any ETA on remaining poses, unfortunately.
I'm attaching the frames for your convenience.
I wish it could be more detailed and dangerous, though. More like this one (commercial homm dragon):
-
- Posts: 76
- Joined: July 12th, 2014, 4:09 am
Re: [DIY] making html5 wesnoth-themed roguelike
Try starting as dwarven thunderer, hard/avg/avg/hordes, seed = 0.36745059909299016
-
- Posts: 80
- Joined: July 27th, 2014, 4:34 pm
Re: [DIY] making html5 wesnoth-themed roguelike
Niceoptimother wrote:Try starting as dwarven thunderer, hard/avg/avg/hordes, seed = 0.36745059909299016
Flaming Sword right there, no guards.
BTW, do you still see game lock-ups? I played quite a few games, and I had none
Either I am not selecting same game options as you guys, or my screen resolution is optimized for non-freezing play, or..
I just can't get a single freeze to debug it.
Teaser for 0.90a (don't worry, red dragon will be there too):
"Poor Bilbo!" (c)
-
- Posts: 76
- Joined: July 12th, 2014, 4:09 am
Re: [DIY] making html5 wesnoth-themed roguelike
One more weird thing: start as elvish archer, hard/avg/avg/hordes, seed = 0.32043554191477597. go right/down/right/down, kill tusker, go into the forest some right/some up, kill bottommost highwayman, and then kill super thief to the right of sword. congratulations, game over.
I hope it will not be surrounded with level 0 goblins? Do you have any plans to increase monster level as game progresses? For example, starting spot has level 0/1 monsters, the further from spot - level increases, so if you walked very far and reached level 20, there is almost no level 0. Or generate some kind of monster terrain, where mountains are high level groups, and waters are level 0? Or just increase moster's hp and attack every morning.Shadow_Walker wrote:Teaser for 0.90a (don't worry, red dragon will be there too):
"Poor Bilbo!" (c)
Re: [DIY] making html5 wesnoth-themed roguelike
I find that purple dragon cool
Beheld the origins of BFW.
Max G on WIF
Rank 🌟🌟🌟🌟🌟
Max G on WIF
Rank 🌟🌟🌟🌟🌟
-
- Posts: 80
- Joined: July 27th, 2014, 4:34 pm
Re: [DIY] making html5 wesnoth-themed roguelike
W.Essense v0.90a released:
http://www.wessense.org/
[x] Dragons added:
- Three mighty Dragons inhabit Island
- Dragons are huge and deadly - be warned
- Dragons guard gold. Lots of gold!
[x] Aura - expiration indication implemented:
- bright initially, starts fading down in 100 turns before the expiration
- aura rotation speed slows down every turn within 100 turns of expiration
[x] Monoliths improved:
- now can be found in Caves too
- unclaimed Monoliths grant random aura upon claiming if player does not have an aura already
- monoliths (both claimed and unclaimed) recharge player's existing aura when visited
[x] Spell scrolls could now be sold at 50% discount, instead of -1 gold
[x] Occupied Castle expanded to accomodate for treasure chests
[x] Touch-friendly auto-attack implemented, turns off when health drops to <config_value>% of health (see "Options")
[x] Game tuning options are now listed in "options" menu - for replay purposes (see "Options")
[x] Minimap changes: snow is gray, lava is pink, entrances and monoliths are purple now
[x] Unit rendering order fixed, now it is strictly top-to-bottom ordered
[x] debug/cheat codes added - when nothing else helps, we do ctrl+c, then type in magic word or two.
Bundles:
Linux64: http://wessense.org/binaries/wessense-0 ... x64.tar.gz
Mac: http://wessense.org/binaries/wessense-0.90a-mac.zip
Win: http://wessense.org/binaries/wessense-0.90a-win.zip
http://www.wessense.org/
[x] Dragons added:
- Three mighty Dragons inhabit Island
- Dragons are huge and deadly - be warned
- Dragons guard gold. Lots of gold!
[x] Aura - expiration indication implemented:
- bright initially, starts fading down in 100 turns before the expiration
- aura rotation speed slows down every turn within 100 turns of expiration
[x] Monoliths improved:
- now can be found in Caves too
- unclaimed Monoliths grant random aura upon claiming if player does not have an aura already
- monoliths (both claimed and unclaimed) recharge player's existing aura when visited
[x] Spell scrolls could now be sold at 50% discount, instead of -1 gold
[x] Occupied Castle expanded to accomodate for treasure chests
[x] Touch-friendly auto-attack implemented, turns off when health drops to <config_value>% of health (see "Options")
[x] Game tuning options are now listed in "options" menu - for replay purposes (see "Options")
[x] Minimap changes: snow is gray, lava is pink, entrances and monoliths are purple now
[x] Unit rendering order fixed, now it is strictly top-to-bottom ordered
[x] debug/cheat codes added - when nothing else helps, we do ctrl+c, then type in magic word or two.
Bundles:
Linux64: http://wessense.org/binaries/wessense-0 ... x64.tar.gz
Mac: http://wessense.org/binaries/wessense-0.90a-mac.zip
Win: http://wessense.org/binaries/wessense-0.90a-win.zip
-
- Posts: 76
- Joined: July 12th, 2014, 4:09 am
Re: [DIY] making html5 wesnoth-themed roguelike
Is it me so lucky, or quests now located closely to the ship?
Difficulty: Hard, Map: Average, Resources: Average, Monsters: Hordes, Animation: Fastest, Seed: 0.21539295325055718
Sure it's perfectly ok to decline something others propose and do it your way, just wondering why not to say that upfront?
Difficulty: Hard, Map: Average, Resources: Average, Monsters: Hordes, Animation: Fastest, Seed: 0.21539295325055718
I suppose you don't play your game, because this auto attack interpretation is just a bad joke. Well, it is of course fun if you start at level 43, you just walk and don't care who was killed, especially in underground you can't even know whats killed, but in real game it's a great source of frustration for weak fighters. The idea was not to make a button that doesn't work when you click on it (try yourself having auto-attack disabled, come to a nice spot for shooting and click on it. nothing happens) and helps you die more often (when you need urgent action but instead fired something unimportant), but that gives you an option not to rub touchpad like crazy hunting evading troll from you hiding in forest. I've implemented it, showed it in action, sent to you, and yet you invent it your own way.Shadow_Walker wrote: [x] Touch-friendly auto-attack implemented, turns off when health drops to <config_value>% of health (see "Options")
Sure it's perfectly ok to decline something others propose and do it your way, just wondering why not to say that upfront?
What's the function is missing? Here is the commit I pointed applies perfectly automatically on your latest 0.90a:Shadow_Walker wrote: Ahem, I was asking for a patch, because I don't want to search for missing functions myself. Highlighted code in your git reference contains function which I don't have in my version. Many cleanups - same thing.I will gladly accept a 100% complete patch, which just needs to be inspected and applied to latest published version. Reference to git requiring me to scan external repository for all missing bits manually - no, thanks
Code: Select all
curl https://github.com/optimouser/wessense/commit/fbb45f740f575374186e166517afc96fce7340be.patch | patch -p1
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1053 0 1053 0 0 339 0 --:--:-- 0:00:03 --:--:-- 420
patching file js/GAME.js
Hunk #1 succeeded at 1125 with fuzz 2 (offset 205 lines).
-
- Posts: 80
- Joined: July 27th, 2014, 4:34 pm
Re: [DIY] making html5 wesnoth-themed roguelike
2Optimother:
Your patch has/calls the following function, which is missing from v0.89a / v.090a:
GAME.player.tryAttack
which leads to an obvious game break. While it is easy to check GAME.player source and extract that function in addition to the git-highlighted one, your patch should have included it to be usable.
Yep, I do play this game myself. I do *not* like your implementation of auto-attack, that's true. I have not seen anyone supporting your way to do it either. Feel free to have it in your private version, or send me a *complete* patch, implementing this functionality as a complimentary option. I also went through your other modifications listed in git - sorry, they have to be discussed first, in majority of cases.
"...in underground you can't even know whats killed.." - use Light aura to reduce darkness in Caves, everything is perfectly visible. Yes, it is hard to stay alive in Caves, but hey, it was announced for seasoned characters, not 1-15 lvl heros.
Your patch has/calls the following function, which is missing from v0.89a / v.090a:
GAME.player.tryAttack
which leads to an obvious game break. While it is easy to check GAME.player source and extract that function in addition to the git-highlighted one, your patch should have included it to be usable.
Yep, I do play this game myself. I do *not* like your implementation of auto-attack, that's true. I have not seen anyone supporting your way to do it either. Feel free to have it in your private version, or send me a *complete* patch, implementing this functionality as a complimentary option. I also went through your other modifications listed in git - sorry, they have to be discussed first, in majority of cases.
"...in underground you can't even know whats killed.." - use Light aura to reduce darkness in Caves, everything is perfectly visible. Yes, it is hard to stay alive in Caves, but hey, it was announced for seasoned characters, not 1-15 lvl heros.
-
- Posts: 76
- Joined: July 12th, 2014, 4:09 am
Re: [DIY] making html5 wesnoth-themed roguelike
Ok now it's clear and I'm happy We have a different visions on what makes game interesting, I don't insist you do it my way, just report my thoughts and you do whatever you want with that feedback.Shadow_Walker wrote:2Optimother:
Your patch has/calls the following function, which is missing from v0.89a / v.090a:
GAME.player.tryAttack
which leads to an obvious game break. While it is easy to check GAME.player source and extract that function in addition to the git-highlighted one, your patch should have included it to be usable.
Yep, I do play this game myself. I do *not* like your implementation of auto-attack, that's true. I have not seen anyone supporting your way to do it either. Feel free to have it in your private version, or send me a *complete* patch, implementing this functionality as a complimentary option. I also went through your other modifications listed in git - sorry, they have to be discussed first, in majority of cases.
You kill something, not get killed. Btw, if playing without cheats, I'd like to have an opportunity to invest the gold grabbed in underground into something more or less persistent (hp/attack) because super dark matriarch can put down even very high level hero in a single long distance shot and you end up with nothing at all."...in underground you can't even know whats killed.." - use Light aura to reduce darkness in Caves, everything is perfectly visible. Yes, it is hard to stay alive in Caves, but hey, it was announced for seasoned characters, not 1-15 lvl heros.
-
- Posts: 80
- Joined: July 27th, 2014, 4:34 pm
Re: [DIY] making html5 wesnoth-themed roguelike
But.. There are weapons shops, where you can buy hp, attack and armor, right? You can pump up all characteristics of your hero..optimother wrote: I'd like to have an opportunity to invest the gold grabbed in underground into something more or less persistent (hp/attack) because super dark matriarch can put down even very high level hero in a single long distance shot and you end up with nothing at all.
-
- Posts: 76
- Joined: July 12th, 2014, 4:09 am
Re: [DIY] making html5 wesnoth-themed roguelike
Hm, I've never run across them in the underground. Btw, as a level 9 thunderer with 1x23 ranged attack and holy aura I stepped down to the underground and cleared it entirely. Especially after level 20 you just unreachable to almost anyone except some dragon which required some meteors. But as a level 26 rugue somewhat around 6x40 ranged attack (probably with light aura) I died there like crazy. Where's the justice?Shadow_Walker wrote: But.. There are weapons shops, where you can buy hp, attack and armor, right? You can pump up all characteristics of your hero..