Some HTML5 games based on PoP

Threads about other remakes and ports.
David
The Prince of Persia
The Prince of Persia
Posts: 2846
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Some HTML5 games based on PoP

Post by David »

Prince of Persia - HTML5 by Aditya Ravi Shankar
http://www.adityaravishankar.com/projec ... of-persia/

It is only one room currently.
You can "cheat" and go to an other room if you open a JavaScript console and type prince.currentRoom=1;
(Or some other number from 1..24; the whole level 1 is included.)
But then you'll see how incomplete this game is: It's possible to walk in walls or in the air.

Prince of Canvas by: Matheus BN
http://www.mazeware.com/poc/princeofcanvas.html

Movements are *very* different from the original.
The level is similar to the original level 1 with some changes.
I can't find a way to complete the game, maybe there isn't?
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5743
Joined: April 9th, 2009, 10:58 pm

Re: Some HTML5 games based on PoP

Post by Norbert »

Another work in progress:
https://ultrabolido.wordpress.com/
ultrabolido
Efendi
Efendi
Posts: 5
Joined: April 25th, 2015, 11:14 pm

Re: Some HTML5 games based on PoP

Post by ultrabolido »

Hi, thanks for the mention. New post published: all levels implemented. Any feedback will be appreciated

http://wp.me/p5Ju6W-12
David
The Prince of Persia
The Prince of Persia
Posts: 2846
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Some HTML5 games based on PoP

Post by David »

Nice!
The spikes, gates, loose floors, buttons all work mostly like in the original.
The only tile that is missing is the chomper.

I tried to complete all levels and I found these:
* Home and Page Up don't work. The numeric keypad does not work either.
* I can't break loose floors from below. Problem on level 7, 10, 11, 12.
* On level 3 the game stopped suddenly, when the kid bumped into a wall at the left edge of the level.
I got this error on the debug console: "TypeError: this.rooms[room] is undefined"
Happened again on level 12.
Or just turn right at the wall, and jump up.
The same error appears if the kid falls out of the level.
* The bubbles of all potions are white.
* The kid should turn after starting the level. And the level door should close behind him.
* When I do a careful step at a potion, the kid does as if a ledge was there. :)
* When I grab a button, it is not pressed. I have to climb up onto it.
The loose floor behaves similarly.
* Loose floors don't press buttons. Problem on level 4. Even bigger problem on level 6 and 9.
* On level 4, I run-jumped onto the first gate, and the kid fell into the floor!
This happened again on level 7, with the gate at the exit door.
And again on level 10.
* I can't step right up to a ledge at a gate. Happened on level 4.
* There are some problems with grabbing.
* When going up the stairs on a palace level, the kid is clipped at the wrong place.
* The bubbles of big potions are drawn at the wrong place.
* When run-jumping over a 3-tile hole, I have to grab the other side. Problem on level 12.
* When the kid jumps up, and then falls, the kid becomes clipped.
It fixes itself when I jump up.
* When run-jumping over a hole, the game does not align the kid to the edge of the floor.
* I can climb up to the top half of a big pillar. :) And to the doortop without floor.
* When I jump up next to a gate (looking away from the gate), the kid gets to the other side of the gate.
On level 10, where you have to break a loose floor from below. Just before the exit.
* The title of the page says "Phaser Basic Project Template".
* If I start to run and press up too early, the kid does a standing jump.
* Can't do a 2-tile run-turn-jump. The kid turns only on the third tile.
* Level 6: When I fall onto the pit with spikes from the right, the pillar disappears.
* The arches behave as floor.
* I can jump through doortops.
User avatar
doppelganger
Vizier
Vizier
Posts: 119
Joined: April 24th, 2015, 9:04 am
Location: India

Re: Some HTML5 games based on PoP

Post by doppelganger »

