Nifflas' Support Forum

Level Editing Support => Knytt Stories Level Editing Support => Knytt Stories - Custom Content => Topic started by: ken94uvnv on May 21, 2010, 18:05:18

Title: Custom Objects
Post by: ken94uvnv on May 21, 2010, 18:05:18
Does anybody know how to make custom objects actually harm Juni? I have been going through the internet for about a week now and still haven't found anything of use. I already know how to make the basic coding that makes the sprites move, but i want to try and make some enemies to use....

Help Any1?
Title: Re: Custom Objects
Post by: LPChip on May 21, 2010, 18:26:52
With normal Knytt Stories, its not possible to do this. You can have an animation and a kill block on top of it, but if the animation actually moves, its impossible.

I believe the KSA mod of Knytt Stories does have certain support of this, but I'm not sure.
Title: Re: Custom Objects
Post by: Vegetal Gibber on May 21, 2010, 18:43:54
You can approximate that effect using invisible damaging area objects (just as LPChip explained) or hiding trap objects in a lower layer (e.g, putting a CO enemy sprite on layer 6, a fake CO background at layer 5 and a proximity bomb on layer 4). The problem is that the "damaging area" will be static and won't move with the animated custom object. If you want to do this properly, you'll have to design your level for a modified version of KS that has this feature. I think Purple Pineapple's mod (KS ACO) supports "deadly" COs, but I don't know how it works.