Nifflas' Support Forum

Level Editing Support => Knytt Stories Level Editing Support => Topic started by: nat1192 on April 27, 2009, 23:53:20

Title: Block Other Objects
Post by: nat1192 on April 27, 2009, 23:53:20
I am working on a level and I wanted to know how to block a moving object but not block Juni.
(http://img135.imageshack.us/img135/4993/helpa.jpg)
Basically what is going on is there is the moving spike block, and it is supposed to stay on the screen and annoy Juni, but instead it follows the green path. What I am looking for is some hypothetical block (the magenta) that stops the spike block from passing, but allows Juni to pass through.
Title: Re: Block Other Objects
Post by: BloxMaster on April 28, 2009, 00:56:17
He wants a block to reflect the moving spike, but NOT block Juni at all. I'm afraid this feature is not in normal KS. Sorry.  :S
Title: Re: Block Other Objects
Post by: Dataflashsabot on April 28, 2009, 01:01:04
It's late and i'm posting from my phone so sorry if this is wrong but can't you have a thing where the tile sticks up 1 or 2 semi-transparent pixels, so juni can still squeeze through but the block is blocked?
Title: Re: Block Other Objects
Post by: BloxMaster on April 28, 2009, 01:10:14
You could make a tile in your tileset to do it, like dataflashsabot said, but an actual object would be more effective. Also, using a tile isn't really practical since you only get a certain amount and you'd end up using a lot of tiles if you had a lot of these situations, plus it'd still be solid to Juni, even if you could get by it; it'd be sorta odd sticking out. But! It is really the only workaround, other than just changing the screen a bit.
Title: Re: Block Other Objects
Post by: LPChip on April 28, 2009, 20:37:46
I don't think you can block objects like that while Juni can get past. Do note that this block is only moving into another direction when it touches a solid. So in your example, even if this problem wasn't there, it would only be moving on the outside border of the screen. You can fix the issue by lowering the right part by one block. It will bounce against the wall then and turn into another direction. But you probably want to redesign the level in such way that the block is moving more random through the screen instead of only at the border.
Title: Re: Block Other Objects
Post by: Dj Gopher on May 02, 2009, 07:23:41
What if you made Juni "shift" into the room with the spike block, that was the block can't escape its box, while Juni can enter (via shift.)
Title: Re: Block Other Objects
Post by: Purple Pineapple on May 02, 2009, 19:20:08
What if you made Juni "shift" into the room with the spike block, that was the block can't escape its box, while Juni can enter (via shift.)
That would not only be tedious, but probably look wierd. I think the tileset ideas would be ideal for this.