Yes, it does. I've personally implemented jumping in my game and I use CrossEngine.
If you want help you'll need to post your event page where you're calling the jump command.
Yes, it does. I've personally implemented jumping in my game and I use CrossEngine.
My apologies. I tried to implement what you suggested like this in the attachment. I have my jump command behind a skill and I'm using YEP Smart Jump to command the jump, and I've set region 10 to be blocked off. Ideally I would have it set for each direction, so no matter which way you're facing if there's a region 10 tiles two spots away then you can't jump -- I know that'll be different xy coords for each one but I was just testing with jumping down first. However, the player will still jump straight into region 10 even if it's 2 spaces down. I also tried to simplify the if check to "
Your current code is saying "If the players is facing down, and if the tile (0,2), which is a fixed tile on the map, is not region 10, then jump. What you actually want is ($gamePlayer.x+.5, $gamePlayer.y+.5+2). This won't be perfect because the player is not on a fixed position on a tile, because this is pixel movement and the player can actually be on four tiles at once. Which tile is 2 tiles south of the player if the player is standing on the corner of a tile?
ahh, that got it! Thank you so much! One more dumb question, do you know how I might activate a player touch event that's below character by jumping on it? I found this thread asking the same question, but when I tried the provided script with the specific xy coordinates of the event (in my case, a pitfall at 11,6) it still only triggers when walking into it. This is in a parallel process.
$gamePlayer.startMapEvent(11, 6, 1, true);
Player touch in Altimit triggers when you touch the border of the event. Event touch should trigger if you're inside the boundaries of the event
Right, but it doesn't actually trigger until another direction key is pressed. So for example, if use a Jump to move 2 tiles down and onto a tile that has a player touch event that's supposed to play a fall animation, wait, then move you back, none of that actually happens if you Jump or use a move route onto the tile.
Then at the end of the jump command, try this
$gamePlayer.startMapEvent(this.character(0).x, this.character(0).y, [1, 2], false);
That didn't work BUT it gave me an idea that has it pretty close. I'm testing a parallel event (see attached) that sets the player's xy and checks for that specific pithole I have on the map. The problem now is that with Altimit the xy is the bottom half of the tile rather than the full tile and I'm not sure how to account for that here.
I do actually test the script calls I post before posting them and it worked for me. If the event is below the player and set to player touch or event touch it should trigger.
In Altimit using the default X of Player or Y of Player, or $gamePlayer.x/$gamePlayer.y references will return the pixel coordinate of the the top left pixel of the player. It is why I gave you $gamePlayer.x+.5 and $gamePlayer.y+.5 earlier to get you the middle pixel of the box.
You would have to edit ChronoEngine's code to disable odd-numbered directions and only allow 2,4,6, and 8.
No, it's not built into the engine to disable diagonal movement for enemies, there are checks for diagonal movement in a lot of the enemy moveroute commands. The only way is to dig into that code and alias the functions allowing it.
This is an issue with other diagonal movement plugins too and some have their own fixes for it. Are you using Altimit or just ChronoEngine by itself? I thought Restart made a fix for this in CrossEngine but I'd have to double check.
That isn't an issue specific to Altimit. Events don't automatically avoid walls without using pathfinding algorithms which are an expensive process in terms of system resources and will lag the game if you have more than one going at a time. You can see in this thread the topic creator is having problems with enemies running into walls and he's using the default engine.
Again, that is not specific to Altimit. I linked you to a thread where that happens in the vanilla, default RPG engine with no Altimit.
Do you mind sharing the configuration you tested so I can see how it differs from mine?
$gamePlayer.startMapEvent(this.character(0).x, this.character(0).y, [1, 2], false);
this.character(-1).jump_to($gameVariables.value(30),$gameVariables.value(31));
Original thread: https://forums.rpgmakerweb.com/threads/cross-engine-combining-chrono-engine-with-altimit-movement.122622/