[Request] Advanced Platform Behaviour

Post your work in progress addons and get feedback

Post » Sun Feb 24, 2013 10:54 am

For all we know, this might be on Ashley's to-do list, but in any case...

Basically, the idea behind this is having a platform behavior that incorporates various functions that are either common in platformers or useful to have. Though my main desire is to be able to create a platformer with physics similar to Sonic the Hedgehog (which I have tried and failed miserably multiple times), I want to be able to see the creation of a behavior that covers the needs of as many people trying to make platformers as possible. It's not a 'replacement' for the official platform behaviour, but just an option.

So, with that in mind, potential feature list:

- Controlled variable jumping height
- Allowing collision with non-Solid/Jump-Thru objects (for a variety of reasons)
- Incorporating rotation and momentum mechanics similar to Sonic the Hedgehog
- Wall Jumping, wall climbing, edge hanging, etc.
- 'Realistic' platforming mechanics, ala Flashback or Prince of Persia
- More to come, maybe

Potential features are open to request, and I'd really like to be able to get someone on board to create something like this.
B
94
S
37
G
11
Posts: 404
Reputation: 11,275

Post » Sun Feb 24, 2013 11:34 am

Hmm..Wall Jumping / climbing / ledge grabbing are easy to implement with just events. "Realistic" platforming mechanics are just a matter of tweaking variables and setting more restrictions..variable jump-height is also easily implemented with events..

It's not that I don't support the idea but Ashley says even the current platform behavior is getting very complicated and..eh. More features, more room for bugs.

I've actually been thinking of suggesting a simpler platform behavior because it's less prone to bugs. Like right now the slope detection causes a few bugs elsewhere, so if we could just disable slopes entirely then they'll stop screwing up my game that doesn't even have slopes!

So..hm. If this does happen then I suggest more modularity..
-Set up collisions with events like the custom plaform object in MMF. This alone opens many doors, allowing any platform object to interact with exactly what you want at any time. Restricting it to solids & jump-thrus was a bad idea.

-Enable/Disable features at will (slopes, rotation, etc.)

-Enable/Disable acceleration/deceleration

-Add "modifiers" to easily adjust properties when walking through slime, being in water, etc.Tokinsom2013-02-24 11:34:43
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024

Post » Sun Feb 24, 2013 12:40 pm

I personally think this behavior would have to be done from the ground-up anyway, so making things more modular in nature would help with bug-testing and the like.
B
94
S
37
G
11
Posts: 404
Reputation: 11,275


Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests