První 3 monstra z plánovaných pěti. Kompletní pathfinding i zrcadlení do clienta. Útoky implementované nejsou. Lurk a Neko jsou hardcoded aby útočili na P1.
This commit is contained in:
parent
4484b127c5
commit
9bfe63a166
27 changed files with 772 additions and 47 deletions
|
|
@ -13,12 +13,27 @@
|
|||
|
||||
#---------------------------------- Content ---------------------------------#
|
||||
|
||||
#begin images/enemies-definition.xml
|
||||
/copy:images/enemies-definition.xml
|
||||
|
||||
#begin images/monitor-definition.xml
|
||||
/copy:images/monitor-definition.xml
|
||||
|
||||
#begin images/office-definition.xml
|
||||
/copy:images/office-definition.xml
|
||||
|
||||
#begin images/SpriteSheet_enemies.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/processorParam:ColorKeyColor=255,0,255,255
|
||||
/processorParam:ColorKeyEnabled=True
|
||||
/processorParam:GenerateMipmaps=False
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:ResizeToPowerOfTwo=False
|
||||
/processorParam:MakeSquare=False
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:images/SpriteSheet_enemies.png
|
||||
|
||||
#begin images/SpriteSheet_monitor.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
|
|
|
|||
BIN
FNAF_Clone/Content/images/SpriteSheet_enemies.png
Normal file
BIN
FNAF_Clone/Content/images/SpriteSheet_enemies.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
15
FNAF_Clone/Content/images/enemies-definition.xml
Executable file
15
FNAF_Clone/Content/images/enemies-definition.xml
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TextureAtlas count="9">
|
||||
<Texture>images/SpriteSheet_enemies</Texture>
|
||||
<Regions>
|
||||
<Region id = "0" name="lurk" x="0" y="0" width="240" height="240"/>
|
||||
<Region id = "1" name="neko" x="0" y="240" width="240" height="240"/>
|
||||
<Region id = "2" name="spot-awake-lit" x="0" y="480" width="240" height="240"/>
|
||||
<Region id = "3" name="spot-awake-unlit" x="240" y="480" width="240" height="240"/>
|
||||
<Region id = "4" name="spot-asleep-lit" x="0" y="720" width="240" height="240"/>
|
||||
<Region id = "5" name="spot-asleep-unlit" x="240" y="720" width="240" height="240"/>
|
||||
<Region id = "6" name="dash" x="0" y="960" width="240" height="240"/>
|
||||
<Region id = "7" name="mare-lit" x="0" y="1200" width="240" height="240"/>
|
||||
<Region id = "8" name="mare-unlit" x="240" y="1200" width="240" height="240"/>
|
||||
</Regions>
|
||||
</TextureAtlas>
|
||||
Loading…
Add table
Add a link
Reference in a new issue