Commit Graph

159 Commits

Author SHA1 Message Date
5a9f3e9118 Corrected Spawning Runner Error 2021-10-27 14:22:12 -05:00
8431f67505 Fixed Runner Spawning
- Adjusted Spawning to SpawnAsPlayer
- Modified PlayerMovement to not calculate if not the LocalClient
- Added temporary directional light to the game scene to correct the
  editor client being pitch black in scene
2021-10-26 13:19:11 -05:00
Vincent Wheat
debf981e38 Rain and Snow 2021-10-25 14:18:13 -05:00
28be25e572 Spawn in players - Need to fix errors 2021-10-25 14:17:58 -05:00
21b1ece6d6 Merge branch 'SwapToGame' 2021-10-25 13:41:45 -05:00
7a866191bb Continued work on spawning players
- Modified PlayerData to hold IsKing
- Added spawning code
- Need to merge in player prefab with networkobject
2021-10-25 13:38:16 -05:00
Melbyj1125
5c8e13e0f5 Added NetworkTransform to player
Added NetworkObject to player
Added Rigidbody to player
2021-10-25 13:30:42 -05:00
c984664a37 PlayerName Validation and Start of SpawnPoint Logic
- Now check player names for empty strings
- Start handling spawn points for levels
2021-10-25 11:53:54 -05:00
Melbyj1125
702bb555f0 Implemented Item Scripts into objects
Implemented Ragdoll kinda
There are some issues with getting hit while ragdolling that need to be
fixed
Adjusted Dash
Dash still needs some adjustments before being fully implemented
2021-10-25 03:38:56 -05:00
0431cb4c4d Added King/Runner Roles and Team Swapping
- Modified LobbyPlayerState to hold roles
- Set players to runners on lobby join
- Add button to swap teams
- Setup ServerRPC to handle team swap
- Modified logic to make sure all roles filled before game start
2021-10-20 14:08:41 -05:00
wheatv3015
3e245ead44 Grappling Hook Alpha
-Impact based grappling hook with options for other types of implementation
-Wallrun tweaked so players can always jump off wall
2021-10-19 20:22:05 -05:00
cdfc1a0d00 Creation and Swap to Game Scene
- Created the Game-Mountain scene
- Added to Build Settings as Index 4
- Modified ServerGameNetPortal to properly swap to Game-Mountain on
  GameStart() call
2021-10-18 13:12:44 -05:00
Katherine
4d856defa6 Merge branch 'main' into KingAbilities 2021-10-18 13:00:58 -05:00
Melbyj1125
cc99ababff Fixed Jumping issues
Jumping Feels smooth again
2021-10-18 12:58:01 -05:00
99d0142cc8 Merge branch 'LobbySwitching' 2021-10-18 12:53:14 -05:00
Vincent Wheat
e115a7d198 Merge branch 'Wallrunning-Debug'
-Added template for grappling hook
-Fixed ground check in player movement
2021-10-18 12:48:18 -05:00
Evan Nydahl
07914a118c Merge branch 'main' of https://github.com/Lautha1/TheKingsRace into main 2021-10-18 12:38:59 -05:00
Katherine
1b97e497a3 Slime/Goo Added
>Slime created and added to the scene
>Slime can move betwwen two set points
>Slime creates Goo underneath it
>Slime slows the player
>Goo makes the player slippery
2021-10-18 12:36:55 -05:00
Evan Nydahl
460092aacb Added several prototypes
-added kick prototype
-added drop-kick prototype
-added slide prototype
-added dash prototype
-added nitro prototype
2021-10-18 12:35:16 -05:00
Melbyj1125
f0beb67a8d Merge branch 'pMovement' 2021-10-18 12:33:39 -05:00
Melbyj1125
39bc66244e Added Item Cost and Max Points
Added Glide
Added Item adding verification
2021-10-18 12:19:44 -05:00
wheatv3015
2a8a7602e0 Started Implementing Grappling Hook
-Created script to handle grappling hook with structure of intended code outlined
-Added tags for grappling points
2021-10-17 14:30:13 -05:00
db5b10ef47 Rewrote Networking and Base Lobby Created
- Rewrote networking based on tutorials from MLAPI Demo Project and
  Dapper Dino
