-
Notifications
You must be signed in to change notification settings - Fork 537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The combatzone stuff is broken, and platforms are broken as well. #93
Comments
I initially wanted to use the platform behavior, but the platform behavior doesn't support changing the direction of gravity, which is important for the sans slam attacks. So, custom movement behavior it is. It is a lot of effort to replicate the many built-in features of the platform movement object. If my goal was to support every edge case, I never would have finished this thing. My goal was to make it work well enough for the vanilla attacks. I think the only vanilla attack that even displays a hint of this issue is the final attack, but you never get stuck from it. |
I see, alright. |
I also had to rule out the 8-direction movement due to a subtle difference in how it's implemented vs how Undertale did it. Construct 2's 8-direction movement does the "right" thing, and ensures that the object moves at the same overall speed when moving diagonally as when moving horizontally or vertically. Undertale does not do this. Horizontal and vertical movements are managed completely separately, and so it moves faster overall when moving diagonally. Example: Imagine that the speed of the red heart is 60 pixels per second. In Undertale, this means that the heart is moving at 60 pixels per second when moving horizontally or vertically, but is moving at approximately 84.85 pixels per second overall when moving diagonally, because it is moving 60 pixels per second horizontally and vertically simultaneously. The 8-direction movement in Construct 2 will ensure that the heart still moves at 60 pixels per second overall when moving diagonally by moving it at 42.42 pixels per second horizontally and vertically simultaneously. |
It might be possible to resolve this using the "Push out solid" action, but I don't know enough about how it works to trust it. |
I knew it, in construct 2, I dont like the 8-bit direction, why? |
Alright, I know, but is it possible to fix the problem with blue soul? Yes it is, but I just have a headache TRYING to fix it, if I delete ANYTHING of the "0 speed" or "step back", the thingy doesnt work, I mean, the jumps will be extremely low. |
This issue is actually fixable with 8-direction behavior now that I think about it. |
As you can see...
the combat zone is "fine" to you, ain't it? Well it's not, if you make the combatzone smaller, and you're in a corner or a wall (overlapping the border probably) you'll get stuck if you're in a corner, and you won't move vertically if you're in wall.
I understand if you don't understand me, but please try going into a corner in blue mode or red mode, and make the combatzone lower, if you jump while the combatzone is resizing, you'll get stuck vertically, if you're in a corner, you can't move.
Also, the platforms, it's just, weird, y'know? when you go to the last part of it's width, it's kinda weird seeing it I really don't know how to explain it lol, but thats a bug, and there's also a PLATFORM in platforms 2 that doesn't even hold you, it's the one right below the smallest platform.
If you can't fix them, I understand since the playerheart custom movement is legit bad, like come on, why doesn't custom movement work with solids, haha.
Anyway, have a good day.
Edit: I got the platforms idea from this, i have the same problem.
#77
The text was updated successfully, but these errors were encountered: