Update:
Add expression: ColName, RowName to get col name by number.
—
You might use these new expressions to get a col name, or using "condition:For each col" to get each row name in order.
Yes, to open my sample capx, you need
Touch Wrap plugin
Drag & Drop2 behavior
Boundary behavior
and
scrolling behavior
You might build your own scroll-bar without my plugins.
crhatfield
Just like Soybean said. Using "for each item" after "on create" might be strange -- hash table is empty when creating.
Soybean
Uh, I could not implement XPath. I mean, travel all leaf nodes in a root.
For example:
{ "equip":[ { "type": "weapon", "id": "SWORD-0000", "amount": 1 }, { "type": "material", "id": "ORE-0000", "amount": 10 }, { "type": "potion", "id": "HEAL-0000", "amount": 20 } ] }
Will get all string and number value if root is ""
key="equip.0.type", value="weapon"
key="equip.0.id", value="SWORD-0000"
key="equip.0.amount", value=1
key="equip.1.type", value="material"
key="equip.1.id", value="ORE-0000"
key="equip.1.amount", value=10
...
Uh, thanks. It might be useful if designer want to edit tile map in C2 editor.
Would it be useful if hash table have a tree traversal for "for each item"?
WilB
marcgram
Thanks, this app allows all user to share plugins/behaviors. Hope some guys or plugin makers would have time to update them.
Yes, this feature comes from your previous requirement.
The imported map only can be shown in execution time.
See this thread to find another sample.
And please ignored the message -- you could get the latest version in 1st post.
Yes, you don't need branch plugin anymore.
Add "action:pick keys", to pick keys into an array object. See sample capx.
This action will set array size to (0,1,1), then push keys into array. Using "array condition: for each element X" to pick them.
Here it is.
Develop games in your browser. Powerful, performant & highly capable.
Good idea, I will implement it in this weekend.
Member since 4 Apr, 2011