Community

SCI Programming => Mega Tokyo SCI Archive => Topic started by: lskovlun on August 09, 2002, 09:30:49 AM

Title: Tip: Debugging graphics problems in SCI
Post by: lskovlun on August 09, 2002, 09:30:49 AM
This tip will probably be most useful in the last phases of game development. If you put the following code in your game, you will be able to switch between the visual, priority and control maps at run-time. You can use it to debug problems with actors not appearing behind things when they should and other similar problems.

Code: [Select]
(local theMap = 1)


and in your handleEvent:
Code: [Select]
(if(Said('show'))
           Show(= theMap (Print("Select the map to display:"
                          #button "Visual" 1
                          #button "Priority" 2
                          #button "Control" 4
                          #button "Cancel" theMap))))
Title: Re:Tip: Debugging graphics problems in SCI
Post by: Pikachu14 on August 09, 2002, 12:25:56 PM
Ooooo like Quest for Glory 2!

*takes it and leaves a ten dollar bill*

Edit: Hey! Two stars!