Saturday, December 12, 2020

Beta - Drive Baby Drive!

 Hello and welcome to this weeks project blog post! Compared to my last blog post about making my game this one is actually good! We were to spend 3 hours on the game this week, I forgot to time myself but I can nearly say for certain I definitely spent 3 hours if not more on the game! 

At the start, I had no hopes I was going to end up with half a game and be disappointed, but I somehow managed to pull somewhat of a game together! Now saying that there is still no way to win or lose the game but hey, with the magic of your imagination anything is possible!

So, I started off trying to figure out why my UI display had disappeared. This took me far too long, longer than I'm willing to admit. But eventually, I found it, for some reason the game had like zoomed in a bit more so all the canvas wasn't there. I literally have no idea how it happened or why. So, I just resized that and boom, UI was back. Now I thought the coin sound wasn't working so I tried to fix that but turns out that the sound of the car was too loud to hear the coin collecting noise. I turned the main noise off the car as it just wasn't working right and not going to lie I gave up with it. It still makes turning and break noises but not like engine noise. But hey now we can at least have a coin collecting noise.

I then moved onto the timer, the timer would only go from 30 to 0 no matter how many different numbers I put it so I went on the hunt for a new timer and I found this one. This tutorial was great, although he was going very fast so I had to slow it well down and I messed up a few times so I then did a few bits twice. I then added however long I needed my timer and I played my game a few times to see how long it would take so I put it at 5 minutes, which seems long but the car is hard to control. 

Screenshot of my car in the game window. 


I was then thinking about what else could I add that I haven't tried, a start menu! I had tried an end screen and it didn't work but never had tried a start menu. So I went and found this tutorial, I thought this was great and the guy who does them is really clear. I left out the options button purely because I thought there was no need. I added that with no problems and I think it really adds to the game and I got far too excited to see it working.

A screenshot of my menu in my game.


Lastly, I wanted to add backing music, just so it wasn't so quiet. I went on the hunt for some music and this was hard as any music I found on YouTube just didn't seem to fit the game. I eventually just found some basic upbeat music and decided to use that. I used a tutorial to try put in music but the tutorial was all over the place so eventually, I found this tutorial and it worked really well. I looped the music and then made sure it started in the menu screen and continued for the actual game by using code!

I'm really happy with what I've done today and I know it's not finished but looking back at last week I didn't even think I'd have a working game so it's better than nothing and I'm proud of myself for getting this far!

Thanks for reading, talk soon!
-Megan :)


Thursday, December 10, 2020

Tech Task - MISC. Tools - Typing Test

 Hello and welcome to this week's blog! This is my tech task for the week. I decided to do a typing test after seeing it on Aoibhes blog. I got excited to do something that would challenge me and be fun (sounds stupid I know). Bellow are my results.

Screenshot from the typing website.

I googled it and found out 60 wpm is is the speed required for most high-end typing jobs. So hey if I can;t figure out what I wanna be I could definitly practice and get that faster and be a typist haha.

Thanks for reading!! -Megan :)


Saturday, December 5, 2020

Unity Tutorial 10

 Hello and welcome back to this weeks Unity Tutorial! 

This week has been a disaster I'm not going to lie. I did not think it could get worse. My game is just breaking and not working and I spent all day on it and just can't do anymore. I looked at a few tutorials for these weeks. 

I first looked at this tutorial as I had to take the car out of my game and I tried to get another but I couldn't get another to work so I tried bringing in the original one to see would it work this time and when I imported it, it wouldn't work so I had to watch this tutorial on how to bring in the car again and what was I doing wrong. I realised I was bringing in the wrong car the whole time. This also broke my audio when my coins are collected and it also messed with the audio from the car, it makes a really loud sound.

Once I got that working I was looking at my timer as it counts down from 30 and that's it which isn't much use to me as I tied myself going around the course and it takes about 4 minutes and 20 seconds so I wanted to put a 5-minute timer on it but I couldn't find one in minutes so I tried seconds aka 300 seconds and that wouldn't work so I said I'd move on and actually get something useful done this week. (Spoiler alert I didn't)

I said I'd add a win screen in so at least I would win if all goes. So I went with this tutorial, I did it fine and everything was looking great but when it came to actually show the win screen when you've "won" it doesn't show.. I looked at it two more times but I just can't figure it out, I'm clearly doing something wrong but I have no idea what. It also got rid of my coin and countdown UI when I had it finished.

Screenshot from the tutorial I was watching

I honestly have no idea where I'm going from this. I can't see myself finishing the game either, not unless a miracle happens. I feel like I just wasted the day working on the game and I feel like I took two steps back.

Hope you enjoyed reading about my disaster of a day... :):):)

-Megan


Thursday, December 3, 2020

Unity Tutorial 9

Hello and welcome back to my blog, for this weeks unity tutorial we were given a choice to follow the ones provided or to follow ones that would be useful for our games! So I decided to write up about two that I did for my game! 

I followed this tutorial first, I found it great to follow! It is a tutorial about how to collect coins, add a sound when collecting the coin and making the UI display how many coins you've collected. I had originally a different video for collecting coins and I followed it through twice but it just wouldn't work for me. I was able to pick the coins up and add the sound but it wouldn't make the UI display how many coins I had collected. This was a pain so I had to hunt for another which is the one linked above. It is 13 minutes long and goes through every step and it was really clear. Thankfully I followed each step and it came out perfect and I then made copies of the coins and put 20 of them all around my map for the player to collect. I am delighted it worked for me and it really makes my game look a lot better. 

A screenshot I took of the YouTube Tutorial.


This is the second tutorial I followed, It is to add a countdown timer in your game. It is again a really easy tutorial to follow. I also found one before this to do with adding a lap timer and had it finished before I realised this is not what I wanted. I'm really not sure what I was doing adding it in, clearly was half asleep. So I ended up finding the one linked above after wasting 30 minutes trying do follow the lap timer one. The one I followed though was much better, it was just a simple countdown one. I have it in my game now it doesn't work though so I need to work on that this week that when the countdown finishes the game will be over and you'll either win or lose. I have it at 40 seconds right now but I know it'll need to be much faster. I'm struggling with making it faster so not sure what I'm going to do yet but hopefully will figure it out, then I'll be able to set the timer for however long I need it and it'll work great!

Thanks for reading and I hope it was helpful to someone :)

-Megan