Posts

Showing posts from October, 2020

Tutorial lesson 2.4

Image
 In this tutorial I had to make it so that animals are spawned on a timer, that all the prefabs had colliders so that when they ended up touching that they where destroyed and finally I had to make the game say Game Over if an animal passed the player. To start I added a new function in Spawnmanager.cs so that whenever the S key was pressed and  animal would spawn in by copying and pasting the already present code into the new function. Then to get the animals to spawn randomly I had to add to private floats which included the start delay and the spawn interval time. Then I added InvokeRepeating and removed the if statement that allowed the player to spawn animals by pressing S. Then back in unity double click on an animal prefab and add the component box collider, edit the collider so that it is big enough to surround the prefab and repeat the process for the other prefabs. After check the is trigger box, then add the ridge body component to the projectile and uncheck the use gravity

Tutorial 2

Image
 Tutorial 2.1 In this tutorial I was tasked with creating a game where the character could fire projectiles at animals. To begin a created a new Unity project which I called Prototype 2. Then downloaded the assets from the unity store. After that I then dragged the 3 animals and the farmer and the piece of food into the hierarchy and adjusted their position and scale accordingly. Then I created a C# script folder in the assets folder, which I named PlayerController and attached the script to the farmer, which I renamed player. I then opened up the script and added a few lines of code. Then I set the speed that the player could travel and allowed him to travel from side to side. Then I made it so that the player had to stay in between a set limit which kept him from leaving the screen. After that I then decide that I should clean up some of the code by first replacing the hardcoded values with a variable called xRange, what this meant was that for whenever a specific value is wanted to

Game Idea Research

Image
 After thinking carefully about the choice, I have decided to choose to make a 3D platformer game. I ended up deciding to make a 3D platformer as I believed that it would be the most fun, but also the easiest for me to make as I've never made a game before and I don't want to start off with something big like an RPG that'll be to0 time consuming, also I have plenty of examples of great platformers that I can get inspiration from. In my game I plan to include specific game mechanics, which I feel are good to be in this game. My first game mechanic to include will be the ability to double jump. Most games in today's world include the ability for the character to be able to jump and then jump again while in mid-air, this has become an almost vital game mechanic as it allows players to reach areas that may seem out of reach. The double jump ability has become a staple of modern gaming, as it appears more now than maybe in the early 2000's. Another game mechanic that I w

Challenge Project

Image
 In this unity challenge I was tasked with fixing a project which was full of missing code and bugs and I had to go through it to figure out what was wrong with it. To start the plane was going in the wrong direction so I opened up the code for PlayerControllerX and changed a line of code that made the plane go backwards. Then I had to slow down the plane so I added in the line of code Times.deltatime, which reduced the speed of the plane significantly. For the next part I had to stop the pane from tilting on its own, I got stuck on this so I opened up my Project 1 file and also looked up up online. I eventually figured out I needed to add some code to the PlayerControllerX file, which sorted the problem out. Next I had to fix the camera, so aligned it in the position I thought was right, took note of the lines of axis and opened up the FollowPlayerX file and added the coordinates to the lines of code which sorted out the camera, I also had to to drag the plane file into the the Follow

Tutorial lesson 1.4

Image
 In this lesson I had to give the vehicle the ability to turn left and right. I did this by first adding  the code to visual studio which had allowed the vehicle to turn left and right, although it was not very fast at it and ended up looking rigid and non-realistic. Next I wanted to be able to use the keyboard to make the vehicle turn rather than using a slider, so I added the code and then was able to turn the vehicle using the arrow keys or the letters A and D. I then decided to do the same thing with the forward and backward motion of the vehicle by adding the code, then I could control how fast the vehicle was able to drive using the keys on the keyboard. Then I wanted to make the vehicles turning motion look better, I wanted it to rotate instead of slide so I replaced a piece of the code with a new piece which allowed the vehicle turn more fluid instead of just sliding in across the screen. Final I ended up just needing to clean up a few things such as the hierarchy, throwing the

Game Elements

Image
From my reading of the article "What are the Qualities of Games" I believe that I have a better understanding of the makings of a game. The article goes through the talks about what exactly is needed for a game to be made, they list players, objectives (goals), rules, resources and resource management, game state, information, sequencing, player interaction, theme (narrative-backstory-setting) and games as Systems as what is needed for a game to work. Also when the article talks about critical analysis and mentions that words like fun aren't helpful but rather explaining why it is fun i.e. I enjoy this specific mechanic as it's unique and keeps with the pace of the game or something like that. https://tudublin-my.sharepoint.com The next reading piece is an article on game design research which talks about topics such as what game design actually is and how it can be transferred to articles, to talk about what is actually needed and how to include theoretical empirical

Feedback Thoughts

Image
 The first  article that I read was about why rejection hurts us so much. I thought this was an interesting piece as it discussed how rejection in today's world is different from rejection in the past as back then it was limited to friends, dates or jobs, whereas in todays world we face rejection everyday, from social media platforms, dating apps or people who ignore our texts. I thought this was an interesting way to look at the way rejection has change with the times. When they talk about the reason why rejection hurts so bad is because it's just what our brain does, it made me wonder what other reasons do we respond to other outcomes in specific ways because our brain told us to. The mention that it stems from when we where a hunter-gather society, that how we lived in packs for survival and that rejection from the pack could mean death. It then goes on taking about how we deal with rejection in negative ways when in fact we should talk about what we can offer and how valuab

Game Brainstorm

