how do ATTR and SCREENS work?

Post Reply
Crayon21
Posts: 357
Joined: Sun Nov 04, 2018 2:33 am

how do ATTR and SCREENS work?

Post by Crayon21 »

I've tried to get collision detection to work but I'm not having any success. How do ATTR and SCREENS work?
In Heck, there are two options for perpetual torment:

Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices
:twisted:
dr beep
Posts: 2100
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: how do ATTR and SCREENS work?

Post by dr beep »

The short answer: RTFM

The polite answer:
ATTR(Y,X) returns the setting of the colours on that field.
So when your last printed character there is a different INK or PAPER then you will get that in return with something like LET A=ATTR(Y,X)

SCREEN$(Y,X) can return the printed character there but only when that character is part of the characterset, so UDG will normally not work.
Post Reply