<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>FlexBlog on HTML5, PhoneGap, and Flash Platform! &#187; Starling</title>
	<atom:link href="http://flexblog.teerasej.com/category/adobe-flash-platform/actionscript-3/starling/feed/" rel="self" type="application/rss+xml" />
	<link>http://flexblog.teerasej.com</link>
	<description>Consult, training, and sharing about Adobe HTML5, PhoneGap, and Flash Platform solution, by Amaround Co., Ltd., Tel: +66 (0)86 661 5058</description>
	<lastBuildDate>Sun, 06 May 2012 14:57:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>วิธีตรวจสอบว่า Starling กำลังทำงานในโหมด Software Engine หรือ GPU</title>
		<link>http://flexblog.teerasej.com/adobe-flash-platform/actionscript-3/starling/how-to-check-starling-run-on-software-engine-or-gpu/</link>
		<comments>http://flexblog.teerasej.com/adobe-flash-platform/actionscript-3/starling/how-to-check-starling-run-on-software-engine-or-gpu/#comments</comments>
		<pubDate>Fri, 07 Oct 2011 05:30:00 +0000</pubDate>
		<dc:creator>Teerasej</dc:creator>
				<category><![CDATA[Starling]]></category>
		<category><![CDATA[Check]]></category>
		<category><![CDATA[GPU]]></category>
		<category><![CDATA[Stage3D]]></category>

		<guid isPermaLink="false">http://flexblog.teerasej.com/?p=3307</guid>
		<description><![CDATA[Starling เป็น 2D framework จาก Adobe ตัวแรกที่สร้างบนเทคโนโลยี Stage3D ที่ทำการประมวลผลภาพบน GPU ล้วนๆ แต่จะเกิดอะไรขึ้นถ้าเกิดลูกค้าคุณนำ  Application ของคุณไปรันบนเครื่องที่ไม่มี GPU? มาดูวิธีรับมือด้านในได้เลยครับ]]></description>
			<content:encoded><![CDATA[<p>Starling นั้นเป็น Official 2D framework ตัวแรกของ Adobe ที่ใช้การประมวลผลจากเทคโนโลยี Stage3D ล้วนๆ</p>
<p>(ใครอยาก<a href="http://flexblog.teerasej.com/category/adobe-flash-platform/actionscript-3/starling/">ติดตามอ่านเนื้อหาอื่นๆ ของ Starling framework ภาษาไทยได้ที่นี่</a>ครับ)</p>
<p>แต่ก็อย่างที่บอกล่ะครับ ลองคิดดู ถ้าจู่ๆ เราเอา Game หรือ Application ที่เราสร้างขึ้นด้วย Starling ไปทำงานบนอุปกรณ์ที่ไม่มี GPU! (โลกนี้ยังมีเครื่องที่ไม่มีการ์ดจออยู่นะ) จะทำอย่างไร?</p>
<p>ถ้าให้ผมแนะนำ ก็คือการ &#8220;downgrade&#8221; การแสดงผลของ Flash คุณลงมาในระดับที่ software engine มันรับได้ ไม่งั้นก็รอเห็นการกระตุก กระตุ๊ก กระตุ๊ก ได้เลย!</p>
<p><strong>แต่ที่นี้จะเช็คยังไงล่ะ?​</strong></p>
<p>ให้ใช้ code ต่อไปนี้เพื่อตรวจว่า Starling Application ของคุณกำลังอยู่ในโหมดการทำงานแบบ Software Engine หรือ Stage3D ที่ใช้ GPU ประมวลผลครับ</p>
<pre class="brush: as3; title: ; notranslate">

...

if( Starling.context.driverInfo.toLowerCase().indexOf(&quot;software&quot;) == -1 )

{

// GPU แน่ๆ อัดกราฟฟิคได้เลย

}

...
</pre>
<p>เท่านี้คุณก็สามารถป้องกันการที่ผู้เล่นผู้ใช้ของคุณจะได้รับ User Experience ที่ไม่ดี จากการที่ Starling ไปทำงานในโหมด Software Engine แล้วครับ</p>
<p>ที่มา &#8211; <a href="http://www.adobe.com/devnet/flashplayer/articles/introducing_Starling.html">Adobe Developer Network</a></p>
]]></content:encoded>
			<wfw:commentRss>http://flexblog.teerasej.com/adobe-flash-platform/actionscript-3/starling/how-to-check-starling-run-on-software-engine-or-gpu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Starling: มารู้จัก 2D framework ที่ใช้ GPU บน Stage3D ของ Adobe Flash Player 11</title>
		<link>http://flexblog.teerasej.com/adobe-flash-platform/actionscript-3/starling/introduction-to-starling-adobe-2d-framework-built-on-stage-3d/</link>
		<comments>http://flexblog.teerasej.com/adobe-flash-platform/actionscript-3/starling/introduction-to-starling-adobe-2d-framework-built-on-stage-3d/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 23:15:38 +0000</pubDate>
		<dc:creator>Teerasej</dc:creator>
				<category><![CDATA[Starling]]></category>
		<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[framework]]></category>

		<guid isPermaLink="false">http://flexblog.teerasej.com/?p=3106</guid>
		<description><![CDATA[จะเกิดอะไรขึ้น? เมื่อ Adobe สร้าง engine เขียนเกม 2D ใหม่หมดจดให้มาทำงานบน Stage 3D ใน Adobe Flash Player 11 และ Adobe AIR 3 ประสิทธิภาพ และความน่าประทับใจแค่ไหน ตามมาลองกับตัวเองข้างในได้เลยครับ]]></description>
			<content:encoded><![CDATA[<p>คุณกำลังสร้างเกมส์ที่เร็วกว่า ดีกว่า ตื่นตาตื่นใจกว่า ด้วย Flash เทคโนโลยีที่คุณรู้อยู่แล้วว่าต้องทำอะไรกับมันบ้าง</p>
<p>หลังจากที่ <a title="มาแล้ว!! คุณจะได้อะไรจาก Adobe Flash Player 11 และ Adobe AIR 3 ที่จะมาต้นตุลานี้" href="http://flexblog.teerasej.com/adobe-flash-platform/announcing-adobe-flash-player-11-and-adobe-air-3/">Adobe เปิดตัว Adobe Flash Player 11 และ Adobe AIR 3</a> ไป ก็มีอีกหลายๆ อย่างตามกันออกมาเป็นกุรุด ไม่ใช่แค่ตัวเอก 2 ตัวนั้น</p>
<p>หนึ่งในนั้นก็คือ Starling 2D framework ตัวแรกของโลกที่ใช้ GPU ประมวลผลล้วนๆ สนับสนุนโดย Adobe นั่นเอง</p>
<p>การเขียน code ก็ยังใช้ Actionscript 3 เหมือนเดิมนะครับ <strong>ใครยังใช้ Actionscript 2 อยู่ปรับตัวกันได้แล้ว</strong></p>
<p>สิบปากว่าไม่เท่าตาเห็นมา<strong>ลองคลิกภาพดูตัวอย่าง</strong>กันด้านล่างได้เลย</p>
<div class="one_half">
<h2>Sausage</h2>
<p>ถล่มคุณด้วยพายุไส้กรอกเต็มจอ แต่เครื่องไม่หน่วง?!</p>
<p><a href="http://dl.dropbox.com/u/7009356/StarlingTests/bin-release/Startup.html"><img class="alignnone" title="Sausage Moving" src="http://www.bytearray.org/wp-content/uploads/2011/09/sausages-moving-300x225.png" alt="" width="300" height="225" /></a></div>
<div class="one_half last">
<h2>Physic with Box2D</h2>
<p>ลองระบบ Physic โดยเชื่อมกับ Box2D ที่ทุกคนรู้จักกันดี</p>
<p><a href="http://dl.dropbox.com/u/7009356/StarlingTests/physics2/bin-release/Startup.html"><img class="alignnone" title="Starling Physic with Box2D" src="http://www.bytearray.org/wp-content/uploads/2011/09/physics-starling-300x225.png" alt="" width="300" height="225" /></a></div>
<div class="clearboth"></div>
<div class="one_half">
<h2>Particles</h2>
<p>กด right key เพื่อเริ่มและเปลี่ยนรูปแบบของ Particle</p>
<p><a href="http://dl.dropbox.com/u/7009356/StarlingTests/Starling-Tests3/Startup.html"><img class="alignnone" title="Starling Particle Demo" src="http://www.bytearray.org/wp-content/uploads/2011/09/particles-2-300x176.png" alt="" width="300" height="176" /></a></div>
<div class="one_half last">
<h2>Movie Clip</h2>
<p>ลองหนักหน่อย ใช้ Movie Clip ด้วย</p>
<p><a href="http://dl.dropbox.com/u/7009356/StarlingTests/sausage-kong/bin-release/Startup.html"><img class="alignnone" title="Sausage Kong" src="http://www.bytearray.org/wp-content/uploads/2011/09/sausage-kong1-300x176.png" alt="" width="300" height="176" /></a></div>
<div class="clearboth"></div>
<p>ใครสนใจอยากเข้าไปลองก็สามารถ download และศึกษาวิธีการใช้งานได้จาก <a href="http://www.starling-framework.org/">http://www.starling-framework.org/</a> ครับ</p>
<p>แล้ววิธีการเริ่มต้นใช้งานจะอัพเป็น video อีกทีนะครับ คอยติดตามใน <a href="http://www.facebook.com/flexblog">Fan Page</a> และ <a href="http://www.twitter.com/teerasej">Twitter</a> ได้เลย</p>
<p>อ้อคุณต้องลง Flash Player 11 ก่อนด้วยนะครับ ตอนนี้มีให้ download เป็น<a href="http://labs.adobe.com/downloads/flashplayer11.html">เวอร์ชั่น RC1 ใน Adobe Labs คลิก download จากที่นี่ได้</a></p>
]]></content:encoded>
			<wfw:commentRss>http://flexblog.teerasej.com/adobe-flash-platform/actionscript-3/starling/introduction-to-starling-adobe-2d-framework-built-on-stage-3d/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

