Script Classes for Adventure Games/PicView Class: Difference between revisions

From Sierra Wiki
Jump to navigationJump to search
Andrew Branscom (talk | contribs)
m 1 revision imported
Andrew Branscom (talk | contribs)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:SCI Pages]]
[[Official SCI Documentation]]<br />
[[Official SCI Documentation]]<br />
[[Script Classes for Adventure Games | Table of Contents]]
[[Script Classes for Adventure Games | Table of Contents]]
<div align="center">
<div align="center">
Chapter:  
Chapter:  
Line 32: Line 32:
[[Script Classes for Adventure Games/Global Variables|27]] |  
[[Script Classes for Adventure Games/Global Variables|27]] |  
[[Script Classes for Adventure Games/Index|Index]]
[[Script Classes for Adventure Games/Index|Index]]
</div><br />
</div>
 
<div align="center"><span style="font-size: 22pt">The PicView Class</span><br />''Author: [[Jeff Stephenson]]''<br />''1988-04-05''</div></div>
<div align="center"><span style="font-size: 22pt">The PicView Class</span><br />
''Author: [[Jeff Stephenson]]''<br />
''Date: 5 April 1988''</div>
 
&nbsp;


<br />
==<br /> The PicView Class ==
==<br /> The PicView Class ==


Line 96: Line 92:
==<br /> References ==
==<br /> References ==


<references />
<references /><!-- Do not edit this section. It is autopopulated by <ref></ref> tags -->


==<br /> See Also: ==
==<br /> Also See ==


* [[:Category:SCI Documentation|SCI Documentation]]
* [[:Category:Official SCI Documentation|Official SCI Documentation]]
* [[:Category:SCI Scripting|SCI Scripting]]
* [[:Category:SCI Classes|SCI Classes]]
* [[Picture Resource (SCI)]]
* [[SCI Specifications: Chapter 1 - Introduction#PIC|PIC in the SCI Specifications]]
* [[:Category:Picture Resources|Picture Resource Articles]]
* [[View Resource (SCI)]]
* [[SCI Specifications: Chapter 1 - Introduction#VIEW|VIEW in the SCI Specifications]]
* [[:Category:View Resources|View Resource Articles]]
* [[:Category:SCI Ego Class|The SCI Ego Class]]
* [[SCI Specifications]]
* [[SCI Specifications]]
&nbsp;
&nbsp;
[[Script Classes for Adventure Games | Table of Contents]]


<span style="float: left">[[Script Classes for Adventure Games/Ego Class|&lt; Previous: The Ego Class]]</span>
<span style="float: left">[[Script Classes for Adventure Games/Ego Class|&lt; Previous: The Ego Class]]</span>
<span style="float: right">[[Script Classes for Adventure Games/Cycling Classes|Next: The Cycling Classes &gt;]]</span>
<span style="float: right">[[Script Classes for Adventure Games/Cycling Classes|Next: The Cycling Classes &gt;]]</span>
&nbsp;
&nbsp;
[[Category:References]]
[[Category:References]]
[[Category:SCI References]]
[[Category:SCI References]]
[[Category:Historical Pages]]
[[Category:SCI Historical Pages]]
[[Category:Development]]
[[Category:SCI Development]]
[[Category:Documentation]]
[[Category:Documentation]]
[[Category:SCI Documentation]]
[[Category:SCI Documentation]]
[[Category:Official Documentation]]
[[Category:Official SCI Documentation]]
[[Category:Scripting]]
[[Category:Scripting]]
[[Category:SCI Scripting]]
[[Category:SCI Scripting]]
[[Category:Classes]]
[[Category:Classes]]
[[Category:SCI Classes]]
[[Category:SCI Classes]]
[[Category:Picture Resources]]
[[Category:SCI Picture Resources]]
[[Category:View Resources]]
[[Category:SCI View Resources]]
[[Category:SCI View]]
[[Category:SCI Loop]]
[[Category:SCI Cel]]
[[Category:SCI Priority]]
[[Category:SCI Signal]]

Latest revision as of 22:04, 11 January 2026

Official SCI Documentation
Table of Contents

Chapter: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14
15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | Index

The PicView Class
Author: Jeff Stephenson
1988-04-05



The PicView Class

Objects of class PicView keep information on Views which have been added to the picture with addToPic: so that they will be present in a restored game. In order to use the PicView class explicitly it must be added to the addToPics List and the addToPics doit method must be invoked.

i.e.

Code:
(instance myPicView of PicView
  (properties
     view vMyView
     x    160
     y    100
     z    10
  )
)

and in the rooms init method

Code:
(addToPics
   add. myPicView,
   doit:
)
In file: actor.sc
Inherits from: Feature
Inherited by: none


Properties


view


loop


cel


x
y
z


priority


signal

The values of the corresponding properties in the View which was the progenitor of this PicView.


Methods

 


References



Also See

 

< Previous: The Ego Class Next: The Cycling Classes >