Tuesday, 30 April 2013

Combat Trailer

Combat Trailer

A little combat trailer preview, there are some things to complete :

  • Hit effect when kid or guard loose energy
  • Block attack when strike 
  • Retreat
  • Some little bug to be fixed

For now take a look ( kid already has the sword)


Friday, 12 April 2013

Engarde ... Strike!

Engarde ... Strike!

PoP.net sword fighting is near to be complete!

Now Kid alert when Guard is less than 3 tile on same row.
He can advance, retreat and finally strike the Guard

A little problem.... i have fixed the max sprite dimension about 114 x pixel for 114 y pixel and some Kid's strike animation is largest than this, for now i have cutted some sword pixel, but in next version i will change the sprite engine..to permit all sprite size.

Kid's combat strike sequence
I will release a compiled version about April's end when i finish the combat fence!



Monday, 8 April 2013

Guard is moving!

Guard is moving!

Finally i found time to write the guard movement and ready/engarde routine, when kid is on the same guard's row, the guard change from STAND to READY sequence and call STEPFORWARD for move the guard in Kid's direction.

On the original MACII source i didn't found the guard walking sequences i have grab frame by frame from pc dos version and another little strange is the gardengarde mac sequence, it call the "ready" and jump the engarde, why? i think because the "engarde" sequence can be called from kid and guard sprite...or not?



*-------------------------------
* g u a r d e n g a r d e
*-------------------------------
guardengarde
 db goto
 dw ready
*-------------------------------
* e n  g a r d e
*-------------------------------
engarde
 db act,1
 db chx,2
 db 207
 db 208,chx,2
 db 209,chx,2
 db 210,chx,3
ready
 db act,1
 db tap,0
 db 158
 db 170
:loop db 171
 db goto
 dw :loop




Tuesday, 2 April 2013

Guard and Fighting

Guard and Fighting

The original sprites of Prince Of Persia have sword and sprite into two different anim  image, i will union the sword animation into the guard animation.


A little image about guard and fighting..


Thursday, 21 March 2013

Little trailer

Little Trailer

Some little news about potions, now Kid can drink and restore energy and some little fix


Wednesday, 13 March 2013

Sword and ..

Sword and ..

I have finish today the sword animation, kid now have a weapon for attack the sultan's guards
Next step sultan's swing...


Some little fix :

-> mask routine fixed

Thursday, 7 March 2013

Mask sprite under background

Mask sprite under background

I'm study how to mask (hide) Kid when pass behind a pillar or climb from under the floor, i have see some documentation about "Alpha Mapping and pixel shader" bur its a little complicated for me now.

I have adopt another "simple" solution, draw the mask in front of the background after draw sprites, is simple but not elegant.

DRAW ORDER
-> background animation
-> sprites
-> foreground mask



Kid behind a pillar

Example of mask "pillar"

Background
Foreground