2D Solo Game – Week 3

Now all the pieces are coming together nicely, and the code is making more sense by the day. Especially with the layout, learning the difference between Allman & TBS1 bracketing.

===== 1TBS =====
while (x == y) {
    something();
    somethingelse();
}
===== Allman =====
while (x == y)
{
    something();
    somethingelse();

This basically shows different ways to layout the code so programmers can read it easily and make sense out of it. 1TBS shows the opening brackets connecting to the end of the first line of code which could represent the literal connection whereas Allman separates creates a new line for a new bracketing section… like a quarantine in a way. Keeps everything away.

PICKUP
Allman Bracketing (Physics Movement ‘Script’)

Doing either bracketing will not affect the workings of the code of what target you apply it to. Ultimately this should show what code is supposed to look like and also show an easier way of bracketing the code.  Below is an example of 1TBS bracketing, I wouldn’t expect you to read it all but if you want to, I highly recommend looking at the way the brackets are set in comparison to Allman.

Cone & Line of Sight

Back to the game in hand, there have been major improvements such as including collectable objects in my game to finally trigger the door, the idea.

  1. Get the Collectables.
  2. Avoid the Enemy.
  3. Get to the goal.

Simple, it’s just… making more levels & having the gameplay flow at an equilibrium alongside an increasing difficulty. Throughout the duration of the game…

GAMEPROG
collectable objects function / Recent progress
Advertisements

2D Solo game Week 1

Further venturing through the paths of game design and coding my way through the basics of my top down stealth game.

I start by creating my assets first, such as a protagonist ‘main character’, walls, enemy, a backdrop for my game, all I need now is a goal and I can reach further development. I create my assets all on Adobe Photoshop. By using the brush tool and tampering with the brush settings, I can give out better fake lights on the assets giving out a 3 Dimensional look without altering the lighting of the scene nor the renderer.

BRUSH SETTINGS
Brush settings tool

This slideshow requires JavaScript.

Beginning my development on Unity, I made the mistake by selecting the game to be a 3D game, I had to therefore change the camera to ‘orthographic’ so of can therefore render the sprite images all together.

To conclude this blog I have also considered having a feature where the player must collect a specific object to therefore pass except the first stage which the player should be able to get to grips with the controls and the environment around him/her.

Projectiles_CODE

This piece of code is for a projectiles script which in simpler terms means ‘When shooting each bullet has two seconds until it is dead’, sounds odd… Bullets don’t die, but it does cease to exist after leaving the screen from source  within two seconds.

Review: HTC VIVE

Breathtaking, unbelievable… awesome.

A few of the many words which describes HTC’s recent step towards the VR (Virtual Reality) future alongside other tech giants. I have tried both PlayStation VR and the HTC vive and could place them both in comparison but this review is mainly towards the Vive itself.

Firstly as I placed the headset on my head, I found that the 2160 x 1200 pixel resolution had amazed me also considering I didn’t need to re adjust to sharpen the graphics. And that is impressive to a person like myself who wears glasses, because it feels like I am not limited to what I can see and what I can do with the Vive. This is amazing compared to other who need re-adjustments to make the display clear to their eyes.

Moving on to the performance.

The the HTC Vive has a state of the art tracking system thanks to the two ‘Lighthouse Base stations’ which shoot out IR lasers to pick up your every movement. As I was playing an archery game with ‘VR Labs’ the tracking was so good that I felt free to move without any hesitation to move about my surroundings. There was a moment when I saw the actual labs, my eye caught one of the robotic dogs where at this point I couldn’t resist but kneel down as experience this encounter up close. This is what I love for the future of gaming.

Unity: Variables and Physics

From the point of writing this blog I would have just finished coding a game for a Unity 2D game where we had to learn the basic data types which are;

  • Integer data type
  • Floating Point
  • Boolean
  • String

These data types are used to control the tools you use and the specifications of the physics engine or the ship alike. I had also learned that ‘if the variables aren’t public, they are out of order’. And all we had to do was to add the word ‘Public’ at the beginning to make that set of data accessible to whomever has access to the code and who ever is playing the game can experience the effect.

Doesn’t make sense? lets put it this way.

If I wanted to tinker with the gravity feature in the rigid body component, I would therefore have to change the rigid body to a ‘Public ‘ rigid body. Sounds simple going form a programming perspective, we then moved on to adding engine thrust and ship rotation. Tis is all we had done up till the end of the lesson, so as I am writing tis blog alongside many others. I am also reading through my code and revising the different types of data I can use in other projects such as my walking simulator and future projects on other software.

This slideshow requires JavaScript.

First blog from Next Gen

As this is my first blog post from Next Gen, I’m simply going to say that this year is going to be much more advanced in what I’ll be learning. Obviously I will be carrying skills from prior studies which have originated from software such as Maya, Flash and Photoshop. So mostly Adobe orientated which now has been enhanced by an online course I had taken earlier in the summer holiday with Shaw Academy. So yeah, ready and willing to go.

Over the course of two years I hope to aspire to be many famous icons of the creative media industry such as George Lucas, Phil Spencer, Christopher Nolan and many others. Each one has a specific skill out of the many which they are known for.

untitled-1-copyThe picture on the left, is a screenshot taken of a game I coded from a tutorial video Via YouTube @pointclickwin . The videos ran me through the basics of coding using the C# language in Flash to create this turret defence game from scratch. There were a few bumps along the way but later on I will start applying graphics to make the game have the environment it deserves.

Now I sit here writing this blog as part of my Next Gen portfolio, hoping that by the end of the course I could move straight to employment within the industry.

 

 

Game Project: Victim of Valor (Update)

Easter is here and after a long and stressful time working throughout the college term, I thought it would be a good time to take a small break (Playing battlefield 4 for an hour). Anyway, I have just came back from a long day with my girlfriend and now writing to update you on my current project named Victim of Valor which i have been creating for 2/3 weeks now.

Last time I spoke about this game I included that i had a team brought in to give a hand in the development process which was kinda hard considering there was a debate on names and where the story would progress from where we left off which obviously i cant tell you guys yet due to any spoilers.

On Wednesday during 2D lecture, my tutor told me about something called the Bafta YGD (Young Game Designers) which is basically a competition where you sign up your game project and could possibly win a Bafta in either the Young Game Designers category or The Tutors award or something like that… I’m still taking this into consideration because the game can only be entered if I have a team of 3 or as a singular entrant. Therefor I can either enter myself and take the “Possible award” for my team or wait intil next time and develop the game further.

Back to development of the game, It’s coming along fine. Just tweaking the last mechanics of the UI (User interface) then start creating more harder, longer and even enemy infested level’s. Also asking other peers of friends what they would like to see in the game. I get feedback such as, “Add boost during game-play” or “Have a twist so the player feels more ‘tied into the story line'”. I can find all feedback good even if there is something i come across that is totally irrelevant.

For now I can balance my time with coding my game then create some picture based scenes like in Diablo 3 but obviously not a awesome haha

I have some extracts of the scenes from the games story.

Flash AS3 game: Victim of Valor

Victim of Valor,

Now Logo, New name, new story and with a team that I have hand picked myself has been brought in to work alongside me in the development of this game which I hope can shine a light on what the level 2 Games design course can do.

Alex Heckles – Alex was my first port of call to work on the game after i saw him create a game with his team that went on to be pitched for an assessment, when i saw the game, i was intrigued if what he and a few others can do when the same mindset can be collaborative.

Wesley Bainbridge – ‘Wes’ was in the same team alongside Alex when the pitch was a go, he has a distinct way of reaching out to people when there is either a problem or an idea that pops into mind. I have also chosen Wes because of his skill to code and the fact that me and him can collaborate and give support through the coding process.

Connor Glendenning – Connor was a recommendation from Alex when i asked him if he wanted to join in on the project “You should ask Connor, he is a good story writer”, I asked if he would be interested then gave him the basics of what the story was about. I believed and trusted Alex’s judgment that Connor can come up with something creative and inspiring for this game.

I believe that with the team I have and the enthusiasm that we hold, we can make a better and more exiting game that could inspire other people to follow on from what we are doing. Finally, I would like to see this game be looked at by someone who could take it on and make something out of it, which I can stay optimistic about but overall… I just wanna make something cool that someone could see and say “Wow ! This is a great game”.