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, 05:05:17 PM
Username: Password:
Login with username, password and session length

Forgot your password?
Can I use 8BitBG more than one at a time?
DSLua Community
Welcome, Guest. Please login or register.
January 07, 2009, 05:05:17 PM
1724 Posts in 316 Topics by 10128 Members
Latest Member: accurlCrorn
DSLua Community  |  DSLua - Best scripting language for Nintendo DS  |  Need Help?  |  Can I use 8BitBG more than one at a time? « previous next »
Pages: [1]
Author Topic: Can I use 8BitBG more than one at a time?  (Read 515 times)
takeru
New Moon
*
Posts: 1


« on: May 09, 2008, 10:56:27 AM »

I know I can use 8BitBG as background like this:
Quote
Screen.Initialize( SCREEN_TOP, BGTopText, BGTop8Bit )
BGTopText will be drawn on top of BGTop8Bit.

Now, I'd like to use two 8BitBG like this:
Quote
Screen.Initialize( SCREEN_TOP, BGTopText, BG1Top8Bit, BGTop8Bit )

However, BG1Top8Bit does not be drawn on top of BGTop8Bit.
Whichever BG8Bit (BG1Top8Bit or BGTop8Bit) I use to draw something, it is drawn on top.
I can't use one as a background, another as a graphic.

And I use BGBot8Bit:Clear() to clear BGTop8Bit, but BG1Top8Bit is also cleared.
I doubt I can't use 8BitBG more than one at a time.

Do anyone know about this? Please let me know.
Sorry for newbie question.

EDIT
This is the sample code.
http://atbb.jp/takeru/viewtopic.php?t=36&start=43
« Last Edit: May 10, 2008, 03:59:56 AM by takeru » Logged
Pages: [1]
« previous next »
    Jump to:  



    (C) 2009 DSLua

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