alcor Posted July 12, 2020 Share Posted July 12, 2020 Greetings! I've very much enjoyed getting to know MelonJS, and had an initial question: for LevelEntity objects in TMX maps, I wanted to adjust the behavior — The default is to trigger the level transition as soon as the play object even touches the Level object. I'd like (and might even suggest as default behavior) to have the level transition as soon as the Player object is mostly CONTAINED by the level object. This would make many of the transitions more natural. You'd be able to walk on to stairwells, doorways, or into other level switch regions. What is the best way to override the default? I tried a few things, including setting a custom LevelEntity to "me.collision.types.NO_OBJECT", but that disables the triggering. Thanks in advance for any help! Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.