PyIgnition

https://github.com/animatinator/PyIgnition update for Python 3
Clone: git clone https://git.frombelow.net/PyIgnition.git
Log | Files | Refs | README

Test.xml (4351B)


      1 <?xml version = "1.0"?>
      2 <?pyignition version = "1.0"?>
      3 
      4 <effect>
      5 	<source>
      6 		<pos>(300, 300)</pos>
      7 		<initspeed>20.000000</initspeed>
      8 		<initdirection>19.675000</initdirection>
      9 		<initspeedrandrange>0.000000</initspeedrandrange>
     10 		<initdirectionrandrange>0.500000</initdirectionrandrange>
     11 		<particlesperframe>3</particlesperframe>
     12 		<particlelife>50</particlelife>
     13 		<genspacing>0</genspacing>
     14 		<drawtype>scaleline</drawtype>
     15 		<colour>(255, 200, 200)</colour>
     16 		<radius>0.000000</radius>
     17 		<length>20.000000</length>
     18 		<imagepath>None</imagepath>
     19 		<keyframes>
     20 			<keyframe frame = "120">
     21 				<initdirection>18.78</initdirection>
     22 				<pos_x>None</pos_x>
     23 				<pos_y>None</pos_y>
     24 				<genspacing>None</genspacing>
     25 				<particlesperframe>None</particlesperframe>
     26 				<initdirectionrandrange>None</initdirectionrandrange>
     27 				<interpolationtype>linear</interpolationtype>
     28 				<initspeedrandrange>None</initspeedrandrange>
     29 				<initspeed>None</initspeed>
     30 			</keyframe>
     31 			<keyframe frame = "120">
     32 				<initdirection>18.56</initdirection>
     33 				<pos_x>300</pos_x>
     34 				<pos_y>300</pos_y>
     35 				<genspacing>0</genspacing>
     36 				<particlesperframe>3</particlesperframe>
     37 				<initdirectionrandrange>0.5</initdirectionrandrange>
     38 				<interpolationtype>linear</interpolationtype>
     39 				<initspeedrandrange>0.0</initspeedrandrange>
     40 				<initspeed>20.0</initspeed>
     41 			</keyframe>
     42 			<keyframe frame = "121">
     43 				<initdirection>18.781</initdirection>
     44 				<pos_x>None</pos_x>
     45 				<pos_y>None</pos_y>
     46 				<genspacing>None</genspacing>
     47 				<particlesperframe>None</particlesperframe>
     48 				<initdirectionrandrange>None</initdirectionrandrange>
     49 				<interpolationtype>linear</interpolationtype>
     50 				<initspeedrandrange>None</initspeedrandrange>
     51 				<initspeed>None</initspeed>
     52 			</keyframe>
     53 			<keyframe frame = "122">
     54 				<initdirection>19.003</initdirection>
     55 				<pos_x>None</pos_x>
     56 				<pos_y>None</pos_y>
     57 				<genspacing>None</genspacing>
     58 				<particlesperframe>None</particlesperframe>
     59 				<initdirectionrandrange>None</initdirectionrandrange>
     60 				<interpolationtype>linear</interpolationtype>
     61 				<initspeedrandrange>None</initspeedrandrange>
     62 				<initspeed>None</initspeed>
     63 			</keyframe>
     64 			<keyframe frame = "123">
     65 				<initdirection>19.226</initdirection>
     66 				<pos_x>None</pos_x>
     67 				<pos_y>None</pos_y>
     68 				<genspacing>None</genspacing>
     69 				<particlesperframe>None</particlesperframe>
     70 				<initdirectionrandrange>None</initdirectionrandrange>
     71 				<interpolationtype>linear</interpolationtype>
     72 				<initspeedrandrange>None</initspeedrandrange>
     73 				<initspeed>None</initspeed>
     74 			</keyframe>
     75 			<keyframe frame = "124">
     76 				<initdirection>19.45</initdirection>
     77 				<pos_x>None</pos_x>
     78 				<pos_y>None</pos_y>
     79 				<genspacing>None</genspacing>
     80 				<particlesperframe>None</particlesperframe>
     81 				<initdirectionrandrange>None</initdirectionrandrange>
     82 				<interpolationtype>linear</interpolationtype>
     83 				<initspeedrandrange>None</initspeedrandrange>
     84 				<initspeed>None</initspeed>
     85 			</keyframe>
     86 			<keyframe frame = "125">
     87 				<initdirection>19.675</initdirection>
     88 				<pos_x>None</pos_x>
     89 				<pos_y>None</pos_y>
     90 				<genspacing>None</genspacing>
     91 				<particlesperframe>None</particlesperframe>
     92 				<initdirectionrandrange>None</initdirectionrandrange>
     93 				<interpolationtype>linear</interpolationtype>
     94 				<initspeedrandrange>None</initspeedrandrange>
     95 				<initspeed>None</initspeed>
     96 			</keyframe>
     97 		</keyframes>
     98 		<particlekeyframes>
     99 		</particlekeyframes>
    100 	</source>
    101 	<source>
    102 		<pos>(300, 300)</pos>
    103 		<initspeed>1.000000</initspeed>
    104 		<initdirection>0.000000</initdirection>
    105 		<initspeedrandrange>0.900000</initspeedrandrange>
    106 		<initdirectionrandrange>3.141593</initdirectionrandrange>
    107 		<particlesperframe>1</particlesperframe>
    108 		<particlelife>300</particlelife>
    109 		<genspacing>3</genspacing>
    110 		<drawtype>image</drawtype>
    111 		<colour>(0, 0, 0)</colour>
    112 		<radius>0.000000</radius>
    113 		<length>0.000000</length>
    114 		<imagepath>spark.png</imagepath>
    115 		<keyframes>
    116 		</keyframes>
    117 		<particlekeyframes>
    118 		</particlekeyframes>
    119 	</source>
    120 	<directedgravity>
    121 		<strength>0.050000</strength>
    122 		<strengthrandrange>0.000000</strengthrandrange>
    123 		<direction>(0.000000, 1.000000)</direction>
    124 		<keyframes>
    125 		</keyframes>
    126 	</directedgravity>
    127 </effect>