Blog - Page 11

Building the beam bunny

Today I thought I'd share an image diary that goes over the process I took in building the "beam bunny".

Following initial front and side view sketches I started on the head, adding vertices to follow the contours from each angle:


 
 
 
After completing the head I followed the same approach on the legs and body.
 
 
Finally added the arms to complete the model.
 
 
 
Following that came the process of adding some animations, texturing and importing into the engine, and here is the completed beam bunny:
 
 
 
 
 
 
 

The challenge and reward of third person shooting

So a decision I made early on was to allow that the player play in First person or third person perspective, with a free moving camera to look. It's basically lead to having to develop 2 different experiences. However I have now decided to remove the first person aspect entirely. So I'd like to share some of the many issues I encountered with third person, (in case it helps or is of interest to anyone) and how I came to prefer it over first person.

The initial reason behind the idea was that first person is easier for shooting, and third person easy for looking around the environment for clues, navigating platforms and other general puzzle solving activities. Well initially the shooting mechanic was entirely physics based so it made sense. In other words if you pressed fire then a bullet object would be generated that went in the direction the player is looking. It's clear with this method what the bullets are doing. The only problem with that was: It was absolutely terrible and aiming that way was a tedious chore.

As such this was revamped to have a more traditional shooter feel, which I talked about previously. Basically whatever the reticle was pointing at would become shot. Simple. This was a big improvement. It worked perfectly in first person but in third person it became a colossal pain.

So what were the issues?

1. Obstructions: In first person if you are behind a wall then it is clear that you cant see a target behind the wall, so if you press fire looking at a wall, the bullet will hit the wall. But as a player in third person, When you are looking at your reticle which is pointed an enemy, You press fire expecting the enemy to be peppered with bullets and die - but you might not have noticed that you are behind a wall.

At first I didn't worry about this, and just made it so that your shot would hit whatever was under the reticle regardless of if the player could see or not. It became clear however that this would make the game ridiculously easy, because you could just sit in some cover, impervious to enemy fire and gun them all down without taking a shot. The solution was to draw 2 lines, the first one from where the camera is looking to what is under the reticle (i.e. what the player wants to shoot), then drawing a line from that point to where the player object is in the scene to see if they can see it. If they cant then show the "disabled" red reticle. The player can still shoot but the bullets bounce off whatever is blocking the players view.

2. Visual feedback: Since the "gun" can be behind the player as they move around, and pretty small compared to the first person version, so you cant immediately tell what gun you have selected.

In Escape from BioStation you only get one gun with different abilities you can buy so it make life more simple, and was a case of adding clear Icons to the UI which inform the player what ability they have selected

3. More Obstructions The player being in the way of the gun and what you are looking at and want to shoot proved to be a giant pain for a few reasons: Detecting whether a shot actually hit anything required that you trace from the gun to the target, except if the player is facing the camera then the first thing in the way is the player... also you need to make sure that the shooting effect is set behind the gun and player.

I haven't applied the real solution here, which would be to have the player pointing their weapon over their shoulder. In Escape from BioStation I am going with the excuse of "It's a magic squirrel, of course it can shoot backwards" which is a bit of a cop out to be honest. Maybe if I ever do a sequel I'll sort that out. An interim solution I tried was to have the squirrel rotate in the players hand to look the right way but looked terrible in practice.

The shooting effect was fixed by having another point that adjusts itself in the scene relative to where the reticle appears to be for the player on the camera, and having the bullet effect go to that point.

Once the issues I list here were resolved I found that the combat situations had become lots of fun. Some of the benefits of third person over first person are that you have clear feedback on what is happening to the character in the scene. For example if you are being hit in melee from behind, you can see straight away without needing to turn around. Or if you get knocked down this is obvious because you see it happen, but that doesn't really work in first person, unless you add in some limbs that the player can see the character getting back up which I don't really fancy doing. The other, and greater advantage in terms of game-play is that you can view a scene safely from cover without needing to expose yourself. This is good for planning a strategy ahead of combat, or taking cover from a hail of bullets and checking for when its safe to return fire, or if you want to fire off an ability you can duck into cover and watch the ensuing carnage!

There were a lot of challenges to overcome to allow the player to fight both in third person and first person, but I think that the third person shooting works really well, and I prefer it to first person, which has lead me to the decision to actually remove the first person element altogether. I found that it detracted from the way the combat had come to flow, probably largely due to the fact that I had kept playtesting in third person and reluctantly went into first person as an afterthought to fix any bugs that had appeared.

About the BioStation and exploration

This post is to provide a little background on the eponymous "BioStation".

The BioStation is an ancient planet sized construction in space that surrounds a small planetoid. It's exact function, at least at first, seems quite mysterious. The whole thing is populated with all sorts of odd creatures and robots, which the player discovers as they explore. They will also discover that there are some enemies and traps on the station that need to be overcome.

Essentially the idea is to avoid spoon feeding all of the background to the player in its entirety, and instead provide the feeling that they are in a vast city sized orbital station that contains endless possibilities and exploration. This was largely inspired by the (also eponymous) "Red Dwarf" where you were given the impression that the few inhabitants had this massive, city sized ship at their disposal, and if they explored it for long enough they would come across some kind of adventure. The only difference there being that Lister was usually too lazy to bother to go around any of it.

Escape From BioStation will be quite a linear game, so it wont be true exploration like you might get in a sandbox style game like knights of the old republic or Mass Effect. So there wont be enough time to see all of it. Nor will there be a full catalogue of what the station contains. This will hopefully encourage the player to imagine what might be there and increase their immersion and engagement in the various environments that they will have access to.

It is also for this reason that the exact history of the station, as with much of the surrounding universe in which the story takes place will, for the time being, largely be left up to the imagination of the player.

That being said it is not an excuse to simply not bother with these kinds of details. There are a number of hints and references to what is / has been going on in the wider universe. Hopefully this should create a more immersive environment that engages the player.