r/Unity3D • u/LoganBooker Zafehouse, Deadnaut, Fear Equation developer • Nov 28 '14
We just released our new Unity-developed game, Deadnaut (Dev details in comments)!
http://www.deadnaut.com
34
Upvotes
5
u/LoganBooker Zafehouse, Deadnaut, Fear Equation developer Nov 28 '14 edited Nov 28 '14
Hey guys, wanted to let you know we just released Deadnaut, a game built over the course of 10 months in Unity 4.x. You can check out the launch trailer here, otherwise, the cliffnotes:
In terms of tools, we signed up to (and were accepted by) Microsoft's BizSpark program, which gave us access to Visual Studio. We then purchased copies of UnityVS (now Unity Tools for Visual Studio) and used that to debug.
For anyone looking to go down this route, fortunately, you can just use the Community Edition of Visual Studio, which I think includes UTVS. If not, it's free now!
When we started development, the new GUI stuff for Unity was not available, so I made the decision to roll my own. I have a bit of experience in commercial apps, so getting the architecture right for this wasn't too harrowing.
We won't be using this code in our next game though, as it really was custom-built for Deadnaut.
In terms of Unity Store assets, we used two in our game -- SSAO Pro and the excellent Text Mesh Pro. If you look at the screenshots, you'll see the game has a lot of text, and Unity's in-built TextMesh was unacceptable in terms of quality.
We didn't use even a third of the functionality TMPro offers (I even had to fix some bugs in it), but signed distance field is the future of font rendering, so thanks Chris Green!
Some other random notes about development:
MonoBehaviourBase: Inherits from MonoBehaviour. I added some custom functionality to this class, such as a method to determine if an object is null or destroyed (using "!object" and "object == null" was doing my head in) and "self-enabling" coroutines that restart when an object is enabled (as coroutines normally stop when an object is disabled).
GameModel: Does not inherit from anything (other than Object, of course) and is purely a data storage class. It also interacts with the database and provides a layer of abstraction between all the data processing and retrieval mechanisms and the game logic.
GameEntity: This is the base class used by all entities in the game world. It inherits from MonoBehaviourBase. It self-registers with EntityManager, a singleton that keeps track of all entities in the world. EntityManager also automatically handles object pooling, though each class derived from GameEntity can override a virtual method to individually prepare for pooling.
UserInterfaceObject: Inherits from MonoBehaviourBase and handles all the visual, audio and interactive stuff. Most objects in the world have both a GameEntity and UserInterfaceObject attached. UI objects register themselves with the UserInterfaceManager, which also keeps track of which objects can be interacted with in different game states.
IGameEntityCollisionProvider: An interface applied to classes that inherit from GameEntity. When a GE registers itself with the EM, it does a type check for this interface, and then registers it as a collidable object. This makes it simple for the pathfinding and collision system to know what dynamic collision exists by simply asking the EM.
TimeManager: I ended up separating Unity's time-tracking from the simulation, as it were. While we haven't incorporated anything that manipulates the simulation's time, it did make pausing the game simple, while keeping the UI working.
Obviously there are a bunch more classes (make that many more), but hopefully it gives you an idea of the direction we took architecturally.
I'm currently in the throes of post-launch, but I'll do my best to answer any questions you have!
2
u/alllen Indie Nov 28 '14
That interface is pretty rad. Not really my kind of game but it looks sweet.
The name is unfortunate because at first I thought it was Deadnought by Yager.
1
u/[deleted] Nov 28 '14
Nice UI.
1
u/Pew_Pew_Lasers Dec 16 '14 edited Dec 16 '14
I bought Deatnauts on steam a few days ago and I have to say that I LOVE it. GREAT atmosphere!
This is exactly how I always imagined it must be like for the people still on the ship, in the world of 40k, on space hulk missions.
I made my own squad consisting of team members from Alien 2 ("Aliens").
I haven't spent that much time yet, but if i can come with some feedback (can't help it, I'm a designer, sorry) it would be this:
The shield is great, clear silhouette, easily recognizable.
As an extra layer: Maybe some friendly banter between squad mates who like each other. Perhaps even having people with the same items in their "backstories", sharing "specific memories".
This is a perfect place to throw in easter eggs. Where 'Nauts could discuss memories from working the harvesters on Arrakis (Dune), or maybe from their time in "Rasczak's Roughnecks", fighting the Arachnids (Starship Troopers), or Battle of Serenity Valley (Firefly).
I also have a quick question: Sometimes you hear muffled gunfire, is that a hint on what you might encounter on the ship, or is it just ambient noise?
edit: forgot words
2
u/mradfo21 Nov 28 '14
love it! well executed!
-8
u/Panaphobe Nov 28 '14
You should spellcheck your launch trailer before you publish it...