Files
cat/2502 CAT 2급 A형.json

669 lines
20 KiB
JSON
Raw Normal View History

2025-04-11 14:51:29 +09:00
{
"1-1": {
"type": "scene",
"ele": "$..objects[?(@.name=='들길')]",
"points": 1.7,
"desc": "배경 이름 변경"
},
"1-2": {
"type": "scene",
"ele": "$..objects[?(@.name=='하늘')]",
"points": 1.7,
"desc": "배경 이름 변경"
},
"1-3": {
"type": "scene",
"ele": "$..objects[?(@.name=='나무')]",
"points": 1.7,
"desc": "물체 이름 변경"
},
"1-4": {
"type": "scene",
"ele": "$..objects[?(@.name=='돌')]",
"points": 1.7,
"desc": "물체 이름 변경"
},
"1-5": {
"type": "scene",
"ele": "$..objects[?(@.name=='행인')]",
"points": 1.7,
"desc": "물체 이름 변경"
},
"1-6": {
"type": "scene",
"ele": "$..objects[?(@.name=='마라토너')]",
"points": 1.7,
"desc": "물체 이름 변경"
},
"2": {
"type": "script",
"ele": "$.objects[?(@.name=~'나무|나무(10)')].script",
"blocks": [
{
"ele": "$[0][0].type",
"answer": "when_run_button_click",
"points": 1.6,
"desc": "시작하기 버튼을 눌렀을 때"
},
{
"ele": "$[0][1].type",
"points": 1.6,
"answer": "hide",
"desc": "숨기기"
},
{
"type": "list",
"ele": [
"$[0][2].type",
"$[0][2].params[0]"
],
"answer": [
"repeat_inf",
null
],
"points": 1.6,
"desc": "무한 반복"
},
{
"type": "list",
"ele": [
"$[0][2].statements[0][0].type",
"$[0][2].statements[0][0].params[0]"
],
"answer": [
"create_clone",
"self"
],
"points": 1.6,
"desc": "clone self"
},
{
"type": "list",
"ele": [
"$[0][2].statements[0][1].type",
"$[0][2].statements[0][1].params[0].type",
"$[0][2].statements[0][1].params[0].params[1].params[0]",
"$[0][2].statements[0][1].params[0].params[3].params[0]"
],
"answer": [
"wait_second",
"calc_rand",
"1",
"3"
],
"points": 1.6,
"desc": "wait random 1 betwwen 3 sec"
},
{
"ele": "$[1][0].type",
"points": 1.6,
"answer": "when_clone_start",
"desc": "cloen start"
},
{
"type": "list",
"ele": [
"$[1][1].type",
"$[1][1].params[0].params[0]",
"$[1][1].params[1].params[0]"
],
"answer": [
"locate_xy",
"240",
"-20"
],
"points": 1.6,
"desc": "변수가 1보다 클때까지 반복"
},
{
"ele": "$[1][2].type",
"points": 1.6,
"answer": "show",
"desc": "show"
},
{
"type": "list",
"ele": [
"$[1][3].type",
"$[1][3].params[0].params[0].params[3]",
"$[1][3].params[0].params[1]",
"$[1][3].params[0].params[2].params[0]"
],
"answer": [
"repeat_while_true",
"x",
"LESS",
"-240"
],
"points": 1.6,
"desc": "while object x pos less then -240"
},
{
"type": "list",
"ele": [
"$[1][3].statements[0][0].type",
"$[1][3].statements[0][0].params[0].params[0]"
],
"answer": [
"move_x",
"-3"
],
"points": 1.6,
"desc": "move x pos -3"
},
{
"ele": "$[1][4].type",
"points": 1.6,
"answer": "delete_clone",
"desc": "delete clone"
}
]
},
"3": {
"type": "script",
"ele": "$.objects[?(@.name=~'돌|바위(1)')].script",
"blocks": [
{
"ele": "$[0][0].type",
"answer": "when_run_button_click",
"points": 1.6,
"desc": "시작하기 버튼을 눌렀을 때"
},
{
"ele": "$[0][1].params[0].params[0]",
"answer": "30",
"points": 1.6,
"desc": "크기 지정"
},
{
"ele": "$[0][2].type",
"points": 1.6,
"answer": "hide",
"desc": "숨기기"
},
{
"type": "list",
"ele": [
"$[0][3].type",
"$[0][3].params[0]"
],
"answer": [
"repeat_inf",
null
],
"points": 1.6,
"desc": "무한 반복"
},
{
"type": "list",
"ele": [
"$[0][3].statements[0][0].type",
"$[0][3].statements[0][0].params[0]"
],
"answer": [
"create_clone",
"self"
],
"points": 1.6,
"desc": "clone self"
},
{
"type": "list",
"ele": [
"$[0][3].statements[0][1].type",
"$[0][3].statements[0][1].params[0].type",
"$[0][3].statements[0][1].params[0].params[1].params[0]",
"$[0][3].statements[0][1].params[0].params[3].params[0]"
],
"answer": [
"wait_second",
"calc_rand",
"1.5",
"3"
],
"points": 1.6,
"desc": "wait random 1.5 betwwen 3 sec"
},
{
"ele": "$[1][0].type",
"points": 1.6,
"answer": "when_clone_start",
"desc": "cloen start"
},
{
"type": "list",
"ele": [
"$[1][1].type",
"$[1][1].params[0].params[0]",
"$[1][1].params[1].params[0]"
],
"answer": [
"locate_xy",
"240",
"-105"
],
"points": 1.6,
"desc": "move location x:240, y:-105"
},
{
"ele": "$[1][2].type",
"points": 1.6,
"answer": "show",
"desc": "show"
},
{
"type": "list",
"ele": [
"$[1][3].type",
"$[1][3].params[0].params[0].params[3]",
"$[1][3].params[0].params[1]",
"$[1][3].params[0].params[2].params[0]"
],
"answer": [
"repeat_while_true",
"x",
"LESS",
"-240"
],
"points": 1.6,
"desc": "while object x pos less then -240"
},
{
"type": "list",
"ele": [
"$[1][3].statements[0][0].type",
"$[1][3].statements[0][0].params[0].params[0]"
],
"answer": [
"move_x",
"-3"
],
"points": 1.6,
"desc": "move x pos -3"
},
{
"ele": "$[1][4].type",
"points": 1.6,
"answer": "delete_clone",
"desc": "delete clone"
}
]
},
"4": {
"type": "script",
"ele": "$.objects[?(@.name=~'행인|가을 자전거를 타는 모습')].script",
"blocks": [
{
"ele": "$[0][0].type",
"answer": "when_run_button_click",
"points": 1.6,
"desc": "시작하기 버튼을 눌렀을 때"
},
{
"type": "list",
"ele": [
"$[0][1].type",
"$[0][1].params[0].params[0]",
"$[0][1].params[1].params[0]"
],
"answer": [
"locate_xy",
"240",
"-30"
],
"points": 1.6,
"desc": "move location x:240, y:-30"
},
{
"type": "list",
"ele": [
"$[0][2].type",
"$[0][2].params[0]"
],
"answer": [
"repeat_inf",
null
],
"points": 1.6,
"desc": "무한 반복"
},
{
"type": "list",
"ele": [
"$[0][2].statements[0][0].type",
"$[0][2].statements[0][0].params[0].params[0]"
],
"answer": [
"move_direction",
"-1"
],
"points": 1.6,
"desc": "무한 반복"
}
]
},
"28": {
"type": "scene",
"ele": "$.messages[?(@.name=='넘어짐')]",
"points": 1.6,
"desc": "시그널 작성 여부"
},
"5": {
"type": "script",
"ele": "$.objects[?(@.name=~'마라토너|축구선수')].script",
"blocks": [
{
"ele": "$[0][0].type",
"answer": "when_run_button_click",
"points": 1.6,
"desc": "시작하기 버튼을 눌렀을 때"
},
{
"ele": "$[0][1].type",
"points": 1.6,
"answer": "flip_y",
"desc": "y axis flip"
},
{
"type": "list",
"ele": [
"$[0][2].type",
"$[0][2].params[0].params[0]",
"$[0][2].params[1].params[0]"
],
"answer": [
"locate_xy",
"-150",
"-70"
],
"points": 1.6,
"desc": "move location x:240, y:-30"
},
{
"type": "list",
"ele": [
"$[0][3].type",
"$[0][3].params[0]"
],
"answer": [
"repeat_inf",
null
],
"points": 1.6,
"desc": "무한 반복"
},
{
"ele": "$[0][3].statements[0][0].params[0]",
"points": 1.6,
"answer": "next",
"desc": "change to next shape check value"
},
{
"type": "list",
"ele": [
"$[0][3].statements[0][1].type",
"$[0][3].statements[0][1].params[0].params[0]"
],
"points": 1.6,
"answer": [
"wait_second",
"0.1"
],
"desc": "wait 0.1 second"
},
{
"type": "list",
"ele": [
"$[0][3].statements[0][2].type",
"$[0][3].statements[0][2].params[0].type",
"$[0][3].statements[0][2].params[0].params[0]"
],
"points": 1.6,
"answer": [
"_if",
"is_press_some_key",
"32"
],
"desc": "if press space key"
},
{
"type": "list",
"ele": [
"$[0][3].statements[0][2].statements[0][0].type",
"$[0][3].statements[0][2].statements[0][0].params[0].params[0]"
],
"points": 1.6,
"answer": [
"repeat_basic",
"20"
],
"desc": "while 20"
},
{
"type": "list",
"ele": [
"$[0][3].statements[0][2].statements[0][0].statements[0][0].type",
"$[0][3].statements[0][2].statements[0][0].statements[0][0].params[0].params[0]"
],
"points": 1.6,
"answer": [
"move_y",
"5"
],
"desc": "y pos move 5"
},
{
"type": "list",
"ele": [
"$[0][3].statements[0][2].statements[0][1].type",
"$[0][3].statements[0][2].statements[0][1].params[0].params[0]"
],
"points": 1.6,
"answer": [
"repeat_basic",
"20"
],
"desc": "while 20"
},
{
"type": "list",
"ele": [
"$[0][3].statements[0][2].statements[0][1].statements[0][0].type",
"$[0][3].statements[0][2].statements[0][1].statements[0][0].params[0].params[0]"
],
"points": 1.6,
"answer": [
"move_y",
"-5"
],
"desc": "y pos move -5"
},
{
"type": "list",
"ele": [
"$[0][3].statements[0][3].type",
"$[0][3].statements[0][3].params[0].type"
],
"points": 1.6,
"answer": [
"_if",
"reach_something"
],
"desc": "if reach object"
},
{
"ele": "$[0][3].statements[0][3].statements[0][0].type",
"points": 1.6,
"answer": "message_cast",
"desc": "신호 보내기"
},
{
"ele": "$[1][0].type",
"answer": "when_message_cast",
"points": 1.6,
"desc": "신호를 받았을 때"
},
{
"type": "list",
"ele": [
"$[1][1].type",
"$[1][1].params[0].type",
"$[1][1].params[0].params[0]"
],
"points": 1.6,
"answer": [
"rotate_relative",
"angle",
"40"
],
"desc": "rotate angle 40"
},
{
"type": "list",
"ele": [
"$[1][2].type",
"$[1][2].params[0].params[0]",
"$[1][2].params[1].params[0]",
"$[1][2].params[2].params[0]"
],
"points": 1.6,
"answer": [
"locate_xy_time",
"0.2",
"-140",
"-100"
],
"desc": "locate x: -140, y:-100 during 0.2 sec "
},
{
"type": "list",
"ele": [
"$[1][3].type",
"$[1][3].params[0].params[0]",
"$[1][3].params[1]"
],
"answer": [
"dialog",
"아야!",
"speak"
],
"points": 1.6,
"desc": "아야! speak"
},
{
"type": "list",
"ele": [
"$[1][4].type",
"$[1][4].params[0]"
],
"answer": [
"stop_object",
"otherThread"
],
"points": 1.6,
"desc": "object other code stop"
},
{
"type": "list",
"ele": [
"$[1][5].type",
"$[1][5].params[0].params[0]"
],
"points": 1.6,
"answer": [
"wait_second",
"1"
],
"desc": "wait 1 second"
},
{
"ele": "$[1][6].type",
"answer": "start_neighbor_scene",
"points": 1.6,
"desc": "next scene start"
}
]
},
"6": {
"type": "script",
"ele": "$.objects[?(@.name=~'하늘|날씨')].script",
"blocks": [
{
"ele": "$[0][0].type",
"answer": "when_scene_start",
"points": 1.6,
"desc": "scene start"
},
{
"type": "list",
"ele": [
"$[0][1].type",
"$[0][1].params[0].params[0]",
"$[0][1].params[1]"
],
"answer": [
"dialog",
"아쉽지만 잘했어!",
"speak"
],
"points": 1.6,
"desc": "말하기"
},
{
"ele": "$[1][0].type",
"answer": "when_object_click",
"points": 1.6,
"desc": "오브젝트 클릭 시"
},
{
"type": "list",
"ele": [
"$[1][1].type",
"$[1][1].params[0]",
"$[1][1].params[1].params[0]"
],
"answer": [
"add_effect_amount",
"brightness",
"55"
],
"points": 1.6,
"desc": "add brightness 55 effect"
},
{
"type": "list",
"ele": [
"$[1][2].type",
"$[1][2].params[0].params[0]",
"$[1][2].params[1]"
],
"answer": [
"dialog",
"처음부터 다시 실행합니다.",
"speak"
],
"points": 1.6,
"desc": "말하기"
},
{
"type": "list",
"ele": [
"$[1][3].type",
"$[1][3].params[0].params[0]"
],
"points": 1.6,
"answer": [
"wait_second",
"2"
],
"desc": "wait 2 second"
},
{
"ele": "$[1][4].type",
"answer": "restart_project",
"points": 1.6,
"desc": "restart"
}
]
}
}