Armando's Blog

Multiuser experience… Magvatar

February 5, 2010 · Leave a Comment

Now is time to stop playing alone and invite someone else to come by and play. It has been an interesting experience to think in terms of a multiuser experience and not just about one user interacting with the application. It is like a chatting experience, you have a room where users enter and communicate among them. In this case is a little bit different, I wanted the users to interact somehow using an avatar instead of using words. In order to do this I used Robin, it is a Flash/PHP Multiuser Solution that enables you to create a client-server application. The good thing of this open source library is that you don’t need to worry about the server, you just send and receive information through the Robin class. You can find detailed information and some good examples of how to use it in .

I end up creating a “Magvatar”, an avatar with magnet arms. The idea is that each user that enters the application can interact with others just dragging his magvatar near other to either snap or repel depending on the position of magnets’ poles of the arms. The This is can look like a very simple application but I had some hard time trying to make work correctly the interaction between the magvatars. Take look at it:

You need to be very careful when you design the interaction for the users inside your application and even more careful when you code it. You can have performance issues if you send more data to the server than the strictly needed; because you would have to refresh your application a lot and end consuming too many resources from your computer and the server.

Here are some interesting samples related to this topic:

→ Leave a CommentCategories: Uncategorized

Multitouch… why have one if you can have many

November 19, 2009 · Leave a Comment

When using your computer you only get one cursor to work with, there is no way to use a multitouch application just with one cursor. The other option that you have is to buy an expensive multitouch screen or surface. Continuing with Flash Feathers, now is time to experiment with Goose. With Goose you can emulate a multitouch enviroment without needing any extra hardware or accesory. This interface lets you create and test multitouch applications just using Flash and a Web browser.

It is a little bit more complex to set than Ostrich, but it is worth it. You can find detailed information and the steps you need to follow to make it work in http://gooseflash.wordpress.com/.

I also had the opportunity to use Robin, it is also part of Flash Feathers. It is an open source Flash PHP multiuser system. It lets you connect from different computers to the host that is running the multitouch application. For more information you can go to http://robinflash.wordpress.com/.

I found this interesting links related to multitouch, if you have time give them a look:

This time I stayed on Earth and did something more related to nature. Using Goose I programmed an application that lets you resize an image that initialy is just a flower bud and as you enlarge it using two multitouch cursors it blooms. Just like when you use an iPhone to zoom in an image or web page. Here are some images:

→ Leave a CommentCategories: Uncategorized

Galaxy Surfer powered by Ostrich Flash

September 30, 2009 · Leave a Comment

Introduction

Ostrich is the seventh in a series of advanced interface open source solutions, Flash Feathers, developed by inventor Dan Zen. Ostrich is a set of open source Adobe Flash classes that lets designers and developers easily capture Web cam motion.

It is really easy to understand and use. Once you have the main idea of how it works you can use it to create applications, games and I guess almost any crazy idea that involves webcam motion.

To download it or for more information on how to use it please refer to:

Ostrich Flash – http://ostrichflash.wordpress.com/
Flash Feathers – http://flashfeathers.wordpress.com/

Other Examples of Webcam Motion Capture:

Inspiration and development

After a couple of days and a bunch of really bad or too complex ideas, I finally figured out an interesting idea to use Ostrich Flash classes. Inspired in a YouTube video of a Japanese guy who used Wii sensors to create like a virtual view of outer space, I thought why not?

Many hours of hard work gave as result Galaxy Surfer. The objective of this application is reproduce the effect of approach and distance using the webcam motion captured by Ostrich Flash classes. It was a pleasant experience work incorporating this open source libraries in this small project and may I say the outcome is really good.

Galaxy Surfer

 

Galaxy Surfer approach

→ Leave a CommentCategories: Uncategorized

The start…

September 29, 2009 · Leave a Comment

Hello everyone, welcome to my first blog!

This is a space in which I want to share with you my ideas, discoveries, hobbies and all kind of life experiences. Those who came here by own decision… good choice. Those who did it by accident… I hope you like it.

El inicio…

¡Hola a todos, bienvenidos a mi primer blog!

Este es un espacio en el que quiero compartir con ustedes mis idea, descubrimientos, pasatiempos y todo tipo de experiencias de vida. Los que llegaron aquí por decisión propia… buena elección. Los que lo hicieron por azares del destino… Espero que les agrade.

→ Leave a CommentCategories: Uncategorized