Archive for the ‘Uncategorized’ Category

haxe java target for android demo code

Man, I am having the hardest time naming these posts, but I promise that I’m not just typing random words next to each other.

I’ve uploaded the code for my demo from Cauê’s presentation; which you should be able to browse or checkout if you want to try it for yourself. There’s a description.txt file in there that should.. you know, describe some things.

Hopefully I didn’t break it between then and now! That would be embarassing, but let me know if that is the case and I’ll try to fix it and feel shame simultaneously.

 

In case you missed it, the code is here: http://svn.gigglingcorpse.com/examples/haxe java toast/

 

If you want to read more about the demo, I’ve talked about it in a few of my past posts:

  1. My experience getting started with the Java target for Haxe
  2. How I set up my NME project directory for Haxe to Java for Android
  3. The Haxe code for java, and how I used Android’s native interface XML stuff

 

That’s all!

Your friend,
Brad

Doublefine + kickstarter stats

Did I ever blog this? I tweeted it at some point. That’s basically the same, right?

Oh, well — so as I’m sure you know Doublefine (who have a great logo, by the way) has a Kickstarter going.

I checked the page a lot.

A few weeks ago – not violently, in a friendly sort of way – I was seized by the urge to graph that data for easier reference, and so I put together this doublefine+kickstarter summary page.

It shows some basic values and distributions in the form of pie graphs. To be honest there wasn’t much information to work with.
(more…)

SharedObject example with haXe+nme for flash and android

It crossed my mind that occasionally storing data is useful. Sometimes it’s not, but that’s really no reason to avoid it.

And so began my journey to discover a way to save data at least in Flash, and on my Android. As far as journeys go, it was a short one.

I tried a few methods but only managed getting one to work (I didn’t try super hard, but that’s not to say that if I had, I would have been successful).

They are called SharedObjects, which you may remember from when we used Actionscript instead of haXe, and they are located at nme.net.SharedObject.
(more…)

Testing vision

I’m coming off the tail end of a HaXe+nme code binge. It’s been awesome, but it had to end sometime.

I started by attempting to port my GDF6 demo from AS3 to haXe — just for interest’s sake. (Which I accomplished, btw.)
It’s something I’d really like to write more about as a whole, but instead let’s discuss vision.

I’m sure I’ll end up implementing again, at some point.

 

(Either JavaScript is not active or you are using an old version of Adobe Flash Player. Please install the newest Flash Player.)

(Press spacebar to switch between methods. You can drag either object around. Enemy’s line of sight follows the mouse position.)
(more…)

.