{"id":128,"date":"2023-05-14T00:34:13","date_gmt":"2023-05-13T23:34:13","guid":{"rendered":"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/?p=128"},"modified":"2023-05-14T00:35:38","modified_gmt":"2023-05-13T23:35:38","slug":"bsc1b-week-2-developer-journal","status":"publish","type":"post","link":"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/2023\/05\/14\/bsc1b-week-2-developer-journal\/","title":{"rendered":"BSc1b week 2: Developer journal"},"content":{"rendered":"\n<p>This week was continuing with the unreal fundamental tasks moving on to task 2. This week I created a few new inputs including one to equip an item (the key and gun) and started work on a new actor spawned through the player through creating a fireball spell although I haven&#8217;t quite got that working yet. Final note I did also move in the camera to have a first person perspective over the third person perspective.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"972\" height=\"439\" src=\"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-map-overview.png\" alt=\"\" class=\"wp-image-130\" srcset=\"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-map-overview.png 972w, https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-map-overview-300x135.png 300w, https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-map-overview-768x347.png 768w\" sizes=\"auto, (max-width: 972px) 100vw, 972px\" \/><\/figure>\n\n\n\n<p>This is an overview of the level at the end of the week still very basic but shows where some of the new task related things are that being the wall with a locked door the key to the door and the gun (related to task from the previous set being something that spawns other blueprints).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"263\" src=\"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Locked-door-gif-1.gif\" alt=\"\" class=\"wp-image-134\"\/><\/figure>\n\n\n\n<p>This gif shows the locked door in which at first walking in to the door to show that it doesn&#8217;t open without the key. Then collecting the key (picking up with the &#8216;E&#8217; key) to open the door when walking up to it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"507\" height=\"217\" src=\"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-new-set-of-keybinds.png\" alt=\"\" class=\"wp-image-138\" srcset=\"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-new-set-of-keybinds.png 507w, https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-new-set-of-keybinds-300x128.png 300w\" sizes=\"auto, (max-width: 507px) 100vw, 507px\" \/><\/figure>\n\n\n\n<p>These are the new added key binds equip for picking up the key\/gun (the gun currently doesn&#8217;t equip\/work), sprint currently unimplemented and spell 1\/2 being for casting spells which I haven&#8217;t got working yet.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"508\" src=\"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-locked-door-blueprint-1024x508.png\" alt=\"\" class=\"wp-image-135\" srcset=\"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-locked-door-blueprint-1024x508.png 1024w, https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-locked-door-blueprint-300x149.png 300w, https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-locked-door-blueprint-768x381.png 768w, https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-locked-door-blueprint.png 1283w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>This is the blueprint for the locked door in which when an actor overlaps with the door it checks the condition locked which if true it will then cast to the player and check if the key is equipped. If the key is equipped it opens the door (the exact same way that the other doors open). <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"790\" height=\"149\" src=\"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-player-equip-key-blueprint.png\" alt=\"\" class=\"wp-image-136\" srcset=\"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-player-equip-key-blueprint.png 790w, https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-player-equip-key-blueprint-300x57.png 300w, https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-player-equip-key-blueprint-768x145.png 768w\" sizes=\"auto, (max-width: 790px) 100vw, 790px\" \/><\/figure>\n\n\n\n<p>This is the blueprint for equipping the key within player in which when the equip key is pressed (E) it will call the function to try and equip the key in the key blueprint. If that succeeds (the player is overlapping the key when they press the equip key) the key equipped is set to true which is what is used above for the door.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"634\" src=\"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-key-blueprint-1024x634.png\" alt=\"\" class=\"wp-image-137\" srcset=\"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-key-blueprint-1024x634.png 1024w, https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-key-blueprint-300x186.png 300w, https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-key-blueprint-768x475.png 768w, https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-key-blueprint.png 1108w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>This is the blueprint for the key which when the player is overlapping the key it will send a reference of itself to the player in which then if the equip key is pressed it does the try equip key function. So when the player is overlapping the key and the equip key is pressed it will set key obtained to true.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"353\" src=\"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-not-working-gun-blueprint-1024x353.png\" alt=\"\" class=\"wp-image-139\" srcset=\"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-not-working-gun-blueprint-1024x353.png 1024w, https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-not-working-gun-blueprint-300x103.png 300w, https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-not-working-gun-blueprint-768x265.png 768w, https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-not-working-gun-blueprint.png 1230w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"871\" height=\"293\" src=\"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-not-working-gun-blueprint-2.png\" alt=\"\" class=\"wp-image-140\" srcset=\"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-not-working-gun-blueprint-2.png 871w, https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-not-working-gun-blueprint-2-300x101.png 300w, https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-not-working-gun-blueprint-2-768x258.png 768w\" sizes=\"auto, (max-width: 871px) 100vw, 871px\" \/><\/figure>\n\n\n\n<p>These show the current state of the blueprint for the gun which currently doesn&#8217;t equip when the key is pressed. I am currently unsure of what the problem is so there&#8217;s not much to say on this as the blueprint is up for change later to fix it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"643\" height=\"304\" src=\"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-not-working-spell-blueprint.png\" alt=\"\" class=\"wp-image-141\" srcset=\"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-not-working-spell-blueprint.png 643w, https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-not-working-spell-blueprint-300x142.png 300w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"844\" height=\"285\" src=\"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-not-working-spell-blueprint-2.png\" alt=\"\" class=\"wp-image-142\" srcset=\"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-not-working-spell-blueprint-2.png 844w, https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-not-working-spell-blueprint-2-300x101.png 300w, https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-not-working-spell-blueprint-2-768x259.png 768w\" sizes=\"auto, (max-width: 844px) 100vw, 844px\" \/><\/figure>\n\n\n\n<p>These blueprints above are related to the fireball spell which is currently not working so again not much yet to comment on as the blueprint is up for change later to fix.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"723\" height=\"218\" src=\"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-not-working-spell-input-blueprint-1.png\" alt=\"\" class=\"wp-image-145\" srcset=\"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-not-working-spell-input-blueprint-1.png 723w, https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-content\/uploads\/2023\/05\/Week-2-fundamentals-not-working-spell-input-blueprint-1-300x90.png 300w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><\/figure>\n\n\n\n<p>This is the input for casting the spell which currently doesn&#8217;t work so again is likely going to change when fixing later.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week was continuing with the unreal fundamental tasks moving on to task 2. This week I created a few new inputs including one to equip an item (the key and gun) and started work on a new actor spawned through the player through creating a fireball spell although I haven&#8217;t quite got that working [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-128","post","type-post","status-publish","format-standard","hentry","category-devlog"],"_links":{"self":[{"href":"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-json\/wp\/v2\/posts\/128","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=128"}],"version-history":[{"count":2,"href":"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-json\/wp\/v2\/posts\/128\/revisions"}],"predecessor-version":[{"id":148,"href":"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-json\/wp\/v2\/posts\/128\/revisions\/148"}],"wp:attachment":[{"href":"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/georgebaker.nuacomputerscience.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}