대화
아이리스님의 글에서 이어진 답글 0개
저 좀 도와주세요 ㅠㅠ 제가 점프점프게임 만드느라 요즘 액션에 대해 알아보고 있거든요? 액션찾고 그렇게 따라했는데 한가지가 안된 거에요. 캐릭터가 이동할 때(점프아님) 캐릭터가 옆으로 납작해져요. 왜 그런거죠? 기본액션-_root.g=1.3; //20_root.hhhhh=550; //3000 캐릭터액션-onClipEvent (enterFrame) {if (Key.isDown(Key.RIGHT)) {this._x += 7;}if (Key.isDown(Key.LEFT)) {this._x -= 7;}if (Key.isDown(Key.SPACE) && _root.gra == 0 && _root.chk == 0) {_root.chk = 1;}if (_root.chk == 1) {this._y -= 6-_root.gra;_root.gra += 0.3;}if (_root.chk == 0) {_root.gra = 0;this._y += 10;}}onClipEvent (load) {_root.chk = 0;_root.gra = 0;} onClipEvent (enterFrame) {if (Key.isDown(Key.RIGHT)) {this._x += 5;this._xscale=100;}}onClipEvent (enterFrame) {if (Key.isDown(Key.LEFT)) {this._x -= 5;this._xscale=-100;}} 액션에 문제있는건가요 아니면 뭔가 잘못한건가요? 참고로 저 캐릭터 붓틀로 그렸습니다
하면 이 대화에 답할 수 있어요.