Update 9


Since my last update, I have not only spent time adding to my project but also started to study pieces of code which I didn't understand previously in an attempt to know how every part of my game works. Although there are still areas of the code I added last time that I still am not getting to grips with, I now know how a lot more of my project works.

When it comes to what I have added and improved to my game, I have redeveloped my door. I did this following another tutorial video by VR Playground. Although I already had a door that could open and close, it had no lock and unlock feature. I did go through a few different video tutorials, but none of them look as good as the video I ended up using. As for any problems I had following the tutorial, I am using my own made door and it has its pivot point set to its centre so I added a physics constraint, which we have previously been taught about. With my door, all you need to do is grab the golden cube and place it in the holder next to the door, the cube should lock into the holder, and once you've done all of that the door should unlock. There is a sphere collider around the door handle which is the only thing you can grab to open the door. 

Other things I have done to my game are making some edits to my targets so they score different points depending on how far away they are. I also made it the closer they are the fast they move. I did this by duplicating the blueprint of the target three times. In hindsight, it might've been more effective to make child blueprints, especially if I was using a lot of targets. However, for my game, I only have three targets so it wasn't an issue. The last adjustment I made was moving the "create point widget" piece of code into the door. This makes the points and timer show up once the door has been unlocked. This works well for my game as once you select "play", you spawn into a room where the doors are locked. Once you go past the doors, that is when my shooting range is accessible.

In terms of getting all the tasks done, I have almost completed three of the four features added to my game, with one of those three being 100% completed given it works, that feature being my door. With my main menu, I just need to add the "adjust camera height" settings option, and with my shooting range, all I need is for my timer to do something when it reaches zero. My current idea is to send the player back to the menu level. I'd also like to add a high-score leaderboard to that menu, but that might be a bit far-fetched. I also now have a video tutorial that I am planning to use to make my movement system in the coming days. I still need to find a way of making my "adjust camera height" settings option, but that shouldn't be too much of an issue.

Leave a comment

Log in with itch.io to leave a comment.