Help with large COs

  • 2 Replies
  • 1863 Views
*

Offline swoopman2

  • 26
  • 1
  • Couldn't decide on a colour...
    • View Profile
Help with large COs
« 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!
Will beta test, just send me the game...

*

Offline egomassive

  • 1850
  • 250
    • View Profile
    • egomassive games
Re: Help with large COs
« Reply #1 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:
« Last Edit: July 19, 2012, 07:30:07 by egomassive »

*

Offline swoopman2

  • 26
  • 1
  • Couldn't decide on a colour...
    • View Profile
Re: Help with large COs
« Reply #2 on: July 19, 2012, 18:08:39 »
Thanks, I tried may different combinations but I couldn't seem to get it.
Will beta test, just send me the game...