Here is tiny app to save your drawing as png to your local hard drive. Thanks to joa for this post Save ByteArray to file with PHP“.

Well once I started I had to do another demo with Away3D. Here is some sort of typewriter. Just start typing (click anywhere on the stage to set focus). And just as you would expect backspace erases letters and hitting enter starts a new line.

Keyboard.CharCodeStrings was causing me headache. I just couldn’t get it work… but then found out that it is only available within the AIR 1.0 runtime. Fortunately I found Scott Ruttencutters CharCodeStrings Library (download). Thanks for sharing it Scott :) .

NOTE! Returned character codes are for US English.

I recently had a chat with my collegue about these 3d engines. We ended up discussing about the differences between them (Away3D and PV3D). Well that didn’t actually get us too far because neither of us had previous experience about away3d. So I took the time and tried it. And this is what I managed to put together. Really original you think. I now… Even I don’t understand how can I come up with these groundbreaking ideas :) .

Anyway. Here is a few things I like about Away3D.

  1. I like the way you can initialize primitives in Away3D. Instead of passing parameters you can assign an optional object containing the end values of all the properties.
  2. Material defaults to colored wireframe. Good feature if you want to try something quickly.
  3. Built in project stats (FPS, RAM, MS, etc.) Just right click over a 3D object and choose the first one from the list. Really handy.

Let’s keep the ball rolling

Read more

Here is again a small demo made with ape. It would have been really simple to put this together even without APE but still I ended up using it. Anyway check out the demo here :) .

for a change let’s give 2D a chance. Here is a little billiard demo I made with Ape.

Instructions:

  1. Right click on a ball you wiah to hit.
  2. Adjust the angle by rotating your mouse cursor around the ball.
  3. To adjust the hit power move your mouse closer or further from the ball.


And here is the analog counterpart.

UPDATE: Here is the source: AnalogClockDemo.as


So here is a digital clock demo.

I found this post a few days ago and desided to try something similar. My experiment is far more simplier compared to Exey Panteleevs demo but the result is pretty goot anyway.

Click the plane to switch between water and flag.
Water/Flag demo page

Read more

Well it seems like most of the incoming trafic comes from foreign countries (var foreignCountry <> "Finland") so I guess it makes more sense to do this in english :) .

So here is a 3D version of the well known worm game (you all know worm… right?). Even though this is nothing groundbreaking I wanted to take the challenge. The 3D part was ofcourse pretty simple. Harder part was the game logic itself. Move the worm with your keyboard arrow keys. You can also change the camera angle:

S = Side view (default)
T = Top view

There are three different starting levels:

No jatketaan demorintamalla. Tässä uusi PV3D + WOW demo.

Next page →