Commit Graph

716 Commits

Author SHA1 Message Date
XiaoQiDigipen 845c833915
Merge pull request #108 from SHADE-DP/SP3-141-Camera-System
Sp3 141 camera system
Added camera directors.
Use Transform Component's position and rotation for camera if entity has transform component.
Added a function to update editor camera
2022-10-23 12:52:36 +08:00
maverickdgg 96a7896da9 changed includes to SHHandle and SHResourceLibrary 2022-10-23 12:50:56 +08:00
maverickdgg 679533819f Merge branch 'main' into SP3-141-Camera-System 2022-10-23 12:43:39 +08:00
maverickdgg c15994532b Added a function for editor camera update 2022-10-23 12:42:25 +08:00
maverickdgg 6039ec534d Added clamping of camera, and copying of position and rotation from transform 2022-10-23 12:32:08 +08:00
XiaoQiDigipen a484cb8e22
Merge pull request #106 from SHADE-DP/SP3-10-input-management
Bindings and Controllers
Logical bindings are stored in a map of strings (keys) and logical binding data (values). Logical binding data includes:

Positive Key Codes
Negative Key Codes
Positive Controller Codes
Negative Controller Codes
Mouse X Positive Multiplier
Mouse Y Positive Multiplier
Bindings can only handle for one player for now. Up to four users can be implemented with relative ease, but that depends on whether we want to make the game multiplayer for some reason.

