Wednesday, 30 January 2013

Spikes and Death

Spikes and Death

The next step is to make the animation of the spikes and kid's death
The animation of the spike's are 5 frames, the kid spikes death are 1 frame




Friday, 25 January 2013

Some little and main screen

Some little and main screen

Now PoP.net have the main screen, I have to modify it to make it look like the original


PoP.net


Original




Thursday, 17 January 2013

Fixing Bugs and ... and all first level completed!

Fixing Bugs and ... and all first level completed!

Oh yes! some days spent for fixing some bug and new implementations like :

->  Fix player falling routine 
-> Loose (tile) routine and sequence animation (break floor, shake when pass on it...ecc)
-> Implement the start position of kid in the maze using two xml token

In the LEVEL_dungeon_prison.xml :

<Level xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

  <levelName>dungeon_prison</levelName>
  <rows>
    <RoomRow>
      <columns>
        <RoomColumn>
          <RoomStart>true</RoomStart>
          <RoomIndex>1</RoomIndex>
          <FilePath>MAP_dungeon_prison_1.xml</FilePath>
        </RoomColumn>
...

In the MAP_dungeon_prison_1.xml :

<Map xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<rows>    
<Row>      
  <columns>        
    <Column>          
     <tileType>space</tileType>
     <spriteType>kid</spriteType>
     <spriteEffect>FlipHorizontally</spriteEffect>
    </Column> 
...

-> And finally ALL first level completed, but miss some tile like spike ecc

                                               Where is the door for next level?

REPOSITORY AND SETUP UPDATED

Friday, 11 January 2013

Loose completed!

Loose Floor completed!

Yes i have an idea and then loose floor is complete, miss its break animation and initial fall animation, but it can fall....


Wednesday, 9 January 2013

Rewrite for XNA Content..FAIL

Rewrite for XNA Content..FAIL

I have spent some hours to rewrite some code for putting the XML resource in XML Content, i have also introduced a library for manage the XML Content serialization, BUT at least i have decided to return to old project.
Because the XML Content in XNA its orrible, i will prefer a standard xml it's too simple and powerfull.


LOOSE tile


Now i'm writing the routine for loosing floor, i don't understand how to manage the falling floor drawing in outside room.
I can manage a falling floor in a room but when it exist from room for fall in the under room i cant manage how to draw...

Think think...  I hope that in the next few days I'll be an idea

Monday, 7 January 2013

Open the door! complete !

Open the door! complete !

Start 2013 with a new tile animation, "Open the door!" 


There are 13 frame for close/open the door, every frame shift 8 pixel up/down the grid.

I have add a new command, now in tile sequence XML you can specify the "delay" for each frame animation, this is usefull for close "step by step" slowly the grid of the door.
Like this:


     <Frame>
        <type>SPRITE</type>
        <name></name>
        <value>Tiles/DoorA_3</value>
        <stoppable>true</stoppable>
        <xOffSet>0</xOffSet>
        <yOffSet>0</yOffSet>
        <delay>1</delay>
      </Frame>


Another new features can be found in room XML definiton :

switchButton = is present in door and pressplate tile for open the assigned doors
timeOpen = how long the door stay open (in seconds)


      <Column>
          <tileType>door</tileType>
          <state>closed</state>
          <switchButton>8</switchButton>
          <timeOpen>6</timeOpen>
        </Column>


Setup and source code refreshed.