- Created Lobby UI based on the turorial from Dapper Dino
- Linked Existing UI into using the new networking
- Modified Lobby Settings to only allow 3 players
- Added Field for players to enter their player name
2021-10-15 16:01:18 -05:00
Melbyj1125
a42e802ace Created the Inventory Selection Scene
Added an ItemOption Prefab
Created Player Prefab
The player now will get their items in the inventory selection screen
Only within this scene will items be able to be added and removed
Updated player files to check for characterController being enabled
This will make it easier to implement the dual RigidBody system
2021-10-14 22:50:44 -05:00
wheatv3015
114b567445 Ground Check Fixes
-Simplified and re calibrated ground check
-Ground Check now functions well, test with inclines
-Temporarily commented out  player inventory lines that produced errors
-Commented out debug statements
2021-10-13 21:32:25 -05:00
dd613b4044 Catching of Client Connection Timeout Error
- Now connecting as a client will throw an error after a set amount of
  time if it didn't connect to a server
2021-10-13 14:01:20 -05:00
53daceac89 Added base for IEnumerator of Connection Timeout 2021-10-13 13:39:03 -05:00
a8ac804e30 Private Client/Host Spawning Working
- Created an EMPTY prefab to act as the lobby player character
- Use the status labels to display if client or host (depreciated class
  used - will be removed in upcoming version)
- Private Hosts can start a new lobby
- Private Clients can connect to a lobby at a given IP
2021-10-12 21:57:45 -05:00
d2c5a4a3b2 Private Host/Client Connection Implemented
- Starting as Host now works
- Connecting to an IP as client works
- Added password validation to the connection (hard-coded)
2021-10-11 13:59:21 -05:00
Katherine
69be815a58 Merge branch 'main' of https://github.com/Lautha1/TheKingsRace 2021-10-11 13:45:31 -05:00
Katherine
535ea75e08 Bumper Created
>Added a new Scene for testing King Abilities
>Added a Bumper Script that can be attached to objects to bump the
player away when hit
2021-10-11 13:35:30 -05:00
Melbyj1125
c39ffc26c1 Fixed Compile Errors
Will need to readd isGrounded
2021-10-11 13:00:27 -05:00
Evan Nydahl
fe4b3b6ccc Merge branch 'main' of https://github.com/Lautha1/TheKingsRace into main 2021-10-11 12:52:45 -05:00
Vincent Wheat
4e01df6a1e Merge branch 'UI-Prototypes'
-Merged in better ground check
-Merged in wallrun prototype
2021-10-11 12:48:55 -05:00
24100f05d3 Merge of Julia's branch 'origin/Preloader-Title-Multiplayer' 2021-10-11 12:29:20 -05:00
Melbyj1125
122bf23b30 Fixed Player Jump and Added Itemmanager
PlayerJump uses raycast to detect when to get jumps back
ItemManager Holds all scriptable Objects that are within resources
Added a resource folder
2021-10-11 12:12:57 -05:00
wheatv3015
61980f55cf Wallrun Updates
-WallRunItem made for equipping/unequipping wall run
-Added Method to PlayerInventory for trying to add special items as items
-Added better method for checking if player isGrounded to PlayerMovement
-Added a setup file for preconfiguring player loadouts
-Added complex wallrun file as a work in progress to allow for robust polished wallrun mechanic
2021-10-11 10:25:52 -05:00
Vincent Wheat
576f5aafdf Merge branch 'main' into UI-Prototypes 2021-10-08 14:01:45 -05:00
Melbyj1125
c8e298f038 Updated Item scripts and objects
Scripts and objects should actually be committed now
Use Items script to make objects
2021-10-08 13:59:04 -05:00
Vincent Wheat
349d99b238 Merge branch 'main' into UI-Prototypes 2021-10-08 13:55:29 -05:00
Evan Nydahl
981b42dc51 Added a rough kicking prototype
-two scritpts that deal with kick logic
-added ball and leg to player in Evan_Prototypes scene
2021-10-08 13:52:36 -05:00
Melbyj1125
3569ef0366 Added Inventory
Player Inventory takes scriptable objects
Items defines a scriptable object that modifies stats
2021-10-08 13:46:00 -05:00
wheatv3015
b926b52a9a Added Wallrunning
-Added Gravity() function for all future effects to gravity
-Wallrunning functions as follows:
    -If player isn't grounded & is moving forwards
    -If player is above minimum ground height
    -Check frontal directions with rays to see if we are hitting a wall
    -If yes - no gravity, if no - normal gravity
