Scrum Post: 1

We’re a few weeks into the project now, and we have had several scrums allowing us to discuss the work we have done, what needs to be improved and what needs to be worked on next. These scums have been especially helpful for me when creating the environment, as it took me a while to decide on what style to go for with the canyon tiles, and the asteroids. The scrums allowed my peers to voice their opinions on exactly how I could improve the look of them.

At first I wasn’t too sure how to make the canyon look stylised but still look good, both Matthew and Billy helped me come up with several variations until we found one we all liked. We also discussed exactly how the floor would blend into the wall tiles and exactly how the floor would tile together.

During the scrums everyone also voiced their input on the player and enemy concept art drawn by Lee and the models created by Billy and Steven. The player ship concepts were changed as they were too simple and lacked detail, and the enemy ships were made to look more dangerous, so it you player was able to actually tell if they were enemies or not. For the actual player model, Billy changed the wings several times until there was one everyone agreed on.

For Andrew, during the scrums we discussed player movement, and the scaling inside of Unity for the ships and environment. Changes to the game mechanics are still being changed to help with the game schedule. The mechanics will only be implemented if we have enough time to create the assets that compliment the mechanics. For example, the tractor beam will only be implemented if the explosive barrel and damaged wall that can be blown up are created.

Gary had not been in for a few weeks, so we decided we need to cut out animation from the game, this was a group decision.

Advertisements

Portfolio reflection

Over the last few weeks i have not posted much of my work, as I have been working on my portfolio. However now that I have presented my portfolio and it is out of the way, I can start working on posting more work to my blog. But not before i reflect on my portfolio. I believe it went well, better than I ever expected. I ended up getting a merit. The work I had presented was high quality, however I was told that I needed to spread my time around my work more. I had mainly focused on 3D modelling and hardly did enough work on other subjects. However that is what I will need to do in my second year, so I will need to continue to do what I am doing.

Game concept – programming exam: 2

Continuing on from last week I have created sprites for the enemy AI. I have added scripts that move the enemy around 3 waypoints. A death controller for the player, and a next level controller.

enemy

Here is the enemy AI, I like this sprite. However I am going to change the look of both the enemy and player sprites to look more top down.

Waypoints script

Here is the code from moodle, for the waypoints on the enemy, and a GIF of what it does.

waypoints

Tempnext

This is the temporary sprite for the level objective, hitting this sprite with the player sprite will load the next scene.

Here is the code that makes this work and a GIF showing exactly what it does

Next lvl gif

Next lvl

This code is exactly the same as the death controller, other than the Tag name. In death controller the tag name is ‘Enemy’ in this it is ‘Nextlvl’. Also, instead of reloading the scene, it loads the next one when hitting the object.

Class diagrams and Trigonometry

Class diagrams are a like a blueprint for game features or assets. They list all of the game properties in order and show exactly what you will need for these properties to work.

Here is an example of a class diagram:

-SCAN IN EXAMPLE-

Trigonometry is used in 2D games to help calculate the distance between objects. As there is no diagonal axis, trigonometry is used to work out the distance where the the diagonal axis would be.

Movement in the x axis is calculated using the Cosine, as the cosine of an angle is the ratio of the adjacent side with the hypotenuse, which in this context is used as Cosine(angle) = X/Distance
Movement in the y axis is calculated using the Sine, as the sine of an angle is the ratio of the opposite side with the hypotenuse, which again can be used as Sine(angle) = Y/Distance.

Radians are used to measure angles, the GIF below, showed to us by Ant, clearly explains exactly how they are used.

circle_radians

Unity Coding

Continuing  from last week when I made a small room in which you had to find a key to escape. I added new features. One of which is a flashlight that you can toggle on and off, another is an inventory system and another is a crosshair which I made following an online tutorial. The crosshair is fairly basic and needs a lot of work as it gets in the way of me clicking on the key, which of the opposite of what a crosshair should do.

room-3

This picture shows the new crosshair and flashlight.

inventory-1inventory-2

The coding I used for the inventory system.

Animate Platformer Game

In my game i used the spooky scene from the previous week as the setting.

spoopy-scene

I edited the coding to make thew player character sightly slower but jump slightly higher. I also changed the controls from arrow keys, to WASD.wasd-coding

I slightly changed the background so there were a few extra bats so you can get up to the top of the moon as that is the goal. It is difficult to tell what is ground and what isn’t, making the game slightly confusing to anyone who didn’t create the game, so i am planning on slightly changing the ground colour.

Here is a link to my game:

http://www.fastswf.com/sucp8jI