Patent ID: 9364758
Filing Date: 2016-06-14
CPC Classification: A63F

Claim Text:
1. A computer-readable non-transitory medium storing a game program for causing a computer of a game machine that includes a memory device to execute: responsive to reception of an electrical signal generated by a sensor in an input device controlled by a user, performing game processing including movement of one or a plurality of characters in a virtual world; setting a protective state for protecting at least one character from a danger in a game when predetermined conditions stored in the memory device are satisfied; setting a moving direction of the character in the protective state to a predetermined direction; programmatically comparing the position of the character in the protective state against the position of objects stored in the memory device which obstruct the movement of the character in the protective state; in response to detecting that the character in the protective state is overlapping with an object which obstructs the movement in the virtual world, triggering correcting the moving direction which has been set by the moving direction setting when the detecting detects in response to detecting that the character in the protective state is overlapping with an object which obstructs the movement in the virtual world, triggering correcting the moving direction which has been set by the moving direction setting when the detecting detects an obstacle state, wherein when the obstacle state is detected, the correcting corrects the moving direction, which has been set by the moving direction setting, on the basis of a direction to cancel the detected overlapping with an obstacle-object, and wherein when the obstacle state is detected, the correcting corrects the moving direction, which has been set by the moving direction setting, on the basis of a normal line direction of a boundary surface of the detected obstacle-object.