Search found 86 matches
- November 9th, 2022, 10:06 pm
- Forum: SDLPoP
- Topic: SDLPoP; David's open-source port of PoP
- Replies: 864
- Views: 274418
Re: SDLPoP; David's open-source port of PoP
I experimented with a feature letting you remap controls: otow4sBTzA4 This is very obviously work-in-progress, hence the "blah blah blah" and it only letting you modify keyboard controls right now. Should I try to finish this feature? And also, is this style of UI for it okay? That is, it ...
- November 8th, 2022, 3:16 pm
- Forum: SDLPoP
- Topic: Dropped inputs
- Replies: 4
- Views: 4378
Re: Dropped inputs
I don't remember ever encountering the issue as a kid so I must have been used to holding down keys for any action. But in more recent times as I've been bouncing between many different games (and 99% of games react to any button press, no matter how brief it is, and some games will also trigger dif...
- November 8th, 2022, 2:19 am
- Forum: SDLPoP
- Topic: Dropped inputs
- Replies: 4
- Views: 4378
Re: Dropped inputs
I've got the problem fixed now. If anyone wants to test it, I've uploaded a build of my fork with the fix here: https://github.com/FluffyQuack/SDLPoP/releases Make sure to enter Settings->Gameplay and turn on "Enhanced mode" for the fix to take effect. I think this makes the controls feel ...
- November 7th, 2022, 3:38 pm
- Forum: SDLPoP
- Topic: SDLPoP; David's open-source port of PoP
- Replies: 864
- Views: 274418
Re: SDLPoP; David's open-source port of PoP
Finished writing the new PR which fixes dropped gamepad input and makes everything a toggle: https://github.com/NagyD/SDLPoP/pull/294 List of changes: Replaced joy_axis size definition with a define. Added joy_axis_max array that stores the highest reached value for analogue gamepad inputs between g...
- November 1st, 2022, 12:16 am
- Forum: SDLPoP
- Topic: SDLPoP; David's open-source port of PoP
- Replies: 864
- Views: 274418
Re: SDLPoP; David's open-source port of PoP
I tested the game in DosBox, and very brief keyboard and joystick input is dropped the same way there, so I think it's safe to say the original Dos release has the same issue. For the heck of it, I tested POP2 as well, and that also has the same issue. I can write a PR where I make it a toggle and a...
- October 30th, 2022, 11:59 pm
- Forum: SDLPoP
- Topic: SDLPoP; David's open-source port of PoP
- Replies: 864
- Views: 274418
Re: SDLPoP; David's open-source port of PoP
I've merged it. I further clarified the values of control_x and control_y: https://github.com/NagyD/SDLPoP/commit/f22213b14e05a76bb36cb135f915ef8115e37f22 "CONTROL_HELD" and "CONTROL_HELD_ALTDIRECTION" just felt strange to me. That's a fair change. You can go ahead and delete th...
- October 16th, 2022, 7:08 pm
- Forum: SDLPoP
- Topic: SDLPoP; David's open-source port of PoP
- Replies: 864
- Views: 274418
Re: SDLPoP; David's open-source port of PoP
Another PR that simplifies some code related to controller input: https://github.com/NagyD/SDLPoP/pull/292 I would have preferred to change this code to use bitflags or expand the value range the controller variables use (so it doesn't use 1 to signify different states depending on which specific co...
- October 10th, 2022, 10:02 pm
- Forum: SDLPoP
- Topic: Dropped inputs
- Replies: 4
- Views: 4378
Re: Dropped inputs
Here's a video example showing dropped input:
At the bottom part of the video you can see input as they're received by Windows (this is shown by another application).
At the bottom part of the video you can see input as they're received by Windows (this is shown by another application).
- October 10th, 2022, 9:52 pm
- Forum: SDLPoP
- Topic: SDLPoP; David's open-source port of PoP
- Replies: 864
- Views: 274418
Re: SDLPoP; David's open-source port of PoP
Oh, doing it all by hand sounds pretty hardcore. It is interesting to see what the original source code most likely looked like. A very faithful reverse engineering is pretty neat from a historical standpoint as you get a good glimpse at how it was made originally. But yeah, simplifying the code doe...
- October 9th, 2022, 4:11 pm
- Forum: SDLPoP
- Topic: Dropped inputs
- Replies: 4
- Views: 4378
Dropped inputs
I did a playthrough of SDL-PoP a few days ago. It was my first playthrough of POP in over a year and there's one thing that keeps bugging me, which is that the game will sometimes drop input. It happens very rarely, but it's often enough that I find it a bit annoying. I can remember experiencing it ...
- October 9th, 2022, 3:53 pm
- Forum: SDLPoP
- Topic: SDLPoP; David's open-source port of PoP
- Replies: 864
- Views: 274418
Re: SDLPoP; David's open-source port of PoP
I have merged it. I made some further cleanups, I linked to the commits from my comment on the PR. Those are good changes. Moving variable assignments outside expressions definitely makes the code a lot more readable. I assume that was originally the result of automatic decompilation? A part of me ...
- October 5th, 2022, 12:52 pm
- Forum: General Stuff
- Topic: Official Prince of Persia twitter celebrating 33th anniversary of POP
- Replies: 2
- Views: 6693
Official Prince of Persia twitter celebrating 33th anniversary of POP
https://twitter.com/princeofpersia/status/1577327725391519746/photo/1 It's not much of a celebration, but it's nice to see them acknowledge where the series started. And the new header they made for their account is neat: https://pbs.twimg.com/profile_banners/1256252724129206274/1664813092/1500x500
- October 4th, 2022, 3:26 pm
- Forum: SDLPoP
- Topic: SDLPoP; David's open-source port of PoP
- Replies: 864
- Views: 274418
Re: SDLPoP; David's open-source port of PoP
I might do even more refactoring like this. Feel free to! I made another PR but I may have gone a bit overboard: https://github.com/NagyD/SDLPoP/pull/291 It's basically a ton of small changes: Renamed a bunch of var_# variables. Removed vsync argument from a bunch of functions related to palette co...
- October 2nd, 2022, 1:00 pm
- Forum: For SDLPoP / MININIM
- Topic: How to replace DOS Sprite to Mac Sprite in SDL Pop?
- Replies: 14
- Views: 12659
Re: How to replace DOS Sprite to Mac Sprite in SDL Pop?
I have tried that in the past: https://forum.princed.org/viewtopic.php?f=126&t=3810 As you can see on the screenshot, it basically worked. The only problem is that certain image resources don't contain what SDLPoP expects. For example, instead of the blue stripe there is the right half of a flo...
- October 1st, 2022, 4:25 pm
- Forum: For SDLPoP / MININIM
- Topic: How to replace DOS Sprite to Mac Sprite in SDL Pop?
- Replies: 14
- Views: 12659
Re: How to replace DOS Sprite to Mac Sprite in SDL Pop?
It would require a lot of code changes as render coordinates for objects are hardcoded. You mention a wall being 32x60 in size, but it's actually 32x63. The bottom 3 pixel rows are part of another texture. So 64x126 is exactly 2x2 times the size of the DOS wall tile. If all Mac assets are 2x2 in siz...