Search found 3905 matches

by Sophia
Tue Feb 01, 2022 12:29 am
Forum: Dungeon Strikes Back (DSB)
Topic: Questions about DSB/ESB
Replies: 433
Views: 1575104

Re: Questions about DSB/ESB

How many bitmaps are there? Giving each bitmap its own frame counter would be sort of a mess, which is why I currently use a global frame counter for things not associated with an object inst. However, as long as you only have a few different instances, or they're going to be synchronized, I could j...
by Sophia
Mon Jan 31, 2022 7:41 pm
Forum: Dungeon Strikes Back (DSB)
Topic: Questions about DSB/ESB
Replies: 433
Views: 1575104

Re: Questions about DSB/ESB

It does already exist. It's dsb_mouse_override (bmp), and takes the image you want to use. Pass it nil or false to remove the override image. Where is the animation? If the animated bitmap is associated with an inst, you can use dsb_set_animtimer (inst, timer_val) to reset the timer to 0. Other anim...
by Sophia
Wed Jan 26, 2022 1:32 am
Forum: Dungeon Strikes Back (DSB)
Topic: Questions about DSB/ESB
Replies: 433
Views: 1575104

Re: Questions about DSB/ESB

If the dungeon is compiled, DSB will refuse to load a dungeon compiled with a newer version.
by Sophia
Wed Jan 26, 2022 1:30 am
Forum: Dungeon Strikes Back (DSB)
Topic: Possible bug with monster_level_info?
Replies: 2
Views: 3443

Re: Possible bug with monster_level_info?

The C code doesn't know about the monster_level_info table; it just calls sys_monster_enter_level and the rest is handled with Lua code. So from that stack trace I don't really see a connection to monster_level_info but clearly something isn't working right. At this point I don't know if it's someth...
by Sophia
Tue Jan 25, 2022 11:16 pm
Forum: Dungeon Strikes Back (DSB)
Topic: Questions about DSB/ESB
Replies: 433
Views: 1575104

Re: Questions about DSB/ESB

I could add this, but I don't really like the idea of version-locking a dungeon to a particular version of DSB. I try to maintain backward compatibility and I think I've done pretty well since about 0.60 or so. Being realistic about it, given my rather slow pace of DSB innovation, the biggest change...
by Sophia
Tue Jan 25, 2022 11:13 pm
Forum: Dungeon Strikes Back (DSB)
Topic: Single player character?
Replies: 10
Views: 5686

Re: Single player character?

If there's only 1 party member then we're basically back to the issues from earlier in the thread. Unless you want spin dodging to be a thing, the code in the engine that handles collisions would have to be modified. That's not that hard to do but it would require modifications to the supporting Lua...
by Sophia
Mon Jan 24, 2022 11:46 pm
Forum: Dungeon Strikes Back (DSB)
Topic: Single player character?
Replies: 10
Views: 5686

Re: Single player character?

Like any monster, they can't attack the back row (unless they are specifically allowed to do that, like materializers) if there is a party member in front. This means there will be some issues if you use "dummy" party members, which will exist regardless of whether you make all monsters si...
by Sophia
Wed Jan 19, 2022 10:57 pm
Forum: Dungeon Strikes Back (DSB)
Topic: Single player character?
Replies: 10
Views: 5686

Re: Single player character?

It'll be a bit hacky but it could possibly work. I guess you could disable the marching order widget but randomly change the marching order around in code so missiles would come from either side.

The main remaining issue will be in the targeting of monsters' melee attacks, I think.
by Sophia
Wed Jan 19, 2022 10:52 pm
Forum: Dungeon Strikes Back (DSB)
Topic: Questions about DSB/ESB
Replies: 433
Views: 1575104

Re: Questions about DSB/ESB

Right, I don't maintain the magic map code, so I really have no idea about how it works.
by Sophia
Sat Jan 15, 2022 12:30 am
Forum: Dungeon Strikes Back (DSB)
Topic: How does boost_highlight_time work?
Replies: 4
Views: 2774

Re: How does boost_highlight_time work?

