2013年8月26日 星期一

monsters' and other players' positions display

In MapInfoFightObject.setWorldPosition(x, y) : unit is pixel

setWorldPosition: the data listeners are in "MapInfoMonsterView.as" and "WorldUserView.as" to set the View object position


MapInfoFightObject.scheduleMove: retrieve next move in m_movePtList (FightObj's move list) and move to that position<br> FightObj includes monsters and other players

scheduleUserMove:由mainTimer執行更新所有FightObj的移動

WorldUserSelf.scheduleMove定義玩家本身人物移動(在mainTimer.scheduleUserMove裡update)

沒有留言:

張貼留言