<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Haxe Nme on Stay Frosty</title><link>https://frosty.blog/tags/haxe-nme/</link><description>Recent content in Haxe Nme on Stay Frosty</description><generator>Hugo -- gohugo.io</generator><language>en-gb</language><copyright>© James Frost</copyright><lastBuildDate>Sun, 24 Jun 2012 23:00:00 +0000</lastBuildDate><atom:link href="https://frosty.blog/tags/haxe-nme/index.xml" rel="self" type="application/rss+xml"/><item><title>Multitouch with Haxe NME</title><link>https://frosty.blog/2012/06/24/multitouch-with-haxe-nme/</link><pubDate>Sun, 24 Jun 2012 23:00:00 +0000</pubDate><guid>https://frosty.blog/2012/06/24/multitouch-with-haxe-nme/</guid><description>&lt;p&gt;I&amp;rsquo;ve been getting really interested in &lt;a href="http://www.haxenme.org"&gt;Haxe NME&lt;/a&gt; recently. Haxe is an open source cross-platform language, and NME adds a display framework on top of that which is modelled very closely on Adobe&amp;rsquo;s Flash API. The beauty of it is that you can write one codebase and then compile it to native code for Flash, HTML5, Windows, Mac, Linux, iOS, Android and more.&lt;/p&gt;
&lt;figure&gt;
 &lt;img src="https://frosty.blog/images/2015/12/2012-06-25-nme-multitouch-example.png" alt="Haxe NME screenshot" loading="lazy"&gt;
&lt;/figure&gt;
&lt;p&gt;I was trying to get to grips last night with handling multitouch input using NME, and I struggled to find a decent example. I managed to get something working and so I put together an example myself which I&amp;rsquo;m sharing here. It&amp;rsquo;s a simple example which tracks each distinct touch point and displays a randomly coloured circle beneath that touch. I&amp;rsquo;ve tested it on iOS and Android.&lt;/p&gt;</description><content:encoded><![CDATA[<p>I&rsquo;ve been getting really interested in <a href="http://www.haxenme.org">Haxe NME</a> recently. Haxe is an open source cross-platform language, and NME adds a display framework on top of that which is modelled very closely on Adobe&rsquo;s Flash API. The beauty of it is that you can write one codebase and then compile it to native code for Flash, HTML5, Windows, Mac, Linux, iOS, Android and more.</p>
<figure>
  <img src="/images/2015/12/2012-06-25-nme-multitouch-example.png" alt="Haxe NME screenshot" loading="lazy">
</figure>
<p>I was trying to get to grips last night with handling multitouch input using NME, and I struggled to find a decent example. I managed to get something working and so I put together an example myself which I&rsquo;m sharing here. It&rsquo;s a simple example which tracks each distinct touch point and displays a randomly coloured circle beneath that touch. I&rsquo;ve tested it on iOS and Android.</p>
<p><a href="https://github.com/frosty/NME-Multitouch-Example">Grab the source from Github</a></p>
]]></content:encoded></item></channel></rss>