So to prove I’m still alive, I am uploading my latest build.
I haven’t done as much as I’d hoped. I’m lacking in motivation at the moment, which probably just means I need to start drinking stronger coffee. I’ve got the beginning of a branching conversation, and I have written some scripts that work nicely with the cinema director timeline to make dialog that’s not sucky. I need to set up the personality system. Luckily, I should be able to throw a few more variables into the same place I’m keeping track of the hair/skin/etc. I already have most of the dialog and corresponding points system worked out in Twine. After that, I’m trying to decide if I want to start designing the HUD or keep going with the first level.
Latest build: http://www.johnalatouf.com/testing/Unity/Tubes2/Tubes2.html
On an off-topic note, I’d sort of like to take some time to investigate and learn to make Twine themes for my own amusement and for sharing. I might do this soon.
I need to make a mental note to remember that when exporting character models from the latest version of Blender, I need to export them as ASCII .fbx files scaled to 9.5 times the original (unless I already scaled them in Blender). The updated version has been a bit of a pain, but I made a male character with a new rig so I figured I might as well upgrade since his rig isn’t cooperating with the animations I made for the female characters.
Things are progressing slowly with the game this week due to a variety of interruptions and just general laziness (re: chasing trophies in Inquisition) on my part. I’d like to have a new build some time this evening.
Things were a bit slow this weekend. My allergies have been especially bad, keeping me from being as productive as I’d like.
I have movement mostly good now. There are some glitches when moving backwards at particular angles, but I think I can smooth those out. I suspect that the idle animation is moving the root bone which is moving the collider in such a way that it slips through the mesh when it transitions from one animation to the other.
I have started building environment stuff, as well, although it’s still rather bare. I’d like to have some panels and cables and things in there, and I’m not sure what I’m doing with the tank, yet. I set up all sorts of fancy particle effects, too, but they aren’t working because of course not.
I worked on some comic stuff yesterday and now I’m back to Unity. I spent a good chunk of time this evening rearranging hair things so that I could add a new hair with a curly texture. Adding another hair mesh doesn’t take much effort (except for the modelling part). It just needs to be added to the arrays on the customization and playable character models. And a button needs to be added. I didn’t want to have to make a whole new hair texture, since I’m sticking to using one and just tinting it, but I wanted curly hair so I had to adjust some UV’s to fit it into the current image.
I am still focusing on UI work. I have written a few small scripts to change outline colours and button text on hover and selection. This was a bit tricky, because Unity’s current UI is still relatively new, and it took some digging to figure out how to script rollover events for the latest buttons. I’d like to get back to making the actual game tomorrow, so I’ll probably do what I can to finish up the UI tonight/tomorrow morning and then I’ll try to set up the first playable scene with a proper environment and conversation.
So I started skinning my UI. There’s a good chance I’ll change it down the line, but I wanted to at least wrap my head around Unity’s UI system so I can plan ahead. I was hoping Unity had some sort of button grouping system, but so far as I can tell it doesn’t. (For all I know it does, and I just didn’t know what words to search for, but anyways…)
I created a small script that lets you set a selected colour to a button. Then using the OnClick in the inspector I can tell each button to set itself to selected and the rest of the related buttons to unselected. It’s still a bit tedious, but it gets the job done.
I can also use a MultiActor track group in Cinema Director to set the default selected buttons to selected state in the opening of the scene.
So here’s my progress. Forgive my terrible dialog. And timing. And the UI is still unfinished. http://www.johnalatouf.com/testing/Intro2.html
I have something going for the opening scene. It’s pretty rough, but it works. I’m a big fan of Cinema Director, so I’m going to use that. I’m also considering buying a license for Affinity Designer for Mac rather than getting an Illustrator license. It looks like it does most of what I would want, although I don’t think it has the same cutting tools. I might miss those.
You’ll have to forgive my terrible dialog writing abilities. I also updated my version of Unity which caused some minor problems in the UI. I was able to sort them out, although things aren’t aligned as nicely as they were before. I figured I’d just leave it until I get to skinning it properly.
I changed body fonts from Minimal to Generica. This one is a little better, but it seems Unity really cuts up the kerning and thickness of these fonts. I might still change them later.
It seems I’ve acquired a summer cold so I’m taking it easy today. I have started looking at Cinema Director for Unity as a way to throw together cutscenes. In the meantime, I have mocked up some ideas for my UI. I know I can leave this to the end if I really want to, but I am a UI artist so I’m going to get that going now.
I’m debating getting a license for the whole creative cloud Adobe thing. I wish there was a smaller license that let you get Photoshop and Illustrator alone, since those are the only two things I want. I know I can just use Gimp and Inkscape, but I don’t like Inkscape. Illustrator is a magic miracle tool that doesn’t compare, and I need it to make pretty knot work patterns to fit my UI. Hmm.
So here are my mocks:
And here is my latest work with the game:
I updated the Splash page for my website, so now it displays both blogs. If I ever finish a comic, I’ll add comics to it as well.
My unity project now has a character creator and a basic conversation working. I’m rethinking my body font choice. It looks a little too thin in Unity, which is unfortunate, because it looks good in other media. You can move your player back and forth and direct with a mouse. When you enter the character’s space your player will stop moving and the character will turn to you and a conversation panel appears with a set of buttons.
- I still can’t figure out why the hover isn’t working on the buttons. I suspect it has something to do with the ray cast, but I can’t see why. The ray cast that’s directing the player only detects things on one layer.
- I need to model some proper background and see how it looks.
- The outline on the shader is starting to do what I want, but it’s still in need of a great deal of tweaking. I removed the bit from the code that was making it stay the same width regardless of camera distance.
- I really need to start designing the UI. It’s ugly and it bothers me.
I took a break from game work to update my portfolio and try my hand at a short comic. I’m back to working on The Ceresian.
I’ve got a character made and I’m trying to put together the interaction. I might need to use something from the asset store to set up cut scenes, but for now I’m trying to get some UI popups to happen when you enter a collider area.
I need to get into the habit of listing things I learn so that I can remember them:
- Despite the Default layer in Unity being listed as layer 0, you have to set your layer mask to 1 to ensure your ray cast only hits things on the default layer.
- Destroying things requires Destroy(object)
- probably more stuff
And here’s today’s progress: http://johnalatouf.com/testing/Customizer3.html
- Make outlines resize by distance from camera
- Make UI look not garbage
- Figure out cut scene conversations
- make a background
- Why aren’t the button highlights working? (this is probably some confusing ray cast problem caused by the player movement ray cast or something?)
So I’m learning Unity still. I spent the better part of this week and last modelling and setting up a customizable character. I used Make Human to generate a generic human model and then tweaked it to make the body and a few extra heads for testing. I also made a series of hairs. I feel like the look I have with a modified version of Unity’s standard specular shader is actually pretty close to the toonish/shiny look I am going for.
Unity’s UI system is pretty cool, but the layout functionality is going to take some getting used to. It’s not very friendly to just dragging and dropping stuff into the scene, as it’s designed to adjust for screen size differences. I also haven’t put much thought into the UI’s look, other than choosing a neat title font and a bunch of thoughts I haven’t mocked up yet.
So here is my customizable lady character. You can spin her around with your arrow keys. Everything else is selectable with a mouse.