Page 1 of 2

Some HTML5 games based on PoP

Posted: June 7th, 2014, 10:19 pm
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?

Re: Some HTML5 games based on PoP

Posted: March 10th, 2015, 11:21 am
by Norbert
Another work in progress:
https://ultrabolido.wordpress.com/

Re: Some HTML5 games based on PoP

Posted: April 25th, 2015, 11:16 pm
by ultrabolido
Hi, thanks for the mention. New post published: all levels implemented. Any feedback will be appreciated

http://wp.me/p5Ju6W-12

Re: Some HTML5 games based on PoP

Posted: April 26th, 2015, 12:07 pm
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.

Re: Some HTML5 games based on PoP

Posted: April 27th, 2015, 7:24 am
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!

Re: Some HTML5 games based on PoP

Posted: April 27th, 2015, 7:20 pm
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.)

Re: Some HTML5 games based on PoP

Posted: April 27th, 2015, 8:53 pm
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!

Re: Some HTML5 games based on PoP

Posted: April 27th, 2015, 8:55 pm
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!

Re: Some HTML5 games based on PoP

Posted: April 27th, 2015, 9:30 pm
by salvadorc17
Loooks very promising for be created with jscript, this will allow some kind of level editing or customization??

Re: Some HTML5 games based on PoP

Posted: April 27th, 2015, 9:30 pm
by salvadorc17
Loooks very promising for be created with jscript, this will allow some kind of level editing or customization??

Re: Some HTML5 games based on PoP

Posted: April 28th, 2015, 9:03 am
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

Re: Some HTML5 games based on PoP

Posted: April 29th, 2015, 9:14 pm
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...

Re: Some HTML5 games based on PoP

Posted: April 30th, 2015, 5:50 pm
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.

Re: Some HTML5 games based on PoP

Posted: April 30th, 2015, 11:37 pm
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...

Re: Some HTML5 games based on PoP

Posted: July 12th, 2015, 9:45 am
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?