Community
General and Everything Else => The Games and other Sierra Adventure stuff => Topic started by: troflip on November 07, 2016, 10:33:00 AM
-
Can anyone think of any examples of this in Sierra's catalog? (in any version of SCI). It's fairly straightforward to do if the objects are part of the room (just make them part of the cast), but not so obvious if you want this in a popup dialog...
-
You're thinking of things like slider thumbs?
-
Hmm, that's a good point, there are those. I'm thinking more about puzzle pieces, for instance. Using DrawCel and the Graph functions, I'm having trouble coming up with something that allows dragging one "object" over another, and doesn't flicker or leave turds on the background.
-
Doctor Mind comes to brain, but that's not in a dialog.
-
My "Explore SCI" SCI 1.1 demo game does it too, but not in a dialog. Separate room with Props that you drag around. Easy to do (but in my current scenario I don't want to use a separate room).
-
Seems like when they did something like this they used a cursor rather than a view, like in the inventory when combining items where you click on one item and it changes the cursor to a representation of that inventory item to click on another item.
-
True, but in my scenario the objects need to be spatially positioned relative to each other (like puzzle pieces). So that doesn't really work for that (not to mention this is SCI0, and cursors don't have color).
-
The SCI 1.1 slider control was basically what I was looking for. The key is that it does this:
(= oldPicNotValid (PicNotValid))
(PicNotValid TRUE)
then draws what it wants with Graph/DrawCel, etc...
then does:
(PicNotValid oldPicNotValid)
That makes things behave nicely.
-
So the slider thumb remark was actually kinda helpful? Hmm.
-
Yes, it was very helpful :)