Search found 148 matches

by dmitry_s
July 28th, 2022, 4:02 pm
Forum: Prince of Persia 1 for DOS
Topic: Silly level 3 skeleton trick
Replies: 4
Views: 207

Re: Silly level 3 skeleton trick

Most guard types (guard, Jaffar, fat guard) in the game code have guard type value of 2 but skeleton has the value of 4. That was done to allow special events like skeleton rising and falling into a different room. But it also means parts of the code do not handle skeleton the way they handle other ...
by dmitry_s
July 20th, 2022, 5:50 am
Forum: SDLPoP
Topic: A basic tutorial instead of the demo mode
Replies: 1
Views: 150

A basic tutorial instead of the demo mode

I repurposed the demo level as a tutorial instead of the demo in the opening sequence and the demo mode that allows only to play 2 levels. The instructions so far are very basic. The demo level is now a short but complete level instead of just a few rooms. The first time the computer plays as prince...
by dmitry_s
July 10th, 2022, 4:09 am
Forum: Princed Resources (PR)
Topic: Why Result: Cannot open XML file (-13)?
Replies: 1
Views: 241

Re: Why Result: Cannot open XML file (-13)?

I think it cannot find the "resources.xml" file. Do the "cd C:\Users\SSD3\Music\ModBestOf\PR-1.3.1\PR-1.3.1\src\bin" command first. Do not worry about the "unknown.xml" file. It stores resources that are not a part of original POP1 DAT files, like in a custom mod or POP...
by dmitry_s
July 7th, 2022, 6:40 pm
Forum: For DOS
Topic: How to program your own PoP1 Level Editor?
Replies: 2
Views: 214

Re: How to program your own PoP1 Level Editor?

Check out the PR editor that imports/exports resources from DAT files.
https://www.popot.org/other_useful_tools.php?tool=PR
by dmitry_s
July 7th, 2022, 6:39 pm
Forum: SDLPoP
Topic: How do I get to the level editor in SDLpop?
Replies: 1
Views: 143

Re: How do I get to the level editor in SDLpop?

The SDLPoP version with the editor is in a separate branch that is very outdated (v1.16).

https://github.com/NagyD/SDLPoP/tree/editor

Most of us use Apoplexy editor. https://www.popot.org/level_editors.php?editor=apoplexy
by dmitry_s
July 6th, 2022, 6:24 am
Forum: SDLPoP
Topic: MINIMUM-like forward jump/grab
Replies: 11
Views: 551

Re: MINIMUM-like forward jump/grab

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
by dmitry_s
July 4th, 2022, 6:27 am
Forum: SDLPoP
Topic: Hopping over a drop before the running jump
Replies: 2
Views: 179

Hopping over a drop before the running jump

Currently this this type of jump is very difficult to do because you need to be a full tile and a pixel away from a 1 tile drop. I played around to make it work over the entire second tile before the drop.

by dmitry_s
June 24th, 2022, 7:24 pm
Forum: General Stuff
Topic: popot.org
Replies: 302
Views: 61642

Re: popot.org

I really hope the site stays alive. It is the place to go for prince mods.

Unfortunately, I have never programmed in PHP and do not have the time to learn it.
by dmitry_s
June 24th, 2022, 7:22 pm
Forum: SDLPoP
Topic: MINIMUM-like forward jump/grab
Replies: 11
Views: 551

Re: MINIMUM-like forward jump/grab

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.
by dmitry_s
June 24th, 2022, 1:01 am
Forum: SDLPoP
Topic: MINIMUM-like forward jump/grab
Replies: 11
Views: 551

Re: MINIMUM-like forward jump/grab

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
by dmitry_s
June 20th, 2022, 9:45 pm
Forum: SDLPoP
Topic: MINIMUM-like forward jump/grab
Replies: 11
Views: 551

Re: MINIMUM-like forward jump/grab

I blame the spell checker. :lol:
by dmitry_s
June 19th, 2022, 8:39 pm
Forum: SDLPoP
Topic: MINIMUM-like forward jump/grab
Replies: 11
Views: 551

MINIMUM-like forward jump/grab

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 k...
by dmitry_s
June 14th, 2022, 7:27 pm
Forum: Prince of Persia 1 for DOS
Topic: Guide to Prince of Persia tricks (Large Topic)
Replies: 697
Views: 81656

Re: Guide to Prince of Persia tricks (Large Topic)

Here is some barely tested code that seems to work. The "looking right" block code of the "leave_room()" function. "Looking left" code probably also needs to be adjusted since the room now switches when prince is turned left next to the wall. // looking right if (get_ti...
by dmitry_s
June 14th, 2022, 7:01 pm
Forum: Prince of Persia 1 for DOS
Topic: Guide to Prince of Persia tricks (Large Topic)
Replies: 697
Views: 81656

Re: Guide to Prince of Persia tricks (Large Topic)

The bug is Kid doesn't die even though he lands on spikes. The logic in the link below prevents switching the room when the last column of the room is a door top. But it does not do the same if the first tile in the next room is a wall (walls from non-existing rooms are handled elsewhere). https://...
by dmitry_s
June 13th, 2022, 7:24 pm
Forum: Prince of Persia 1 for DOS
Topic: Guide to Prince of Persia tricks (Large Topic)
Replies: 697
Views: 81656

Re: Guide to Prince of Persia tricks (Large Topic)

It looks like a room switching bug. Can you upload the LEVELS.DAT file?

Does it work without spikes? Sometimes trobs can affect the logic like that trick with hanging on to a loose tile in the room above that puts you an extra room down.