Yeah, it applies to leveling up only. Stats that are above/below their maximum are only shown in red or green until they're back to the normal maximum value.

It may not be the best approach but I should note that the stat being shown in red after an increase to the maximum value is also what DM does.
by Sophia
Fri Jan 14, 2022 2:27 am
Forum: Dungeon Strikes Back (DSB)
Topic: Questions about DSB/ESB
Replies: 433
Views: 1575104

Re: Questions about DSB/ESB

Just to clarify how all these numbers fit together, for normal monster movement, its act_rate is the number of ticks in between turns. When it has attacked, the attack_delay is also applied. This slows down wasps and the like (early versions of DSB didn't have this, and you got stung to death quite ...
by Sophia
Tue Jan 11, 2022 10:16 pm
Forum: Dungeon Strikes Back (DSB)
Topic: dsb_lores_scaling
Replies: 2
Views: 1750

Re: dsb_lores_scaling

It modifies how DSB's image scaling code works so it applies to anything that gets scaled before it is drawn. This is most commonly objects in the dungeon view, but you can also scale bitmaps yourself via dsb_bitmap_blit. Bitmaps that are drawn at their normal size aren't affected at all.
by Sophia
Tue Jan 11, 2022 12:10 am
Forum: Creative Endeavours
Topic: A little teaser...
Replies: 65
Views: 57035

Re: A little teaser...

I also like the idea of a new custom dungeon with your redone updated graphics. I will show my support by providing something at the engine level to do the sort of scaling you want; check the DSB subforum. Although I do feel sort of good that DSB is flexible enough this could be solved by the dungeo...
by Sophia
Tue Jan 11, 2022 12:07 am
Forum: Dungeon Strikes Back (DSB)
Topic: dsb_lores_scaling
Replies: 2
Views: 1750

dsb_lores_scaling

DSB 0.80 will include dsb_lores_scaling , which takes a boolean parameter and, when enabled, tells DSB's scaling code to scale everything to 50% of the specified size and then scale it back up, so distant objects have a more authentic DM low resolution look. Ideally it's something you'll set and for...
by Sophia
Sun Jan 09, 2022 9:39 pm
Forum: Creative Endeavours
Topic: A little teaser...
Replies: 65
Views: 57035

Re: A little teaser...

For what it's worth, I thought your additions to the DM mechanics were quite nice, and to see them in a new dungeon would be pretty great.

What glitches are you talking about with DSB, though? And what are you doing to generate a "proper old-school low-res view"?
by Sophia
Fri Dec 17, 2021 2:16 am
Forum: Dungeon Strikes Back (DSB)
Topic: Questions about DSB/ESB
Replies: 433
Views: 1575104

Re: Questions about DSB/ESB

I wouldn't necessarily say "abandoned" but I'll certainly admit that I haven't been able to work on DSB lately.

After the new year I should be able to get back to DSB and I can (finally) get a new version out.
by Sophia
Tue Dec 14, 2021 8:45 pm
Forum: Dungeon Strikes Back (DSB)
Topic: Questions about DSB/ESB
Replies: 433
Views: 1575104

Re: Questions about DSB/ESB

Unfortunately it seems like it was not.
by Sophia
Sun Jul 18, 2021 10:10 pm
Forum: Dungeon Strikes Back (DSB)
Topic: Pre-scaled images for Things, Doors and Creatures?
Replies: 5
Views: 5118

Re: Pre-scaled images for Things, Doors and Creatures?

This could probably be useful, but it's probably a somewhat major addition-- if nothing else, it's a decent amount of typing for me. It would also likely be tricky to get everything working properly, especially for Things. I'll keep it on the back burner but it's not the sort of thing I can really d...
by Sophia
Sun Jun 20, 2021 9:50 pm
Forum: Dungeon Strikes Back (DSB)
Topic: [0.79] DSB in ESB hang under weird circumstances
Replies: 7
Views: 4959

Re: [0.79] DSB in ESB hang under weird circumstances

This is strange but not unexpected. Unfortunately, it's a pretty experimental feature that I admittedly don't have the resources (or the time) to debug to the point where it's trustworthy, especially since DSB wasn't really initially created with a fully interactive editor in mind. It's fun when it ...
by Sophia
Sat Jun 12, 2021 3:05 am
Forum: Dungeon Strikes Back (DSB)
Topic: [0.79] ESB fell over?
Replies: 3
Views: 3042

Re: [0.79] ESB fell over?

Just for the record I still haven't been able to reproduce anything like this unfortunately.
by Sophia
Sat Jun 12, 2021 3:04 am
Forum: Dungeon Strikes Back (DSB)
Topic: (fixed in 0.80) Esb instance ref cleaning
Replies: 2
Views: 2872

Re: Esb instance ref cleaning

This isn't "supposed" to happen, as ESB does attempt to clean up after itself, so if you have some specific instructions how to reproduce an issue I can take a closer look at it.
by Sophia
Mon May 03, 2021 12:05 am
Forum: Dungeon Strikes Back (DSB)
Topic: [0.79] ESB fell over?
Replies: 3
Views: 3042

Re: [0.79] ESB fell over?

I don't think so.

What were you doing to cause this?
by Sophia
Sun Apr 25, 2021 12:39 am
Forum: Dungeon Strikes Back (DSB)
Topic: DSB Version 0.79
Replies: 3
Views: 3002

DSB Version 0.79

What's new: - Increased the number of possible user-defined UI zones from 5 to 15 - Added ability to prioritize sys_render_other clickzones - Added ability to specify draw order of conditions - Fixed handling of drawing objzone graphics on bitmaps with alpha - Fixed a crash when pulling an inst out ...
by Sophia
Thu Apr 22, 2021 9:43 pm
Forum: Dungeon Strikes Back (DSB)
Topic: (fixed in 0.79) [0.78] Crash on nonstandard party arrangement
Replies: 3
Views: 2515

Re: (fixed in 0.79) [0.78] Crash on nonstandard party arrangement

Ok, I thought I wasn't going to fix this, because it won't ever come about during normal play, but it's actually a lot simpler than I thought, so I will. :mrgreen:
by Sophia
Thu Apr 22, 2021 9:36 pm
Forum: Dungeon Strikes Back (DSB)
Topic: Detecting ESB
Replies: 1
Views: 1861

Re: Detecting ESB

The method I use is to check for the existence of esb_typecheck . If it's defined, you're in ESB, if not, you're in DSB. (This is, admittedly, very similar to the method you described! But it's based on a function that is never going to change, so it should be reliable) if (esb_typecheck) then do_es...
by Sophia
Wed Apr 21, 2021 5:35 am
Forum: Dungeon Strikes Back (DSB)
Topic: [0.78] AI keyboard fumbles?
Replies: 5
Views: 3416

