MINIMUM-like forward jump/grab

Open-source port of PoP that runs natively on Windows, Linux, etc.
Post Reply
dmitry_s
Developer
Developer
Posts: 148
Joined: July 27th, 2021, 7:22 am

MINIMUM-like forward jump/grab

Post by dmitry_s »

I implemented an ability that exists in MINIMUM to SDLPoP. It allows prince to grab a tile from a standing or a running jump.

Standing jump allows grabbing over to the distance of up to 1 tile. Running jump grabbing distance is a little over 2 tiles.

The way to grab is to release the forward arrow key and holding the up arrow key with Shift. MINIMUM does it in reverse, holding the forward arrow and shift but not the up key. But it feels less natural to me.

Doing simpler key combinations causes unintentional grabs because people tend to hold shift early when trying to grab a gate/ledge after a jump and up key is used to perform a jump. In this case they also hold the forward arrow key.

Is there any interest in adding this to SDLPoP as an optional feature? In my experience, it makes the gameplay more dynamic.

User avatar
atrueprincefanfrom18
Site Shah
Site Shah
Posts: 1776
Joined: January 21st, 2020, 2:53 pm
Contact:

Re: MINIMUM-like forward jump/grab

Post by atrueprincefanfrom18 »

This looks really nice and can definitely add a lot of possiblities and interesting ways to make levels more exciting and complex! :)
I wonder what a mod could look like if we combine all such newly added features like the high-jump and jump-grab! ;)
Love to create new MODS :)

My complete list of mods until now!

My channel. Do consider subscribing it! :)
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5656
Joined: April 9th, 2009, 10:58 pm

Re: MINIMUM-like forward jump/grab

Post by Norbert »

dmitry_s wrote: June 19th, 2022, 8:39 pmMINIMUM-like forward jump/grab
Going slightly off-topic, I notice that, throughout your post, you've consistently misspelled MININIM as "MINIMUM". Bruno made it a palindrome, so what you came up with must be invalid. ;)
dmitry_s
Developer
Developer
Posts: 148
Joined: July 27th, 2021, 7:22 am

Re: MINIMUM-like forward jump/grab

Post by dmitry_s »

I blame the spell checker. :lol:
dmitry_s
Developer
Developer
Posts: 148
Joined: July 27th, 2021, 7:22 am

Re: MINIMUM-like forward jump/grab

Post by dmitry_s »

I have created a branch with this feature. It is a part of the enhanced mode settings.
https://github.com/dstarosta/SDLPoP/tree/jump-grab
User avatar
atrueprincefanfrom18
Site Shah
Site Shah
Posts: 1776
Joined: January 21st, 2020, 2:53 pm
Contact:

Re: MINIMUM-like forward jump/grab

Post by atrueprincefanfrom18 »

I created a small levelset to test this (along with HiJump enabled) and it looks amazing :)


Love to create new MODS :)

My complete list of mods until now!

My channel. Do consider subscribing it! :)
dmitry_s
Developer
Developer
Posts: 148
Joined: July 27th, 2021, 7:22 am

Re: MINIMUM-like forward jump/grab

Post by dmitry_s »

That demo level looks great. These moves definitely open more scenarios to figure out.

If there are no issues with the feature, I'll create a pull request.
David
The Prince of Persia
The Prince of Persia
Posts: 2790
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: MINIMUM-like forward jump/grab

Post by David »

dmitry_s wrote: June 24th, 2022, 7:22 pm If there are no issues with the feature, I'll create a pull request.
Here it is: https://github.com/NagyD/SDLPoP/pull/283
I merged it.
dmitry_s
Developer
Developer
Posts: 148
Joined: July 27th, 2021, 7:22 am

Re: MINIMUM-like forward jump/grab

Post by dmitry_s »

I submitted a fix that caused prince to teleport when hanging onto the left-most tile on the top floor.
https://github.com/NagyD/SDLPoP/pull/285
David
The Prince of Persia
The Prince of Persia
Posts: 2790
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: MINIMUM-like forward jump/grab

Post by David »

dmitry_s wrote: July 6th, 2022, 6:24 am I submitted a fix that caused prince to teleport when hanging onto the left-most tile on the top floor.
https://github.com/NagyD/SDLPoP/pull/285
I have merged it.
User avatar
atrueprincefanfrom18
Site Shah
Site Shah
Posts: 1776
Joined: January 21st, 2020, 2:53 pm
Contact:

Re: MINIMUM-like forward jump/grab

Post by atrueprincefanfrom18 »

I found a weird behaviour which I don't know if it was intentional or if it's a bug:





If you grab for the lowest possible time, the loose tile won't fall down.
Love to create new MODS :)

My complete list of mods until now!

My channel. Do consider subscribing it! :)
David
The Prince of Persia
The Prince of Persia
Posts: 2790
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: MINIMUM-like forward jump/grab

Post by David »

atrueprincefanfrom18 wrote: August 3rd, 2022, 6:35 am If you grab for the lowest possible time, the loose tile won't fall down.
Dmitry made a fix for it: https://github.com/NagyD/SDLPoP/pull/288
I have merged it.
Post Reply