Bug Blasting
CONTROLS:
Keyboard and Mouse:
Move: WASD
Aim: Mouse
Jump: Space
Shoot: Left-click
Cycle Weapons: 1 or 2, Mouse Wheel
Pause: Esc
Gamepad:
Move: Left Stick
Aim: Right Stick
Jump: X
Shoot: R2
Cycle Weapons: L1 or R1
Pause: Start
This is a work-in-progress version of my 3D FPS game assignment for Michigan State University's CAS 117 Games and Interactivity class. I've only tested the WebGL and Mac versions, as I don't have a PC to test the Windows version.
Modifications I made to the class tutorial:
Created a custom level based on my house, using 3d assets from Kubikos Sci-fi Cube World.
Increased gravity so we don't float in the air so long.
Added animation to the gun when swapping guns, the current gun rotates down offscreen and the new one rotates up into place.
Fixed a bug where scrolling the scroll wheel can change weapons way too fast (60 times per second.)
Fixed a bug where holding down the trigger button halfway on PS5 controller with the ElectroGun fires way too many of them too fast.
Fixed a bug with gamepad left stick not working in WebGL.
Added separate internal scaling factors for mouse and gamepad look sensitivity to fix problem where mouse moved too fast compared to gamepad. Reduced WebGL mouse sensitivity to a quarter of what it is for Mac/PC.
Disabled double jumping.
Fixed a bug: when you die, it was playing both the PlayerHurtEffect and the PlayerDeathEffect, and it sounded like 2 different people moaning at the same time, so I removed the HurtEffect when you die.
Sound: replaced many of the sound effects with new ones from Forge3D Sci-Fi Sounds. Added new sound effects for: weapon swap (each weapon has its own swap sound effect), shotgun fire, impact, and icicle particle impacts, ExtraLife pickups.
Added buzzing sounds for flying enemies, and replaced the music with a creepy sound loop.
Added the shotgun as a pickup you get somewhere in the level.
Added joystick rumble when getting hurt.
Added recoil movement to the shotgun blast.
UI: changed the font, added Controls and Credits pages.
Fixed a bug where shooting with the pistol and then cycling back to it would play the sound effect a second time.
Things I plan to do before April 15 assignment deadline:
Fix a bug where the player and enemies can shoot through walls.
Fix a bug where the pistol ends up shooting away from the target if switching weapons or dying during the shoot animation.
Maybe create a backyard environment with platforming challenges.
Credits
-----------
Tutorial project with basic gameplay scripts, weapons, and animated bugs:
MSU CAS 117
Game design and development:
Bob Wilson
Sound Effects:
Forge3D Sci-Fi Sounds
3D assets:
Kubikos Sci-fi Cube World
Font:
Orbitron from Google Fonts
Updated | 17 hours ago |
Published | 5 days ago |
Status | In development |
Platforms | HTML5, Windows, macOS |
Author | Bob Wilson |
Genre | Shooter |
Made with | Unity |