java - Game Dev - Reply and Follow Player Move -
i have 2 actors.
- parent
- child
what want child follow parent same move.
see more mean in video https://www.youtube.com/watch?v=6somlclpopm
look @ parent(blue bird) run , kids(yellow bird). kids following parent same position.
what i'm thinking right make big circular linked list of coordinate.
if player has example max 10 child , run in 60 fps, need create single circular linked list size 60*10 = 600.
parent , child access own counter.
so, every parent move save coordinate in circular linked list use kid.
what best approach , fastest solution this?
Comments
Post a Comment