Controller inputs are also handled, with 20 different inputs for the controller.
2022-10-23 01:06:04 +08:00
mushgunAX 77aa5b8c7d Bindings and Controllers 2022-10-22 23:27:43 +08:00
XiaoQiDigipen eba318c54d
Merge pull request #105 from SHADE-DP/SP3-4-editor_fix
Add Editor Features - Transform Gizmo
Added transform gizmo (UPDATE IMGUIZMO DEPENDENCY)
Small tweaks and fixes to editor
2022-10-21 20:58:47 +08:00
Sri Sham Haran d6123c8ed7 Merge branch 'main' into SP3-4-editor_fix 2022-10-21 20:45:16 +08:00
Sri Sham Haran 99a69b0020 tweaks + add new ui font 2022-10-21 20:45:03 +08:00
Sri Sham Haran b3ed320f9b Transform Gizmo done. (Commands for it are wonky) 2022-10-21 18:39:50 +08:00
XiaoQiDigipen 52311d0ba6
Merge pull request #104 from SHADE-DP/SP3-13-ResourceManager
Added SHResourceManager and Generic Handle
2022-10-21 17:11:51 +08:00
Kah Wei e5628fbed8 Added functionality to retrieve AssetID from SHResourceManager using a Handle 2022-10-21 17:09:50 +08:00
Kah Wei 43c2680a82 Added generic Handles and fixed bugs with SHResourceManager 2022-10-21 15:38:39 +08:00
Kah Wei 7e15edb052 Completed initial implementation of SHResourceManager 2022-10-21 13:58:27 +08:00
maverickdgg 7e04bee8d6 Defaults main camera if the mainCamera is still unset 2022-10-21 10:17:32 +08:00
maverickdgg 267ad5f8c6 Set up the CameraDirector creation and setting of main camera 2022-10-21 09:53:19 +08:00
maverickdgg 31ad8b8c87 Added Resource Lib and handle for CameraDirector into camera system 2022-10-21 09:29:13 +08:00
Sri Sham Haran bf0e7ab256 Merge branch 'main' into SP3-4-editor_fix 2022-10-21 08:57:25 +08:00
maverickdgg 29b6e7050d camera director WIP 2022-10-21 08:11:12 +08:00
Sri Sham Haran e01a608d8c Transform gizmo finally rendering correctly 2022-10-20 19:16:03 +08:00
XiaoQiDigipen 2cf9c87509
Merge pull request #103 from SHADE-DP/Rename-ResourceManager
The Great SHRenaming
Renamed Handle, ResourceManager and ResourceLibrary to SHHandle, SHResourceHub and SHResourceLibrary
2022-10-20 19:02:49 +08:00
Kah Wei 0fadbc8a9d Renamed Handle, ResourceManager and ResourceLibrary to SHHandle, SHResourceHub and SHResourceLibrary 2022-10-20 19:00:36 +08:00
XiaoQiDigipen f5060ba0b0
Merge pull request #102 from SHADE-DP/SP3-6-c-scripting
Added Script Serialization and Deserialization
2022-10-20 11:19:10 +08:00
XiaoQiDigipen 2db6644536
Merge pull request #101 from SHADE-DP/SP3-141-Camera-System
Sp3 141 camera system
Done with editor camera
2022-10-20 11:18:57 +08:00
Kah Wei 323a95e5d5 Merge branch 'main' into SP3-6-c-scripting 2022-10-20 11:08:41 +08:00
Kah Wei 166a036142 Completed script serialization in YAML 2022-10-20 11:08:20 +08:00
Kah Wei 4bc91283c8 Fixed primitive fields not being serialised 2022-10-20 10:10:43 +08:00
Kah Wei cfed342f9c Modified script serialization to use a sequence of scripts instead of a map 2022-10-20 09:54:51 +08:00
maverickdgg d32eb790ba Some clean up 2022-10-20 09:34:33 +08:00
maverickdgg 736d7b652b Added camera turning 2022-10-20 03:21:42 +08:00
maverickdgg c23da81f68 Merge branch 'main' into SP3-141-Camera-System 2022-10-19 23:57:16 +08:00
Kah Wei 4f177bc455 Reworked script serialization and deserialization functions (WIP) 2022-10-19 20:43:22 +08:00
Sri Sham Haran 6051b7ded5 Tfm gizmo wip 2022-10-19 20:42:38 +08:00
Sri Sham Haran 125ce7b564 Merge branch 'main' into SP3-4-editor_fix 2022-10-19 17:43:22 +08:00
Sri Sham Haran a7e8320008 Copy/Paste Entities 2022-10-19 17:23:25 +08:00
XiaoQiDigipen a21fc2ba11
Merge pull request #100 from SHADE-DP/SP3-1-Rendering
Resize fix
2022-10-19 17:08:42 +08:00
Brandon Mak 603470eeb6 Fixed some camera resizing issues 2022-10-19 17:06:37 +08:00
Brandon Mak b499d5fc55 Merge remote-tracking branch 'origin/main' into SP3-1-Rendering 2022-10-19 16:59:50 +08:00
XiaoQiDigipen 49b32d1992
Merge pull request #99 from SHADE-DP/CameraIntegration
Camera Integration, viewport resize and resize fix
2022-10-19 16:59:11 +08:00
Brandon Mak 212e1e7c1f Merge remote-tracking branch 'origin/main' into CameraIntegration 2022-10-19 16:54:24 +08:00
Brandon Mak d9136de134 Integrated Daniel's camera
Still need to integrate camera directors
2022-10-19 16:53:45 +08:00
XiaoQiDigipen 2dcf367bc5
Merge pull request #98 from SHADE-DP/SP3-6-c-scripting
Added Time class for C#
2022-10-19 16:08:38 +08:00
Kah Wei a3c4c347bb Added Time class for C# 2022-10-19 16:06:26 +08:00
Brandon Mak 284ee12205 Broken Camera 2022-10-19 15:32:07 +08:00
Brandon Mak 95310b99bd Merge branch 'RenderingEditorVPIntegration' into SP3-1-Rendering 2022-10-19 12:27:05 +08:00
maverickdgg efe8ba4f11 Added some editor camera controls 2022-10-19 10:32:52 +08:00
XiaoQiDigipen db78e2c973
Merge pull request #97 from SHADE-DP/SP3-6-RangeAttribute
Added Range attribute for constraining numerical script fields
2022-10-19 10:26:38 +08:00
Kah Wei 896d399a54 Merge branch 'main' into SP3-6-RangeAttribute 2022-10-19 10:13:15 +08:00
Kah Wei 7df24e7a66 Fixed RangeAttribute not working correctly 2022-10-19 10:12:56 +08:00