Hey all, cant believe how much this course has taught me, respect to Sam for explaining it so clearly!
Anyway here’s my finished version of Crypt Raider. I added some extra bits such as audio and music. I really enjoyed doing that part. My project ended up kinda hybrid between C++ and Blueprints. I implemented all the C++ stuff in the lessons, but then did audio and UI / Win condition in Blueprints. Still trying to get a grasp on C++ but I still have two sections of this course left.
Here’s a YouTube video:
Here’s the itch.io in case anybody was interested in playing:
I agree, the tutors are the BEST on here. I find it much easier to follow than some Youtube videos, and the fact there is chapters makes it easy to tackle in smaller chunks.
Thanks for checking out the game and I really appreciate your comment! Here is some of my code below, it was done in Blueprints as I wasn’t sure how to implement these features in C++ yet.
This is the Zoom code, I basically used 2 opposite Timelines from a Action Event to set the Field Of View in and out. The timeline interpolates between the 2 zoom levels so its smooth.
Here is the sprinting code, a lot more simple than the zooming to implement, just have a Keyboard/Action Event to set max walking speed to 1000, and then back down to 600 (default) when releasing the key.
Here is the Blueprints for the door. Its a bit complicated to explain. I basically just used a Custom Event, connected to the Character Blueprint, to trigger the code and rotate the doors when the player presses E. Again I used a Timeline to smoothly blend between the 2 locations, as without a Timeline, the doors immediately jump to their open position. Lastly I added the audio, which plays when the player is inside the zone (box collision) and is pressing E.