I create a mini game who appears X text numbers in the screen with a global variable, for example i put 10.
Then i need to touch in correct order, 1 to 10 or 10 to 1, but i try some kinds of behaviorus but it doesnt works.
For example, i put a global variable called up or down, and try to the conditional int he game but nothing,
Some ideas???
{"is-c3-clipboard-data":true,"type":"events","items":[{"eventType":"variable","name":"cantidadnumeros","type":"number","initialValue":"10","comment":"","isStatic":false,"isConstant":false},{"eventType":"variable","name":"descendente","type":"number","initialValue":"10","comment":"","isStatic":false,"isConstant":false},{"eventType":"block","conditions":[{"id":"on-start-of-layout","objectClass":"System"},{"id":"repeat","objectClass":"System","parameters":{"count":"cantidadnumeros"}}],"actions":[{"id":"create-object","objectClass":"System","parameters":{"object-to-create":"NUMEROS","layer":"0","x":"random(LayoutWidth)","y":"random(LayoutHeight)"}}]},{"eventType":"block","conditions":[{"id":"on-created","objectClass":"NUMEROS"}],"actions":[{"id":"set-text","objectClass":"NUMEROS","parameters":{"text":"cantidadnumeros"}},{"id":"subtract-from-eventvar","objectClass":"System","parameters":{"variable":"cantidadnumeros","value":"1"}}]},{"eventType":"comment","text":"EVENTO CUANDO SE TOCA EL NÚMERO CORRECTO"},{"eventType":"block","conditions":[{"id":"on-tap-object","objectClass":"ControlTáctil","parameters":{"object":"NUMEROS"}}],"actions":[{"id":"destroy","objectClass":"NUMEROS"},{"id":"play","objectClass":"Sonidos","parameters":{"audio-file":"Acierto","loop":"not-looping","volume":"0","tag-optional":"\"\""}}]}]}Code.Value