Do not ask why this is called by this name. It just is. Thanks for understanding. So, this script is being used to be able to freely move the camera around the map, by moving the mouse to the edge of the screen. By doing that, it will move the camera in the mouses direction.Continue reading “Uncle James Patented Scroll Mouse”
Category Archives: V.2
Effects
There are 5 status effects in the game. Here are the different effects. This effect is poison, and reduces the health of the character by 10. Burning does more damage than poison. Stunned sets the can Attack boolean to false. Wet slows down players, reducing their speed. Bleeding does the least amount of damage outContinue reading “Effects”
Camera Move
The variables in this script are target game object and the offset for the camera. It starts off with setting the offset. It does this by getting the position of the camera to the target. Here is where the target is specified. The target is the active player. It then changes position depending on theContinue reading “Camera Move”
Health Bar
It uses the game object, which is the slider. It then sets the slider to the max value, which is the health, then sets the value of slider to the health. Very simple script.
Billboard
This script here is just to make sure the user interface always faces towards the camera.