PDA

View Full Version : Problem with a Background


Tiberious
Dec 27, 2004, 11:46 AM
Yeah, I'm working on another Sonic conversion, and this one has a strange background:

It does not scroll at ALL vertically, but only horizontally. Problem is that in JCS, it shows up fine. In-game, however, there's a small area at the top where there's nothing (leaving layer 8 blank causes the 'multi-images' problem). Attached are a couple of screenshots (one from JCS, and one from the game at the same resolution).

http://www.snohio.net/~ssouth1248/Images2/Eggman01/JCSView.gif http://www.snohio.net/~ssouth1248/Images2/Eggman01/GameView.gif

Obviously the second one's from the game.

Anyway, how do I fix this?

LittleFreak
Dec 27, 2004, 11:48 AM
Did I understand that right, layer 8 was left blank? If so, put tiles in layer 8 and it will work.

Tiberious
Dec 27, 2004, 11:52 AM
Did I understand that right, layer 8 was left blank? If so, put tiles in layer 8 and it will work.

Thing is, if I put the tiles that don't move in either direction (sun and clouds) in layer 8, then there's a row of black in the middle of everything, making it look even worse.

Edit: that fixed it for 300x240, but other resolutions have problems now.

LittleFreak
Dec 27, 2004, 11:59 AM
Hm... that's kinda weird.

You should take a look on this old article from Violet. I don't know if you find a solution for your problem there, but it could be possible.

http://www.jazz2online.com/J2Ov2/articles/view.php?articleID=199

That never happened to me.

Violet CLM
Dec 27, 2004, 01:57 PM
This can be an annoying problem. Fortunately, you are making your own tileset, not using someone else's, so you have the ability to fix it! Place this tile into your tileset:
<img src="http://www.tachyonlabs.com/sam/Desertsky.png" width="32" height="32" alt="Download this tile.">
Now, set layer 8 (or 7, or whatever you're using) to "Tile Height" and use that tile as the bottom of the layer. You will probably need to edit the diagonal line part to tile properly with the rest, but that shouldn't be too hard.

blurredd
Dec 27, 2004, 09:34 PM
For some reason I didn't realize what the problem was at first. Well, either you can add that tile Violet mentioned to the tileset or make the background layer several tiles taller, tile the height, and add the tiles you need to the bottom (sky tiles below the ground tiles). I hope that made sense. Either method would work the same by the way.