Nifflas' Support Forum

Level Editing Support => Knytt Stories Level Editing Support => Topic started by: swoopman2 on July 19, 2012, 00:47:05

Title: Help with large COs
Post by: swoopman2 on July 19, 2012, 00:47:05
I made a small level that contains all you will need.

Here is the link: http://knyttlevels.com/levels/swoopman2%20-%20HELP%20ME.knytt.bin

To make more people come to help, I will award the first person to successful help me with a star!

Good luck!
Title: Re: Help with large COs
Post by: egomassive on July 19, 2012, 04:23:12
I'm not sure why you are having trouble with this. All you needed to add was:

Offset X=12
Offset Y=36

For future reference the CO is automatically centered on the tile it's placed on. The offsets tell it how many pixels to move from that location. A positive X offset will move it to the right, and positive Y offset will move it downward.

Now this is just bonus advice, but if you want to make the shift to the screen with the CO seamless you should copy the previous screen's appearance exactly with the static block on the ceiling. Then, add the background into your CO (see image.) This will prevent the noticeable object flash you can see when shifting between screens.

Edit: I had to edit the image a bit. I removed the alpha channel since it didn't need one. (Reduced the file size by a third.) I didn't realize the image used actual black, so the cracks and borders became invisible in game. :oops:
Title: Re: Help with large COs
Post by: swoopman2 on July 19, 2012, 18:08:39
Thanks, I tried may different combinations but I couldn't seem to get it.