DSLua Community
Welcome, Guest. Please login or register.
May 21, 2012, 08:10:06 PM
1371 Posts in 262 Topics by 33109 Members
Latest Member: Limewire Download
DSLua Community  |  DSLua - Best scripting language for Nintendo DS  |  Need Help?  |  White screen « previous next »
Pages: [1]
Author Topic: White screen  (Read 1164 times)
manu62300
Waxing Crescent
**
Posts: 89



« on: May 13, 2007, 08:57:13 AM »

How can i put a white screen but whitout use a background Huh
Logged

XtreamLua.com
La Référence en programmation sur PSP & DS
xtreamlua.miniville.fr
Bon dev...;
daltonlaffs
First Quarter
***
Posts: 189


Freaking Insane


WWW
« Reply #1 on: May 13, 2007, 09:19:28 AM »

Well, you could use one 64*64 white sprite over and over, but that would get annoying...

Other than that, not that I know of...
Logged

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



^^ That works, I SWEAR! ^^
Jeremysr
First Quarter
***
Posts: 215



WWW
« Reply #2 on: May 14, 2007, 12:02:30 AM »

Just use an 8-bit background. (You probably mean without using a background map, right?) It seems like it draws the backgrounds a certain colour when you first set a color in the palette. So use this code.

Code:
BGTop8Bit = Screen.Load8BitBG()
Screen.Initialize( 1, BGTop8Bit )

BGTop8Bit:SetPaletteColor( 0, 31, 31, 31 )

If you don't understand the code, check 8-bit background tutorial here: http://www.bio-gaming.com/jeremy/dslua/index.php?act=tutorials
Logged
manu62300
Waxing Crescent
**
Posts: 89



« Reply #3 on: May 14, 2007, 08:57:32 AM »

thanks good job ^^
Logged

XtreamLua.com
La Référence en programmation sur PSP & DS
xtreamlua.miniville.fr
Bon dev...;
Pages: [1]
« previous next »
    Jump to: