Graphics.NewbieCubeSaveState - lordmundi/wikidoctest GitHub Wiki
Newbie Cube Save State
« Beyond Black | NewbieIndex | Decoration »
Goal
Save the state of the cube while it is visible, then return to it.
| Save State | || | * Make cube visible (see previous section)
- Select File→Save State
- Save as → ${USERDATA}/states/cube.state | |
| Cube State File | || | * Note the xyz and pyr values. They should be saved to whatever you specified them as in (the last section). | cube.state
FORMAT "BASE FILE BLIPPER 1.1"
NODE CUBE
TYPE MODEL
FILE cube.ac
XYZ -3.5 0 0
PYR -35 -11 -25
ORDER TPYR
PARENT CUBE_BASE |
| Load State | || | * Close Doug
- Start Doug Back Up (should have black screen)
- Select File→Load State
- Choose cube.state
- Cube should appear in configuration that you saved it above | |
| Automatic Loading | || | * Add Auto Loading To user.cfg
% cd $USERDATA
% vi user.cfg ; # Add the following lines under DEFINES block
BASE_STATE ${USERDATA}/states/cube.state
-
Restart Edge the same way:
./run_graphics (-load CUBE)
-
The cube should be visible and in the exact state in which you saved it in cube.state |
« Beyond Black | NewbieIndex | Decoration »