DSLua Community
Welcome,
Guest
. Please
login
or
register
.
May 21, 2012, 08:52:12 PM
1371
Posts in
262
Topics by
33109
Members
Latest Member:
Limewire Download
Home
Help
Search
Login
Register
DSLua Community
|
DSLua - Best scripting language for Nintendo DS
|
Need Help?
|
Number of Backgrounds...
« previous
next »
Pages:
[
1
]
Print
Author
Topic: Number of Backgrounds... (Read 1945 times)
sylus101
Waxing Crescent
Posts: 68
Number of Backgrounds...
«
on:
July 27, 2007, 12:05:34 PM »
Screen.Initialize( screen, background1 [, background2, ...] )
How many backgrounds can be initialized with this?
Thanks!
Logged
sylus101
Waxing Crescent
Posts: 68
Re: Number of Backgrounds...
«
Reply #1 on:
August 16, 2007, 02:19:38 PM »
BUMP
Anyone with some PALib know-how know the answer here?
Logged
Jeremysr
First Quarter
Posts: 215
Re: Number of Backgrounds...
«
Reply #2 on:
August 16, 2007, 02:36:29 PM »
Well in C you can have 4 backgrounds but I don't know about DSLua. Why didn't you just try putting more than 2 backgrounds?
Logged
daltonlaffs
First Quarter
Posts: 189
Freaking Insane
Re: Number of Backgrounds...
«
Reply #3 on:
August 16, 2007, 06:44:54 PM »
I looped through 5 of them to see what the maximum was (they were all 256*192 maps, on the top screen, so results may vary), and it ran out of memory around 130. It'll be fine
Logged
Code:
-- Bored? Read code line below.
-- Bored? Read code line above.
^^ That works, I SWEAR! ^^
Jeremysr
First Quarter
Posts: 215
Re: Number of Backgrounds...
«
Reply #4 on:
August 16, 2007, 07:22:39 PM »
Quote from: daltonlaffs on August 16, 2007, 06:44:54 PM
I looped through 5 of them to see what the maximum was (they were all 256*192 maps, on the top screen, so results may vary), and it ran out of memory around 130. It'll be fine
I'm guessing you loaded 130 backgrounds. He's asking how many can be initialized in one call to Screen.Intialize().
Logged
daltonlaffs
First Quarter
Posts: 189
Freaking Insane
Re: Number of Backgrounds...
«
Reply #5 on:
August 17, 2007, 01:13:28 PM »
Ah. Oops, missed that tidbit.
What I myself would do is load 2 at a time if all else fails, take a screenshot, and use the result of those two as one background, combine it with the next one, screenshot, repeat.
Logged
Code:
-- Bored? Read code line below.
-- Bored? Read code line above.
^^ That works, I SWEAR! ^^
Pages:
[
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
DSLua - Best scripting language for Nintendo DS
-----------------------------
=> News and Announcements
=> Examples/Tutorials
=> Home-brew/Hacks/Games/Projects
=> Hardware and Equipments
=> Need Help?
=> Bugs & Suggestions
-----------------------------
General DS Programming Chats
-----------------------------
=> Code Hashing
=> Chat Room
=> Test Area
Powered by SMF 1.1 RC2
|
SMF © 2001-2005, Lewis Media