Wednesday, 07 January 2009
 
  Home arrow Forum  
Main Menu
Home
News
Forum
Documentation
Download
Links
Administrator
Login Form
Welcome, Guest. Please login or register.
January 07, 2009, 03:46:13 PM
Username: Password:
Login with username, password and session length

Forgot your password?
AHHHHHH! HELP ME!!! (again)
DSLua Community
Welcome, Guest. Please login or register.
January 07, 2009, 03:46:13 PM
1724 Posts in 316 Topics by 10118 Members
Latest Member: Jearyperarigh
DSLua Community  |  DSLua - Best scripting language for Nintendo DS  |  Need Help?  |  AHHHHHH! HELP ME!!! (again) « previous next »
Pages: [1]
Author Topic: AHHHHHH! HELP ME!!! (again)  (Read 1454 times)
daltonlaffs
Waxing Gibbous
****
Posts: 340


Freaking Insane


WWW
« on: April 09, 2006, 10:34:25 AM »

OK. V0.3 works well, but I have a problem. I compiled my image through gfx2gba, and I put the .pal and .raw files in scripts, and... ARRRGH!!! The image showed up when I ran my script, but it was all glitchy!!! Here: Check out all this. Here's some photos:

<img src="http://daltonlaffs.bravehost.com/argh.bmp"</a>

And here's what the image should look like:

<img src="http://daltonlaffs.bravehost.com/LavaDragonEgg.bmp"</a>

And here's my code (look familiar?)

<a href="http://daltonlaffs.bravehost.com/05 - Sprite V2.txt"My Code</a>

Also, if these don't work, I attached all of those in the zip archive attached. [file name=Junk.zip size=13664]http://www.dslua.com/components/com_joomlaboard/uploaded/files/Junk.zip[/file]

PLEASE HELP ME

* Junk.zip (13.34 KB - downloaded 42 times.)
Logged

Code:
-- Bored? Read code line below.
-- Bored? Read code line above.



^^ That works, I SWEAR! ^^
waruwaru
Administrator
Waxing Crescent
*****
Posts: 94


« Reply #1 on: April 09, 2006, 12:21:57 PM »

Hello there,

I think it's maybe the way the .raw was generated?  Here is the command line I used, and the result.  Don't forget the -t8 switch

Code:

DSLUA>gfx2gba -pLavaDragonEgg.bmp.pal -t8 LavaDragonEgg.bmp

=======================
gfx2gba Converter v0.15
-----------------------
(C) 2oo1-2oo3 [TRiNiTY]
=======================

Reading: LavaDragonEgg.bmp        ( 32x 32 pixel, 256 colors)
Saving bitmap data to: LavaDragonEgg.raw ... ok

Saving masterpalette to..: LavaDragonEgg.bmp.pal ... ok

Total files read & converted.:   1
Colors used before converting:   6
Colors used after converting.:   6
Colors saved.................:   0


Have fun!
Waruwaru


Post edited by: waruwaru, at: 2006/04/09 09:24

* DragonEgg.PNG (5.92 KB - downloaded 48 times.)
Logged
daltonlaffs
Waxing Gibbous
****
Posts: 340


Freaking Insane


WWW
« Reply #2 on: April 09, 2006, 11:31:15 PM »

WOOHOO!!! Wow, you're SMART! I never thought of that. I just used more common commands, and forgot all about some of that stuff. IT IS NOW PERFECT! :side:

It won't be long until Dragons and Dragosses attacks the world!!! :blink:

Oh, yes, a request. Could you add 'add .ico file support' to your DSLua to-do list? I say this because icons can be made with transparent parts on them, so, in other words, you could put them on ANY BACKGROUND! The transparent parts behind the image would stop there from being a stupid little box behind the character, and would take away the need for an individual sprite for every design on a background to blend in!!! Here's an icon with a transparent background. Note that I used all 18 colors icons use. (16 regular colors, 1 transparent, and 1 uh... I don't know what that one does. I think the last one shows the exact opposite of the color in the background it's on.

eek, I can't attach. Hang on... I can't. But you get the idea

Post edited by: daltonlaffs, at: 2006/04/09 20:48
Logged

Code:
-- Bored? Read code line below.
-- Bored? Read code line above.



^^ That works, I SWEAR! ^^
waruwaru
Administrator
Waxing Crescent
*****
Posts: 94


« Reply #3 on: April 11, 2006, 08:49:13 AM »

daltonlaffs wrote:
Quote
Oh, yes, a request. Could you add 'add .ico file support' to your DSLua to-do list? I say this because icons can be made with transparent parts on them, so, in other words, you could put them on ANY BACKGROUND!


Hmmm, sorry, I am not sure what you mean exactly.  But are you saying that you want to have transparent backgrounds?  That's what the sprites are suppose to do.  Look carefully when the ship and explosion are on top of each other.  You can see the ship through the exaplosion.  You can check out the bitmaps included to see how the transparent color was done.

If you are talking about DSLua should read directly from a .ico file.  Not sure if that is good, because an .ico file can contain same graphics for many different bitdepth.  So, it will eat up your valuable memories even if the graphics aren't used.  A bit wasteful. Smiley
Logged
daltonlaffs
Waxing Gibbous
****
Posts: 340


Freaking Insane


WWW
« Reply #4 on: April 11, 2006, 09:25:53 AM »

OK, you're right about the transparency, but I'd still like icons... and about last time. I can attach them now, so... look at this icon:

 [file name=Icon.zip size=214]http://www.dslua.com/components/com_joomlaboard/uploaded/files/Icon.zip[/file]

Ok. And one reason I like icons is because they are easy to make. With bitmaps, you gotta set size exactly, :unsure: , you hafta remember what color is set as the transparent color, and what if you made a background that uses many colors? The transparent color would not show up in the background, which sucks :whistle: . I'm not saying that it would be so great for your effort (or your RAM :pinch: ), but it would probably help out a lot. :woohoo:

Ok. Also, check the projects section. I just made ANOTHER! And this one is NOT made in DSLua. It isn't even a game :silly: !

* Icon.zip (0.21 KB - downloaded 34 times.)
Logged

Code:
-- Bored? Read code line below.
-- Bored? Read code line above.



^^ That works, I SWEAR! ^^
Pages: [1]
« previous next »
    Jump to:  



    (C) 2009 DSLua

    DSLua - Best scripting language for Nintendo DS home-brew!