if math.abs(targetX - mobX) > 6 then
if targetX > mobX then
-- newInputX = 3
newInputX = 2
else
-- newInputX = -3
newInputX = -2
end
if gapX > 3 then
makeCommand(_MobActionPartType.Move, newInputX, 0, nextAction)
makeCommand(_MobActionPartType.Jump, 0.7, 0)
elseif gapY > 1.8 then
makeCommand(_MobActionPartType.Move, newInputX, 0, nextAction)
makeCommand(_MobActionPartType.Jump, -0.7, 0)
elseif gapX < 1.5 and targetX < mobX then
makeCommand(_MobActionPartType.Move, 0, 0, nextAction)
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 공지 | 게시판 이용 안내+156 | 10-20 | 22375 | |
| 61789 | 12-25 | 85 | ||
| 61788 | 12-25 | 89 | ||
| 61787 | 12-24 | 364 | ||
| 61786 | 12-23 | 637 | ||
| 61785 | 12-22 | 699 | ||
| 61784 | 12-22 | 789 | ||
| 61783 | 12-22 | 707 | ||
| 61782 | 12-21 | 796 | ||
| 61781 | 12-21 | 931 | ||
| 61780 | 12-21 | 868 | ||
| 61779 | 12-19 | 1067 | ||
| 61778 | 12-18 | 1176 | ||
| 61777 | 12-18 | 1699 | ||
| 61776 | 12-16 | 1677 | ||
| 61775 | 12-14 | 1791 | ||
| 61774 | 12-14 | 2133 | ||
| 61773 | 12-14 | 2044 | ||
| 61772 | 12-13 | 1904 | ||
| 61771 | ㅁㄹH막힘?+1 | 12-13 | 2366 |
댓글1
0.7을 바꿔보센