OctopusKit Tips & Troubleshooting

  1. Common Mistakes
  2. Best Practices
  3. Tips & Tricks
  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?

Best Practices

Tips & Tricks

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 © 2020 Invading OctopusApache License 2.0