Skip to the content.

OctopusKit Tips & Troubleshooting

  1. Common Mistakes
  2. Tips & Tricks
  3. Best Practices
  4. Pitfalls & Gotchas
  5. Conditional Compilation Flags & Debugging Aids
  6. Bugs
  7. Other Resources

Common Mistakes

Components not having any effect?

Components having too much effect?

Input event components not working?

Gesture recognizer components not working?

Scene, subscene or node not receiving input events?

Tips & Tricks

Best Practices

Pitfalls & Gotchas

Conditional Compilation Flags & Debugging Aids

Set these in the Package.swift manifest for OctopusKit. Example:

targets: [
    .target(
        name: "OctopusKit",
        dependencies: [],
        swiftSettings[.define("LOGINPUTEVENTS")])

⚠️ Setting any of the logging flags may reduce engine performance.

Bugs

There seem to be some bugs in Apple’s own APIs and frameworks that we cannot do much about:

Other Resources


OctopusKit © 2021 Invading Octopus • Apache License 2.0