Author Topic: SCI Companion V3 - alpha build notes/bugs/feature requests  (Read 468912 times)

0 Members and 1 Guest are viewing this topic.

Offline Kawa

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #225 on: July 06, 2015, 07:28:59 PM »
What about scrolling screens like in SQ1. I have never looked at it close enough to see if it was done with two pics side by side or one double wide pic.
I did, and I checked it just now. It's two regular-sized pics side-by-side with a dpOPEN_SCROLL_something transition. King's Quest 7 on the other hand...

Offline Collector

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #226 on: July 06, 2015, 09:01:03 PM »
Of course KQ7 is an SCI2.1 game.
KQII Remake Pic

Offline Kawa

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #227 on: July 06, 2015, 09:19:26 PM »
Of course KQ7 is an SCI2.1 game.
That was the joke ;)

Offline MusicallyInspired

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #228 on: July 06, 2015, 11:20:41 PM »
Yeah those are reg screens. SCI01 has them too. I've been trying to recreate it in my project but it hasn't been working for some reason.
Brass Lantern Prop Competition

Offline troflip

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #229 on: July 07, 2015, 01:30:24 AM »
Using dpOPEN_SCROLL_RIGHT (or one of the other three) for the room style doesn't work?

Also note that the two screens will need to have the same palette, or it'll look bad.
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline troflip

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #230 on: July 07, 2015, 01:51:29 PM »
Interesting. Which games have 320x200 pics? Does the current template interpreter support it?

SQ5 pic 128 is actually 201 pixels high! Not sure why...
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline Kawa

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #231 on: July 07, 2015, 02:46:26 PM »
What I'd like to know is how to show 'em at their full height.

Offline troflip

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #232 on: July 07, 2015, 04:09:01 PM »
Hmm, yeah... it displays them 10 pixel down from the top, doesn't it? Even if you hide the status bar.
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline lskovlun

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #233 on: July 07, 2015, 04:40:01 PM »
The kernel call you need is called SetPort. There is a long form and a short form, and for this you need the long form. Something like:
Code: [Select]
        SetPort(0 0 200 320 0 0)
and
Code: [Select]
                SetPort(0 0 190 320 10 0)
to reset it afterwards (which you absolutely must do). The short form is used to draw things like dialog box borders (the reason being that they are logically outside the extent of the dialog box) and custom menu bars.

Both of these only affect future draw commands. So you'd typically sandwich a super:init() or a drawPic between two SetPort calls.
« Last Edit: July 07, 2015, 04:43:29 PM by lskovlun »

Offline troflip

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #234 on: July 07, 2015, 05:09:46 PM »
Sure enough, that works! (Originally, I poked around in the SQ5 code for one of the rooms that use a 320x200 pic, but didn't see any SetPort calls, so I assumed it was something else that was needed).

(attached image of template game with a 320x200 pic from SQ5 (left palette cycling in, obviously)).
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline MusicallyInspired

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #235 on: July 07, 2015, 06:17:59 PM »
Cool!

Using dpOPEN_SCROLL_RIGHT (or one of the other three) for the room style doesn't work?

Also note that the two screens will need to have the same palette, or it'll look bad.

No, but if you recall the other thread I made, it was something to do with setting the style property before calling the superclass. I just haven't gone back to it yet.
Brass Lantern Prop Competition

Offline troflip

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #236 on: July 07, 2015, 09:02:42 PM »
Turns out SCI 1.0 supports 200 pixel high bitmaps too.
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline Kawa

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #237 on: July 07, 2015, 09:43:11 PM »
Got my 320x200 pics ready and rendering... as 320x190 with a white bar on the bottom, because I can't import them right yet ;D

Offline troflip

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #238 on: July 07, 2015, 09:59:45 PM »
Lol, good, because an update is forthcoming to support 200px high images.  ;)
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline Kawa

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #239 on: July 07, 2015, 10:02:23 PM »
Lol, good, because an update is forthcoming to support 200px high images.  ;)
But John came fifth and won a toaster.

Good night!


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.047 seconds with 22 queries.