forked from joshkopen/PlatformMaker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtry1.xml
208 lines (208 loc) · 8.26 KB
/
try1.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
<list>
<entity.Entity>
<changed>false</changed>
<obs/>
<identifier>0</identifier>
<myComponentMap>
<entry>
<components.entityComponents.SpriteComponent>
<myString>dirt.jpg</myString>
</components.entityComponents.SpriteComponent>
<components.entityComponents.ComponentType>Sprite</components.entityComponents.ComponentType>
</entry>
<entry>
<components.entityComponents.ImagePropertiesComponent>
<imageHeight>27.25</imageHeight>
<imageWidth>25.5</imageWidth>
</components.entityComponents.ImagePropertiesComponent>
<components.entityComponents.ComponentType>ImageProperties</components.entityComponents.ComponentType>
</entry>
<entry>
<components.entityComponents.LabelComponent>
<myString>bob</myString>
</components.entityComponents.LabelComponent>
<components.entityComponents.ComponentType>Label</components.entityComponents.ComponentType>
</entry>
</myComponentMap>
</entity.Entity>
<entity.presets.AbstractBlock>
<changed>false</changed>
<obs/>
<identifier>1</identifier>
<myComponentMap>
<entry>
<components.entityComponents.CollidableComponent>
<collide>true</collide>
</components.entityComponents.CollidableComponent>
<components.entityComponents.ComponentType>Collidable</components.entityComponents.ComponentType>
</entry>
<entry>
<components.entityComponents.SpriteComponent>
<myString>platform_tile_022.png</myString>
</components.entityComponents.SpriteComponent>
<components.entityComponents.ComponentType>Sprite</components.entityComponents.ComponentType>
</entry>
<entry>
<components.entityComponents.ImagePropertiesComponent>
<imageHeight>50.0</imageHeight>
<imageWidth>50.0</imageWidth>
</components.entityComponents.ImagePropertiesComponent>
<components.entityComponents.ComponentType>ImageProperties</components.entityComponents.ComponentType>
</entry>
<entry>
<components.entityComponents.LabelComponent>
<myString>Default Block</myString>
</components.entityComponents.LabelComponent>
<components.entityComponents.ComponentType>Label</components.entityComponents.ComponentType>
</entry>
<entry>
<components.entityComponents.CollisionComponentsHandler>
<sideCollisionMap>
<entry>
<string>Left</string>
<components.entityComponents.SideCollisionComponent>
<sideCollision>Left</sideCollision>
<typeActionMap/>
<labelActionMap>
<entry>
<string>grrraah</string>
<list>
<actions.BounceOffLeft>
<gdf/>
</actions.BounceOffLeft>
</list>
</entry>
</labelActionMap>
</components.entityComponents.SideCollisionComponent>
</entry>
<entry>
<string>Top</string>
<components.entityComponents.SideCollisionComponent>
<sideCollision>Top</sideCollision>
<typeActionMap/>
<labelActionMap>
<entry>
<string>grrraah</string>
<list>
<actions.BlockTopRegularCollision>
<gdf/>
</actions.BlockTopRegularCollision>
</list>
</entry>
</labelActionMap>
</components.entityComponents.SideCollisionComponent>
</entry>
<entry>
<string>Right</string>
<components.entityComponents.SideCollisionComponent>
<sideCollision>Right</sideCollision>
<typeActionMap/>
<labelActionMap>
<entry>
<string>grrraah</string>
<list>
<actions.BounceOffRight>
<gdf/>
</actions.BounceOffRight>
</list>
</entry>
</labelActionMap>
</components.entityComponents.SideCollisionComponent>
</entry>
<entry>
<string>Bottom</string>
<components.entityComponents.SideCollisionComponent>
<sideCollision>Bottom</sideCollision>
<typeActionMap/>
<labelActionMap>
<entry>
<string>grrraah</string>
<list>
<actions.BounceOffBottom>
<gdf/>
</actions.BounceOffBottom>
</list>
</entry>
</labelActionMap>
</components.entityComponents.SideCollisionComponent>
</entry>
</sideCollisionMap>
</components.entityComponents.CollisionComponentsHandler>
<components.entityComponents.ComponentType>CollisionHandler</components.entityComponents.ComponentType>
</entry>
</myComponentMap>
</entity.presets.AbstractBlock>
<entity.presets.AbstractPlayer>
<changed>false</changed>
<obs/>
<identifier>9</identifier>
<myComponentMap>
<entry>
<components.entityComponents.ControllableComponent>
<controllable>true</controllable>
</components.entityComponents.ControllableComponent>
<components.entityComponents.ComponentType>Controllable</components.entityComponents.ComponentType>
</entry>
<entry>
<components.entityComponents.SpriteComponent>
<myString>character3.jpg</myString>
</components.entityComponents.SpriteComponent>
<components.entityComponents.ComponentType>Sprite</components.entityComponents.ComponentType>
</entry>
<entry>
<components.entityComponents.ImagePropertiesComponent>
<imageHeight>27.25</imageHeight>
<imageWidth>17.0</imageWidth>
</components.entityComponents.ImagePropertiesComponent>
<components.entityComponents.ComponentType>ImageProperties</components.entityComponents.ComponentType>
</entry>
<entry>
<components.entityComponents.LabelComponent>
<myString>Defult Player</myString>
</components.entityComponents.LabelComponent>
<components.entityComponents.ComponentType>Label</components.entityComponents.ComponentType>
</entry>
<entry>
<components.entityComponents.KeyInputComponent>
<inputMap>
<entry>
<javafx.scene.input.KeyCode>RIGHT</javafx.scene.input.KeyCode>
<list>
<components.keyExpressions.RightAction/>
<components.keyExpressions.LeftAction/>
</list>
</entry>
<entry>
<javafx.scene.input.KeyCode>LEFT</javafx.scene.input.KeyCode>
<list>
<components.keyExpressions.LeftAction reference="../../../entry/list/components.keyExpressions.LeftAction"/>
</list>
</entry>
<entry>
<javafx.scene.input.KeyCode>UP</javafx.scene.input.KeyCode>
<list>
<components.keyExpressions.JumpAction/>
</list>
</entry>
</inputMap>
<groovyMap/>
</components.entityComponents.KeyInputComponent>
<components.entityComponents.ComponentType>KeyInput</components.entityComponents.ComponentType>
</entry>
<entry>
<components.entityComponents.AccelerationComponent>
<x>0.0</x>
<y>0.0</y>
</components.entityComponents.AccelerationComponent>
<components.entityComponents.ComponentType>Acceleration</components.entityComponents.ComponentType>
</entry>
<entry>
<components.entityComponents.VelocityComponent>
<x>0.0</x>
<y>0.0</y>
</components.entityComponents.VelocityComponent>
<components.entityComponents.ComponentType>Velocity</components.entityComponents.ComponentType>
</entry>
</myComponentMap>
</entity.presets.AbstractPlayer>
</list>