| |||
Views: 88,493,288 |
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search | 04-27-24 03:37 PM |
|
Guest: Register | Login |
0 users currently in Computing | 1 guest |
Main - Computing - GBA graphics, VB help | New thread | New reply |
interdpth |
| ||
Buzzy Beetle Level: 44 Posts: 93/383 EXP: 593722 Next: 17563 Since: 02-22-07 Last post: 4100 days Last view: 4073 days |
Alright, so i'm working on a graphics editor and i've hit a snag, it seems I can't turn my new images pixels back into bytes!
This is really hurting me! I'm currently doing this Pix = MiniMapGraphics(Tile * 32 + (actualpixel) + 1) MiniMapGraphics(Tile * 32 + (actualpixel)) = ((Pix * 16) And 15) + palslot It slightly works The formula I used to decode the bytes into pixels originally was Color = (GraphicArray(Tile * 32 + (pixel \ 2))) And 15 If (pixel And 1) Then Color = (GraphicArray(Tile * 32 + (pixel \ 2))) \ 16 And 15 So, any help? ____________________ lawl blog http://interdpths.blogspot.com/ |
Xeon |
| ||
Red Paratroopa Level: 31 Posts: 106/174 EXP: 181591 Next: 3772 Since: 03-09-07 Last post: 6021 days Last view: 3223 days |
When I made my overworld editor for the Pokémon advance games I decoded each 4 bits to a byte. And then when re-saving I would simply combine two 4 bit segments back into one and just save that way.
|
Main - Computing - GBA graphics, VB help | New thread | New reply |
© 2005-2023 Acmlm, blackhole89, Xkeeper et al. |
MySQL - queries: 42, rows: 52/53, time: 0.014 seconds. |