Page 2 of 2

Re: displaying and animating UDG's on the spectrum

Posted: Tue Jul 05, 2022 7:42 am
by 1024MAK
Listing as it looks when first entering and before running the program
Listing as it looks when first entering and before running the program
The remaining part of the listing
The remaining part of the listing
.
Then the output screen when run
The output screen
The output screen
.
What the listing looks like after running the program
What the listing looks like after running the program
The remaining part of the listing
The remaining part of the listing
.
Mark

Re: displaying and animating UDG's on the spectrum

Posted: Tue Jul 05, 2022 10:42 am
by 1024MAK
Try this one…
639ED9FE-199F-467E-9C7F-9F2E7453DAE6.jpeg
8506572B-270F-4949-AD36-468ADD3A0FBC.jpeg
Don’t worry about entering the REM lines.

Mark

Re: displaying and animating UDG's on the spectrum

Posted: Tue Jul 05, 2022 2:18 pm
by XavSnap
Hi,
I like to code on the Spectrum 48k...
For me, it's the ZX81+1k is the Spectrum 16k and the ZX81+16k is the Spectum 48k !

The Spectum 48k add 3 more UDG characters !

And i like the display specificity on the Spectum...
The screen is not refresh all the time, and you can tag UDG characters on the screen with the same UDG character.

You can draw a picture with only one graphic character just by printing the same UDG on the screen !

On the ZX81, if you change the UDG by character, it refresh all printed characters...
It able to define blocks to tag a background on the screen, and use the same UDG for another stuff.

Re: displaying and animating UDG's on the spectrum

Posted: Tue Jul 05, 2022 2:52 pm
by XavSnap
Example:

UDGspectrum.jpg
UDGspectrum.jpg (9.7 KiB) Viewed 7558 times

Code: Select all

1 CLS
10 RESTORE 200
20 PRINT AT 1,1;
40 FOR B=1 TO 6
50 FOR A=USR "a" TO USR "a"+7
55 READ C
58 POKE A,C
60 NEXT A
70 PRINT "\a";":";
80 NEXT B
100 RESTORE 200
140 FOR B=1 TO 6
145 FOR A=USR "a" TO USR "a"+7
150 READ C
155 POKE A,C
160 NEXT A
170 PRINT AT 10,10;"\a"
180 NEXT B
190 GOTO 100
200 DATA 48,48,32,112,160,32,80,136,48,48,32,48,96,32,80,144,24,24,16,24,52,16,24,40,24,24,16,28,16,16,40,72
210 DATA 12,12,8,28,10,24,24,40,6,6,4,14,20,4,6,5
Break= Shifted space.
UDG2.tzx
(808 Bytes) Downloaded 179 times

UDG2.zip
(81.38 KiB) Downloaded 184 times
udgsp.JPG

Re: displaying and animating UDG's on the spectrum

Posted: Thu Sep 07, 2023 8:43 pm
by Crayon21
what about making them bigger?

Re: displaying and animating UDG's on the spectrum

Posted: Thu Sep 07, 2023 9:07 pm
by Lardo Boffin
Use multiple characters.