Search the web
Sign In
New User? Sign Up
gbadev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
newbie question: palettes, characters & maps (how to lay them out)   Message List  
Reply | Forward Message #14977 of 15019 |
Re: [gbadev] newbie question: palettes, characters & maps (how to lay them out)

> In a typical scenario, I load the palette as bg_palette,
> characters in bg vram, and map in BG3. But when the graphic is
> rendered on the gba, I always find the first character of the BG
> as the background (instead of the maskcolor). In the process of
> trial and error, I have confused myself to such an extent of what
> is what.
>

If I'm reading you right, I'm guessing that you are seeing the first
character in your character table repeated across the display? If
that's the case, then it's behaving as expected, assuming you
'cleared' the map by setting it all to zeros - that means each cell
displays character zero.

If I've got it wrong, which is likely, see if you can reduce your
problem to as few lines of code as possible, post the code, explain
what you want it to do and what you really see, and if nobody else
beats me to it, I can probably help you ;)







Tue Feb 14, 2006 7:36 am

tursi1
Offline Offline
Send Email Send Email

Forward
Message #14977 of 15019 |
Expand Messages Author Sort by Date

Hi, I have been a silent reader of the forum for quite sometime. Even though my question is too basic , comparing to the ones posted by others. However, I am...
Rajesh G S
gsronline
Offline Send Email
Feb 13, 2006
9:49 pm

... If I'm reading you right, I'm guessing that you are seeing the first character in your character table repeated across the display? If that's the case,...
Tursi
tursi1
Offline Send Email
Feb 14, 2006
8:52 am

... Yes, that's right. ... BG3 should countain "map" of image, let's say (A is first character = 0x00) ABCDE FGHIJ KLMNO for 40x24 pixel graphics (which need...
Ped
ped7g
Offline Send Email
Feb 16, 2006
12:21 am

... If you find a tool that does allow you to rearrange the palette to your liking, tell us all. I couldn't find it, but then again, I didn't look through the...
Palamon 3
palamon_3
Offline Send Email
Feb 16, 2006
7:07 pm

Photoshop rearranges the colors according to it's selection bar, ie from RED to BLUE to GREEN back to RED. So set your BG color to full RED with a hint of BLUE...
Fredrik Olsson
flubbaofward
Offline Send Email
Feb 16, 2006
11:33 pm

Hey, I'd recommend GraphicsGale (http://www.humanbalance.net/gale/us/index.html) to anyone who just wants to do simple pixel art without paying for an...
tarsius4
Offline Send Email
Feb 19, 2006
11:45 am

Also, Cosmigo's "ProMotion" is worth a look. Basically, DPaint++ - it will do everything you need. www.cosmigo.com Sreve ... -- Steve Wetherill ...
Steve Wetherill
escafeld
Offline Send Email
Feb 20, 2006
6:43 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help