Page 1 of 1

I need help with my background

PostPosted: June 24th, 2014, 9:27 am
by Supershroom
Hi, as I mentioned in my welcome topic, I'm working on a big project which is ca. 30% done. I want the bowser castle background since it's basically designed as a fortress (though it's multithemed), and I've increased the y-size till ca. 80 grids upwards. Notice, upwards, not downwards. And while testing I've seen that the background ends up very fast and at the top there's already the fire field sky, which I don't want to happen. I've also seen that the fire castle background works better. And now, this seems spanish to me: Triple J's "Level 9: Triple's Castle #1" has a y-size greater than 300, but the castle background ends only from the ca. 200th grid from below, and the start position is right down. So Triple J, did you really increase the y-size downwards till 300+ and started designing after that or is there a way to make this background larger by editing the code or else :?: Please let me know.
Also, do you guys have similar experiences with other backgrounds? Would be also nice to know.

Re: I need help with my background

PostPosted: June 24th, 2014, 3:28 pm
by CedarBranch
The backgrounds are already pre-made, so you cannot change them.

I don't think it matters whether you increase the level's size upward or downward, but changing the specific y-size will shift any close-background's position (same with the x-size).
When I made that level, I took advantage of the fact that--by default, the Bowser's Castle background is only partially below the center-position of the whole level (however, some of the other backgrounds have a different offset), meaning that if the level is tall enough, but not too tall, the top of the close-background will be exposed before the bottom of it can show.


Essentially, if you want to prevent the "roof" from showing, either shorten the level's y-dimensions, or--if you happen to want your level to be "tall," divide any specific elevations between level transitions. (However, doing this effectively may be a little tricky for newcomers, but there are ways to make it run more smoothly.)

Re: I need help with my background

PostPosted: June 26th, 2014, 11:07 am
by Supershroom
Thanks for helping me. I've noticed that you've left some space unused ad the top, so it is the solution just to enlarge the y-size more than necessary, right?

Re: I need help with my background

PostPosted: June 26th, 2014, 11:50 am
by CedarBranch
Apparently--and I wasn't thinking of it myself, but making the level taller than necessary actually does give you more of the Bowser's Castle's height, from the bottom (as in, you reveal more of the background out from the bottom of the level, especially after having already revealed the "roof.").

If this is what you're referring to, then yes, it is a solution. (To be honest, that wasn't what I was initially trying to explain, but apparently that happens to work too, as you've just pointed out. :3)

Oh, and your welcome! :P