Kah Wei
|
47621d7436
|
Added extra line to log an error if a null assembly is detected
|
2023-03-10 22:37:27 +08:00 |
Kah Wei
|
d061b84e01
|
Added extra check to handle null assemblies when collecting script assemblies
|
2023-03-10 19:24:38 +08:00 |
Kah Wei
|
d8756cfcf7
|
Script list is now sorted in alphabetical order
|
2023-02-27 17:21:02 +08:00 |
Kah Wei
|
99c1eebe70
|
Fixed behaviour of script Awake() and Start() not getting called as intended (first frame that object is active)
|
2023-02-27 12:57:37 +08:00 |
Kah Wei
|
5bef209189
|
Modified ScriptAddAction to use serialization
|
2023-02-03 19:17:20 +08:00 |
Kah Wei
|
8f9a4e8c73
|
Fixed bug where onDestroy() is not called for scripts that are destroyed when leaving play mode in the editor
|
2023-01-31 18:09:07 +08:00 |
Kah Wei
|
53f599a238
|
Added RemoveScript(Script) for Scripts and GameObjects
|
2023-01-31 17:28:24 +08:00 |
XiaoQiDigipen
|
3ff2e6bb92
|
Revert "Implemented a custom physics engine"
|
2023-01-30 14:40:55 +08:00 |
Diren D Bharwani
|
b58b475c04
|
Separated collision detection and added contact manager
|
2022-12-20 23:10:23 +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
|
57df4e2905
|
Fixed awake() and start() getting called before all objects are loaded when changing scenes
|
2022-11-23 20:36:28 +08:00 |
Kah Wei
|
6afcaa9263
|
Enabled state of scripts are now serialised
|
2022-11-22 18:09:50 +08:00 |
Kah Wei
|
e3c573baa7
|
Added support for enabling and disabling scripts
OnEnable and OnDisable are not called on GameObject active toggling for now but will be added in future
|
2022-11-21 17:16:16 +08:00 |
Kah Wei
|
6efbea54e1
|
Fixed issue where scripts of Entities destroyed during scene unloading are not properly disposed
|
2022-11-17 15:43:35 +08:00 |
Diren D Bharwani
|
e93eea6381
|
Cleaned up tools folder. Added debug only logging macros with _D suffix
|
2022-11-15 03:03:37 +08:00 |
Kah Wei
|
9e90a78ee4
|
Added GetComponentsInChildren and GetScriptsInChildren for Scripts and GameObjects
|
2022-11-14 16:29:53 +08:00 |
Diren D Bharwani
|
c953931f4f
|
Merge branch 'main' into SP3-2-Physics
|
2022-11-13 17:57:30 +08:00 |
Kah Wei
|
4dc8527395
|
Reworked scripts to no longer need definition of constructors
|
2022-11-13 16:29:25 +08:00 |
Kah Wei
|
af361062e7
|
Modified how scripts are added and updated to support runtime adding of scripts
|
2022-11-13 16:07:14 +08:00 |
Diren D Bharwani
|
86ca047c88
|
Merge remote-tracking branch 'origin/main' into SP3-2-Physics
|
2022-11-13 14:49:44 +08:00 |
Kah Wei
|
23320863e3
|
Added support for undo-redo of adding/removing scripts
|
2022-11-13 14:49:32 +08:00 |
Kah Wei
|
4b6ede88e2
|
Merge branch 'main' into SP3-6-c-scripting
|
2022-11-13 12:44:50 +08:00 |
Kah Wei
|
fd7a47b4c0
|
Added changes to hide internal types and constructors that should not be available to SHADE_Scripting
|
2022-11-13 12:44:23 +08:00 |
Kah Wei
|
889d3dac4c
|
Split serialization code into SerialisationUtilities, refactored serialisation code and implemented list serialisation
|
2022-11-12 23:14:25 +08:00 |
Diren D Bharwani
|
45e549f9f1
|
.....small restructure....
|
2022-11-12 16:56:58 +08:00 |
Kah Wei
|
bbe8622d1e
|
De-plushied SHADE_Managed comments
|
2022-11-09 14:45:08 +08:00 |
Kah Wei
|
e89f5b4b9e
|
Added OnDrawGizmos for debug draw for scripts
|
2022-11-08 20:49:07 +08:00 |
Kah Wei
|
e4cb8ede5a
|
Added support for collision and trigger events in code properly
|
2022-11-01 00:11:09 +08:00 |
Kah Wei
|
f9810684ed
|
Added functions for execution of OnCollision*() and OnTrigger*()
|
2022-10-31 21:38:17 +08:00 |
Kah Wei
|
60c2c9facb
|
Added collision and trigger event functions for Script
|
2022-10-31 21:31:33 +08:00 |
Kah Wei
|
2ffba202f7
|
Added proper implementation of IsActiveInHierarchy()
|
2022-10-31 16:29:29 +08:00 |
Kah Wei
|
b04565c9dc
|
Added implementation for scripts and component functions for scripts
|
2022-10-31 15:07:10 +08:00 |
Kah Wei
|
5eaf2b55aa
|
Added WIP Application class and adjustments to how ScriptStore destroys scripts (SpdLog errors)
|
2022-10-31 12:20:46 +08:00 |
Kah Wei
|
d45d621701
|
Collider now will have it's sub collider list updated based on events
|
2022-10-27 12:32:06 +08:00 |
Kah Wei
|
166a036142
|
Completed script serialization in YAML
|
2022-10-20 11:08:20 +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 |
Kah Wei
|
4f177bc455
|
Reworked script serialization and deserialization functions (WIP)
|
2022-10-19 20:43:22 +08:00 |
Kah Wei
|
1bede86ff6
|
Awake(), Start() and Update(), OnDestroy() for scripts now all run as intended
|
2022-09-22 17:25:43 +08:00 |
Kah Wei
|
4958240806
|
Added implementation of GetComponentInChildren() for scripts
|
2022-09-22 11:37:24 +08:00 |
Xiao Qi
|
7315d3038f
|
Fixed outdated header includes in cxx files
Changed references to isActive to function calls
|
2022-09-16 14:14:51 +08:00 |
Kah Wei
|
0c28199acf
|
Converted SHScriptEngine to static and replaced json references with yaml
|
2022-09-13 20:30:32 +08:00 |
Kah Wei
|
d643fe66b0
|
Fixed errors in SHADE_Managed
|
2022-09-13 17:16:36 +08:00 |
Kah Wei
|
0ed5cecbf3
|
Fixed ECS references in various files in SHADE_Managed
|
2022-09-13 15:18:56 +08:00 |
Kah Wei
|
b674805547
|
Added ECS and Component classes for SHADE_Managed
|
2022-09-13 13:51:11 +08:00 |
Kah Wei
|
5a6ff60fe1
|
Added ScriptStore
|
2022-09-13 00:18:33 +08:00 |
Kah Wei
|
216a9ac7cb
|
Added Script class
|
2022-09-12 22:42:46 +08:00 |
Kah Wei
|
b0e9469e4e
|
Added Entity and WIP GameObject
|
2022-09-12 19:00:54 +08:00 |