Project

General

Profile

Actions

Bug #121

closed

Limit Bob

Added by Nick Morison almost 5 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
02/05/2020
Due date:
% Done:

0%

Estimated time:
2:00 h
Affected version:

Description

Limit bob isn't working - in the below code no bob is drawn at all when the limit bob command is un-commented (works as expected in Amos):

#manifest:"amiga"
#fullScreen:true
#splashScreen:false

screen open 0,320,200,16,lowres
curs off: flash off: cls 0
// make a bob
ink 2 : bar 0,0 to 16,16 : get bob 1,0,0 to 16,16 : cls 0

box 64,100 to 256,150 // Box drawn to show limits

do
  bob 1,x screen(x mouse),y screen(y mouse),1
//  limit bob 1,64,100 to 256,150 // un-comment in this line - and there's no bob at all!
  wait vbl
Loop
Actions

Also available in: Atom PDF