Storage medium storing information processing program, information processing system, information processing apparatus, and information processing method
Abstract
When a game object is located in an end range in a virtual space relating to a first end portion of a display range of a display image, the end range being in the display range, end control that causes the game object to remain in the end range is performed while a range of view is being moved in a first direction in the virtual space that is a direction perpendicular to the first end portion and aimed at inside of the display range and/or while the game object is performing an action of moving in a second direction opposite to the first direction. When the end control has continued for at least a waiting period, the game object is moved to a location other than the end range in a range in the virtual space relating to the display range.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1. A non-transitory computer-readable storage medium having stored therein an information processing program that when executed by a computer of an information processing apparatus, causes the computer to perform operations comprising:
controlling movements of a first and a second game object in a virtual space, at least one of the first and second game objects being a player object that is operated by a user;
controlling a range of view of a virtual camera based on a location in the virtual space of at least the first game object; and
generating a display image to be displayed on a display screen, based on the virtual camera,
wherein
the controlling the game objects includes
when the second game object is located in an end range in the virtual space relating to a first end portion of a display range of the display image, the end range being in the display range, performing end control that causes the second game object to remain in the end range while the range of view is being moved in a first direction in the virtual space that is a direction perpendicular to the first end portion and aimed at inside of the display range and/or while the second game object is performing an action of moving in a second direction opposite to the first direction, and
moving the second game object to a location other than the end range in a range in the virtual space relating to the display range when the end control has continued for at least a waiting period.
2. The non-transitory computer-readable storage medium according to claim 1 , wherein
the range of view of the virtual camera is controlled such that the first game object is included in a central region of the display range.
3. The non-transitory computer-readable storage medium according to claim 1 , wherein
when the second game object is located in the end range, the end control is performed by forcing the second game object to move in the virtual space while the range of view is being moved in the first direction.
4. The non-transitory computer-readable storage medium according to claim 3 , wherein
when the range of view is moved in the first direction with the second game object located in the end range, the second game object is forced to move in the virtual space by causing the second game object to perform an action of moving from the end range toward a location in the virtual space relating to a central region of the display range.
5. The non-transitory computer-readable storage medium according to claim 1 , wherein
when the second game object is located in the end range, the end control is performed by causing the second game object not to move out of the end range while the second game object is performing an action of moving in the second direction.
6. The non-transitory computer-readable storage medium according to claim 1 , wherein
the first end portion includes a left end portion of the display image.
7. The non-transitory computer-readable storage medium according to claim 1 , wherein
the first end portion includes a bottom end portion of the display image.
8. The non-transitory computer-readable storage medium according to claim 7 , wherein
the information processing program further causes the computer to perform operations comprising:
determining a plane including a location in the virtual space relating to the bottom end of the display image as a virtual end plane, and
when the second game object is located on the virtual end plane, the end control is performed to cause the second game object to remain in a range in the virtual space relating to the virtual end plane while the range of view is being moved in a direction in the virtual space that is an upward direction of the display screen and/or while the second game object is performing an action of moving in a direction in the virtual space that is a downward direction of the display screen.
9. The non-transitory computer-readable storage medium according to claim 8 , wherein
a vertical plane in the virtual space including a line segment that is an intersection of a horizontal plane in the virtual space on which the first game object is located and a plane in the virtual space relating to the bottom end of the display image is determined as the virtual end plane.
10. The non-transitory computer-readable storage medium according to claim 1 , wherein
when the second game object is moved to a range in the virtual space relating to a range out of the display range without the end control, the second game object is forced to move to a range in the virtual space relating to a range in the display range.
11. The non-transitory computer-readable storage medium according to claim 1 , wherein
the end control is not performed at a top end of the display image.
12. The non-transitory computer-readable storage medium according to claim 1 , wherein
when the second game object is moved in a direction away from the virtual camera along a line-of-view direction of the virtual camera, so that the second game object is at least a first distance away from the virtual camera or the first game object, the second game object is forced to move to a location that is less than the first distance away from the virtual camera or the first game object.
13. The non-transitory computer-readable storage medium according to claim 1 , wherein
the range of view of the virtual camera is controlled based on a user's operation, and
when the range of view of the virtual camera is changed by the user's operation, the end range in the virtual space is changed.
14. The non-transitory computer-readable storage medium according to claim 1 , wherein
even when the second game object is located in the end range, the second game object is not controlled to move to a location other than the end range while the range of view is not being moved in the first direction and the second game object is not performing an action of moving in the second direction.
15. The non-transitory computer-readable storage medium according to claim 1 , wherein
when the end control has continued for at least the waiting period, the second game object is moved to a location in a vicinity of the first game object.
16. The non-transitory computer-readable storage medium according to claim 1 , wherein
when the end control has continued for at least the waiting period, the second game object is moved to a location relating to a central region of the display range.
17. The non-transitory computer-readable storage medium according to claim 1 , wherein
the end range in which the second game object remains is set using a plane in the virtual space that is set, relating to the display range.
18. An information processing system comprising a computer configured to control the information processing system to at least:
control movements of a first and a second game object in a virtual space, at least one of the first and second game objects being a player object that is operated by a user;
control a range of view of a virtual camera based on a location in the virtual space of at least the first game object; and
generate a display image to be displayed on a display screen, based on the virtual camera,
wherein
the controlling the game objects includes
when the second game object is located in an end range in the virtual space relating to a first end portion of a display range of the display image, the end range being in the display range, performing end control that causes the second game object to remain in the end range while the range of view is being moved in a first direction in the virtual space that is a direction perpendicular to the first end portion and aimed at inside of the display range and/or while the second game object is performing an action of moving in a second direction opposite to the first direction, and
moving the second game object to a location other than the end range in a range in the virtual space relating to the display range when the end control has continued for at least a waiting period.
19. An information processing apparatus comprising a computer configured to control the information processing apparatus to at least:
control movements of a first and a second game object in a virtual space, at least one of the first and second game objects being a player object that is operated by a user;
control a range of view of a virtual camera based on a location in the virtual space of at least the first game object; and
generate a display image to be displayed on a display screen, based on the virtual camera,
wherein
the controlling the game objects includes
when the second game object is located in an end range in the virtual space relating to a first end portion of a display range of the display image, the end range being in the display range, performing end control that causes the second game object to remain in the end range while the range of view is being moved in a first direction in the virtual space that is a direction perpendicular to the first end portion and aimed at inside of the display range and/or while the second game object is performing an action of moving in a second direction opposite to the first direction, and
moving the second game object to a location other than the end range in a range in the virtual space relating to the display range when the end control has continued for at least a waiting period.
20. An information processing method comprising:
controlling movements of a first and a second game object in a virtual space, at least one of the first and second game objects being a player object that is operated by a user;
controlling a range of view of a virtual camera based on a location in the virtual space of at least the first game object; and
generating a display image to be displayed on a display screen, based on the virtual camera,
wherein
the controlling the game objects includes
when the second game object is located in an end range in the virtual space relating to a first end portion of a display range of the display image, the end range being in the display range, performing end control that causes the second game object to remain in the end range while the range of view is being moved in a first direction in the virtual space that is a direction perpendicular to the first end portion and aimed at inside of the display range and/or while the second game object is performing an action of moving in a second direction opposite to the first direction, and
moving the second game object to a location other than the end range in a range in the virtual space relating to the display range when the end control has continued for at least a waiting period.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.