摘要:
When an input indicating a position on a screen has been provided by a pointing device, coordinate values indicating the position are set as coordinate values of a starting point position. Subsequently, it is determined whether or not a state where the position on the screen is being continuously indicated by the pointing device has changed to a non-indicative state where the position on the screen is not indicated by the pointing device. As a result, when the state has changed to the non-indicative state, the coordinate values output from the pointing device before the change to the non-indicative state are set as coordinate values of an end point position, and a direction from the starting point position to the end point position is specified. Then, a virtual object is caused to move such that a moving direction of the virtual object is a direction different from the specified direction.
摘要:
When an input indicating a position on a screen has been provided by a pointing device, coordinate values indicating the position are set as coordinate values of a starting point position. Subsequently, it is determined whether or not a state where the position on the screen is being continuously indicated by the pointing device has changed to a non-indicative state where the position on the screen is not indicated by the pointing device. As a result, when the state has changed to the non-indicative state, the coordinate values output from the pointing device before the change to the non-indicative state are set as coordinate values of an end point position, and a direction from the starting point position to the end point position is specified. Then, a virtual object is caused to move such that a moving direction of the virtual object is a direction different from the specified direction.
摘要:
When a game is started, at least two types of pieces obtained based on random extraction from prepared types of pieces are set in advance for each player as his/her own assigned pieces (assigned objects). When the game ends as a prescribed condition is satisfied, an evaluation value of each player is calculated based on a cumulative value at that time point of the assigned pieces set for that player. The assigned piece defines the type of the piece to be evaluated for each player. Here, as a difference between a cumulative value of one assigned piece and a cumulative value of the other assigned piece is greater, a higher evaluation value is calculated. Typically, the difference (absolute value) between the cumulative values of the respective assigned pieces is calculated as the evaluation value.