Commit Graph

726 Commits

Author SHA1 Message Date
Brandon Mak 982f2de286 Merge remote-tracking branch 'origin/main' into Rendering-Camera-Integration 2022-10-23 16:36:22 +08:00
Brandon Mak 64002c6f2b Camera Director integrated
Still has bug
2022-10-23 16:04:58 +08:00
XiaoQiDigipen 438bce43f2
Merge pull request #109 from SHADE-DP/SP3-141-Camera-System
Fixed editor camera
2022-10-23 15:07:10 +08:00
Brandon Mak d4fe63722a WIP (TODO: remember to change commit message) 2022-10-23 15:05:31 +08:00
maverickdgg aa1b45c3de Fixed editor camera 2022-10-23 15:03:24 +08:00
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
Brandon Mak cc6e2189fa WIP 2022-10-21 20:56:14 +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
Brandon Mak e8073bb67f WIP 2022-10-21 08:42:58 +08:00
maverickdgg 29b6e7050d camera director WIP 2022-10-21 08:11:12 +08:00
Brandon Mak c252e4ce4b Some restructuring with render graph storage.
Lesser parameters passed around.
2022-10-21 07:01:51 +08:00
Brandon Mak c177dabcd0 WIP (not working) 2022-10-20 19:36:43 +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
Brandon Mak 71502daac3 Merge remote-tracking branch 'origin/main' into SP3-1-Rendering 2022-10-19 17:23:31 +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