Page 1 of 1

(done) Event System

Posted: Wed Mar 28, 2007 8:15 am
by ian_scho
An 'Event' system is a whim really, but I like the idea alot. Let me explain.

The champions walk onto an event square and are presented with an alternative dungeon view.
The view may be a blank background or an image specified by the dungeoneer.
The view will contain text as well, shown at the top, middle or bottom of the screen as again, this the content, text colour and position is specified by the dugneoneer.
At the bottom of the view, one or many buttons exist with the option of showing another view as explained above. Maybe updating the text such as a story, or changing the background. Also the button could exit from the event on the square, leaving them with the normal view. Finally, and this is where the strengths of DSB come in here, a button could fire off a LUA script to make changes to the dungeon, such as dropping an item at the feet of our champions.

Phew. Anyways, that's how I'd see it. It's a lot of work, Sophia, but I remember it as almost the only reason that EOB could be better than DM. The option to tell a story, or interact at a more 'personal' level. It's been mentioned before elsewhere in the forum. Just drop it at the end of your huge 'To do... Maybe' list.

Posted: Thu Mar 29, 2007 10:45 am
by Joramun
I'm not 100 % sure, but I think you can do all of that already !

There is a function to "pause" all activity
in the dungeon, named dsb_lock_game()
Then you can display your view, either by
dsb_party_place() the party somewhere
you want, or display a screen using some
bitmap as haze etc.

I'm not sure you can click an attack method
when the game is locked, but at the end of
the sequence you can unlock the game and
then display a set of "attack methods" to let
the player choose.

Posted: Thu Mar 29, 2007 8:08 pm
by Sophia
A lot of this can be done already.
I've been somewhat quiet because I've been giving this a little more thought, especially what can already be done, what can't be done, and what can be done but the method is so contrived that a more reasonble method might be needed.

I think some kind of "overlay" system like CSBwin has would be very useful for displaying effects like this, and would be more elegant than a haze on the party's tile.

Any text and whatnot can already be displayed with calls to dsb_write, so that should be fine.

As for options... still not sure on that one.
Joramund is correct, though: Attack methods can't be clicked with the game locked.

Posted: Thu May 10, 2007 2:43 am
by Sophia
I'll update this since with 0.16's ability to show a fullscreen "cut scene" or the like, and trap clicks made in this mode, just about any sort of event screen is now doable.