File: SetDynamicBlockSelfRotation.lvl

package info (click to toggle)
xmoto 0.6.1%2Brepack-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 79,648 kB
  • sloc: cpp: 106,826; ansic: 50,210; xml: 7,832; sh: 465; ruby: 26; makefile: 3
file content (44 lines) | stat: -rw-r--r-- 1,187 bytes parent folder | download | duplicates (3)
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
<?xml version="1.0" encoding="utf-8"?>
<level id="SetDynamicBlockSelfRotation">
	<info>
		<name>SetDynamicBlockSelfRotation</name>
		<description></description>
		<author></author>
		<date></date>
		<sky>sky1</sky>
	</info>

<script>
function OnLoad()
  Game.SetBlockCenter("Block2", -2.5, -19.0);
  Game.SetDynamicBlockSelfRotation("Block2", 1000, 0, 0);
  return true;
end;
</script>

	<limits left="-40.000000" right="-10.000000" top="-1.875977" bottom="-23.218287"/>
	<block id="Block0">
		<position x="-38.500000" y="-16.000000" />
		<usetexture id="default"/>
		<vertex x="-1.500000" y="7.000000"/>
		<vertex x="1.500000" y="7.000000"/>
		<vertex x="1.500000" y="-7.000000"/>
		<vertex x="-1.500000" y="-7.000000"/>
	</block>

	<block id="Block2">
		<position x="-29.000000" y="10.008610" dynamic="true" />
		<usetexture id="default"/>
		<vertex x="-5.000000" y="-17.950809"/>
		<vertex x="-0.068520" y="-17.991394"/>
		<vertex x="-0.068520" y="-20.915951"/>
		<vertex x="-5.000000" y="-20.875366"/>
	</block>

	<entity id="MyPlayerStart0" typeid="PlayerStart">
		<size r="0.400000"/>
		<position x="-38.353115" y="-8.870203"/>
	</entity>


</level>