MaxCoderz

for your 1 bit pleasure!

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: xLIB Problem
PostPosted: Fri 28 Apr, 2006 2:17 am 
Offline
New Member
User avatar

Joined: Sat 18 Dec, 2004 4:20 am
Posts: 37
Location: I'm... somewhere. What?
I'm trying to display a 6x4 tilemap with 16x16 sprites (the entire screen, in other words.) Now, this seems like it would be rather simple, but I just can't seem to get it to work.

My matrix ([A]) looks like this:

[1 1 1 1 1 1]
[1 0 0 0 0 1]
[1 0 0 0 0 1]
[1 1 1 1 1 1]

and picture-wise (Pic 1), my 16x16 sprite is here (X):

0 X 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0

My code looks like this:
Code:
:real(2,0,0,0,6,4,0,6,0,4,1,0,16,1


And, as far as I can tell, that should make a nice rectangle of 16x16 sprites around the edge of the screen. However, is displays this (zeros are just empty spaces, X is the sprite from Pic 1):

X X X 0 0 0
X 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0

So the top left portion is correct, but the other three-fourths of the screen are not displaying. I've checked over my code, and I can't find anything wrong with it. Am I just a complete moron missing something obvious?

Thanks for your help.

EDIT: Forgot to mention, I'm using xLIB v.601b (which I believe is the most current,) and this is on a TI-84+ SE

_________________
A revolution without dancing is a revolution not worth having.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri 28 Apr, 2006 3:30 am 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 4094
Location: I cant seem to get out of this cryogenic chamber!
You must download v.601 again from ticalc.org ... i reuploaded it with a fix but it shares the same version name.

_________________
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri 28 Apr, 2006 4:07 am 
Offline
New Member
User avatar

Joined: Sat 18 Dec, 2004 4:20 am
Posts: 37
Location: I'm... somewhere. What?
:D Thanks! That was really killing me :x . It works quite perfectly now.

_________________
A revolution without dancing is a revolution not worth having.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB ® Forum Software © phpBB Group | DVGFX2 by: Matt