added machine gun and pistol reload animations
This commit is contained in:
parent
846f85f1f6
commit
d22757fd93
7 changed files with 8 additions and 4 deletions
|
|
@ -5,6 +5,6 @@
|
|||
</animation>
|
||||
<animation name="machine_gun_reload_anim" type="reload">
|
||||
<FPS>2</FPS>
|
||||
<sprite path="sprites/pistolAtlas256.png" frameSize="256.0"/>
|
||||
<sprite path="sprites/machineGunAtlasReload256.png" frameSize="256.0"/>
|
||||
</animation>
|
||||
</animations>
|
||||
|
|
|
|||
|
|
@ -3,4 +3,8 @@
|
|||
<FPS>4</FPS>
|
||||
<sprite path="sprites/pistolAtlas256.png" frameSize="256.0"/>
|
||||
</animation>
|
||||
<animation name="pistol_reload_anim" type="reload">
|
||||
<FPS>8</FPS>
|
||||
<sprite path="sprites/pistolAtlasReload256.png" frameSize="256.0"/>
|
||||
</animation>
|
||||
</animations>
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
</spriteids>
|
||||
</map>
|
||||
<entities>
|
||||
<player x="7" y="5" weapon="shotGun">
|
||||
<player x="7" y="5" weapon="pistolGun">
|
||||
<animation name="player_anim"/>
|
||||
</player>
|
||||
<entity x="10" y="3" weapon="pistolGun">
|
||||
|
|
|
|||
BIN
Resources/sprites/machineGunAtlasReload256.png
Normal file
BIN
Resources/sprites/machineGunAtlasReload256.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 24 KiB |
BIN
Resources/sprites/pistolAtlasReload256.png
Normal file
BIN
Resources/sprites/pistolAtlasReload256.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 174 KiB |
|
|
@ -42,8 +42,8 @@
|
|||
|
||||
<weapon name="pistolGun" fireSpeed="750.0" maxAmmo="512" clipSize="21">
|
||||
<animation name="pistol_anim">
|
||||
<size x="30.0" y="30.0"/>
|
||||
<offset x="0.0" y="0.0"/>
|
||||
<size x="55.0" y="55.0"/>
|
||||
<offset x="-30.0" y="0.0"/>
|
||||
</animation>
|
||||
<bullet sprite="sprites/bullet.png">
|
||||
<spread>5.0</spread>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue