Referencing sprites

Post Reply
xN811x
Posts: 2
Joined: Mon Nov 09, 2015 9:03 pm

Referencing sprites

Post by xN811x » Mon Nov 09, 2015 9:29 pm

Hi guys,

im wondering about the manTiles variable in the animate_simple example. Where is it declared and how do i load my own sprites into an array?

Thank you!

elhobbs
Posts: 358
Joined: Thu Jul 02, 2009 1:19 pm

Re: Referencing sprites

Post by elhobbs » Thu Nov 12, 2015 8:58 am

The makefile is using grit to generate this from the png file. After you compile you will have a man.h file.

xN811x
Posts: 2
Joined: Mon Nov 09, 2015 9:03 pm

Re: Referencing sprites

Post by xN811x » Thu Nov 12, 2015 7:53 pm

Ahhhh Thanks. That helped me a lot! :)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 13 guests