作者: Xie Fei , Li Bin , Xiao Long , Li Yan
DOI:
关键词:
摘要: The method for controlling a game character includes: obtaining user initial indication position p1 in response to screen-sliding operation of user; monitoring track the user, and current p2; calculating moving distance between p2 as |u|=|p2−p1|; comparing |u| with first preset threshold S1; generating, according vector u=p2−p1, an operating instruction character. By means control method, may without being restricted, perform more flexible fluent operations, thereby greatly improving experience game.