OctopusKit Tips & Troubleshooting

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

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.


OctopusKit © 2019 Invading OctopusApache License 2.0