I’ve done some graphical updates for these videos, so it’s more visually appealing to play, better fits the style of the game, and to help the player view things with less obstruction.
The Environment: Ugly motel carpeting! I didn’t make this, it was a free texture from GameTextures.com 😛 I will probably replace it with my own in the future….but I do really like it haha! I also added a shader to the environment models so they have a “line art” effect to keep in context with the comic book-esque/cartoon feel. If you notice the corkboard on the wall in the lobby: that’s my first skinned and hand-made object I’ve done with ProBuilder! I modeled it out, skinned it, exported and painted the skin in Clip Studio Paint (my standard art program) and imported the result back into Unity. The papers on there will be updated eventually to have actual content but I wanted to get some UV editing practice in. It’s pretty fun actually!
The Roof: I sliced the roof up into multiple pieces, so there is a segment of roof for each room. These now react dynamically depending on where player is; they disappear and reappear on room entry/exit. I liked this A LOT better than a single roof piece, so you can’t see what’s inside other rooms before you get there. Again, I could have used a darkness mask but I like the detail and potential of the roofing system better.
My apologies for how jumpy/laggy this video seems to be; every now and then Streamlabs does not like recording Unity and it makes the game look like it runs terribly but it’s only the recording.
The Outlines: For this little effect I grabbed the Easy Performant Outline asset, which is super easy to set up and gives wonderful results! I added this for a few reasons, one being that I don’t like when you can’t tell your main player is behind something or can’t see them at all. Since I have a rotating camera this wasn’t a TERRIBLE deal, except for things like overhangs. So I wanted to remedy that. I also wanted to add it to help with the Perception abilities; at a certain level, I felt you should be able to use Perception to, for a short time, outline some enemies or items (I had already experimented with this before, if you remember). I had a system to outline item models but sprites were a bit of a different story so I’m not sure it would have worked for enemies. EPO, however, supports sprites so it works out well with the characters, as you can see!
The Walls: Along the lines of the same issue, some rooms were REALLY hard to see into despite the camera rotation, and while you could see your player fine with the outline, it was really hard to investigate the rooms in any detail. So I made a partially transparent material to apply only to the outside wall, and upon entry of the room, the standard opaque material changes to the transparent one, allowing you to see inside the room! You should notice also that from the inside of the room, the wall is still opaque, so you can’t use the transparent wall trick to see the full environment outside.
The roof update video was recorded on January 24, 2021, and the outline/transparent wall update was recorded on April 24, 2021.
I’ve added a lot to this from the last time we’ve seen progress! And I’ve included 2 more videos to show subsequent updates without spamming posts on my website. I’m also now adding bold titles to each paragraph to help people see the updates I’ve made in each post and keep it all looking nice and clean.
The HUD: The video above (progression #1) features a slightly updated HUD, but still non-functional attributes. But it’s one step closer to be hooked up and working.
The Flashlight: Has officially been updated to a more realistic lighting effect via the Volumetric Light Beam asset, which allows for dynamic occluders like walls and other object. I’m still having a couple issues with the light clipping through certain areas when the player gets too close to an object, but I will continue to work on this. I also managed to get the “look around” function working with the flashlight, which is triggered by holding the right mouse button and moving the mouse around. This rotates the character, effectively allowing you to look around with the flashlight with or without moving.
The Inventory UI: Thanks to another amazing tutorial by MiTschMr, whom I will also reference later (and provide a link to), I managed to get a “description window” working for the Inventory system, which was a little more complicated than I thought it would be, but with his help I managed to get it working with some script additions. This just shows the description added for the item in the Inventory panel (in Unity, not the game) in an area of the Inventory background instead of on hover or click.
BGM/SFX: I’ve added BGM and extra sound effects to the ambiance. Nothing super special about this, just some added looping files with randomized SFX again like I spoke about before.
InteractionNotifications: I added interaction notifications to the HUD above the players avatar to show what you are able to interact with when you press E. This was made by creating a separate canvas for text/icon objects that are set active/inactive by entering certain areas around the map (in front of doors, etc). I was able to extend this to displaying multiple interactions at once by creating a vertical alignment group and ensuring all the objects sat in this content container. The result was something akin to what you would see when you can interact with multiple objects at once in games like Genshin Impact. This is NOT illustrated in any of the videos, however. This is a function that has been removed in newer versions and is in the process of being replaced with a better and less intrusive HUD system.
Perception Ability: I made a [lazy] sonar system for use with the Perception stat and subsequent “Investigate” skill. It basically produces a “radar” around the character (distance is determined by skill level) that highlights interactable objects. The visuals for this are just a placeholder; gladly, considering how ugly it is. But it works! Will of course be updated in the near future.
Key ItemUsage: This is actually my SECOND attempt at a “key items” system in this game. That is, items you need to do something, usually to progress within an area, like a specific key to open a door. I wanted to design this like Silent Hill and Resident Evil had, but I had no idea how to make any sort of “context menu” for using items within the inventory. So for the first version, I simply allowed for the player to find an item, pick it up, and then the character would automatically use it from their inventory when pressing E at the appropriate door. Kinda boring, huh? I thought so too. And far too easy. Thankfully, a kind developer known online as MiTschMR created a context menu extension for Game Creator, which was the first major step in achieving what I wanted. By following the tutorials on his website as well as some one-on-one discussion, I managed to tweak a lot of elements of the default Inventory system to my needs, including an “Examine” function which is not functioning yet in this first video but is listed; implemented in video #2). The first video here doesn’t show a “use” option just yet, either, but I do manage to integrate that a short time later (video #3).
Roofs: You’ll also notice there are no roofs on the buildings and you can see inside them. Also no fun, and no spook value at all. When you can see what’s on the other side of the wall, it’s certainly not as scary. At least not usually. I also took care of this issue in the future as well. I could have simply made a “darkness mask” like I plan on doing to the environments later, but a more realistic solution came to mind and it ended up working well, as you’ll see in the last video.
Not much has changed here but some visual things:
The Examine function: Finally working as of now. Thanks to MiTshMRs tutorials, I was able to add my own custom listing to Game Creators Inventory system and a new button to the context menu to trigger a reading of that listing. Has a simple visual effect for now but it’s working which is great!
The Doors: Not the band 😛 I replaced the door models with models of my own; my first time using ProBuilder for something somewhat detailed. I make a more detailed version of these doors for the motel in the future. As of this video the doors are not rigged or animated so they do not open. It always feels nice to replace prototype models with your own, though!
This is the 3rd and most recent iteration of this gameplay. Still incomplete, of course, but at this point a lot of basic (and some less basic) functions have been completed.
The Environment: I added windows to the mart building as well as, yes, a roof! With a fun dissolve effect upon entry. I thought this would be more visually interesting and realistic than simply adding the darkness mask I mentioned earlier. It allows me to add things possibly viewable on rooftops like clues, creatures, signs, etc.
The Perception Ability: I replaced the original “perception radar” with another more fluid looking version, courtesy of a wonderful little asset called Simple Sonar Shader!
The “Use” Function: Yes, I finally did it! It was more of a pain in the ass than you would think, because the way I had to set it up (I will be looking at alternatives in the future just to keep things clean under the hood) was using a Global Variable, which I will basically have to make for each “key” use area. Basically what happens is when you press “use” the game checks whether or not you’re in the right trigger zone. If you aren’t, the character will say “I can’t use that here”. But if you are, the item activates (usually deleting the item from your inventory) and the area becomes unlocked. I will be continuing to play with this idea in the future and am hoping on making a tutorial of it at some point!
The first video was recorded on January 4 2021, the second on January 10 2021 and the third on January 18 2021.