top of page

WIP

Projects: Text

This project I'm currently working on is still in early development cycles. The main features of the game are going to be the weapons.
The weapon is a gel gun that affects the player and ai, speeds them up, or makes them fall slower. Another weapon is a prop converter, which turns you into a prop. The last two weapons will be a surprise once all the code is complete.

Projects: Text
Projects: Video

Door Code

This code uses a mixture of ideas that together makes the door code work. The first part is that there is an enum that has what state the door is, from open to the type of lock the door has.
Added to the actor's code is an interface that lets the player communicate with the door without knowing about the door.
In the Tick function, there is another enum that lets the designer pick if the door rotates or if the door moves up and down.

Screenshot 2023-06-15 113112.png
Projects: Image

PAST SHOOTER

Projects: Text
Projects: Video
Screenshot 2023-04-23 183048.png

Gun Platform Code

This code here is the main logic for the gun platform. When an actor is either a child of ABaseCharacter or is of that type, the program checks to see if the actor has a weapon and if not then gives them a weapon before respawning the weapon.
If this is the first time the actor has picked up a weapon then they are told how to use it though a UI.

Projects: Image
Screenshot 2023-04-23 183711.png

Shooting Mechainc

The shooting mechanic was being developed for a multiplayer 3rd person shooter, but it was changed part way through after the mechanic was developed. The reason for bringing this up is that there are two line traces happening to triangulate the hit target and to see if either line trace gets blocked.

The first line trace is from the camera which gets the end location for the second line trace. This checks to see if there is anything blocking the line trace from the weapon.
The code under the line traces handles the bullets and destruction of the weapon if all bullets are gone.

Projects: Image
bottom of page