2021-10-07 22:16:43 -05:00
053189fa0a Finished Title Screen UI and Added IP Validation
- Finished adding UI for the title screen
- Scripted functions for each button press
- Validation of IP entered for private server connection
- Popup Error Panel with variable error messages added
2021-10-07 00:37:29 -05:00
659b9f9954 Fixed Preloader Script
- Fixed game launching with command line into Lobby
- Game launches into Title screen otherwise
- Depreciated two networking scripts
2021-10-06 14:00:52 -05:00
Melbyj1125
c16f07986d Implemented Blink to Player Script
Moved Evans Blink into the playerMovement script
2021-10-06 14:00:35 -05:00
f0f7824850 Setup Preloader and Created Scenes
- Added Preloader Scene
- Created Lobby Scene As Template
- Started Basic Design of Title Screen
2021-10-06 13:26:56 -05:00
Melbyj1125
7ad366dfc6 Updated PlayerMovement.script
Moved MovementScene.scene
The Player now has slight drifting
Will be updated to have traction reduce this drift
2021-10-06 03:42:15 -05:00
06b905893e Created Preloader Objects 2021-10-04 19:41:37 -05:00
ebd9c4a9a2 Merge of Julia's origin/Multiplayer-Base 2021-10-04 12:59:44 -05:00
67e527d41a Merge of Vinny's origin/UI-UX-Demos 2021-10-04 12:58:14 -05:00
Melbyj1125
11691ec8d9 Modified Movement and Stat scripts
Added getters and setters for all stats
stats effect movement script
improved movement to feel smoother overall
added mouse controlled camera
2021-10-04 05:32:56 -05:00
Melbyj1125
8a9e0617f5 Added Player related scripts
Added PlayerStats
Added PlayerInventory
Added Player
None of these scripts have been fleshed out yet
2021-10-01 14:42:45 -05:00
Melbyj1125
c99f19c192 Created and Updated MovementScene
Implemented Basic Player Movement
Created Player and Platform objects
Created PlayerMovement Script
2021-10-01 12:24:18 -05:00
wheatv3015
572d24dd4b Hint Popup Prototype Development
-Added several fonts to guide direction of UI font choice
-Added UI folder in assets
-Added ideas for backgrounds for hint popups
-Updated popup script to be more general for toggling game objects/UI containers
2021-10-01 11:35:51 -05:00
8df16271df Added Networked Player Spawning and Movement
- Server can host to clients
- Players spawn in with a base character controller
- Movement is synced between the two game clients
2021-10-01 00:54:07 -05:00
60bf63d757 Base NetworkManager and Player Prefab Created
- Added a NetworkManager
- Added the NetworkCommandLine arguments
- Created a temporary Player prefab
2021-09-30 15:08:59 -05:00
Vincent Wheat
1551e7ab58 Adding Meta Files
-Added meta files to test unity and git issues
2021-09-29 13:44:48 -05:00
wheatv3015
b2bdf4c871 Added UI-UX Demo Scene
-Included Toon Shaders
-Included Movement and Popup Scripts
-Included WallRun Demo
-Added Materials
2021-09-29 11:36:53 -05:00