Author Topic: Inventory views  (Read 89 times)

0 Members and 1 Guest are viewing this topic.

Offline gumby

Inventory views
« on: October 18, 2017, 07:58:41 PM »
Documenting this as I haven't found this explicitly stated anywhere yet.  With SCI 1.1, when creating views, by default the template game wants/expects the following:

loop 0 = cursor view
loop 1 = inventory icon
loop 2 = icon bar

When declaring your inventory items in Inventory.sc, set the loop 1 for the views.  I noticed that if you set it to loop = 0, it'll show the loop 0 view the first time you open the inventory screen but any subsequent times it'll display loop 1.


In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition

Offline troflip

Re: Inventory views
« Reply #1 on: October 19, 2017, 02:38:24 PM »
It's described briefly in the inventory tutorial:

http://scicompanion.com/Documentation/Tutorial/UseInventory.html


Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline gumby

Re: Inventory views
« Reply #2 on: October 19, 2017, 06:57:17 PM »
I totally missed it, thanks.
In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition


SMF 2.0.11 | SMF © 2015, Simple Machines
Simple Audio Video Embedder

Page created in 0.123 seconds with 21 queries.