<?xml version="1.0" encoding="utf-8"?>
<Screen name="AtlasIssueTest" descriptors="xworker.libgdx.Screen" description="<p>测试TextureAtlas。</p>">
<actions descriptors="xworker.lang.MetaDescriptor3/@actions">
<GroovyAction name="render" _xmeta_id_="render batch_begin();">
<code><![CDATA[import com.badlogic.gdx.Gdx;
batch.begin();
sprite.draw(batch);
font.draw(batch, "fps:" + Gdx.graphics.getFramesPerSecond(), 26, 65);
batch.end();]]></code>
</GroovyAction>
</actions>
<Resources>
<FileResource name="atlas" type="textureAtals" file="\data\issue_pack"></FileResource>
<SpriteBatch name="batch" constructor="default"></SpriteBatch>
<AtlasResource name="sprite" _xmeta_id_="sprite1" atlas="atlas" type="sprite" regionName="map"></AtlasResource>
<FileResource name="font" type="bitmapFont" file="\data\font.fnt">
<AssetLoaderParameters>
<BitmapFontParameter flip="false"></BitmapFontParameter>
</AssetLoaderParameters>
</FileResource>
</Resources>
</Screen>