Multi user avatar chat based flash website for Incident 09

I was very inspired by the Red Interactive agency’s website which allowed the website visitors to talk to each other in realtime with an option to customize their avatars. So I wanted to use my skills and create something similar for my college website. The initial idea came up with was to model the entire college campus in 3D and allow the user to navigate around the campus along with them being able to go through the event details. I had also thought of having interactive elements in the 3D map which shows a miniaturized version of the cultural fest happening inside the 3D space. But as I was the only person who was working on it and also considering the average internet bandwidth available around that time in India, I decided not to plug in very heavy graphics onto the website. I started off by designing the main building of my college using Google sketch up and rendering it with a photorealistic plugin called vRay. The initial results were very impressive. With the crude rendering of the image, I started working on Flash CS3. Till then, I had only worked on Swishmax, which was a stripped down version of Flash. But Flash CS3 didnt prove too difficult given the fact that I never had to use much of drawing and keyframing tools present in flash and had to use only the actionscript features.
I started off testing the feasibiity with just a small ball as an avatar whose position can be moved through the keyboard arrows. The position of this ball was broadcasted using raw XML sockets to a PHP based server listening on port 8080. And every flash client connected to this PHP server received the coordinates of this ball. After doing a real run on NITK network, the concept proved successful. After this, I went on download some human characters for Poser 5 and exported frames which show the human characters to be walking. The simplicity of Poser in working with human models proved to be a blessing as I had the still frames oif the animation ready within a few days. Then these frames were imported onto Flash and separate swf files which showed the human model to be walking were kept separately and then imported onto the main flash movie and placed in front of the 3D background map.
After this, multiple human characters and multiple 3D background were done using the same method and all integrated into the main movie using some actionscript and the final movie was ready. A quick demo to some of my friends showed that the website would become an instant hit.
Along with the main flash site, I had to set up a way to add text content onto the website using a simple HTML admin page.
The final website was hosted on the local NITK student server and a WAN port 80 was mapped to LAN port 8080 on the local server so that no firewall can intrude in the communication between the client and the server. The final result was a major success and was one of the best websites made for a cultural fest in India.

Some interesting things in the backend : (which you probably wouldnt know even if you used the website)
The chat avatar character was assigned based on the IP. If the IP address was in the range for girls hostel , a female character was assigned, If it was from the boys hostel block, a male character was given. Otherwise it was totally random.
The ALICE chat bot was trained to answer hundreds of questions like “What is Incident”, “When is Incident” etc and would respond to commands like shut up, keep quiet etc. It would also detect when someone would try to use abusive words and then ask them to kindly restrain from repeating it.
Someone or the other person would always stay online to moderate the chat messages being broadcast and ban users who spread hatred on the group chat.
To aid in modelling the 3D maps, I had to go around the campus clicking photographs on my phone from different angles for different buildings and then model them on sketchup. There were plans to model every building , but the plan never worked out due to lack of time.

Some technical details :
The flash client in the browser connects to the PHP based socket server running on port 80 on the NITK student server and communicates using raw XML sockets. The PHP server separated the users into different rooms(based on the map chosen) and forwarded the messages in realtime. Running it on port 80 ensured that firewall intrusion was minimal. A chat bot (based on ALICE chat bot) was integrated into the map. Moderators could see the activity of any room by adding a jabber user ([email protected]) to their google talk list. The text content on the website was managed using a simple CMS like page.

VN:F [1.9.22_1171]

please wait...

Rating: 8.8/10 (16 votes cast)

(to be done)

NITK Surathkal Beach 3d map

NITK Main building

NITK Student Activity Center

NITK Basketball court

High resolution photo of NITK Surathkal Main building

Multi user avatar chat based flash website for Incident 09, 8.8 out of 10 based on 16 ratings

Its like you read myy mind! You seem to know a lot
about this, like yoou wrote the book in it or something.
I think that you can do ith some pics to drive the message home a little bit, but instead
of that, this is excellent blog. Agreat read. I’ll certainly be back.

Hmm iit seems like your blog ate my first comment (it was super long) so I guess I’ll
just ssum it up what I had written aand say,
I’m thoroughly enjoying your blog. I too am an aspirihg blog writer but I’m still new to everything.
Do you have any recommendations for newbie blog writers?
I’d certainly appreciate it.

I’m impressed, I have to admit. Rarely do I encounter a blog
that’s equally educative and entertaining, and without a
doubt, you have hit the nail on the head. The issue is an issue that not enough folks are speaking intelligently about.
I’m very happy I stumbled across this during
my search for something concerning this.

Thanks for the marvelous posting! I truly enjoyed reading it,
you’re a great author.I will ensure that I bookmark your
blog and definitely will come back in the future. I want to encourage yourself to continue
your great job, have a nice afternoon!

Nice to see you here. Beautiful and deep article you have written here.you’ve provided a wealth of (free!) information here. I won’t put you on my CV just yet, but I will share your post on Facebook in admiration for teaching me something. I look forward to future posts.

Admiring the time and effort you put into your website and
detailed information you present. It’s nice to come across a blog
every once in a while that isn’t the same old rehashed material.
Wonderful read! I’ve bookmarked your site and I’m adding your RSS feeds to
my Google account.

Greetings from Ohio! I’m bored at work so I decided
tto browse your website on my iphone during lunch break.
I enjoy the info you present here and can’t waikt to take a look when I get home.
I’m surprise at how fast your blog loaded on my phone ..
I’m not even using WIFI, just 3G .. Anyhow, superb site!

KBC game will load below Game requires Flash plugin 9 New KBC HTML5 game launched This was a simple game I created using SWiSH in 2005. The questions appear randomly with no logic for the levels of difficulty and the “Phone a friend” lifeline is a dummy lifeline with no real purpose. The game was hosted…

July 17th 2011 : Textoo Pro now in the apple app store. Download it here : http://textoo.in July 10th 2011 : Textoo v2.0 renamed to Textoo Pro Release of Textoo Pro has been postponed to July 15th 2011 due to app store codesign issues. Here’s a sneak peek into the brand new version of Textoo…

I just tried out the sencha touch examples on the android 1.6 simulator and the performance is pathetic. Seems like google forgot to properly implement their javascript V8 engine onto their OS. Appcelerator’s Titanium Mobile and Sencha touch are 2 different frameworks which address a totally different set of audiences. Comparing them is like comparing…

Update as of 5th June 2011 : Source code for the game has been published on this page. Now you can change the game as you wish, using Swishmax (www.swishzone.com) Update as of 20th Dec 2010 : I have been noticing quite a lot of visitors reaching this page through google search. So drop in…

Playiing with reflection & refraction materials combined with smoke and particles became my new way to pass time. With help from the ’3dsmax 6 Bible’, I learnt a few basics. Here are some of the videos I rendered:

The goal of this project was to create a complete real estate component for Joomla 1.5 using ExtJS framework. The real estate component (named JProRealty) was capable of enabling users & agents to add property listings with multiple photos and search for those listings.