Navigation

    obniz Developer's Community Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Yusuke Matsushita
    Y
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Yusuke Matsushita

    @Yusuke Matsushita

    0
    Reputation
    2
    Posts
    168
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Yusuke Matsushita Follow

    Best posts made by Yusuke Matsushita

    This user hasn't posted anything yet.

    Latest posts made by Yusuke Matsushita

    • RE: ioAnimationの仕様について

      @kido 早急な対応ありがとうございました!

      posted in Question and Troubles
      Y
      Yusuke Matsushita
    • ioAnimationの仕様について

      ioAnimationの仕様についての質問です。
      Websocket APIでioAnimationのサンプルコードのJSONについて、そのままでは動かず、"animation"を一つ削ると動きました。こちらドキュメントの間違いでしょうか。
      https://obniz.io/doc/sdk/doc/websocket#ioAnimation

      ・このサンプルでは動かず
      [
      {
      "io": {
      "animation": {
      "animation": {
      "name": "animation-1",
      "status": "loop",
      "states": [
      {
      "duration": 500,
      "state": {
      "io0": true
      }
      },
      {
      "duration": 500,
      "state": {
      "io0": false
      }
      }
      ]
      }
      }
      }
      }
      ]

      ・このように変えたら動きました。
      [
      {
      "io": {
      "animation": {
      "name": "animation-1",
      "status": "loop",
      "states": [
      {
      "duration": 500,
      "state": {
      "io0": true
      }
      },
      {
      "duration": 500,
      "state": {
      "io0": false
      }
      }
      ]
      }
      }
      }
      ]

      posted in Question and Troubles
      Y
      Yusuke Matsushita