대화
물개님의 글에서 이어진 답글 0개
as3.0 미로게임 재미로 만들고 있습니다만.. 계속 에러가 뜨네요 시작버튼액션(1프레임) function start(e) { nextFrame(); } start.addEventListener(MouseEvent.CLICK,start); var speed:Number = 5; function up(f) { man.y -= speed; man.rotation = 0; if (wall.hitTestPoint(man.x,man.y,true)) { man.y += speed; } } 2프레임 액션 up.addEventListener(MouseEvent.MOUSE_OVER,up); function down(g) { man.y += speed; man.rotation = 180; if (wall.hitTestPoint(man.x,man.y,true)) { man.y -= speed; } } down.addEventListener(MouseEvent.MOUSE_OVER,down); function left(h) { man.x -= speed; man.rotation = -90; if (wall.hitTestPoint(man.x,man.y,true)) { man.x += speed; } } left.addEventListener(MouseEvent.MOUSE_OVER,left); function right(i) { man.x += speed; man.rotation = 90; if (wall.hitTestPoint(man.x,man.y,true)) { man.x -= speed; } } right.addEventListener(MouseEvent.MOUSE_OVER,right); 마우스를 화살표 버튼에 대면 캐릭터가 움직이고, 벽에 닿으면 튕기는 액션입니다. 그런데 이런 에러 메시지가 뜨네요.. 이런게 잔뜩 나옵니다 영어라 해석도 어려운데 혹시 누구 알고계신분 없나요..ㅠ
하면 이 대화에 답할 수 있어요.