Skip to content

Instantly share code, notes, and snippets.

@samanthamjohn
Created June 30, 2015 18:01
Show Gist options
  • Save samanthamjohn/f08a2499bd1bf58688b5 to your computer and use it in GitHub Desktop.
Save samanthamjohn/f08a2499bd1bf58688b5 to your computer and use it in GitHub Desktop.
Dream project structure for Hopscotch
{
"project_object_ids" : {
"object_ids" : [],
"block_ids" : {
"script_block_ids" : [1, 2, 3, 5],
"parameter_blocks" : []
},
"rule_ids" : [],
"script_ids" : {
"rule_script_ids" : [],
"ability_script_ids" : []
},
"parameter_ids" : [],
"variable_ids" : [],
"trait_ids" : [],
},
"project_structure" : {
"objects" : [
{
"object_id" : 1,
"object_type" : 3,
"rules" : [
{
"rule_id" : 3,
"rule_type" : 124,
"parameters" : [
{
"childBlock" : {
"block_type" : "when __ is tapped",
"parameters" : [
{
"childBlock" : {
"block_type" : "object_block",
"object_id" : 343
}
}
]
}
}
]
"script" : {
"script_id" : 3,
"blocks" : [
{
"block_id" : 3,
"block_type" : 4,
"parameters" : [
{
"parameter_id": 3,
"value" : "34",
"parameterBlock" : {
}
}
]
},
{
}
]
}
}
]
}
],
"abilities" : [
],
"variables" : [
]
},
"meta" : {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment