Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sprites & ATTR
#2
jonesypeter Wrote:Hi,

I'm quite new to ZX Basic, and just had a few questions:

Is the replacement for the Sinclair BASIC ATTR command attrAdress(x,y)?

Are there any linked sprite libraries that let you use Sprites (larger than 8*8) from BASIC? I did look at the Spanish Fourspriter tutorial, but Google translate is not great with technical translations. Is there an English Language tutorial, and are there any other libraries, without the need to use Assembler?

Thanks
Hi, joneyspeter

The function is ATTR(y, x) as in SINCLAIR BASIC. But you must start your program with #include <attr.bas> at the beginning:
Code:
#include <attr.bas>

PRINT AT 4, 5; INK 6; PAPER 1; "."
PRINT ATTR(4, 5)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)