Project

General

Profile

Bug #279

Sprites are drawn larger than bobs and move faster

Added by Paul Kitching about 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
High
Target version:
-
Start date:
02/29/2020
Due date:
% Done:

0%

Estimated time:
4:00 h
Affected version:

Description

#manifest: "pc"
#displayWidth:1920
#displayHeight:1080
#fullScreen:true
#splashScreen:false
#fps:false

scrx=1920
scry=1080
screen open 0,scrx,scry,32,lowres
hot spot 1,$12
manx=scrx/2:many=scry/2
ink 4:box 0,0 to scrx,scry
while not finished
    if many<scry then inc many
    bob 1,manx,many,1
    sprite 1,manx,many,1
    locate 1,1:print manx,many
    wait vbl
Wend

The sprite is drawn slightly larger than the bob. It looks to me (I may be wrong) that because the sprite uses what used to be overscan, it is scaled differently, so appears larger and moves faster because of the extra screen size that it uses.

Also available in: Atom PDF