Author Topic: Tip: Debugging graphics problems in SCI  (Read 549 times)

0 Members and 1 Guest are viewing this topic.

Offline lskovlun

Tip: Debugging graphics problems in SCI
« 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))))



Pikachu14

  • Guest
Re:Tip: Debugging graphics problems in SCI
« Reply #1 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!
« Last Edit: August 09, 2002, 12:26:16 PM by Pikachu14 »


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

Page created in 0.053 seconds with 21 queries.