Use the arrow keys to move. Press the space bar to attack. Drag the mouse to move the camera. You have 10 attacks. Try to hit the opponent without letting it hit you. Your opponent has unlimited attacks and can't be defeated because that's just how games work.
© Dec 12, 2021 Use 1, 2, 3, 4, and 5 to use debug tools. 1- Reset the camera angle This is used to reset the camera angle after you have changed it. 2- Change the camera angle This is just a different camera angle. 3- Increase the Z axis This is being used to try to fix a bug where sprites in the 3D environment increase in size instead of decreasing when they are further away from the camera. This was fixed by changing the operator that determines the size of the sprites. 4- Decrease the Z axis This is used for the same purpose as 3. 5- This is used to show a layering issue where the opponent is drawn on top of the player, even though the player is closer to the camera. To fix it I made all objects use only 1 color. 6- This will enable the anaglyph 3-D mode. 7- This will show/hide the depth slider. The depth value will only take effect while the anaglyph 3-D mode is enabled. Also available on Desmos (Yes, Desmos): https://www.desmos.com/calculator/undvkfsg5z 3-D Anaglyph: https://www.desmos.com/calculator/wubqo5nnjt -© Dec 12, 2021