Search found 13 matches

by jdbro
June 13th, 2020, 9:19 pm
Forum: Other Remakes and Ports
Topic: MPrince
Replies: 17
Views: 10599

Re: MPrince

One more month and i'll finish that :)

https://www.youtube.com/watch?v=hvTtAeBozH4
by jdbro
May 16th, 2020, 11:21 pm
Forum: Other Remakes and Ports
Topic: MPrince
Replies: 17
Views: 10599

Re: MPrince

Norbert wrote: May 16th, 2020, 10:40 pm That looks good.
Seems like a lot of work thought to create something that essentially already exists (SDLPoP)?
Yeah, just doing it for fun :) going to finish soon.
by jdbro
May 16th, 2020, 9:26 pm
Forum: Other Remakes and Ports
Topic: MPrince
Replies: 17
Views: 10599

Re: MPrince

Sshot
by jdbro
May 8th, 2020, 11:56 pm
Forum: Other Remakes and Ports
Topic: MPrince
Replies: 17
Views: 10599

Re: MPrince

Remade almost everything with modern techniques. Original code is awful and so hard to do something with that, pixel hunting is everywhere!
Soon i'll try to share my one year experience.
by jdbro
November 7th, 2019, 12:27 pm
Forum: Other Remakes and Ports
Topic: MPrince
Replies: 17
Views: 10599

Re: MPrince

Work in progress. https://youtu.be/Xhjd5pf6Cm4 Tasks have been done: 1. Realtime collisions (not tile checking, took me 2 months to make that, because it was really pain in the ass to calculate pixels on every action with tile approach) 2. Climbing on the wall 3. Objects on level like spikes, doors,...
by jdbro
July 7th, 2019, 2:28 pm
Forum: Other Remakes and Ports
Topic: MPrince
Replies: 17
Views: 10599

Re: MPrince

Thank you, David! very helpful.

One thing that really hard to understand from code is wda, could i ask you to explain wda ? (wall drawn algorithm), as i heard there were 63 different variations.
by jdbro
July 6th, 2019, 12:31 pm
Forum: Other Remakes and Ports
Topic: MPrince
Replies: 17
Views: 10599

Re: MPrince

If kid is facing left : X = Char.x - (dx - xbase) = Char.x - dx + xbase If kid is facing right: X = Char.x + (dx - xbase) = Char.x + dx - xbase (By the way, xbase is counted in two-pixel units.) two-pixel or (320/140) coefficient ? The latter. More precisely, xbase (and the kid's x-position) is mea...
by jdbro
June 30th, 2019, 4:55 pm
Forum: General Stuff
Topic: PoP videos / images
Replies: 504
Views: 133461

Re: PoP videos / images

Every frame printed, amazing handwork!
by jdbro
June 29th, 2019, 8:27 pm
Forum: Other Remakes and Ports
Topic: MPrince
Replies: 17
Views: 10599

Re: MPrince

David, thanks for answer, it's really brilliant. Let me try to summarize. Xbase is used for frames when we need to check which part of frame is on the floor when FLOOR = 1. Something like "fulcrum". For example: if the raise/drop button under prince and frame is 0x7E we should check (KIDFR...
by jdbro
June 29th, 2019, 2:41 pm
Forum: Other Remakes and Ports
Topic: MPrince
Replies: 17
Views: 10599

Re: MPrince

David, thank you for answers! odd/even pixel - totally can't understand that The DOS version doesn't use this at all. You probably won't need it either. It is used the Apple II version (here) to offset the image to the right by one pixel. What is the purpose on the Apple II version ? thin - (to &quo...
by jdbro
June 29th, 2019, 11:59 am
Forum: Other Remakes and Ports
Topic: MPrince
Replies: 17
Views: 10599

Re: MPrince

Another one question, can someone explain wall drawn algorithm (wda) (i hope @David)?

what i found of forum and in FormatSpecification by PrinceD development team, it's really hard to understand. If someone can explain it step by step, would be really great and helpful.
by jdbro
June 29th, 2019, 11:18 am
Forum: Other Remakes and Ports
Topic: MPrince
Replies: 17
Views: 10599

Re: MPrince

Hi,

Could someone help me and explain purpose of fcheck values:

odd/even pixel - totally can't understand that
thin - (to "thin" this frame for collision detection) what is it?
xbase - number of pixels (0-31) from left edge of image block to base x-coord (where it can be used?)

thanks :)
by jdbro
June 24th, 2019, 2:53 pm
Forum: Other Remakes and Ports
Topic: MPrince
Replies: 17
Views: 10599

MPrince

Greetings! I want to share another one project of Prince of Persia. Graphic Engine: SDL2.0 Language: C/C++ Windows / OS X support Tasks have been done: 1. Drawing levels (Without random wall blocks) 2. Kid Animations (almost everything) 3. Kid Movements (almost everything) 3. Kid falling and y-veloc...