Over the past 2 weeks part of our unit 2 assessment has been taking a game idea given by our teachers, writing it in pseudo code, creating a flow chart, then implementing it into an actual script, then creating a playable prototype in unity. The following images and gifs are the process and end result. It's not prettied up with art, but that wasn’t the point of the exercise.
Psuedo code is the process of writing sentences in a logical order of how to do something. The above is the logical order of how the game would process. I then went and created a flow chart of the above psuedo code.
Creating the flow chart from the psuedo code is the next to step to easily identify where the steps of the process would exist. Rectangles with curved edges being “statements”, while diamonds “if statements”, with Yes or No lines directing what the next step/process would be.The pseudo code and flow chart were due within the first week, which we got feedback from Shane our teacher. The above images are the end result from the feedback I had been given.
GiF time. The above Gif is showing that the Heat metre(Red Box Top-Centre) increases while in the Range of the Heat Source(orange/brown sphere).
The amount of time I spent on writing the script was around 3hrs, I originally had placed only the Heat Level text. But soon realised I had used the idea of a Heat Metre in the psuedo code and flow chart which took me around an hour to work out how to do(not hard at all).
I also needed to add a respawn if the players heat level got too 0, instead of using Unity’s built in Scenemanagement, I used the script to keep track of the players first location in the scene, which it will then use that point as it’s spawn point. I can see myself using this method as it makes it easy to just move the player gameobject rather then a gameobject and player gameobject.
And to add on to it all I wasn’t entirely sure if we needed to comment our script, but I did it anyway for good practice. This will allow myself and others to be able to read (perhaps one day horrible to read script) the script to know what I was coding.
From one project to the next! Starting off is the Gold state that my wonderful Top-down Twin Stick shooter, Blastomatic is 99.95% complete and ready to be enjoyed by everyone! Later on some proper game play will be shown to you all!
Moving on we have my next little project which I am expecting to have 100% complete by mMonday. Hold me I’m Cold. There sadly sin’t much going with it at this point in time. But I do have a scene planned out, and I must say it does look quite beautiful as is.