How can I capture world...

Blitz3D Forums/Blitz3D Beginners Area/How can I capture world...

Kev,

I am not sure that I understand what you mean as I am just learning to use Types thanks to Ross C. Do you have some simple code for me to look at?

Example:
1. display a simple single cube.
2. allow the user to move it then press a button to save the location
3. allow the user to move it again then press a button to save the location again
4. press a button to play back the two saved locations with a waitkey in between steps

This is what I think you mean...
Type Positions
     Field StepNumber
     Field EntityNumber
     Field XPos
     Field YPos
     Field ZPos
     Field Pitch
     Field Yaw
     Field Roll
End Type


Then when the user wants to save a step, add to the list. Then give some way to reorder the list and maybe even delete steps from the list?


Thanks,

David