Say HiJump - New SDLPoP mod
- atrueprincefanfrom18
- Site Shah
- Posts: 1786
- Joined: January 21st, 2020, 2:53 pm
- Contact:
Say HiJump - New SDLPoP mod
With the introduction of Super High Jump (implementation done in SDLPoP) I was inspired to create a new mod - Say HiJump
I've also posted the mod on PoPOT: 0000261
Name: Say HiJump
Description: With floaty mode (the floating green potion) prince can now jump two floors and climb up if possible and also drop a loose tile if any. With this behaviour, can you now save the Princess in 5 levels?
Time: 180 minutes
Altered Levels: 5 (for now)
Download:
I've also posted the mod on PoPOT: 0000261
Name: Say HiJump
Description: With floaty mode (the floating green potion) prince can now jump two floors and climb up if possible and also drop a loose tile if any. With this behaviour, can you now save the Princess in 5 levels?
Time: 180 minutes
Altered Levels: 5 (for now)
Download:
Re: Say HiJump - New SDLPoP mod
Hm, after making a high jump, the prince doesn't seem to grab the ledge.
Maybe the game doesn't help the player align the prince right, and it requires pixel precision?
This is with a manually compiled Linux executable.
[Edit:]
...and the Windows EXE says:
"load_image: IMG_Load_RW: Failed loading libpng16-16.dll: Module not found."
I've copied that DLL from the default SDLPoP package.
Prince doesn't grab the ledge here either... at least not for me...
Maybe the game doesn't help the player align the prince right, and it requires pixel precision?
This is with a manually compiled Linux executable.
[Edit:]
...and the Windows EXE says:
"load_image: IMG_Load_RW: Failed loading libpng16-16.dll: Module not found."
I've copied that DLL from the default SDLPoP package.
Prince doesn't grab the ledge here either... at least not for me...
- atrueprincefanfrom18
- Site Shah
- Posts: 1786
- Joined: January 21st, 2020, 2:53 pm
- Contact:
Re: Say HiJump - New SDLPoP mod
The game won't align the player but it doesn't require pixel precision. Did you try with a bit more to the ledge? That should work. Or then dmitry(_s) will be able to help you...
Edit: Try other levels maybe?
Edit 2: This is really easy mod btw so you can play Norbert (no hard tricks required).
Re: Say HiJump - New SDLPoP mod
I've tried all kinds of starting positions before the jump, but the prince never grabs the ledge. I'll try to make a recording, so you can see what I'm doing and that it's not working.
Re: Say HiJump - New SDLPoP mod
Oh, you need to press Shift, I just found out.
Hm. I see. Could it be modified to also allow just arrow up?
I mean, generally when climbing up, just arrow up is sufficient.
Hence I didn't think of pressing Shift until now.
I guess players could get used to having to press Shift.
But somehow they'd need to know that pressing Shift is necessary.
I'm fairly smart and thought your mod was broken...
Hm. I see. Could it be modified to also allow just arrow up?
I mean, generally when climbing up, just arrow up is sufficient.
Hence I didn't think of pressing Shift until now.
I guess players could get used to having to press Shift.
But somehow they'd need to know that pressing Shift is necessary.
I'm fairly smart and thought your mod was broken...
- atrueprincefanfrom18
- Site Shah
- Posts: 1786
- Joined: January 21st, 2020, 2:53 pm
- Contact:
Re: Say HiJump - New SDLPoP mod
Maybe add a comment explaining what other players should know before they play it and expect and/or shouldn't expect?
Anyway, I'd like if you play through it (since it's not difficult and also Quicksave is allowed )
Re: Say HiJump - New SDLPoP mod
The way it works is, if there is a non-floor tile in the 2 rows right above prince, he jumps up 2 rows using (a modified) sequence called "superhijump" that was a part of PoP1 but never used in the code. The way grabbing works is if there is a floor tile in front of the top empty tile the sequence changes to "freefall". Therefore, you grab with Shift just like you would during jumping/floating/etc. To me that feels intuitive, consistent and does not require too many code changes in that area.
The only difference between floating and falling after a super high jump is the former limits your vertical speed to 4 while the later keeps horizontal speed to 0. And there is the same alignment happening as during normal grabs. But usually prince has forward speed which makes it easier. Without it, you would have to be pixel perfect.
The only difference between floating and falling after a super high jump is the former limits your vertical speed to 4 while the later keeps horizontal speed to 0. And there is the same alignment happening as during normal grabs. But usually prince has forward speed which makes it easier. Without it, you would have to be pixel perfect.
Re: Say HiJump - New SDLPoP mod
Very nice mod. I don't know if it's on purpose but I couldn't read the remaining time nor write my name on the hall of fame at the end.
I have to confess I used Apoplexy to understand the final screen of level 2, that was really tricky
(btw, for some reason Apoplexy doesn't detect broken room links on level 2, I don't know why, so the room screen doesn't display the real links)
I have to confess I used Apoplexy to understand the final screen of level 2, that was really tricky
(btw, for some reason Apoplexy doesn't detect broken room links on level 2, I don't know why, so the room screen doesn't display the real links)
- atrueprincefanfrom18
- Site Shah
- Posts: 1786
- Joined: January 21st, 2020, 2:53 pm
- Contact:
Re: Say HiJump - New SDLPoP mod
@dmitrys might be able to help you, has he edited so you can't write name in HOF?VelCheran wrote: ↑August 22nd, 2021, 11:38 am Very nice mod. I don't know if it's on purpose but I couldn't read the remaining time nor write my name on the hall of fame at the end.
I have to confess I used Apoplexy to understand the final screen of level 2, that was really tricky
(btw, for some reason Apoplexy doesn't detect broken room links on level 2, I don't know why, so the room screen doesn't display the real links)
If you could upload video, that'd be great
Re: Say HiJump - New SDLPoP mod
Yes, for some reason SDLPoP can't display any text in this mod.
If I recompile it in debug mode then I get errors on the console: "Failed loading libpng16-16.dll"
libpng16-16.dll is missing from the mod, therefore SDLPoP cannot load the images from data/font, but overwrites the built-in font with empty images.
If you rename the data/font folder then SDLPoP will use the built-in font.
You can press R again to go to the broken room links screen.
Re: Say HiJump - New SDLPoP mod
I forgot to record when I discovered your mod, so I streamed it today (but I already knew every trap so I guess it was less entertaining ) :atrueprincefanfrom18 wrote: ↑August 22nd, 2021, 3:54 pm@dmitrys might be able to help you, has he edited so you can't write name in HOF?VelCheran wrote: ↑August 22nd, 2021, 11:38 am Very nice mod. I don't know if it's on purpose but I couldn't read the remaining time nor write my name on the hall of fame at the end.
I have to confess I used Apoplexy to understand the final screen of level 2, that was really tricky
(btw, for some reason Apoplexy doesn't detect broken room links on level 2, I don't know why, so the room screen doesn't display the real links)
If you could upload video, that'd be great
https://www.twitch.tv/videos/1126353610
Re: Say HiJump - New SDLPoP mod
Yeah, libpng16-16.dll is missing.
Re: Say HiJump - New SDLPoP mod
Nice walk through.
The reason why you could save the game during a slow fall is because all the enhancements are enabled in it, including that one. That is something I had submitted a while ago.
The reason why you could save the game during a slow fall is because all the enhancements are enabled in it, including that one. That is something I had submitted a while ago.
Re: Say HiJump - New SDLPoP mod
I thought more about Norbert's suggestion to use up arrow to grab and decided to implement it. Shift also works because free fall is an existing seq table entry.
The pull request has been updated.
https://github.com/NagyD/SDLPoP/pull/25 ... 0314fd05c8
The pull request has been updated.
https://github.com/NagyD/SDLPoP/pull/25 ... 0314fd05c8