Project

General

Profile

Bug #887

Bob/Sprite Limit not working

Added by Alex Vac 5 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
01/20/2022
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

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.

EXAMPLE:
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.

#1

Updated by David Baldwin 5 months 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?

#2

Updated by Francois Lionet 3 months ago

  • Status changed from New to Resolved

Set Limits was bugged and crashed. And Move Y did work.
All works now!

Also available in: Atom PDF