Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing Cogito Editor Tab, instead using globals + custom resource CogitoSettings #332

Merged
merged 4 commits into from
Nov 24, 2024

Conversation

Phazorknight
Copy link
Owner

This PR will get rid of the Cogito Editor Tab and it's options.

Instead, Cogito will use a new global/autoload script called cogito_globals, which loads a new custom resource CogitoSettings.
As a lot of script referenced CogitoMain and now instead reference CogitoGlobals, this PR touches a lot of files.

I commented out the EditorInterface line that caused the issues on exported builds. I kept the function that creates a default project input map in, in case we find a way to implement it in a better way in the future.

Changed the way carryable position is calculated (as pointed out in issue #331 ).
This adds a simple marker3D as a position node, but technically this is not required.
Code cleanup:
- Replaced print functions with CogitoGlobals.debug_log

Wieldable Laser Rifle:
- Added muzzle flash particle effect (triggered via animation)

Cogito Scene Manager / CogitoSettings:
- Made sure fade duration gets loaded properly.
Copy link
Collaborator

@OvercastInteractive OvercastInteractive left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had no issues with the vanilla settings windows .exe build when testing various scenes, saving/loading, multiple input devices, inventory and cogito object interactions.

@Phazorknight Phazorknight merged commit 15efb3a into main Nov 24, 2024
1 check passed
@Phazorknight
Copy link
Owner Author

@OvercastInteractive Thank you!

@Phazorknight Phazorknight deleted the plugin_rework branch November 25, 2024 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants