? Is there a way to bypass the 127*128 Bgscreen? (Page 1) ● SmileBASIC Source Forums

Sign In

Register
*Usernames are case-sensitive
Forgot my password

Is there a way to bypass the 127*128 Bgscreen?

  • #1 ✎ 44 OChunksHD Night Person I like the quiet night and sleep late. Express Yourself Video Games I like to play video games! Hobbies Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength I want to make bigger maps in the future. Posted
  • #2 ✎ 194 CyberYoshi64 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself I think, no. The BG's width multiplied with it's height must be 16383 or less. Actually it could have been 128x128 but 16384 > 16383. I think you could have a big 254x256 layer but only 1 by arranging the 4 layers in a square and load each quarter of the map for each layer. Though I think it might be difficult because there are no BG editors that would allow it unless you would make your own. Posted
  • #3 ✎ 44 OChunksHD Night Person I like the quiet night and sleep late. Express Yourself Video Games I like to play video games! Hobbies Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Thanks. Posted
  • #4 ✎ 183 niconii Video Games I like to play video games! Hobbies Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Drawing I like to draw! Hobbies Games on tile-based consoles (NES, SNES, GB, etc.) solved this problem by loading in new map data as you scrolled. For example, normally the NES's video chip only has enough memory for a two screen wide/tall map, but games like Super Mario Bros. and Metroid were able to have maps that appear much larger with this technique, by not actually storing it all in memory at once. In this animation, the top area displays the tiles as they're stored in memory, and the bottom shows what's displayed on-screen. Unfortunately, this particular technique won't work in SmileBASIC, because BG data doesn't wrap around (if you scroll off the right edge of the BG, you don't end up on the left side), but something similar can still be done. That said, this is definitely more complicated to pull off than loading the entire map in one go, and depending on how you do it, you may need to make tools that support the way you store your map data. Posted Edited by niconii
  • #5 ✎ 751 random_god Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength QSP Contest 1 Contest Participant I participated in the first SmileBASIC Source QSP Contest! Video Games I like to play video games! Hobbies
    Games on tile-based consoles (NES, SNES, GB, etc.) solved this problem by loading in new map data as you scrolled. For example, normally the NES's video chip only has enough memory for a two screen wide/tall map, but games like Super Mario Bros. and Metroid were able to have maps that appear much larger with this technique, by not actually storing it all in memory at once. In this animation, the top area displays the tiles as they're stored in memory, and the bottom shows what's displayed on-screen. Unfortunately, this particular technique won't work in SmileBASIC, because BG data doesn't wrap around (if you scroll off the right edge of the BG, you don't end up on the left side), but something similar can still be done. That said, this is definitely more complicated to pull off than loading the entire map in one go, and depending on how you do it, you may need to make tools that support the way you store your map data.
    Umm actually, you can imitate wrapping around by putting a bit of the beginning at the end and then when the player passes that you use bgofs to move it to the beginning and imitate that. But yes, you can just have it load a bit then another when you move on.
    Posted
  • #6 ✎ 295 ProKuku QSP Contest 1 Contest Participant I participated in the first SmileBASIC Source QSP Contest! Night Person I like the quiet night and sleep late. Express Yourself Pokemon Is Awesome! I love Pokemon! Express Yourself SwanBot’s Program (RIP Picy) I think allows you to have bigger maps for the editor. He found that the default limits for the editor are actually smaller than they can be (going off of long ago memory). Idk you’ll just have to download the program to see what it actually does lol. Posted Edited by ProKuku
  • #7 ✎ 44 OChunksHD Night Person I like the quiet night and sleep late. Express Yourself Video Games I like to play video games! Hobbies Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Thank you guys, I think I had a breakthrough Posted
  • #8 ✎ 44 OChunksHD Night Person I like the quiet night and sleep late. Express Yourself Video Games I like to play video games! Hobbies Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Theoretically, if I use data maps(which I do), I can have it display part of the map based on your location, essentially bypassing the 16383 limit, right? Posted
  • #9 ✎ 194 CyberYoshi64 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself Sure you can. I completely forgot something like this... Posted