Changes

Jump to navigation Jump to search
m
→‎Canvas Code: add examples on addressing each layer
Line 76: Line 76:  
     .setSize(2048,2048)
 
     .setSize(2048,2048)
 
}
 
}
 +
 +
# object-oriented settimer() replacement, see: http://wiki.flightgear.org/List_of_Nasal_extension_functions#maketimer.28.29_.282.11.2B.29
 +
var timer = maketimer(0.8, func() {
 +
  layers['EF2000-dirt.png'].hide();
 +
}).start();
 +
 +
var timer = maketimer(1.6, func() {
 +
  layers['EF2000-dirt.png'].show();
 +
}).start();
 +
    
# Create a Canvas dialog window to hold the canvas and show that it's working
 
# Create a Canvas dialog window to hold the canvas and show that it's working

Navigation menu