Commit Graph

2594 Commits

Author SHA1 Message Date
Sri Sham Haran c098f92532
Merge pull request #283 from SHADE-DP/AIFinalFixesGAM300M3
Fixed AI C# Script for final submission
2022-11-25 22:33:57 +08:00
Glence fb512e7fc5 added the new banks in
removed unneeded bank
added new audio
2022-11-25 22:32:41 +08:00
Kah Wei c84e33731b Fixed crash which occurs when changing the material of an object twice in a row 2022-11-25 22:24:30 +08:00
mushgunAX 609be908f9 Revert "Made player jumping more responsive"
This reverts commit d6fab4439f.
2022-11-25 20:18:36 +08:00
mushgunAX a541565e55 Merge branch 'main' into AIFinalFixesGAM300M3 2022-11-25 20:17:11 +08:00
mushgunAX 5b41e832c6 Enhanced AI with better chase logic
- AI now keeps track of last waypoint he has seen player at and heads there in an attempt to chase him down
- AI can be made to reverse his chase/patrol path by running around him
- The scene with the AI fix is called "MainGameWithAIFixed"
2022-11-25 20:16:31 +08:00
XiaoQiDigipen 6694ce2e17
Merge pull request #282 from SHADE-DP/MergeAIToMainScene
Added in AI to maingame.shade
2022-11-25 19:05:31 +08:00
Sri Sham Haran 27aadf67d3 threw in AI to maingame.shade 2022-11-25 19:03:23 +08:00
XiaoQiDigipen 173b10ca64
Merge pull request #281 from SHADE-DP/PlayerController
Updated Player and MainGame scene, fix bugs
2022-11-25 16:34:51 +08:00
Glence 181af5b3e5 fix throw food bug
added inverse camera controls
2022-11-25 16:23:26 +08:00
mushgunAX 7499011ea2 Merge branch 'main' into ScriptingAI 2022-11-25 16:14:06 +08:00
mushgunAX 7003262a5d Fixed AI even after scene change
-More reliance on the blackboard for keeping variables among a tree's nodes
-Half extents of the AI fixed
2022-11-25 16:12:58 +08:00
Glence 413156dabb Merge branch 'main' into PlayerController 2022-11-25 15:45:35 +08:00
XiaoQiDigipen b778b6d6e9
Merge pull request #280 from SHADE-DP/SP3-2-Physics
Fixed transform updates to clear dirty flags appropriately
2022-11-25 15:10:32 +08:00
Glence 6ac9bc4e94 added breakables to the main game and fix issues with it 2022-11-25 14:45:19 +08:00
Diren D Bharwani 1cfd3cfd3a Merge remote-tracking branch 'origin/main' into SP3-2-Physics 2022-11-25 14:06:28 +08:00
Diren D Bharwani afd2abf036 Fixed pre & post physics transforms update routines 2022-11-25 14:06:20 +08:00
Diren D Bharwani 43a5cb4deb Reverted world extents computation 2022-11-25 14:05:43 +08:00
Glence 9daaade56a Merge branch 'main' into PlayerController 2022-11-25 13:22:51 +08:00
XiaoQiDigipen d9c8296aca
Merge pull request #279 from SHADE-DP/SP3-6-c-scripting
Added support for enabling and disabling components from scripts
2022-11-25 13:06:40 +08:00
Kah Wei 73d0486fc8 Added support for enabling and disabling components 2022-11-25 13:05:35 +08:00
Xiao Qi 300647afa6 Stopped camera from running when editor is in pause 2022-11-25 12:24:13 +08:00
Diren D Bharwani 7f9f2bd194 Merge remote-tracking branch 'origin/main' into SP3-2-Physics 2022-11-25 12:16:13 +08:00
Xiao Qi d72a532623 Added object checks in leaf scripts 2022-11-25 12:09:03 +08:00
mushgunAX c5d490b8b2 Added null checks for AI blackboard data
- Null checks added to prevent AI causing the engine to crash
2022-11-25 11:44:58 +08:00
XiaoQiDigipen 46ae50949e
Merge pull request #278 from SHADE-DP/SP3-141-Camera-System
Added Camera Collision WIP
2022-11-25 11:08:11 +08:00
maverickdgg f3e7f1747a Merge branch 'main' into SP3-141-Camera-System 2022-11-25 10:06:11 +08:00
maverickdgg 428f8f29c6 Camera collision. WIP 2022-11-25 10:06:02 +08:00
mushgunAX 4daaa8e897 Added SFX to AI
- Footsteps, alert yell and unalert humming
2022-11-25 00:56:40 +08:00
Glence c07fa3c5ae remove the clamp from the phsysicSystem routines
added cheats for maingame
added raycast for pick throw
2022-11-25 00:54:45 +08:00
XiaoQiDigipen 5274aa5184
Merge pull request #277 from SHADE-DP/SP3-6-c-scripting
Fixed bugs related to C# script serialization and deserialization
2022-11-25 00:08:58 +08:00
Kah Wei 50232cd15f Fixed bug where scripts loaded after a scene change would not have serialised data 2022-11-25 00:07:19 +08:00
Kah Wei 9ada998151 Fixed bug where lists failed to be deserialized correctly 2022-11-24 23:27:13 +08:00
Kah Wei 72c8a504c5 Fixed crash from adding an element to a list of strings in the script inspector 2022-11-24 23:22:02 +08:00
Kah Wei 7c58c9a23d Fixed crash caused when building scripts in debug mode when a debugger is attached 2022-11-24 23:20:37 +08:00
Glence f71675ad0e Merge branch 'main' into PlayerController 2022-11-24 22:41:00 +08:00
mushgunAX d6fab4439f Made player jumping more responsive
- Changed the input check in the jump function from a GetKeyDown() / GetKeyUp() to a GetKey() / !GetKey()
- This makes jumping a lot more responsive
- This also means holding the jump button causes the raccoon to "bunny hop" until jump button is released
2022-11-24 21:56:06 +08:00
XiaoQiDigipen 49b66e5c26
Merge pull request #275 from SHADE-DP/ScriptingAI
Fixed AI for the Gameplay Scene
2022-11-24 21:44:38 +08:00
mushgunAX c0f3720fd2 AI expected to work with the scene. To Verify. 2022-11-24 21:26:05 +08:00
XiaoQiDigipen a182f9a8fb
Merge pull request #274 from SHADE-DP/SP3-2-Physics
Fixed collision listener bug & incorrect transform forward. Added collision tags to raycasts.
2022-11-24 15:15:33 +08:00
Diren D Bharwani 6525a39df2 Added collision tags for raycasting. Does not apply to collider raycasting 2022-11-24 15:11:07 +08:00
Diren D Bharwani 3775df23a4 Debug draw is disabled on publish builds. 2022-11-24 14:43:41 +08:00
Diren D Bharwani 438a597a25 Fixed managed Transform returning the wrong forward 2022-11-24 14:43:11 +08:00
Diren D Bharwani a9bacc9e48 Fixed incorrect storing of world extents 2022-11-24 14:42:34 +08:00
Diren D Bharwani f6c74ad3d2 Fixed recurring bug with collision listener 2022-11-24 14:41:52 +08:00
Glence 9473359076 added the base for raycast in pickandthrow 2022-11-24 14:05:02 +08:00
XiaoQiDigipen 982760fb20
Merge pull request #273 from SHADE-DP/SP3-2-Physics
Added extensive Vector3 Rotation methods in Managed code & Debug draw is always available (temporarily).
2022-11-24 12:25:48 +08:00
Diren D Bharwani 74a85180ac Merge remote-tracking branch 'origin/main' into SP3-2-Physics 2022-11-24 12:02:34 +08:00
Diren D Bharwani 9e7d7afe33 Added proper Vector3 Rotate functions to Managed code. 2022-11-24 12:02:26 +08:00
Diren D Bharwani 7d7d40ba8e Debug draw is always enabled. 2022-11-24 12:02:08 +08:00