いちばんやさしいゲームの作り方

文系の人でも、数理学がわからない人でもゲームプログラミングをマスターできるブログ

おお、すごいですね。

Flash のタイムラインを選択したらモーションをエクスポートするメニューが使えるようになりました。

<Motion duration="24" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
	<source>
		<Source frameRate="12" x="254" y="204.35" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" symbolName="Unko">
			<dimensions>
				<geom:Rectangle left="-134" top="-116" width="295.85" height="236"/>
			</dimensions>
			<transformationPoint>
				<geom:Point x="0.4999154977184384" y="0.5"/>
			</transformationPoint>
		</Source>
	</source>

	<Keyframe index="0" tweenSnap="true" tweenSync="true">
		<tweens>
			<SimpleEase ease="0"/>
		</tweens>
	</Keyframe>

	<Keyframe index="5" tweenSnap="true" tweenSync="true" x="130.10000000000002" y="-74.94999999999999" rotation="-60">
		<tweens>
			<SimpleEase ease="0"/>
		</tweens>
	</Keyframe>

	<Keyframe index="11" tweenSnap="true" tweenSync="true" x="-52.900000000000006" y="-58" scaleX="1.831" scaleY="1.805" rotation="0">
		<tweens>
			<SimpleEase ease="0"/>
		</tweens>
	</Keyframe>

	<Keyframe index="17" tweenSnap="true" tweenSync="true" x="136.05" y="48" scaleX="1.354" scaleY="1" skewY="42.4">
		<tweens>
			<SimpleEase ease="0"/>
		</tweens>
	</Keyframe>
</Motion>

これはゲーム作るのに応用できるかもしれません。もちろん Flash で作れば一番早いんでしょうけど、こういうツール的な使い方も良いですね。子階層も一緒に出力できればスパロボアニメーションみたいなデータを作ることもできそうです。

Comments

Flash のモーション XML のリファレンスを発見 | いちばんやさしいゲームの作り方
2009/04/23 20:50:59

[...] Flash のモーションデータが出力できることはすでにわかりましたが、これのリファレンスを見つけました。 Flash の製品版をお持ちの方は「モーション XML エレメント」で検索、お持ちで [...]

Contributions




Trackback URL

メルマガ登録・解除
 
挫折不可能!初級ゲームプログラミング完全マニュアル
RSS track feedいちばんやさしいゲームの作り方 カウンター
ブログSEO対策:track word あわせて読みたい SEO STATUS