I found that:
* On level 0, i.e. The Demo Level, At the second room, when I tried to grab the ledge, the prince grabs another floor, two tiles to the left of it!
Image
* The prince cannot be killed. Spikes won't work. No fall damage.
* Loose floors of level 12b (13) doesn't fall.

Lastly......

NO GUARDS!
Doppelgänger
Hmm.. These mortals know about me.. :evil:

Download 'Hell of A Palace' now from Popot!
David
The Prince of Persia
The Prince of Persia
Posts: 2846
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Some HTML5 games based on PoP

Post by David »

doppelganger wrote:* The prince cannot be killed. Spikes won't work. No fall damage. NO GUARDS!
These are mentioned in the blog post, so I did not repeat them.
The kid does not even have hitpoints, by the way.
doppelganger wrote:* Loose floors of level 12b (13) doesn't fall.
Actually, all special events are missing.
Except the closing gate on level 1, but that is done differently. (Fires event 8 instead of pressing a tile.)
ultrabolido
Efendi
Efendi
Posts: 5
Joined: April 25th, 2015, 11:14 pm

Re: Some HTML5 games based on PoP

Post by ultrabolido »

WOW! thanks david, what an extensive list of bugs!!! Seams that you have played more than me :P
i'll try to fix (most of) them for the next version.

Oh! and thanks for the special events doc link... invaluable!
ultrabolido
Efendi
Efendi
Posts: 5
Joined: April 25th, 2015, 11:14 pm

Re: Some HTML5 games based on PoP

Post by ultrabolido »

doppelganger wrote:I found that:
* On level 0, i.e. The Demo Level, At the second room, when I tried to grab the ledge, the prince grabs another floor, two tiles to the left of it!
* The prince cannot be killed. Spikes won't work. No fall damage.
* Loose floors of level 12b (13) doesn't fall.

Lastly......

NO GUARDS!
yes, work in progress! that is!
salvadorc17
Calif
Calif
Posts: 553
Joined: August 27th, 2011, 2:04 am

Re: Some HTML5 games based on PoP

Post by salvadorc17 »

Loooks very promising for be created with jscript, this will allow some kind of level editing or customization??
salvadorc17
Calif
Calif
Posts: 553
Joined: August 27th, 2011, 2:04 am

Re: Some HTML5 games based on PoP

Post by salvadorc17 »

Loooks very promising for be created with jscript, this will allow some kind of level editing or customization??
ultrabolido
Efendi
Efendi
Posts: 5
Joined: April 25th, 2015, 11:14 pm

Re: Some HTML5 games based on PoP

Post by ultrabolido »

salvadorc17 wrote:Loooks very promising for be created with jscript, this will allow some kind of level editing or customization??
thanks! :D
Level editing could be a cool feature, but for now i'm focusing on finish the gameplay
salvadorc17
Calif
Calif
Posts: 553
Joined: August 27th, 2011, 2:04 am

Re: Some HTML5 games based on PoP

Post by salvadorc17 »

Ok, no problem, try to complete it, and also which engine or libraries from Jscript you have used for doing this?? just for curiosity...
David
The Prince of Persia
The Prince of Persia
Posts: 2846
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Some HTML5 games based on PoP

Post by David »

salvadorc17 wrote:which engine or libraries from Jscript you have used for doing this??
According to the first blog post, it's Phaser.
salvadorc17
Calif
Calif
Posts: 553
Joined: August 27th, 2011, 2:04 am

Re: Some HTML5 games based on PoP

Post by salvadorc17 »

According to the first blog post, it's Phaser.
That phaser framework is not so bad for platformer games, now i just tought if is possible to add some interface buttons, to allow play it in different platform or add pad support for give it a try on xbox XD...
David
The Prince of Persia
The Prince of Persia
Posts: 2846
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Some HTML5 games based on PoP

Post by David »

It looks like there is a new version: https://ultrabolido.wordpress.com/2015/ ... g-hunting/
EDIT: But why does the "try the last version here" require a login?
Post Reply