Unity3d Additive Projector with Alpha Blend
Tonight I worked on learning the basics of Unity3D’s GUI system. It’s suprisingly easy to use.
I also worked on projecting zodiac effects onto a plane which was suprisingly difficult. I managed to find a shader that does this [need link!].
How to use Lidgren with Unity3D for MMOs – Part 1
Why use Lidgren?
Don’t kid yourself. Writing a multiplayer game that runs over the Internet can be tricky. If you are using Unity you have the entire .NET network library at your disposal. Simply making a TCP connection or sending UDP packets is pretty trivial. Why on earth would you bother using someone else’s library?
Untiy3D Asynchronous Sockets
There is a lot of discussion on whether you can use threading or asynchronous sockets with Unity3D and with the web player in particular.
I’ve created this sample project to demonstrate how this is done. You’ll see above that when you run it, the project attempts to make several asynchronous connections to web servers and download their default page.
There are a couple of basic things you should watch out for:
- Calls to Unity object or the UnityEngine API must be done on the main Unity application thread. You will need to martial values back to that thread. In this example, you’ll notice I don’t update the GUIText text value directly. I update my own internal status string and only update the GUIText during an Update( ) call.
- You need to shut down your socket and thread operations when OnApplicaitonQuit( ) is called. Exceptions may be thrown on any asychronous callback and you need to be sure to catch and handle these.
Ghostees: Unity3D GUI and Facebook Integration
I’ve spent the last couple of days working with Unity3D’s GUI system. Here is a screenshot of the character creation screen.
I’ve also been adding Facebook integration. So far the integration solutions for Unity3D that I’ve found so far have had huge security holes so I’ve had to come up with something myself. Not to say it doesn’t have holes either but at least I tried to keep people from hacking the app
Ghostees: Load Testing The Server
I created this video while I was testing the connection load of the server. Each capsule you see is an automated connection moving randomly through the world. Since then I have changed them to actual character animations which looks way cooler but I haven’t taken time to record a video.
Unity3D: How to make one GameObject transform a child of another
In Unity3D, you can create parent-child relationships in code as easily as you can create the heirarchies in the Unity3D editor.
All you need to do is set the child GameObject’s transform.parent property to the transform you want as the parent.
GameObject child = …
GameObject parent = …
child.transform.parent = parent;
Registered for GDC09
We are registered for GDC09. Hope to see you all there!
Also, if you use Twitter, I’m going to keep minor and day-to-day project updates there:
Ghostees: Server Technology
Ghostees is not just an RPG, it is a proof of concept of the server platform. The server platform is designed so that we can develop additional MMORPG-style games and leverage all that back end technology as much as possible. Read more…
Ghostees Writer’s Log: Background
Greetings and Salutations!
Hiya, cats and kittens! I am the writer and class designer for Ghostees!, our upcoming MMORPG, and I just wanted to start out saying hello and that I hope you will enjoy Ghostees. We’re very excited to bring you this new game, and our developers are hard at work to bring you the very best gaming experience possible.
Today we are going to cover some of the background lore of the game, covering the Otherwhere and its connection to the human realm.
Ghostees: Meet the Grave Digger
The core animations for most of the characters were rendered this week. One of the balancing acts you have to perform is the quality of the animation verses the size of the download. I can tell you now, Ghostees is going to be a demanding game for your processor and bandwidth but the eye candy is certainly worth it. I’ve developed a number of techniques to ease the burden on bandwidth. Luckily a lot of the content will be cached by the browser so subsequent loads will be kinder to your patience. I’m even going to offer an Adobe AIR version for anyone that might be feeling the pinch. Read more…
Search this Site
Follow me on Twitter
- Great cause, awesome games, pay what you want. RT @Wolfire: pay what you want for five awesome indie games http://bit.ly/9KASXz
- Thinking about writing a series on how to use #Lidgren with #Unity3d. I wrote an intro just to dip my toe in the water: http://bit.ly/drfJZs
- Tweaked the @bakedon web site a bit with a different template I customized slightly. What do you think? http://bit.ly/amEwRD
- Bwahahaha! It works! Need a demo...
- Powered byWordPress Twitter Widget Pro
Archives
- April 2010 (1)
- March 2010 (1)
- February 2010 (1)
- January 2010 (2)
- September 2009 (1)
- December 2008 (1)
- July 2008 (2)
- March 2008 (1)
- February 2008 (1)
- November 2007 (1)
- October 2007 (1)


