Nifflas' Support Forum

Level Editing Support => Knytt Stories Level Editing Support => Topic started by: Azun on September 28, 2010, 05:31:55

Title: Object 20 help needed.
Post by: Azun on September 28, 2010, 05:31:55
I'm making a level, where in one room you are given 2 choices of where to go: left or right.
If you go left, you land in one of those rooms where you are stuck in that room no matter what direction you go - it's hard to explain - one of these is in Afar and Chamber of Trials.

But I'm having difficulty trying to do that in my level - I'm not familiar with flags. Can someone please give me help on how to make one of these rooms?

Thanks.
Title: Re: Object 20 help needed.
Post by: Ultigonio on September 28, 2010, 06:44:53
Flags are not what you're looking for, here.  Instead, you're looking for Warps.

Go to third party tools, go to Warp Left, in the X Coordinate box where it says 0, change it to 1.  With the Warp Right, change the X Coordinate modifier to -1.
This last step is really important and I often forget it myself:  in bank zero, look for an object that shows an orange box with arrows pointing left, right, up, and down.  You can place it anywhere on the screen where the warp(s) will be used, but the warp(s) will not work if you do not place this object.


For the sake of making sure you know what's going on here (although you might already have figured it out, in which case ignore this bit), keep in mind that the default modifier for a warp is 0.  If you're going one screen to the right, that's +1 on the coordinate plane in Knytt Stories.  Putting in a -1 negates this and starts you back off at the same screen you were just on instead of the one to the right.

Hope this helps!
Title: Re: Object 20 help needed.
Post by: Azun on September 28, 2010, 06:55:43
Thank you, that helped me great!  :D
Title: Re: Object 20 help needed.
Post by: Ultigonio on September 28, 2010, 06:56:47
No problem, happy to help.  :)
Title: Re: Object 20 help needed.
Post by: Azun on September 28, 2010, 07:05:07
What about up and down Warps? I'm stuck with that now! :S
Title: Re: Object 20 help needed.
Post by: Ultigonio on September 28, 2010, 07:19:51
What about up and down Warps? I'm stuck with that now! :S
Up and downs a little weird.  With some knowledge in Algebra, one would probably assume that a screen UP is +1, and a screen DOWN is -1

However, that is wrong.

In KS, when you go down a screen, your Y Coordinate increases by one, and when you go up a screen, it decreases by one.
So, essentially, Warp Down should be -1, and Warp Up should be +1.
Title: Re: Object 20 help needed.
Post by: Azun on September 28, 2010, 07:53:36
OK, thank you.  :D
Title: Re: Object 20 help needed.
Post by: Azun on September 28, 2010, 08:07:31
Oh, wait, there's one more! Last one, I promise:

(http://img825.imageshack.us/img825/4340/screenshot1t.png)

With the warps, walk right for a double jump power up, walk left to get to the middle area, climb up to get to the bottom of the screen, however going down will lead you to the next room.
Title: Re: Object 20 help needed.
Post by: AClockworkLemon on September 28, 2010, 08:39:01
Simply set Up, Left and Right to return to the same screen (as i presume you already have), and just make Down warp to the screen it usually warps to (normally the screen below, so that's an X and Y value of 0.

And don't worry, we all have had similar troubls eith Warps, they ARE confusing
Title: Re: Object 20 help needed.
Post by: Azun on September 28, 2010, 10:16:08
Thank you! Now that I've perfected the warp, I can make this level much more interesting...

Someone can lock this thread, thanks.
Title: Re: Object 20 help needed.
Post by: Talps on October 08, 2010, 12:23:14
What about up and down Warps? I'm stuck with that now! :S
Up and downs a little weird.  With some knowledge in Algebra, one would probably assume that a screen UP is +1, and a screen DOWN is -1

However, that is wrong.

In KS, when you go down a screen, your Y Coordinate increases by one, and when you go up a screen, it decreases by one.
So, essentially, Warp Down should be -1, and Warp Up should be +1.


I think it's set up like a database, rather than like a graph. On a database the horizontal goes left to right but the vertical goes top to bottom.
Title: Re: Object 20 help needed.
Post by: Purple Pineapple on October 09, 2010, 01:18:54
Knytt Stories's coordinate system is most likely based off that of Multimedia Fusion.