[xmoto-dev] cameraadapttogravity bug

[ Thread Index | Date Index | More lists.tuxfamily.org/xmoto-dev Archives ]


<?xml version="1.0" encoding="utf-8"?>
<level id="gravtest" rversion="0.3.0">
	<info>
		<name>gravtest</name>
		<description></description>
		<author>gaivota</author>
		<date>2007-06-18</date>
		<sky>sky1</sky>
		<border texture="Asphalt1"/>
	</info>
<script>
Zone0 = {}

function Zone0.OnEnter()
  Game.SetGravity(5, 3.81)
  Game.CameraAdaptToGravity()
end
</script>
	<limits left="-18.600750" right="18.600750" top="26.306775" bottom="-26.306775"/>
	<block id="path2172">
		<position y="26.306775" x="-18.600750"/>
		<usetexture id="BlueViolet"/>
		<vertex x="10.256235" y="-18.321258"/>
		<vertex x="11.569034" y="-18.321258"/>
		<vertex x="11.807815" y="-18.282406"/>
		<vertex x="12.733125" y="-18.018113"/>
		<vertex x="12.936171" y="-17.918857"/>
		<vertex x="13.304854" y="-17.715851"/>
		<vertex x="13.519747" y="-17.621497"/>
		<vertex x="13.797777" y="-17.547700"/>
		<vertex x="14.110447" y="-17.442662"/>
		<vertex x="14.334396" y="-17.364357"/>
		<vertex x="14.582912" y="-17.210468"/>
		<vertex x="14.804275" y="-17.117205"/>
		<vertex x="14.999899" y="-16.880921"/>
		<vertex x="15.120874" y="-16.665069"/>
		<vertex x="15.280193" y="-16.435199"/>
		<vertex x="15.383877" y="-16.233963"/>
		<vertex x="15.454298" y="-16.033420"/>
		<vertex x="15.625971" y="-15.803102"/>
		<vertex x="15.794602" y="-15.572587"/>
		<vertex x="15.947937" y="-15.260536"/>
		<vertex x="16.099047" y="-15.028391"/>
		<vertex x="16.263273" y="-14.811607"/>
		<vertex x="16.357092" y="-14.572697"/>
		<vertex x="16.419969" y="-14.336507"/>
		<vertex x="16.459719" y="-14.101704"/>
		<vertex x="16.508142" y="-13.986962"/>
		<vertex x="16.519960" y="-13.979078"/>
		<vertex x="16.527851" y="-13.987883"/>
		<vertex x="16.521357" y="-14.208557"/>
		<vertex x="16.483241" y="-14.470777"/>
		<vertex x="16.404497" y="-14.849175"/>
		<vertex x="16.376601" y="-15.053147"/>
		<vertex x="16.368952" y="-15.253178"/>
		<vertex x="16.368952" y="-18.526383"/>
		<vertex x="16.365298" y="-18.529906"/>
		<vertex x="16.166064" y="-18.520359"/>
		<vertex x="15.432292" y="-18.452793"/>
		<vertex x="15.179228" y="-18.444333"/>
		<vertex x="11.024277" y="-18.445382"/>
		<vertex x="10.795285" y="-18.467135"/>
		<vertex x="10.565227" y="-18.495051"/>
		<vertex x="10.332812" y="-18.381777"/>
	</block>
	<entity id="path2234" typeid="PlayerStart">
		<position y="9.0521655" x="-14.0880065"/>
		<size r="0.4"/>
	</entity>
	<block id="rect2160">
		<position y="26.306775" x="-18.600750"/>
		<usetexture id="BlueViolet"/>
		<vertex x="2.000000" y="-18.332395"/>
		<vertex x="26.428572" y="-18.332395"/>
		<vertex x="26.428572" y="-21.046680"/>
		<vertex x="2.000000" y="-21.046680"/>
	</block>
	<zone id="Zone0">
		<box left="-5.800968" right="-4.324070" top="13.277735" bottom="6.549644"/>
	</zone>
</level>


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/