new nodejs deployment, better game demo
I’m no longer using nodejitsu server for hosting my nodejs deployment. Not free anymore. Previously its free during beta version.
But now I already have my own nodejs server. Amazingly it can run together with apache service in the same instance (EC2 server). Thanks to expressJs framework. But I open another port for it.. ahh so nice when you have full control to server. So I able to run my socket.IO demo again after few month the service down.
Ok, so not only I have new deployment server, I also has update my demo with latest nodejs version and socket.IO. I run it from putty for window and able to close the console/terminal without stop my nodejs deployment. It can be done using “forever for nodejs” module.
Ok that is about server deployment. Another thing is I also update my ugly and boring flash demo to better graphic and better game mechanic. So it really look like a game instead of the functionality demo only. For the graphic, I just take from tutorial and internet. Because I’m not a graphic artist. Just want to make my demo look nice. For personal use only. This time I use the latest Starling framework, Citrus engine with box2dphysic engine.
Login? I still keep the user login through Facebook (facebook api for JS), to make it more interactive with user profile pict show up together with user message, so it look like chatting application in billboard game. Yes, my demo application is for billboard game demo.
And the last one, the game controller. Run it from mobile. And user able to control a game from phone. I already test in on android (galaxy note 1), iphone4s and Nokia N9 (meego). I redesign a little bit. change the way user using it. I create 2 type of character control type. First one is for long distance movement. And another one is for short distance. Why? because in mobile browser, hold image button will make popup comeout, and double tab will zoom the browser (in android). And little bit hard to control the game from mobile browser because of network delay.
That’s all. My demo link is here http://dreamflashstudio.com/my_lab/billboarddemo/