Re: [0.78] AI keyboard fumbles?

I actually couldn't reproduce this, but my best guess at why it happened was that grouped monsters had a queued attack and they turned in between. For example, if a group of vexirks want to attack, the first one will attack on tick 0, and the second one will attack on tick 3. If the monster group de...
by Sophia
Mon Apr 19, 2021 7:47 pm
Forum: Dungeon Strikes Back (DSB)
Topic: Dungeon loading progress
Replies: 3
Views: 2638

Re: Dungeon loading progress

It would be fairly easy to let you just write text to the loading screen, but the loading screen's renderer is very simple. It retains the framebuffer between ticks and just writes things to the screen as it does them. This means (among other things) scrolling is impossible.
by Sophia
Mon Apr 19, 2021 7:44 pm
Forum: Dungeon Strikes Back (DSB)
Topic: [0.78] AI keyboard fumbles?
Replies: 5
Views: 3416

Re: [0.78] AI keyboard fumbles?

Adding this "feature" was actually in one of my April Fools posts a few years back. I certainly didn't intend to actually do it. :mrgreen:
by Sophia
Thu Apr 08, 2021 11:20 pm
Forum: Dungeon Strikes Back (DSB)
Topic: Questions about DSB/ESB
Replies: 433
Views: 1575104

Re: Questions about DSB/ESB

Both of those statements are (unfortunately) correct!