A non-transitory computer-readable storage medium, storing computer-executable instructions, the computer-executable instructions, when executed by a processor of an electronic device, causing the electronic device to implement an animation processing method including:
- determining a target movement parameter matching a target movement instruction for controlling movement of a virtual object based on a corresponding relationship between moving instructions and moving parameters;
- driving movement of a logic entity based on the target movement parameter, the logic entity being configured to perform logic operations corresponding to the virtual object;
- while driving the movement of the logic entity based on the target movement parameter, predicting a first predicted trajectory of a representation entity based on the target movement parameter, the representation entity being configured to represent the virtual object;
- selecting, from a preset animation library, a target animation adapted to the first predicted trajectory;
- driving movement of the representation entity based on the target animation;
- and
- rendering a moving animation of the virtual object in a virtual scene based on the movement of the logic entity and the movement of the representation entity.