catfooll

dino

Aug 8th, 2024
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.07 KB | None | 0 0
  1.  
  2. <animations xmlns="https://esheep.petrucci.ch/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://esheep.petrucci.ch/ https://raw.githubusercontent.com/Adrianotiger/desktopPet/master/Resources/animations.xsd"><header><author>Adriano</author><title>Browser Jr.</title><version>0.2</version><info>Test animation, with Browser walking on the screen![br]Image from [link:http://kingasylus91.deviantart.com/]</info><application>1</application><icon>icon</icon><petname>Browser Jr.</petname></header><image><tilesx>16</tilesx><tilesy>12</tilesy><png>0</png><transparency>Magenta</transparency></image>
  3.  
  4. <spawns>
  5.  
  6. <spawn probability="100" id="1"><x>screenW-1</x><y>areaH-imageH</y><next>1</next></spawn></spawns>
  7.  
  8. <animations>
  9.  
  10. <animation id="1"><name>drag</name><start><x>0</x><y>0</y><interval>50</interval><offsety>0</offsety><opacity>1.0</opacity></start><end><x>0</x><y>0</y><interval>50</interval><offsety>0</offsety><opacity>1.0</opacity></end><sequence repeat="0" repeatfrom="0"><frame>0</frame><frame>1</frame><next probability="100" only="none">2</next></sequence></animation>
  11.  
  12. <animation id="2"><name>walk</name><start><x>-2</x><y>0</y><interval>100</interval><offsety>3</offsety><opacity>1.0</opacity></start><end><x>-2</x><y>0</y><interval>100</interval><offsety>3</offsety><opacity>1.0</opacity></end><sequence repeat="5" repeatfrom="0"><frame>0</frame><frame>1</frame><frame>2</frame><frame>3</frame><frame>4</frame><frame>5</frame><frame>6</frame><frame>7</frame><frame>8</frame><frame>9</frame><frame>10</frame><frame>11</frame><next probability="98" only="none">2</next><next probability="30" only="none">7</next></sequence><border><next probability="100" only="none">3</next></border><gravity><next probability="100" only="window">5</next></gravity></animation>
  13.  
  14. <animation id="3"><name>rotate1</name><start><x>0</x><y>0</y><interval>100</interval><offsety>2</offsety><opacity>1.0</opacity></start><end><x>0</x><y>0</y><interval>100</interval><offsety>2</offsety><opacity>1.0</opacity></end><sequence repeat="0" repeatfrom="0"><frame>16</frame><frame>17</frame><frame>18</frame><frame>19</frame><action>flip</action><next probability="100" only="none">4</next></sequence></animation>
  15.  
  16. <animation id="4"><name>rotate2</name><start><x>0</x><y>0</y><interval>100</interval><offsety>2</offsety><opacity>1.0</opacity></start><end><x>0</x><y>0</y><interval>100</interval><offsety>2</offsety><opacity>1.0</opacity></end><sequence repeat="0" repeatfrom="0"><frame>19</frame><frame>18</frame><frame>17</frame><frame>16</frame><next probability="100" only="none">2</next></sequence></animation>
  17.  
  18. <animation id="5"><name>fall</name><start><x>0</x><y>8</y><interval>20</interval><offsety>0</offsety><opacity>1.0</opacity></start><end><x>0</x><y>8</y><interval>20</interval><offsety>0</offsety><opacity>1.0</opacity></end><sequence repeat="100" repeatfrom="0"><frame>21</frame><next probability="100" only="none">5</next></sequence><border><next probability="100" only="none">6</next></border></animation>
  19.  
  20. <animation id="6"><name>boing</name><start><x>0</x><y>0</y><interval>50</interval><offsety>3</offsety><opacity>1.0</opacity></start><end><x>0</x><y>0</y><interval>50</interval><offsety>3</offsety><opacity>1.0</opacity></end><sequence repeat="0" repeatfrom="0"><frame>23</frame><frame>24</frame><frame>25</frame><frame>26</frame><frame>27</frame><frame>28</frame><frame>29</frame><next probability="100" only="none">2</next></sequence></animation>
  21.  
  22. <animation id="7"><name>shoot1</name><start><x>0</x><y>0</y><interval>50</interval><offsety>0</offsety><opacity>1.0</opacity></start><end><x>0</x><y>0</y><interval>50</interval><offsety>0</offsety><opacity>1.0</opacity></end><sequence repeat="10" repeatfrom="1"><frame>32</frame><frame>33</frame><frame>34</frame><frame>35</frame><frame>36</frame><next probability="100" only="none">8</next></sequence></animation>
  23.  
  24. <animation id="8"><name>shoot2</name><start><x>0</x><y>0</y><interval>100</interval><offsety>0</offsety><opacity>1.0</opacity></start><end><x>0</x><y>0</y><interval>1000</interval><offsety>0</offsety><opacity>1.0</opacity></end><sequence repeat="0" repeatfrom="0"><frame>37</frame><frame>38</frame><next probability="100" only="none">2</next></sequence></animation>
  25.  
  26. <animation id="9"><name>bullet1</name><start><x>-2</x><y>0</y><interval>20</interval><offsety>0</offsety><opacity>1.0</opacity></start><end><x>-10</x><y>0</y><interval>20</interval><offsety>0</offsety><opacity>1.0</opacity></end><sequence repeat="10" repeatfrom="0"><frame>40</frame><frame>40</frame><frame>40</frame><next probability="100" only="none">10</next></sequence></animation>
  27.  
  28. <animation id="10"><name>bullet2</name><start><x>-10</x><y>0</y><interval>20</interval><offsety>0</offsety><opacity>1.0</opacity></start><end><x>-10</x><y>0</y><interval>20</interval><offsety>0</offsety><opacity>0.2</opacity></end><sequence repeat="0" repeatfrom="0"><frame>41</frame><frame>41</frame><frame>41</frame><next probability="100" only="none">10</next></sequence></animation></animations>
  29.  
  30. <childs>
  31.  
  32. <child animationid="8"><x>imageX</x><y>imageY</y><next>9</next></child></childs></animations>
Advertisement
Add Comment
Please, Sign In to add comment