Bob/Sprite Limit not working
BOB limit runs without errors but does nothing in program.
SPRITE limit gives out an error and the program doesn't run.
In the example below the bob should only show in the boxed area.
bob 1,150,20,1 : move y 1,"(1,2,200)(1,-2,200)l" : move on
Box 0,200 To 400,400
Limit Bob 1,0,200 to 400,400
//Limit Bob 0,200 to 400,400 // Internal error if selecting all bobs.
Updated by David Baldwin about 1 year ago
Limit Bob wasn't working correctly for individual bobs, I've fixed that.
Limit Sprite isn't an instruction, that's why that doesn't work. Use bobs instead.
The main problem here is that the Move Y instruction is ignoring the limits. Francois?
Updated by Francois Lionet 12 months ago
- Status changed from New to Resolved
Set Limits was bugged and crashed. And Move Y did work.
All works now!