Re: [cc65] Creating Sprites with VIC

Date view Thread view Subject view

From: BlackJack/Civitas (blackjack_at_civitas64.de)
Date: 2002-10-15 00:20:42


On Monday 14 October 2002 23:25, Brian Bagnall wrote:

> 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.

I assume you are talking about the bitmap of the sprite!? If you don't 
want to load the data from disk into the right memory locations, a char 
array like

const char sprite_data[63] = { 0x00, 0x3e, 0x00, ...60 values... };

and the memcpy() function might help.

Ciao,
	Marc 'BlackJack' Rintsch
-- 
_ _____  __  __ _____________________________________________________
 /  __/ /_/  \_\ CiViTAS - "Lameness rulez"
/  /   ____  ____ http://www.civitas64.de/
\  \_ / /\ \/ /\ \ mailto:blackjack_at_civitas64.de  
 \___/_/  \__/  \_\ C64 forever...

----------------------------------------------------------------------
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-15 00:20:54 CEST