Image
 For my brainstorming I thought back to when I was younger and played games on websites on sites like Kongregate or Miniclips , these games where very fun but also where never extremely complicated looking, usually where kept very simple. My first game idea is that of a game similar to the I mpossible game . The Impossible game was a 2D game where the player controlled a block and had the action to either jump over the obstacles of choose not  to jump as it may cause you to die if you do so. The game is renowned for being difficult (as the name tells us) and this factor will benefit me as if the game is very difficult and I am able to  imitate the difficulty, I then won't require a lot of levels in the game as if people can't get past the levels there would be no point in having loads of  levels. Now as you can see from the picture of the Impossible game, that it appears to be 2D, I however will make my game in a 3D format, so using my experience from my unity lessons, I thin

Tutorial lesson 1.3

Image
 In this lesson I had to be able to adjust the speed of the vehicle as well as adjust the camera so that it was able to follow the vehicle as it travelled down the road. I firstly had to write the code for adjusting the speed in the PlayerController.cs. From here I meade the necessary adjustment to allow for a speed increase while also replacing the 20 metres a sec code with an alternative one to have it work. Next a made a new C# folder called FollowPlayer, this will be the folder that'll have the camera follow the vehicle. I opened up the FollowPlayer.cs and started to write up the code to have  the camera move with the vehicle. Then I added Vector3 which included the coordinates of the main camera (0, 5, -15). I then declared private Vector3 offset and replaced the original code with it. I tested it out and it worked, the camera followed the vehicle. The last thing I did was change playmode tint so that whenever the play button was pushed, the surrounding colour will change to a

Tutorial lesson 1.2

Image
This lesson was teaching me how to actual have the vehicle drive and be able to interact with other objects on the road. To start I created a new folder in the project widow and called it Scripts, I then added a C# folder inside of that and called it PlayerController, this was then added to the vehicle object in prototype1. I then wrote the code in visual studio which started out like this transform Translate(0,0,1);. I then saved this and pressed play in Unity and it was working smoothly. I changed the transform Translate(0,0,1); to transform Translate(Vector3.forward*Time.deltaTime * 20); which basically meant that it would travel 20m a second. Then back in unity I added rigidbody components to the vehicle and obstacle so that I could then alter their individual mass. Then to finish  the project up I copied multiple obstacles and placed them further along the Z-axis so that the vehicle had more things to run into on its journey. Overall I enjoyed this part of the project as I liked t

Tutorial Lesson 1.1

Image
 In this first lesson I first had to setup the folder with the new saved unity project inside of it, I saved it as a 3D template and put it in the folder I made. Overall the task was fairly simple as I only just had to watch the instructions and then do them myself. Before I started the actual project I had to go to unity and import the tutorial materials, but after I was able to start. To start I just got used to the camera controls by moving around, then I added my first object with was a bus, which I placed in the centre of the road. I then added an obstacle inline with the bus and placed it using the coordinates. I then went into different camera settings and adjusted how it will look when it is in the next phase. Finally I adjust the layout of how I view the overall project, adjusting the screen to better view my work. This let me better view my project tab, hierarchy tab and the inspection tab so that if I needed to adjust any part of the project it can be easily adjusted. I enjo

Twitter task

               Twitter task 2 done  #dmed2023   #BigFernsy              — Killian Delaney (@KillianDelaney3)  September 30, 2020   Twitter task 3 done #dmed2023 #BigFernsy — Killian Delaney (@KillianDelaney3) October 7, 2020              Twitter task 5 done  #dmed2023   #BigFernsy              — Killian Delaney (@KillianDelaney3)  October 14, 2020  

Game design

Image
 After reading the pieces on what is a game anyway, the organic nature of game ideation and four basic methods for generating ideas, I've now a better understanding of what I can do to better for my project in Multimedia development. From reading what is a game anyway, I learned more on the sub-elements of game development, as the article may not talk about making games directly, it does mention important things to take note of like definitions of games made from games scholars and such, David Parlett said a game has an end and a means, meaning any game has a purpose for how it ends, whether that is story based or based upon a players actions, e.c.t. Overall I learned that game design takes time and effort and a lot of creativity.  Techniques used in game design range from concentration, brainstorming, scamper and Ramsey  meaning a lot of work is needed for the development of any game. Concentration is referring to putting a decent effort in your work, maybe doing this out of the o

Growth Mindset

Image
 My thoughts on Growth Mindset is that it is something that doesn't really interest me, maybe I don't fully understand what is being asked or am ignorant towards this topic. If I were to pick one of the challenges to do I would choose the learn from students challenge, as it  seems to be the most understandable for me, as all that it entails is finding quotes made by students which may have related to you in some way or have some connection with your time at school and use the quotes to make a meme out of it. Another one I thought maybe do able was to make an acronym to do with growth mindset. It can be a real word or a fake one, mainly it's just meant to inspire you for when you fail, or are struggling to succeed or are just up in the air at the time.

Introduction Post

Image
  My favourite module from last semester was web development 2. I liked this module as it was interesting and allowed me to be as creative as I wished., it let me design a website to explain social media tools for someone only learning to use them in a way I felt let me fully express myself and use the skills that I had learned to make such a website as easy as possible to understand. My biggest accomplishment last semester was making a movie using drawings to set the scenes and having myself talk over it. I felt that this was my biggest accomplishment as I didn't have access to the college to acquire equipment or could talk face to face with my lecturer if I got stuck. I just had to keep going with what I thought was the right thing to do and eventually I got rewarded with my work. In my spare time I like to play hurling for me local GAA team, I've recently joined back after a few years of not playing so I am a little bit stiff and rusted at it. I have also started doing muay