Sprite Graphics Colors
Sprite Graphics Colors
To change the color of sprite graphics, do you simply need to add (PRINT CHR$"#") to the program? I've tried unsuccessfully several times, but only managed to change the color of the text. I've checked the color quality of the computer and there doesn't seem to be anything wrong, even checking the chips in the machine to see if any are hot or not working correctly. Is this simply an issue with my programming, or is there a fault in the computer itself?
Re: Sprite Graphics Colors
Changing the color of the sprites is quite easy.
Address 53287 controls the color of sprite 0, address 53288 for sprite 1 .......... address 53294 for sprite 7.
For example, if you want to make sprite 2 black the command would be: poke53289,0
If you like programming you should consider getting a good book where all the registers are explained, like the commodore 64 programmer's reference guide.
Address 53287 controls the color of sprite 0, address 53288 for sprite 1 .......... address 53294 for sprite 7.
For example, if you want to make sprite 2 black the command would be: poke53289,0
If you like programming you should consider getting a good book where all the registers are explained, like the commodore 64 programmer's reference guide.
Re: Sprite Graphics Colors
ah, awesome. thanks a lot
.
oh, and i do have the reference guide, i just couldn't find what i was looking for, lol.

oh, and i do have the reference guide, i just couldn't find what i was looking for, lol.
- administrator
- Site Admin
- Posts: 624
- Joined: Wed Mar 16, 2005 10:23 pm
- Location: Calgary Alberta Canada
- Contact:
Re: Sprite Graphics Colors
On the off chance you were not aware... we have both the Programmer and User manuals available on-line:
http://www.commodore.ca/manuals/c64_pro ... erence.htm
http://www.commodore.ca/manuals/c64_use ... _guide.htm
__________________
Ian Matthews
http://www.commodore.ca/manuals/c64_pro ... erence.htm
http://www.commodore.ca/manuals/c64_use ... _guide.htm
__________________
Ian Matthews
Re: Sprite Graphics Colors
Oh cool! Thanks a lot. Mine is an origional copy and is missing some pages. Must explain why i couldn't find it.