【问题标题】:custom screen in Origami StudioOrigami Studio 中的自定义屏幕
【发布时间】:2016-10-31 11:16:02
【问题描述】:

我尝试在 Origami Studio 中创建银河自定义屏幕 (360x640),但没有成功。我得到了这个消息:无法打开文件“galaxyx.origamidevice”。

我遵循了这些说明:http://origami.design/documentation/workflow/CustomDevices.html

这是我的 json 文件的内容:

{
  "key" : “galaxy x”,
  "displayName" : "galaxy x,
  "platform" : “Android”,
  "screenScale" : 2,
  "screenSize" : [
    720,
    1280
  ],
  "handsImageScale" : 0.5649999999999999,
  "handsImageOffset" : [
    2,
    45
  ],
  "handsImages" : [
    "iPhoneHands.png",
    "iPhoneHands2.png",
    "iPhoneHands3.png"
  ],
  "deviceInsets" : [
    130,
    28,
    130,
    28
  ],
  "deviceImages" : {
    "White" : "iPhone4-White.png",
    "Black" : "iPhone4-Black.png"
  },
  "shadowOffset" : [
    20,
    -5
  ],
}

有没有人成功过,能举出一个好的json文件的例子吗?

非常感谢!

【问题讨论】:

    标签: json origami


    【解决方案1】:

    已经3个月了,但你好像忘记了"displayName" : "galaxy x末尾的右引号

    【讨论】:

      猜你喜欢
      • 2018-10-21
      • 2017-05-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-06-09
      • 2018-10-06
      • 2015-06-23
      相关资源
      最近更新 更多