[cc65] Creating Sprites with VIC

Date view Thread view Subject view

From: Brian Bagnall (bbagnall_at_mts.net)
Date: 2002-10-14 23:25:23

Hi all,

I'm new to the whole CC65 scene and have a question about creating a sprite using the VIC variable in c64.h. The coding is pretty basic for creating a sprite and positioning it:

VIC.spr_ena = 1;

VIC.spr0_color = COLOR_GREEN;

VIC.spr0_x = x;

VIC.spr0_y = y;

But is it possible to get the drawing values into the sprite using VIC? If I need to poke the values in, that's no problem. I know the appropriate memory locations to do that but I was wondering if VIC gave an easier way to do this.

Brian Bagnall 
My homepage http://www.mts.net/~bbagnall 

To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.

Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-10-14 23:26:49 CEST