Information processing program, information processing device, information processing system, and information processing method

By employing multiple input means and an adjustment mechanism for virtual camera changes, the operability of camera position and direction is enhanced, addressing the limitations of existing game programs.

JP7563904B2Active Publication Date: 2024-10-08NINTENDO CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2020103108
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-06-15
Publication Date
2024-10-08
Estimated Expiration
2040-06-15

AI Technical Summary

Technical Problem

Existing game programs lack improved operability in changing the position and imaging direction of a virtual camera using input means.

Method used

The implementation of multiple input means, including a pointer operation, first and second camera operations, and a change amount determination mechanism, adjusts the amount of change in the virtual camera's position or direction based on concurrent operations, utilizing inertial sensors to enhance control.

Benefits of technology

This configuration enhances the operability of changing the virtual camera's position and direction by adjusting change amounts based on simultaneous input operations, preventing unintended movements and improving user control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007563904000001
    Figure 0007563904000001
  • Figure 0007563904000002
    Figure 0007563904000002
  • Figure 0007563904000003
    Figure 0007563904000003
Patent Text Reader

Abstract

To provide an information processing program, an information processing device, an information processing system, and an information processing method that can improve the operability of input means for changing the position and imaging direction of a virtual camera.SOLUTION: When a second camera operation is performed by third input means using an inertial sensor while pointer operation processing based on a pointer operation by first input means or camera operation processing based on a first camera operation by second input means is performed, the absolute value of the amount of change in the position or imaging direction of a virtual camera based on the second camera operation is decreased, in comparison with the case where the second camera operation is performed when neither the pointer operation processing based on the pointer operation nor the camera operation processing based on the first camera operation is performed.SELECTED DRAWING: Figure 13
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an information processing program, an information processing device, an information processing system, and an information processing method for performing processing to change a display range for a virtual space. [Background technology]

[0002] 2. Description of the Related Art Conventionally, there are game programs in which a display position of a crosshair is moved or an imaging direction of a virtual camera is changed using a plurality of input means (for example, see Non-Patent Document 1). [Prior art documents] [Non-patent literature]

[0003] [Non-Patent Document 1] "Star Fox Zero", [online], Nintendo of America Inc, [Retrieved June 1, 2020], Internet (URL: https: / / www.nintendo.com / consumer / downloads / manual-WiiU-Star_Fox_Zero.pdf) Summary of the Invention [Problem to be solved by the invention]

[0004] However, the game program disclosed in the above-mentioned non-patent document 1 leaves room for improvement in the way input means for changing the position and imaging direction of the virtual camera are used.

[0005] Therefore, an object of the present invention is to provide an information processing program, an information processing device, an information processing system, and an information processing method that enable improved operability of an input means for changing the position and imaging direction of a virtual camera. [Means for solving the problem]

[0006] In order to achieve the above object, the present invention may adopt, for example, the following configurations: When interpreting the claims, it is understood that the scope should be interpreted only by the claims, and in the event of a contradiction between the claims and this section, the claims shall take precedence.

[0007] An example of the information processing program of the present invention is executed in a computer of an information processing device. The information processing program causes the computer to function as an imaging means, a pointer operation means, a first camera operation means, a second camera operation means, and a change amount determination means. The imaging means images a virtual space with a virtual camera in order to generate a display image to be displayed on a screen. The pointer operation means performs a pointer operation process to change the position of a pointer displayed on the screen based on a pointer operation by a first input means. The first camera operation means performs a camera operation process to change the position or imaging direction of a virtual camera based on a first camera operation by a second input means. The second camera operation means performs a camera operation process to change the position or imaging direction of a virtual camera based on a second camera operation by a third input means using an inertial sensor. When a second camera operation is performed while a pointer operation process based on a pointer operation or a camera operation process based on a first camera operation is being performed, the change amount determination means reduces an absolute value of a change amount of a position or imaging direction of a virtual camera based on the second camera operation compared to a case where the second camera operation is performed when neither the pointer operation process based on the pointer operation nor the camera operation process based on the first camera operation is being performed.

[0008] According to the above, when there are multiple input means for changing the position or imaging direction of the virtual camera, the amount of the change is adjusted based on operations using one of the input means depending on whether processing based on operations using the other input means is being performed, thereby improving the operability of the input means.

[0009] The information processing program may further cause the computer to function as a movable range setting means and an end operation processing means. The movable range setting means sets a movable range indicating a range within which a pointer can move within a screen. When the pointer is located at an end of the movable range and an end operation is performed by the first input means to indicate a direction from the end of the movable range to outside the movable range, the end operation processing means changes the position or imaging direction of the virtual camera according to the direction of the end operation.

[0010] Based on the above, it is possible to change the position and imaging direction of the virtual camera using three different input means.

[0011] In addition, when a second camera operation is performed while end operation processing based on an end operation or camera operation processing based on a first camera operation is being performed, the change amount determination means may reduce the absolute value of the change amount of the virtual camera position or imaging direction based on the second camera operation, compared to a case where the second camera operation is performed when neither end operation processing based on the end operation nor camera operation processing based on the first camera operation is being performed.

[0012] Based on the above, even if the position and imaging direction of the virtual camera can be changed using three different input means, the operability of these input means can be improved.

[0013] Furthermore, when an end operation is performed, the end operation processing means does not need to move the pointer that is displayed on the screen and located at the end of the movable range.

[0014] Based on the above, it is possible to improve operability in pointer operation.

[0015] In addition, the change amount determination means may change the position or imaging direction of the virtual camera by a first change amount in the first axis component when an end operation of a first operation amount is performed without a first camera operation, change the position or imaging direction of the virtual camera by a second change amount in the first axis component when a first camera operation of a second operation amount is performed without an end operation, and set the change amount of the virtual camera position or imaging direction to a third change amount larger than both of the first change amount and the second change amount in the first axis component when the end operation of the first operation amount and the first camera operation of the second operation amount are performed simultaneously, when the first axis component of the first change amount and the first axis component of the second change amount are both positive, and set the change amount of the virtual camera position or imaging direction to a third change amount smaller than both of the first change amount and the second change amount in the first axis component when both are negative.

[0016] Based on the above, by simultaneously performing an end operation and a first camera operation, it is possible to quickly change the position or imaging direction of the virtual camera.

[0017] Moreover, the change amount determination means may determine the third change amount by adding the first change amount and the second change amount.

[0018] Based on the above, by simultaneously performing an end operation and a first camera operation, it is possible to quickly change the position or imaging direction of the virtual camera.

[0019] In addition, the change amount determination means may set the amount of change in the position or imaging direction of the virtual camera based on the first camera operation to be the same in a case where a first camera operation is performed while a pointer operation processing based on a pointer operation is being performed and a case where the first camera operation is performed while a pointer operation processing based on the pointer operation is not being performed.

[0020] According to the above, since the change in the position or the imaging direction of the virtual camera based on the first camera operation is performed by the same change amount regardless of whether the pointer operation process is being performed or not, the position or the imaging direction of the virtual camera can be changed by the first camera operation at a timing desired by the user without changing the change amount. Also, the process of changing the position or the imaging direction of the virtual camera based on the first camera operation can be performed while performing the pointer operation process based on the pointer operation.

[0021] In addition, the change amount determination means may set the amount of change in the position or imaging direction of the virtual camera based on the first camera operation to be the same in a case where a first camera operation is performed while end operation processing based on the end operation is being performed and in a case where the first camera operation is performed while end operation processing based on the end operation is not being performed.

[0022] According to the above, the change in the position or imaging direction of the virtual camera based on the first camera operation is performed by the same amount of change regardless of whether end operation processing is being performed or not, so that the position or imaging direction of the virtual camera can be changed by the first camera operation at a timing desired by the user without changing the amount of change.

[0023] In addition, when a second camera operation is performed while a pointer operation process based on a pointer operation or a camera operation process based on a first camera operation is being performed, the change amount determination means does not need to change the position or imaging direction of the virtual camera based on the second camera operation.

[0024] According to the above, when a second camera operation is performed while a camera operation process based on a first camera operation is being performed, the change in the position or imaging direction of the virtual camera based on the second camera operation is invalidated, thereby preventing the virtual camera control based on the first camera operation from being disrupted by unintended movement of the third input means.

[0025] In addition, the change amount determination means may determine an amount of change in the position or imaging direction of the virtual camera based on an amount of change in attitude calculated based on the output of the inertial sensor, assuming that an attitude change operation from a reference attitude on the third input means is a second camera operation, and may skip determining the amount of change based on the attitude change while a pointer operation process based on a pointer operation or a camera operation process based on a first camera operation is being performed, and may set the attitude of the third input means at the time when the pointer operation or the first camera operation is completed as a new reference attitude.

[0026] Based on the above, the reference orientation of the third input device is reset at an appropriate timing, thereby improving operability when using the second input device.

[0027] The information processing program may further cause the computer to function as game processing means, which performs game processing based on a position or direction in the virtual space determined based on the position of a pointer displayed on the screen.

[0028] Based on the above, it is possible to improve operability in game play using a pointer.

[0029] Furthermore, as part of the game processing, the game processing means may launch a virtual object to a position or direction in the virtual space that is determined based on the position of the pointer.

[0030] Based on the above, it is possible to improve operability when playing a game in which a virtual object is fired using a pointer as a target.

[0031] Furthermore, each of the first input means and the second input means may be a device that produces an output based on an operation by a user's finger.

[0032] Based on the above, it is possible to improve operability when a user performs an operation using a finger.

[0033] The present invention may also be embodied in the form of an information processing device, an information processing system, and an information processing method. Effect of the Invention

[0034] According to the present invention, it is possible to improve the operability of the input means for changing the position and imaging direction of the virtual camera. [Brief description of the drawings]

[0035] [Figure 1] FIG. 1 shows an example of a state in which a left controller 3 and a right controller 4 are attached to a main unit 2. [Diagram 2] FIG. 1 shows an example of a state in which the left controller 3 and the right controller 4 are removed from the main unit 2. [Diagram 3] Six-sided views showing an example of the main unit 2 [Figure 4] Six-sided diagram showing an example of the left controller 3 [Diagram 5] Six-sided diagram showing an example of the right controller 4 [Figure 6] A block diagram showing an example of the internal configuration of the main unit 2. [Figure 7] A block diagram showing an example of the internal configuration of the main unit 2, the left controller 3, and the right controller 4. [Figure 8] FIG. 1 shows an example of a game image displayed on the display 12 of the main unit 2. [Figure 9] FIG. 1 shows an example of a game image displayed on the display 12 in response to a user operation using the analog stick 32 of the left controller 3. [Figure 10] FIG. 13 shows an example of a game image displayed on the display 12 in response to a user operation using the analog stick 32 of the right controller 45. [Figure 11] FIG. 13 is a diagram showing an example of a game image displayed on the display 12 in response to a user operation using an inertial sensor. [Figure 12] FIG. 1 shows an example of a data area set in the DRAM 85 of the main unit 2 in this embodiment. [Figure 13]A flowchart showing an example of information processing executed by the game system 1. [Figure 14] A subroutine showing a detailed example of the left stick operation process performed in step S126 in FIG. [Figure 15] A subroutine showing a detailed example of the right stick operation process performed in step S127 in FIG. [Figure 16] A subroutine showing a detailed example of the gyro operation process performed in step S132 in FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0036] A game system according to an example of this embodiment will be described below. An example of the game system 1 in this embodiment includes a main unit (information processing device; in this embodiment, it functions as a game device main unit) 2, a left controller 3, and a right controller 4, and also functions as an information processing system. The left controller 3 and the right controller 4 are detachable from the main unit 2. That is, the game system 1 can be used as an integrated device by attaching the left controller 3 and the right controller 4 to the main unit 2. The game system 1 can also be used as a separate device from the main unit 2, the left controller 3, and the right controller 4 (see FIG. 2). The hardware configuration of the game system 1 of this embodiment will be described below, and then the control of the game system 1 of this embodiment will be described.

[0037] Fig. 1 is a diagram showing an example of a state in which a left controller 3 and a right controller 4 are attached to a main unit 2. As shown in Fig. 1, the left controller 3 and the right controller 4 are each attached to and integrated with the main unit 2. The main unit 2 is a device that executes various processes (e.g., game processes) in the game system 1. The main unit 2 includes a display 12. The left controller 3 and the right controller 4 are devices that include an operation unit that allows the user to perform input.

[0038] Fig. 2 is a diagram showing an example of a state in which the left controller 3 and the right controller 4 have been removed from the main unit 2. As shown in Figs. 1 and 2, the left controller 3 and the right controller 4 are detachable from the main unit 2. In the following, the left controller 3 and the right controller 4 may be collectively referred to as "controller."

[0039] Fig. 3 is a six-sided view showing an example of the main unit 2. As shown in Fig. 3, the main unit 2 includes a substantially plate-shaped housing 11. In this embodiment, the main surface of the housing 11 (in other words, the front surface, i.e., the surface on which the display 12 is provided) is generally rectangular in shape.

[0040] The shape and size of the housing 11 are arbitrary. As an example, the housing 11 may be of a size that is portable. Furthermore, the main unit 2 alone or an integrated device in which the left controller 3 and the right controller 4 are attached to the main unit 2 may be a portable device. Furthermore, the main unit 2 or the integrated device may be a handheld device. Furthermore, the main unit 2 or the integrated device may be a portable device.

[0041] 3, the main unit 2 includes a display 12 provided on a main surface of a housing 11. The display 12 displays an image generated by the main unit 2. In this embodiment, the display 12 is a liquid crystal display (LCD). However, the display 12 may be any type of display device.

[0042] The main unit 2 also includes a touch panel 13 on the screen of the display 12. In this embodiment, the touch panel 13 is of a type that allows multi-touch input (e.g., a capacitive type). However, the touch panel 13 may be of any type, and may be of a type that allows single-touch input (e.g., a resistive film type), for example.

[0043] The main unit 2 includes a speaker (i.e., speaker 88 shown in FIG. 6) inside the housing 11. As shown in FIG. 3, speaker holes 11a and 11b are formed in the main surface of the housing 11. The output sound of the speaker 88 is output from these speaker holes 11a and 11b, respectively.

[0044] The main unit 2 also has a left side terminal 17, which is a terminal through which the main unit 2 performs wired communication with the left controller 3, and a right side terminal 21 through which the main unit 2 performs wired communication with the right controller 4.

[0045] As shown in FIG. 3, the main unit 2 includes a slot 23. The slot 23 is provided on the upper side of the housing 11. The slot 23 has a shape that allows a predetermined type of storage medium to be attached thereto. The predetermined type of storage medium is, for example, a storage medium (e.g., a dedicated memory card) dedicated to the game system 1 and the same type of information processing device. The predetermined type of storage medium is used, for example, to store data used in the main unit 2 (e.g., application save data, etc.) and / or programs executed in the main unit 2 (e.g., application programs, etc.). The main unit 2 also includes a power button 28.

[0046] The main unit 2 includes a lower terminal 27. The lower terminal 27 is a terminal through which the main unit 2 communicates with the cradle. In this embodiment, the lower terminal 27 is a USB connector (more specifically, a female connector). When the all-in-one device or the main unit 2 alone is placed on the cradle, the game system 1 can display images generated and output by the main unit 2 on a stationary monitor. In this embodiment, the cradle also has a function of charging the all-in-one device or the main unit 2 alone that is placed on it. The cradle also has a function of a hub device (more specifically, a USB hub).

[0047] FIG. 4 is a six-sided view showing an example of the left controller 3. As shown in FIG. 4, the left controller 3 includes a housing 31. In this embodiment, the housing 31 has a vertically long shape, that is, a shape that is long in the up-down direction (i.e., the y-axis direction shown in FIG. 1 and FIG. 4). The left controller 3 can also be held in a vertically long orientation when removed from the main unit 2. The housing 31 has a shape and size that allows it to be held in one hand, particularly the left hand, when held in a vertically long orientation. The left controller 3 can also be held in a horizontally long orientation. When the left controller 3 is held in a horizontally long orientation, it may be held with both hands.

[0048] The left controller 3 includes an analog stick 32. As shown in FIG. 4, the analog stick 32 is provided on the main surface of the housing 31. The analog stick 32 can be used as a direction input unit capable of inputting a direction. By tilting the analog stick 32, the user can input a direction according to the tilt direction (and input a magnitude according to the tilt angle). Note that the left controller 3 may include a cross key or a slide stick capable of slide input, instead of an analog stick, as the direction input unit. Also, in this embodiment, input is possible by pressing the analog stick 32.

[0049] The left controller 3 includes various operation buttons. The left controller 3 includes four operation buttons 33 to 36 (specifically, a right button 33, a down button 34, an up button 35, and a left button 36) on the main surface of the housing 31. Furthermore, the left controller 3 includes a record button 37 and a - (minus) button 47. The left controller 3 includes a first L button 38 and a ZL button 39 on the upper left of the side of the housing 31. The left controller 3 also includes a second L button 43 and a second R button 44 on the side of the housing 31 that is attached when the left controller 3 is attached to the main unit 2. These operation buttons are used to give instructions according to various programs (for example, OS programs and application programs) executed on the main unit 2.

[0050] In addition, the left controller 3 is equipped with a terminal 42 that enables the left controller 3 to communicate with the main unit 2 via wire.

[0051] FIG. 5 is a six-sided view showing an example of the right controller 4. As shown in FIG. 5, the right controller 4 includes a housing 51. In this embodiment, the housing 51 has a vertically long shape, that is, a shape that is long in the up-down direction. The right controller 4 can also be held in a vertically long orientation when removed from the main unit 2. The housing 51 has a shape and size that allows it to be held in one hand, particularly the right hand, when held in a vertically long orientation. The right controller 4 can also be held in a horizontally long orientation. When the right controller 4 is held in a horizontally long orientation, it may be held with both hands.

[0052] The right controller 4, like the left controller 3, includes an analog stick 52 as a direction input unit. In this embodiment, the analog stick 52 has the same configuration as the analog stick 32 of the left controller 3. The right controller 4 may include a cross key or a slide stick capable of slide input, instead of the analog stick. The right controller 4, like the left controller 3, includes four operation buttons 53 to 56 (specifically, an A button 53, a B button 54, an X button 55, and a Y button 56) on the main surface of the housing 51. The right controller 4 further includes a + (plus) button 57 and a home button 58. The right controller 4 also includes a first R button 60 and a ZR button 61 on the upper right of the side surface of the housing 51. The right controller 4 also includes a second L button 65 and a second R button 66, like the left controller 3.

[0053] In addition, the right controller 4 is equipped with a terminal 64 for enabling the right controller 4 to communicate with the main unit 2 via wire.

[0054] Fig. 6 is a block diagram showing an example of the internal configuration of main unit 2. In addition to the configuration shown in Fig. 3, main unit 2 includes components 81-91, 97, and 98 shown in Fig. 6. Some of these components 81-91, 97, and 98 may be mounted on an electronic circuit board as electronic components and housed in housing 11.

[0055] The main unit 2 includes a processor 81. The processor 81 is an information processing unit that executes various types of information processing executed in the main unit 2, and may be composed of only a CPU (Central Processing Unit), or may be composed of a SoC (System-on-a-chip) including multiple functions such as a CPU function and a GPU (Graphics Processing Unit) function. The processor 81 executes various types of information processing by executing an information processing program (e.g., a game program) stored in a storage unit (specifically, an internal storage medium such as a flash memory 84, or an external storage medium inserted in the slot 23, etc.).

[0056] The main unit 2 includes a flash memory 84 and a dynamic random access memory (DRAM) 85 as examples of internal storage media built into the main unit 2. The flash memory 84 and the DRAM 85 are connected to the processor 81. The flash memory 84 is a memory used mainly for storing various data (which may be programs) saved in the main unit 2. The DRAM 85 is a memory used for temporarily storing various data used in information processing.

[0057] The main device 2 includes a slot interface (hereinafter abbreviated as "I / F") 91. The slot I / F 91 is connected to the processor 81. The slot I / F 91 is connected to the slot 23, and reads and writes data from and to a predetermined type of storage medium (e.g., a dedicated memory card) inserted in the slot 23 in response to an instruction from the processor 81.

[0058] The processor 81 appropriately reads and writes data from and to the flash memory 84, DRAM 85, and each of the above storage media to execute the above information processing.

[0059] The main unit 2 includes a network communication unit 82. The network communication unit 82 is connected to the processor 81. The network communication unit 82 communicates with an external device via a network (specifically, wireless communication). In this embodiment, the network communication unit 82 connects to a wireless LAN and communicates with an external device using a method conforming to the Wi-Fi standard as a first communication mode. The network communication unit 82 also performs wireless communication with other main units 2 of the same type using a predetermined communication method (for example, communication using a unique protocol or infrared communication) as a second communication mode. Note that the wireless communication using the second communication mode enables wireless communication with other main units 2 located within a closed local network area, and realizes a function that enables so-called "local communication" in which data is transmitted and received by directly communicating between multiple main units 2.

[0060] The main unit 2 includes a controller communication unit 83. The controller communication unit 83 is connected to the processor 81. The controller communication unit 83 performs wireless communication with the left controller 3 and / or the right controller 4. Any communication method may be used between the main unit 2 and the left controller 3 and right controller 4, but in this embodiment, the controller communication unit 83 performs communication with the left controller 3 and the right controller 4 in accordance with the Bluetooth (registered trademark) standard.

[0061] The processor 81 is connected to the left terminal 17, the right terminal 21, and the lower terminal 27. When the processor 81 performs wired communication with the left controller 3, it transmits data to the left controller 3 via the left terminal 17 and receives operation data from the left controller 3 via the left terminal 17. When the processor 81 performs wired communication with the right controller 4, it transmits data to the right controller 4 via the right terminal 21 and receives operation data from the right controller 4 via the right terminal 21. When the processor 81 performs communication with the cradle, it transmits data to the cradle via the lower terminal 27. Thus, in this embodiment, the main unit 2 can perform both wired communication and wireless communication with the left controller 3 and the right controller 4. When the main unit 2 alone or an integrated device with the left controller 3 and the right controller 4 attached to the main unit 2 is attached to the cradle, the main unit 2 can output data (e.g., image data and audio data) to a stationary monitor or the like via the cradle.

[0062] Here, the main unit 2 can communicate with a plurality of left controllers 3 simultaneously (in other words, in parallel). The main unit 2 can also communicate with a plurality of right controllers 4 simultaneously (in other words, in parallel). Therefore, a plurality of users can simultaneously input to the main unit 2 using each set of left controllers 3 and right controllers 4. As an example, a first user can input to the main unit 2 using a first set of left controllers 3 and right controllers 4, while a second user can input to the main unit 2 using a second set of left controllers 3 and right controllers 4.

[0063] The main device 2 includes a touch panel controller 86, which is a circuit that controls the touch panel 13. The touch panel controller 86 is connected between the touch panel 13 and the processor 81. The touch panel controller 86 generates data indicating, for example, the position where a touch input has been performed based on a signal from the touch panel 13, and outputs the data to the processor 81.

[0064] The display 12 is also connected to the processor 81. The processor 81 displays on the display 12 an image generated (for example, by executing the above-mentioned information processing) and / or an image acquired from the outside.

[0065] The main unit 2 includes a codec circuit 87 and speakers (specifically, a left speaker and a right speaker) 88. The codec circuit 87 is connected to the speaker 88 and the audio input / output terminal 25, and is also connected to the processor 81. The codec circuit 87 is a circuit that controls the input and output of audio data to and from the speaker 88 and the audio input / output terminal 25.

[0066] The main body device 2 also includes an acceleration sensor 89. In this embodiment, the acceleration sensor 89 detects the magnitude of acceleration along three predetermined axial directions (for example, the x, y and z axes shown in FIG. 1). The acceleration sensor 89 may detect acceleration along one axial direction or two axial directions.

[0067] The main body device 2 also includes an angular velocity sensor 90. In this embodiment, the angular velocity sensor 90 detects angular velocities around three predetermined axes (for example, the x, y and z axes shown in FIG. 1). Note that the angular velocity sensor 90 may detect angular velocities around one axis or two axes.

[0068] The acceleration sensor 89 and the angular velocity sensor 90 are connected to the processor 81, and the detection results of the acceleration sensor 89 and the angular velocity sensor 90 are output to the processor 81. The processor 81 can calculate information related to the movement and / or attitude of the main unit 2 based on the detection results of the acceleration sensor 89 and the angular velocity sensor 90.

[0069] The main unit 2 includes a power control unit 97 and a battery 98. The power control unit 97 is connected to the battery 98 and the processor 81. Although not shown, the power control unit 97 is also connected to each unit of the main unit 2 (specifically, each unit that receives power from the battery 98, the left terminal 17, and the right terminal 21). The power control unit 97 controls the supply of power from the battery 98 to each of the above-mentioned units based on instructions from the processor 81.

[0070] Furthermore, battery 98 is connected to lower terminal 27. When an external charging device (e.g., a cradle) is connected to lower terminal 27 and power is supplied to main unit 2 via lower terminal 27, battery 98 is charged with the supplied power.

[0071] Fig. 7 is a block diagram showing an example of the internal configuration of the main unit 2, the left controller 3, and the right controller 4. Note that details of the internal configuration of the main unit 2 are omitted in Fig. 7 because they are shown in Fig. 6.

[0072] The left controller 3 includes a communication control unit 101 that communicates with the main unit 2. As shown in FIG. 7, the communication control unit 101 is connected to each component including the terminal 42. In this embodiment, the communication control unit 101 can communicate with the main unit 2 by both wired communication via the terminal 42 and wireless communication not via the terminal 42. The communication control unit 101 controls the communication method by which the left controller 3 communicates with the main unit 2. That is, when the left controller 3 is attached to the main unit 2, the communication control unit 101 communicates with the main unit 2 via the terminal 42. Also, when the left controller 3 is detached from the main unit 2, the communication control unit 101 performs wireless communication with the main unit 2 (specifically, the controller communication unit 83). The wireless communication between the controller communication unit 83 and the communication control unit 101 is performed according to, for example, the Bluetooth (registered trademark) standard.

[0073] The left controller 3 also includes a memory 102, such as a flash memory. The communication control unit 101 is configured with, for example, a microcomputer (also called a microprocessor), and executes firmware stored in the memory 102 to perform various processes.

[0074] The left controller 3 includes buttons 103 (specifically, buttons 33 to 39, 43, 44, and 47). The left controller 3 also includes an analog stick (referred to as "stick" in FIG. 7) 32. Each button 103 and analog stick 32 repeatedly outputs information relating to operations performed on them to the communication control unit 101 at appropriate timing.

[0075] The left controller 3 includes an inertial sensor. Specifically, the left controller 3 includes an acceleration sensor 104. The left controller 3 also includes an angular velocity sensor 105. In this embodiment, the acceleration sensor 104 detects the magnitude of acceleration along three predetermined axes (for example, the x, y and z axes shown in FIG. 4). The acceleration sensor 104 may detect acceleration in one or two axial directions. In this embodiment, the angular velocity sensor 105 detects angular velocity around three predetermined axes (for example, the x, y and z axes shown in FIG. 4). The angular velocity sensor 105 may detect angular velocity around one or two axes. The acceleration sensor 104 and the angular velocity sensor 105 are each connected to the communication control unit 101. The detection results of the acceleration sensor 104 and the angular velocity sensor 105 are repeatedly output to the communication control unit 101 at appropriate timing.

[0076] The communication control unit 101 acquires information related to the input (specifically, information related to the operation, or the detection results by the sensors) from each input unit (specifically, each button 103, analog stick 32, each sensor 104 and 105). The communication control unit 101 transmits operation data including the acquired information (or information obtained by performing a specified process on the acquired information) to the main unit 2. The operation data is repeatedly transmitted once every specified time. The interval at which the information related to the input is transmitted to the main unit 2 may or may not be the same for each input unit.

[0077] By transmitting the above operation data to the main unit 2, the main unit 2 can obtain the input performed on the left controller 3. That is, the main unit 2 can determine the operations on the buttons 103 and the analog stick 32 based on the operation data. In addition, the main unit 2 can calculate information regarding the movement and / or attitude of the left controller 3 based on the operation data (specifically, the detection results of the acceleration sensor 104 and the angular velocity sensor 105).

[0078] The left controller 3 is equipped with a power supply unit 108. In this embodiment, the power supply unit 108 has a battery and a power control circuit. Although not shown, the power control circuit is connected to the battery and to each part of the left controller 3 (specifically, each part that receives power from the battery).

[0079] As shown in FIG. 7, the right controller 4 includes a communication control unit 111 that communicates with the main unit 2. The right controller 4 also includes a memory 112 that is connected to the communication control unit 111. The communication control unit 111 is connected to each component including the terminal 64. The communication control unit 111 and the memory 112 have the same functions as the communication control unit 101 and the memory 102 of the left controller 3. Therefore, the communication control unit 111 can communicate with the main unit 2 by both wired communication via the terminal 64 and wireless communication (specifically, communication in accordance with the Bluetooth (registered trademark) standard) that does not go through the terminal 64, and controls the method of communication that the right controller 4 uses with the main unit 2.

[0080] The right controller 4 has input units similar to those of the left controller 3. Specifically, it has buttons 113, an analog stick 52, and inertial sensors (an acceleration sensor 114 and an angular velocity sensor 115). These input units have the same functions as those of the left controller 3, and operate in the same manner.

[0081] The right controller 4 includes a processing unit 121. The processing unit 121 is connected to the communication control unit 111.

[0082] The right controller 4 is equipped with a power supply unit 118. The power supply unit 118 has the same functions as the power supply unit 108 of the left controller 3, and operates in the same manner.

[0083] As described above, in the game system 1 of this embodiment, the left controller 3 and the right controller 4 are detachable from the main unit 2. Also, by mounting an all-in-one device in which the left controller 3 and the right controller 4 are mounted on the main unit 2 or the main unit 2 alone on a cradle, it is possible to output images (and sounds) to an external display device such as a stationary monitor. Below, the game system 1 will be described using an all-in-one device in which the left controller 3 and the right controller 4 are mounted on the main unit 2.

[0084] In this way, game play is performed using a virtual space displayed on the display 12 in response to operations of the operation buttons and sticks of the left controller 3 and / or right controller 4 in the all-in-one game system 1, touch operations on the touch panel 13 of the main unit 2, operations to move the entire all-in-one device, etc. In this embodiment, as an example, game play is possible using a player object in the virtual space and each object arranged in the virtual space in response to user operations using the operation buttons, sticks, and inertial sensor.

[0085] An overview of the game processing performed in the game system 1 will be described with reference to Figs. 8 to 11. Fig. 8 is a diagram showing an example of a game image displayed on the display 12 of the main unit 2. Fig. 9 is a diagram showing an example of a game image displayed on the display 12 in response to a user operation using the analog stick 32 (hereinafter referred to as the left stick 32) of the left controller 3. Fig. 10 is a diagram showing an example of a game image displayed on the display 12 in response to a user operation using the analog stick 32 (hereinafter referred to as the right stick 52) of the right controller 45. Fig. 11 is a diagram showing an example of a game image displayed on the display 12 in response to a user operation using an inertial sensor. In the following description, a game is used as an example of an application executed in the game system 1, but other applications may be executed in the game system 1. The left stick 32 corresponds to an example of a first input means, and the right stick 52 corresponds to an example of a second input means.

[0086] In FIG. 8, the display 12 of the game system 1 displays a game image in which a character object CO and an object OBJ are arranged in a virtual space. For example, the game image is a subjective image seen from a player object that can move in the virtual space on a vehicle that moves automatically along a preset route, and a game can be played in which the subjective image is photographed in response to a predetermined user operation. Therefore, the virtual camera for generating the game image can move in the virtual space together with the player object that moves automatically along a preset route. In addition, as will be made clear later, the direction of the virtual camera can be changed by tilting the left stick 32, tilting the right stick 52, and by an operation using an inertial sensor by changing the attitude of the entire integrated device. Here, when a user holds and operates the integrated device with both hands, tilting the left stick 32 allows operation with the fingers (e.g., thumb) of the user's left hand, tilting the right stick 52 allows operation with the fingers (e.g., thumb) of the user's right hand, and an operation using an inertial sensor by changing the attitude of the entire integrated device allows operation of moving both hands (both arms). The player object may be configured to be movable within the virtual space in response to a user operation other than the operation for changing the direction of the virtual camera described above. Also, the entire integrated device that enables operation using an inertial sensor by changing the posture corresponds to an example of a third input means.

[0087] A pointer M is displayed in the game image. The pointer M functions as a marker for the user to specify a part of the displayed virtual space. For example, game processing is performed based on a position or direction in the virtual space determined based on the display position of the pointer M, and as an example, a game is performed in which a virtual object is fired to a position or direction in the virtual space determined based on the display position of the pointer M. The display position of the pointer M can be changed by tilting the left stick 32, and a virtual object (e.g., a fruit object or a ball object) is fired to a position or direction in the virtual space determined based on the display position of the pointer M in response to a predetermined operation (e.g., an operation of pressing the A button 53 or the B button 54). The game processing means performs game processing based on a position or direction in the virtual space determined based on the position of the pointer displayed on the screen, and corresponds to the processor 81 that performs the above game processing, as an example. The above game processing may also be a shooting game in which a bullet object, a cannonball object, or the like is fired to a position or direction in the virtual space determined based on the position of the pointer displayed on the screen, thereby shooting at a target arranged in the virtual space.

[0088] The pointer M can only move within the movable range A. For example, the movable range A is set as a range showing a part of the display screen. Note that in Figs. 8 to 11, the movable range A is illustrated for convenience in order to make the explanation easier to understand, but the movable range A does not need to be displayed in the actual game image, and a guide frame showing a part of the outer frame of the movable range A (for example, the four corners) may be displayed. As an example, the movable range A is set to a rectangular range located at the center of the display screen, and its width and height are set to lengths shorter than the full width and full height of the display screen (for example, about 1 / 3 of the full width and 1 / 2 of the full height). Note that the movable range A may be set to be offset from the center of the display screen. Also, the shape of the movable range A does not need to be rectangular, and may be other polygonal shapes, circles, ellipses, semicircles, sector shapes, etc.

[0089] The pointer M may be displayed by being placed in the virtual space, or may be displayed by being synthesized with a virtual space image. In the former case, as an example, in the virtual space in which the player object, the character object CO, the object OBJ, etc. are placed, a virtual plane having a main surface perpendicular to the line of sight of the virtual camera is placed, and the pointer M is attached to the main surface of the plane. This allows the pointer M to move two-dimensionally by translating on the plane. In the former case, as another example, a virtual space in which the pointer M is placed on a game field or an object surface in the virtual space is generated. This allows the pointer M to move three-dimensionally in the left-right, up-down, front-back directions of the virtual space. By generating an image rendered including the pointer M in this way, a game image in which the pointer M is placed can be displayed on the display 12. In the latter case, a game image can be displayed on the display 12 by superimposing and synthesizing the pointer M on a virtual space image in which the player object, the character object CO, the object OBJ, etc. are rendered. This allows the pointer M to move two-dimensionally and be displayed superimposed.

[0090] 9, a pointer operation and an end operation using the left stick 32 will be described. In this embodiment, tilting the left stick 32 allows an operation of moving the pointer M within the movable range A (pointer operation) and an operation of changing the direction of the virtual camera after the pointer M reaches the end of the movable range A (end operation).

[0091] 9, a game image in which a character object and other objects are arranged in a virtual space is displayed on the display 12. A movable range A is set at the center of the display 12, and a pointer M is displayed at a default position (the center of the movable range A). A case will be described in which, with such a game image displayed on the display 12, the left stick 32 is tilted to the right (an operation of tilting the left stick in the negative direction of the x-axis; an operation in the direction of the arrow in the drawing).

[0092] In the middle diagram of FIG. 9, when the left stick 32 is tilted to the right, the display position of the pointer M moves to the right (arrow L1 in the drawing; negative direction of the x-axis in the drawing). For example, the direction in which the pointer M moves is the same as the direction in which the left stick 32 is tilted. The amount of movement of the pointer M is controlled by a movement speed (the greater the tilt angle, the faster the movement speed) calculated based on the tilt angle of the left stick 32. When the pointer M reaches an end of the movable range A, the movement of the pointer M stops. For example, in the example of the middle diagram of FIG. 9, the pointer M moving to the right of the display screen reaches the right end of the movable range A, and is displayed stopped at the position where it reaches the right end of the movable range A, and cannot move beyond the right end of the movable range A.

[0093] In the lower diagram of FIG. 9, when the pointer M reaches the right end of the movable range A and stops, if the left stick 32 is further tilted to the right, the virtual camera rotates to the right while maintaining the display position of the pointer M, and the imaging direction is changed. This right rotation of the virtual camera also moves the display range of the virtual space displayed on the display 12 to the right, so that the display object in the virtual space displayed on the display 12 moves to the left (arrow L2 in the figure) and is displayed (for example, in the example of the middle diagram to the lower diagram of FIG. 9, the tree object displayed on the right side is displayed near the center). For example, the direction in which the virtual camera rotates is the same as the tilt direction of the left stick 32. In addition, the rotation amount of the virtual camera is controlled by the rotation speed (the larger the tilt angle, the faster the rotation speed) calculated based on the tilt angle of the left stick 32. Thus, in this embodiment, when the pointer M is located at the end of the movable range A, if a tilt operation (end operation) is performed by the left stick 32 to instruct a direction from the end to the outside of the movable range A, the imaging direction of the virtual camera is changed according to the direction of the tilt operation.

[0094] Even when the pointer M is displayed at the end of the movable range A, the pointer M may move within the movable range A by tilting the left stick 32. As a first example, when the pointer M is located at the end of the movable range A, if a tilt operation is performed with the left stick 32 to indicate a direction from the end to the inside of the movable range A (for example, a tilt operation in a direction returning the pointer M after it reaches the end of the movable range A), the pointer M moves toward the inside of the movable range A. As a second example, when the pointer M reaches the end of the movable range A and then a tilt operation is performed in a tilt direction having a component along the end, the pointer M moves along the end. For example, as in the examples of the middle and lower diagrams of FIG. 9, when the pointer M is displayed at the right end of the movable range A, the pointer M cannot move to the right of the display screen, but can move upward or downward along the right end. Specifically, when pointer M is displayed at the right end of movable range A and the left stick 32 is tilted upward (positive y-axis direction in the figure) or to the upper right of the display screen, pointer M moves upward along the right end until it reaches the top end of movable range A.

[0095] In this embodiment, the tilt operation of the left stick 32 may perform both a pointer operation for moving the pointer M and an end operation for changing the direction of the virtual camera. The movable range A in this embodiment has a horizontal range in which the pointer A can move in the horizontal direction and a vertical range in which the pointer A can move in the vertical direction. When the left stick 32 is tilted to move the pointer M to the left or right beyond the horizontal range, the pointer M stops moving within the horizontal range, and the tilt operation thereafter transitions to an instruction for rotating the virtual camera to the left or right. When the left stick 32 is tilted to move the pointer M to the up or down range, the pointer M stops moving within the vertical range, and the tilt operation thereafter transitions to an instruction for rotating the virtual camera to the up or down. Therefore, when the left stick 32 is tilted in a direction having both a horizontal component and an up or down component (for example, tilted to the upper left), the movement of the pointer M may be tilted beyond one range but not beyond the other range. In this case, the virtual camera will be instructed to rotate in the direction of one of the ranges that the movement of the pointer M exceeds, while the movement of the pointer M will continue in the direction of the other range that the movement of the pointer M does not exceed, and by tilting the left stick 32, both a pointer operation to move the pointer M and an end operation to change the direction of the virtual camera are performed simultaneously.

[0096] Furthermore, even if the pointer M is moving within the movable range A by tilting the left stick 32, the direction of the virtual camera may be changed together with the movement of the pointer M. As an example, only when the pointer M is moving in a predetermined direction (e.g., up or down) within the movable range A, the direction of the virtual camera may be changed to the predetermined direction (e.g., up or down) together with the movement of the pointer M in the predetermined direction.

[0097] Furthermore, even if the display position of the pointer M is maintained, it goes without saying that the position or direction in the virtual space determined based on the display position of the pointer M will change if the display range of the virtual space changes.

[0098] 10, a first virtual camera operation using the right stick 52 will be described. In this embodiment, by tilting the right stick 52, an operation (first virtual camera operation) for changing the direction of the virtual camera without moving the pointer M on the display screen can be performed.

[0099] In the upper diagram of Fig. 10, a game image in which character objects and objects are arranged in a virtual space is displayed on the display 12. A movable range A is set at the center of the display 12, and a pointer M is displayed at a default position (the center of the movable range A). A case will be described in which, with such a game image displayed on the display 12, the right stick 52 is tilted to the right (the operation of tilting the right stick in the negative direction of the x-axis; the operation in the direction of the arrow in the drawing).

[0100] In the middle diagram of FIG. 10, when the right stick 52 is tilted to the right, the virtual camera rotates to the right while maintaining the display position of the pointer M, changing the imaging direction. This right rotation of the virtual camera also moves the display range of the virtual space displayed on the display 12 to the right, so that the display object in the virtual space displayed on the display 12 moves to the left (arrow R1 in the drawing). For example, the direction in which the virtual camera rotates is the same as the tilt direction of the right stick 52. The amount of rotation of the virtual camera is controlled by the rotation speed calculated based on the tilt angle of the right stick 52 (the greater the tilt angle, the faster the rotation speed).

[0101] In the lower diagram of FIG. 10, when the right stick 52 is further tilted to the right, the virtual camera rotates further to the right while maintaining the display position of the pointer M, and the imaging direction is changed. This right rotation of the virtual camera also moves the display range of the virtual space displayed on the display 12 further to the right, so that the display object in the virtual space displayed on the display 12 moves further to the left (arrow R2 in the drawing) and is displayed (for example, in the examples of the upper diagram to the lower diagram of FIG. 10, the tree object displayed on the right side is displayed near the center). Thus, in this embodiment, when a tilt operation is performed with the right stick 52, the imaging direction of the virtual camera is changed according to the direction of the tilt operation while maintaining the display position of the pointer M.

[0102] With reference to FIG. 11, the second virtual camera operation using the inertial sensor by changing the attitude of the entire integrated device will be described. In this embodiment, an operation of changing the attitude of the entire integrated device allows an operation of changing the direction of the virtual camera (second virtual camera operation) without moving the pointer M on the display screen. The inertial sensor used to detect the change in the attitude of the entire integrated device may be an angular velocity sensor provided in the integrated device, an acceleration sensor provided in the integrated device, or both of them. The angular velocity sensor used to detect the change in the attitude of the entire integrated device may be at least one of the angular velocity sensor 90 provided in the main unit 2, the angular velocity sensor 105 provided in the left controller 3, and the angular velocity sensor 115 provided in the right controller 4. The acceleration sensor used to detect the change in the attitude of the entire integrated device may be at least one of the acceleration sensor 89 provided in the main unit 2, the acceleration sensor 104 provided in the left controller 3, and the acceleration sensor 114 provided in the right controller 4.

[0103] In the upper diagram of Fig. 11, a game image in which a character object and objects are arranged in a virtual space is displayed on the display 12. A movable range A is set at the center of the display 12, and a pointer M is displayed at a default position (the center of the movable range A). With such a game image displayed on the display 12, an operation for yawing the attitude of the entire all-in-one device to the right (an operation for rotating the entire all-in-one device around the y-axis direction in the figure so that the depth direction of the display screen moves to the right; an operation in the Y direction in the figure) will be described.

[0104] In the middle diagram of FIG. 11, when an operation is performed to yaw the entire all-in-one device to the right, the virtual camera rotates to the right while maintaining the display position of the pointer M, changing the imaging direction. This right rotation of the virtual camera causes the display range of the virtual space displayed on the display 12 to move to the right, so that the display object in the virtual space displayed on the display 12 moves to the left (arrow J1 in the figure) and is displayed. For example, the direction in which the virtual camera rotates is the same as the rotation direction (yaw direction) in which the entire all-in-one device yaws to the right. In addition, the amount of rotation of the virtual camera is controlled so that it rotates at the same angle as the rotation angle (yaw angle) in which the entire all-in-one device yaws to the right.

[0105] Here, the virtual camera by the second virtual camera operation may change its attitude in the same manner as the attitude change from the reference attitude set for the all-in-one device (angle change amount from the reference attitude in each of the yaw, pitch, and roll directions). Specifically, depending on the direction of the attitude change from the reference attitude of the all-in-one device in the real space, the attitude of the virtual camera in the virtual space is changed from the reference attitude in the same direction as the attitude change. Then, the attitude of the virtual camera in the virtual space is changed from the reference attitude by the same amount as the attitude change amount from the reference attitude of the all-in-one device in the real space. Note that the amount by which the attitude of the virtual camera is changed may be different from the attitude change amount from the reference attitude of the all-in-one device, and may be more or less than the attitude change amount of the all-in-one device. Note that, in this embodiment, the reference attitude of the all-in-one device is set at the point in time when the tilt operation of the stick (tilt operation of the left stick 32 and / or the right stick 52) is started and then ended, and the attitude of the all-in-one device in the real space at that time is reset as a new reference attitude. Also, with regard to the reference attitude of the virtual camera in the virtual space, the attitude of the virtual camera in the virtual space at the above time is reset as a new reference attitude.

[0106] As another example, the change in the attitude of the virtual camera due to the second virtual camera operation may be controlled based on the direction and amount of attitude change for each processing cycle (frame) in the integrated device. For example, the direction and amount of change in the attitude of the virtual camera in the virtual space may be determined based on the direction and amount of attitude change from the previous frame of the integrated device in the real space. In this example, as described later, when the second virtual camera operation is performed using an inertial sensor by changing the attitude of the entire integrated device while processing based on the stick operation (tilting operation of the left stick 32 and / or the right stick 52) is being performed, the change amount of the imaging direction of the virtual camera based on the second virtual camera operation while processing based on the stick operation is being performed may be set to 0 by not performing the above processing of determining the direction and amount of change in the attitude of the virtual camera based on the change for each processing cycle in the integrated device.

[0107] In the lower diagram of FIG. 11, when an operation to yaw the entire all-in-one device to the right is performed, the virtual camera rotates further to the right while maintaining the display position of the pointer M, changing the imaging direction. This right rotation of the virtual camera also moves the display range of the virtual space displayed on the display 12 further to the right, so that the display object in the virtual space displayed on the display 12 moves further to the left (arrow J2 in the figure) and is displayed (for example, in the examples of the upper diagram to the lower diagram of FIG. 11, the tree object displayed on the right side is displayed near the center). In this way, in this embodiment, when an operation to change the attitude of the entire all-in-one device is performed, the imaging direction of the virtual camera is changed according to the direction and amount of attitude change while maintaining the display position of the pointer M.

[0108] In this embodiment, when the above-mentioned three user operations are performed simultaneously, the following controls (a) to (d) are performed.

[0109] (a) When a second virtual camera operation is performed using an inertial sensor by changing the attitude of the entire integrated device while a process of moving the pointer M or a process of changing the imaging direction of the virtual camera is being performed based on the tilt operation of the left stick 32, the absolute value of the change amount of the imaging direction of the virtual camera based on the second virtual camera operation is reduced compared to when the second virtual camera operation is performed when the process based on the tilt operation of the left stick 32 is not being performed. For example, compared to when the second virtual camera operation is performed when the process based on the tilt operation of the left stick 32 is not being performed, the absolute value of the change amount of the imaging direction of the virtual camera based on the second virtual camera operation is set to 0, reduced to 30%, reduced to 50%, or reduced to 80%. Note that setting the change amount of the imaging direction of the virtual camera to 0 includes disabling virtual camera control by the second virtual camera operation and includes setting the change amount of the imaging direction of the virtual camera to substantially 0.

[0110] (b) When a second virtual camera operation using an inertial sensor is performed by changing the attitude of the entire integrated device while a process for changing the imaging direction of the virtual camera is being performed based on the tilt operation of the right stick 52 (first virtual camera operation), the absolute value of the change amount of the imaging direction of the virtual camera based on the second virtual camera operation is reduced compared to when the second virtual camera operation is performed when the process based on the first virtual camera operation is not being performed. For example, the absolute value of the change amount of the imaging direction of the virtual camera based on the second virtual camera operation is set to 0, reduced to 30%, reduced to 50%, or reduced to 80%, compared to when the second virtual camera operation is performed when the process based on the tilt operation of the right stick 52 is not being performed.

[0111] (c) When a first virtual camera operation is performed using the right stick 32 while a process of moving the pointer M is being performed based on a tilt operation of the left stick 32, both a process of moving the pointer M and a process of changing the imaging direction of the virtual camera based on the first virtual camera operation are performed.

[0112] (d) When a first virtual camera operation is performed using the right stick 32 while a process of changing the imaging direction of the virtual camera is being performed based on the tilt operation of the left stick 32, the imaging direction of the virtual camera is changed by an amount of change obtained by adding together an amount of change for changing the imaging direction of the virtual camera based on the tilt operation of the left stick 32 and an amount of change for changing the imaging direction of the virtual camera based on the first virtual camera operation. The above-mentioned addition may be performed after reducing at least one of the absolute values ​​of the added amounts of change. In either case, when the amount of change for changing the imaging direction of the virtual camera in the left-right component based on the tilt operation of the left stick 32 and the amount of change for changing the imaging direction of the virtual camera in the left-right component based on the first virtual camera operation are both positive, the imaging direction of the virtual camera is changed by an amount of change larger than either of the two in the left-right component, and when both are negative, the imaging direction of the virtual camera is changed by an amount of change smaller than either of the two in the left-right component. In addition, when the change amount for changing the imaging direction of the virtual camera in the vertical direction component based on the tilt operation of the left stick 32 and the change amount for changing the imaging direction of the virtual camera in the vertical direction component based on the first virtual camera operation are both positive, the imaging direction of the virtual camera is changed by a change amount in the vertical direction component that is larger than either of them, and when both are negative, the imaging direction of the virtual camera is changed by a change amount in the vertical direction component that is smaller than either of them. Note that the change amount used in this embodiment is an amount that can be negative, and may be a vector amount having positive and negative values ​​as an example. Note that the "small change amount" in the negative change amount does not mean that the absolute value of the change amount is small, but means that the change amount that is a negative value is mathematically small (the absolute value of the change amount is large). In addition, depending on the directions in which the imaging direction of the virtual camera is changed by the two operations, at least a part of the change amount may be offset by adding the change amounts of both of them.

[0113] In this way, by performing the above-mentioned controls (a) to (d), when a process by stick operation (tilt operation of the left stick 32 and / or the right stick 52) and a process by an operation that changes the attitude of the entire all-in-one device are performed simultaneously, the action on the virtual camera by the process by the operation that changes the attitude of the entire all-in-one device is reduced (for example, invalidated). This makes it possible to prevent the movement of the virtual camera caused by the device itself moving unintentionally while playing a game by stick operation, and it is possible to expect stable game play and improve operability. Furthermore, when a process by tilt operation of the left stick 32 and a process by tilt operation of the right stick 52 are performed simultaneously, both of the processes are performed in parallel, or the actions on the virtual camera by each process are combined (for example, added). This is suitable for a case where it is desired to quickly move the display range of the virtual space displayed on the display screen, and operability in virtual camera control is improved. Furthermore, this is suitable for a case where it is desired to move the display range of the virtual space displayed on the display screen while moving the display position of the pointer, and it is possible to perform an operation that achieves both pointer display position control and virtual camera control.

[0114] In the above embodiment, the direction of the virtual camera is changed by the stick operation (tilting operation of the left stick 32 and / or the right stick 52) or the operation of changing the attitude of the entire all-in-one device, but other parameters of the virtual camera may be changed. For example, the position of the virtual camera in the virtual space may be changed by the stick operation or the operation of changing the attitude of the entire all-in-one device. As an example, the position of the virtual camera may be changed by setting the moving direction of the virtual camera according to the tilting direction of the stick tilting operation or the direction in which the attitude of the entire all-in-one device changes, and setting the moving speed and moving amount of the virtual camera according to the tilting angle of the stick tilting operation or the angle in which the attitude of the entire all-in-one device changes. In addition, both the direction and the position of the virtual camera in the virtual space may be changed by the stick operation or the operation of changing the attitude of the entire all-in-one device. In addition, the direction and / or the position of the player object generating the subjective image may also be changed according to changing the direction and / or the position of the virtual camera described above.

[0115] In the above embodiment, the virtual camera control based on the operation of another user is adjusted based on whether or not a process based on a user operation is being performed, but the virtual camera control may be performed based on other conditions. For example, the virtual camera control based on the operation of another user may be adjusted based on whether or not a user operation is being performed.

[0116] Next, an example of a specific process executed by the game system 1 in this embodiment will be described with reference to Fig. 12 to Fig. 16. Fig. 12 is a diagram showing an example of a data area set in the DRAM 85 of the main unit 2 in this embodiment. In addition to the data shown in Fig. 12, the DRAM 85 also stores data used in other processes, but detailed description thereof will be omitted.

[0117] The program storage area of ​​the DRAM 85 stores various programs Pa executed by the game system 1. In this embodiment, the various programs Pa store application programs (e.g., game programs) for performing information processing based on data acquired from the left controller 3 and / or the right controller 4 or the main unit 2. The various programs Pa may be stored in advance in the flash memory 84, or may be acquired from a storage medium removable from the game system 1 (e.g., a predetermined type of storage medium inserted in the slot 23) and stored in the DRAM 85, or may be acquired from another device via a network such as the Internet and stored in the DRAM 85. The processor 81 executes the various programs Pa stored in the DRAM 85.

[0118] Furthermore, the data storage area of ​​the DRAM 85 stores various data used in processes such as information processing executed in the game system 1. In this embodiment, the DRAM 85 stores operation data Da, reference attitude data Db, change amount data Dc, virtual camera data Dd, pointer data De, player object data Df, object data Dg, stick operation flag data Dh, image data Di, and the like.

[0119] The operation data Da is operation data appropriately acquired from the left controller 3 and / or the right controller 4 and the main unit 2. As described above, the operation data acquired from the left controller 3 and / or the right controller 4 and the main unit 2 includes information on input from each input unit (specifically, each button, analog stick, touch panel, each sensor) (specifically, information on operation and detection results by each sensor). In this embodiment, the operation data is acquired from the left controller 3 and / or the right controller 4 and the main unit 2, and the operation data Da is appropriately updated using the acquired operation data. The update cycle of the operation data Da may be updated every frame, which is the cycle of processing executed by the game system 1 described later, or may be updated every cycle in which the above operation data is acquired.

[0120] The reference attitude data Db is data indicating a reference attitude in real space set for the all-in-one device. For example, the reference attitude data Db is data indicating a reference attitude of the all-in-one device based on the gravity direction in real space (for example, the directions of three predetermined axes (for example, xyz axes orthogonal to each other of the main device 2, the left controller 3, and the right controller 4) of the all-in-one device relative to the gravity direction).

[0121] The change amount data Dc is data indicating the amount of change in the attitude of the integrated device in real space relative to the reference attitude. For example, the change amount data Dc is data indicating the difference (angle difference) between the three axes of the integrated device at the current time as the amount of change in attitude, based on the three axes of the integrated device in the reference attitude.

[0122] The virtual camera data Dd is data that indicates the position and attitude of the virtual camera in the virtual space and the reference attitude.

[0123] The pointer data De is data that indicates the position of the pointer M displayed on the display 12.

[0124] The player object data Df is data indicating the position and posture of a player object placed in a virtual space, as well as its action, state, etc. in the virtual space. The object data Dg is data indicating the type, position, posture, state, etc. of each object placed in the virtual space.

[0125] The stick operation flag data Dh is data indicating a stick operation flag that is set to ON when the left stick 32 and / or the right stick 52 is being tilted.

[0126] The image data Di is data for displaying an image (eg, an image of a player object, an image of a character object CO or an object OBJ, an image of a virtual space, a background image, etc.) on a display screen (eg, the display 12 of the main unit 2).

[0127] Next, a detailed example of the information processing in this embodiment will be described with reference to Figs. 13 to 16. Fig. 13 is a flow chart showing an example of the information processing executed by the game system 1. Fig. 14 is a subroutine showing a detailed example of the left stick operation processing performed in step S126 in Fig. 13. Fig. 15 is a subroutine showing a detailed example of the right stick operation processing performed in step S127 in Fig. 13. Fig. 16 is a subroutine showing a detailed example of the gyro operation processing performed in step S132 in Fig. 13. In this embodiment, the series of processing shown in Figs. 13 to 16 is performed by the processor 81 executing a predetermined application program (game program) included in the various programs Pa. In addition, the timing at which the information processing shown in Figs. 13 to 16 is started is arbitrary.

[0128] Note that the processing of each step in the flowcharts shown in Figs. 13 to 16 is merely an example, and the processing order of each step may be changed, or another processing may be performed in addition to (or instead of) the processing of each step, as long as the same result is obtained. In addition, in this embodiment, the processing of each step in the above flowchart is described as being executed by the processor 81, but the processing of some steps in the above flowchart may be executed by a processor other than the processor 81 or a dedicated circuit. In addition, some of the processing executed in the main unit 2 may be executed by another information processing device that can communicate with the main unit 2 (for example, a server that can communicate with the main unit 2 via a network). In other words, each processing shown in Figs. 13 to 16 may be executed by a plurality of information processing devices including the main unit 2 working together.

[0129] In FIG. 13, the processor 81 performs initial settings in information processing (step S121) and proceeds to the next step. For example, in the initial settings, the processor 81 initializes parameters for performing the processing described below. For example, the processor 81 initially places a player object and multiple objects in a virtual space based on a preset setting of the virtual space, and initially sets the player object data Df and the object data Dg. The processor 81 also sets a virtual camera for generating a subjective image of the player object, and updates the virtual camera data Dd with the current attitude of the virtual camera as a reference attitude. The processor 81 also sets the current attitude of the all-in-one device in the real space as a reference attitude, and updates the reference attitude data Db.

[0130] Next, the processor 81 acquires operation data from the left controller 3, the right controller 4, and / or the main unit 2, updates the operation data Da (step S122), and proceeds to the next step.

[0131] Next, processor 81 determines whether or not a stick operation is being performed (step S123). For example, processor 81 refers to operation data Da, and when at least one of left stick 32 and right stick 52 is being tilted, makes a positive determination in the above step S123, and when neither left stick 32 nor right stick 52 is being tilted, makes a negative determination in the above step S123. Then, when a stick operation is being performed, processor 81 advances the process to step S125. On the other hand, when a stick operation is not being performed, processor 81 advances the process to step S128.

[0132] In step S125, the processor 81 sets the stick operation flag to ON, and proceeds to the next step. For example, the processor 81 sets the stick operation flag to ON, and updates the stick operation flag data Dh.

[0133] Next, processor 81 performs a left stick operation process (step S126), and proceeds to step S127. Hereinafter, the left stick operation process performed in step S126 will be described with reference to FIG.

[0134] 14, processor 81 determines whether or not the left stick is operated (step S141). For example, processor 81 refers to operation data Da, and when left stick 32 is operated by tilting, makes a positive determination in step S141. Then, when the left stick is operated, processor 81 advances the process to step S142. On the other hand, when the left stick is not operated, processor 81 ends the process of the subroutine.

[0135] In step S142, the processor 81 determines whether or not the tilt operation of the left stick indicates an instruction to move the display position of the pointer M beyond the movable range A. For example, the processor 81 refers to the operation data Da and the pointer data De, and when the display position of the pointer M is located at an end of the movable range A and the tilt operation of the left stick 32 indicates an instruction to move the pointer M from the end to the outside of the movable range A, the processor 81 makes a positive determination in the above-mentioned step S142. Then, when the tilt operation of the left stick indicates an instruction to move the display position of the pointer M beyond the movable range A, the processor 81 advances the process to step S143. On the other hand, when the tilt operation of the left stick does not indicate an instruction to move the display position of the pointer M beyond the movable range A, the processor 81 advances the process to step S151.

[0136] In step S143, the processor 81 determines whether the tilt operation of the left stick indicates an instruction to move the display position of the pointer M beyond the left or right end of the movable range A. For example, the processor 81 refers to the operation data Da and the pointer data De, and when the display position of the pointer M is located at the left or right end of the movable range A and the tilt operation of the left stick 32 indicates an instruction to move the pointer M from the left or right end to the outside of the movable range A, the processor 81 makes a positive determination in the above step S143. Then, when the tilt operation of the left stick indicates an instruction to move the display position of the pointer M beyond the left or right end of the movable range A, the processor 81 advances the process to step S144. On the other hand, when the tilt operation of the left stick does not indicate an instruction to move the display position of the pointer M beyond the left or right end of the movable range A, the processor 81 advances the process to step S147. The movable range setting means performs a process of setting a movable range indicating a range within which the pointer can move within the screen, and corresponds to the processor 81 performing the processes of steps S142 and S143, for example.

[0137] In step S144, the processor 81 changes the direction of the virtual camera left or right in response to the tilt operation of the left stick 32, and proceeds to the next step. For example, the processor 81 sets the direction of rotation of the virtual camera to the left when an instruction is given for the display position of the pointer M to exceed the left end of the movable range A, and sets the direction of rotation to the right when an instruction is given for the display position of the pointer M to exceed the right end of the movable range A. The processor 81 also calculates the rotation speed of the virtual camera based on the left or right component of the tilt angle of the left stick 32 (the larger the left or right component of the tilt angle, the faster the rotation speed). The processor 81 then changes the attitude of the virtual camera indicated by the virtual camera data Dd based on the calculated rotation direction and rotation speed of the virtual camera, and updates the virtual camera data Dd using the attitude of the virtual camera after the change. In the process of step S144, the processor 81 maintains the position of the pointer M as it is without moving it left or right in response to the tilt operation of the left stick 32. In addition, when the pointer is located at the end of the movable range and an end operation is performed by the first input means to indicate a direction from the end of the movable range to outside the movable range, the end operation processing means performs processing to change the position or imaging direction of the virtual camera depending on the direction of the end operation, and as an example, corresponds to the processor 81 that performs the processing of step S144.

[0138] Next, the processor 81 determines whether or not the tilt angle of the tilt operation of the left stick 32 has an upward or downward component (step S145). If the tilt angle of the tilt operation of the left stick 32 has an upward or downward component, the processor 81 proceeds to the process of step S146. On the other hand, if the tilt angle of the tilt operation of the left stick 32 does not have an upward or downward component, the processor 81 proceeds to the process of step S147.

[0139] In step S146, the processor 81 moves the pointer M along the left end or right end of the movable range A where the pointer M is located, and proceeds to step S147. For example, when the pointer M is located on the left end of the movable range A, the processor 81 calculates a moving speed based on the vertical component of the tilt angle in the tilt operation of the left stick 32, moves the pointer M along the left end at the moving speed in the direction in which the vertical component occurs, and updates the pointer data De using the position after the movement. When the pointer M is located on the right end of the movable range A, the processor 81 calculates a moving speed based on the vertical component of the tilt angle in the tilt operation of the left stick 32, moves the pointer M along the right end at the moving speed in the direction in which the vertical component occurs, and updates the pointer data De using the position after the movement. Note that, when the movement of the pointer M causes the movement to exceed the upper end or lower end of the movable range A, the processor 81 stops the movement of the pointer M at the position where the upper end or lower end is reached, and updates the pointer data De. The pointer operation means performs a pointer operation process for changing the position of the pointer displayed on the screen based on a pointer operation by the first input means, and corresponds to the processor 81 that performs the process of step S146, for example.

[0140] In step S147, the processor 81 determines whether or not the tilt operation of the left stick indicates an instruction to move the display position of the pointer M beyond the upper or lower end of the movable range A. For example, the processor 81 refers to the operation data Da and the pointer data De, and when the display position of the pointer M is located at the upper or lower end of the movable range A and the tilt operation of the left stick 32 indicates an instruction to move the pointer M from the upper or lower end to the outside of the movable range A, the processor 81 makes a positive determination in the above step S147. Then, when the tilt operation of the left stick indicates an instruction to move the display position of the pointer M beyond the upper or lower end of the movable range A, the processor 81 advances the process to step S148. On the other hand, when the tilt operation of the left stick does not indicate an instruction to move the display position of the pointer M beyond the left or right end of the movable range A, the processor 81 ends the process of the subroutine. The movable range setting means performs a process of setting a movable range indicating a range within the screen in which the pointer can move, and corresponds to the processor 81 performing the process of step S147 as an example.

[0141] In step S148, the processor 81 changes the direction of the virtual camera up or down in response to the tilt operation of the left stick 32, and proceeds to the next step. For example, the processor 81 sets the direction of rotation of the virtual camera to the upward direction when an instruction is given to move the display position of the pointer M beyond the upper end of the movable range A, and sets the direction of rotation of the virtual camera to the downward direction when an instruction is given to move the display position of the pointer M beyond the lower end of the movable range A. The processor 81 also calculates the rotation speed of the virtual camera based on the upward or downward component of the tilt angle of the left stick 32 (the larger the upward or downward component of the tilt angle, the faster the rotation speed is). The processor 81 then changes the attitude of the virtual camera indicated by the virtual camera data Dd based on the calculated rotation direction and rotation speed of the virtual camera, and updates the virtual camera data Dd using the attitude of the virtual camera after the change. In the process of step S148, the processor 81 maintains the position of the pointer M as it is without moving it up or down in response to the tilt operation of the left stick 32. In addition, when the pointer is located at the end of the movable range and an end operation is performed by the first input means to indicate a direction from the end of the movable range to outside the movable range, the end operation processing means performs processing to change the position or imaging direction of the virtual camera depending on the direction of the end operation, and as an example, corresponds to the processor 81 that performs the processing of step S148.

[0142] Next, processor 81 determines whether or not the tilt angle of the tilt operation of left stick 32 has a left-right component (step S149). If the tilt angle of the tilt operation of left stick 32 has a left-right component, processor 81 proceeds to step S150. On the other hand, if the tilt angle of the tilt operation of left stick 32 does not have a left-right component, processor 81 ends the processing of this subroutine.

[0143] In step S150, the processor 81 moves the pointer M along the upper end or lower end of the movable range A where the pointer M is located, and ends the processing of the subroutine. For example, when the pointer M is located on the upper end of the movable range A, the processor 81 calculates a moving speed based on the left-right component of the tilt angle in the tilt operation of the left stick 32, moves the pointer M along the upper end at the moving speed in the direction where the left-right component occurs, and updates the pointer data De using the position after the movement. When the pointer M is located on the lower end of the movable range A, the processor 81 calculates a moving speed based on the left-right component of the tilt angle in the tilt operation of the left stick 32, moves the pointer M along the lower end at the moving speed in the direction where the left-right component occurs, and updates the pointer data De using the position after the movement. Note that, when the movement of the pointer M causes the movement beyond the left end or right end of the movable range A, the processor 81 stops the movement of the pointer M at the position where the left end or right end is reached, and updates the pointer data De.

[0144] On the other hand, when it is determined in the process of step S142 that the tilt operation of the left stick is not an instruction to move the display position of the pointer M beyond the movable range A, the processor 81 moves the pointer M in response to the tilt operation of the left stick (step S151) and ends the process of the subroutine. For example, the processor 81 calculates a moving speed based on the tilt angle of the tilt operation of the left stick 32, moves the pointer M at the moving speed in the direction in which the tilt operation is being performed, and updates the pointer data De using the position after the movement. Note that, when the movement of the pointer M causes the movement beyond the end of the movable range A, the processor 81 stops the movement of the pointer M at the position where the end is reached and updates the pointer data De. Note that the pointer operation means performs a pointer operation process to change the position of the pointer displayed on the screen based on the pointer operation by the first input means, and corresponds to the processor 81 that performs the processes of steps S150 and S151, for example.

[0145] Returning to Fig. 13, after the left stick operation process in step S126, processor 81 performs right stick operation process (step S127) and proceeds to step S133. The right stick operation process performed in step S127 will be described below with reference to Fig. 15. Note that the first camera operation means performs camera operation process to change the position or imaging direction of the virtual camera based on the first camera operation by the second input means, and corresponds to processor 81 performing the process of step S127 as an example.

[0146] 14, processor 81 determines whether or not the right stick is being operated (step S161). For example, processor 81 refers to operation data Da, and when right stick 52 is being tilted, makes a positive determination in step S161. Then, when the right stick is being operated, processor 81 advances the process to step S162. On the other hand, when the right stick is not being operated, processor 81 ends the process of the subroutine.

[0147] In step S162, the processor 81 changes the direction of the virtual camera in response to the right stick operation, and ends the processing of the subroutine. For example, the processor 81 sets the direction in which the virtual camera rotates to the same direction as the tilt direction of the right stick 52, based on the operation data Da. The processor 81 also calculates the rotation speed of the virtual camera based on the tilt angle of the right stick 52 (calculating so that the rotation speed becomes faster as the tilt angle becomes larger). The processor 81 then changes the attitude of the virtual camera indicated by the virtual camera data Dd based on the calculated rotation direction and rotation speed of the virtual camera, and updates the virtual camera data Dd using the attitude of the virtual camera after the change. Note that, if the direction of the virtual camera has been changed by the tilt operation of the left stick 32 in step S144 and / or step S148, the processing in step S162 further changes the direction of the virtual camera in addition to changing the direction of the virtual camera (i.e., by adding the respective change amounts). Furthermore, in the processing of step S162, processor 81 maintains the current position of pointer M without moving it in response to tilting operation of right stick 52. Note that, when a second camera operation is performed while pointer operation processing based on a pointer operation or camera operation processing based on a first camera operation is being performed, the change amount determination means performs processing to reduce the absolute value of the change amount of the virtual camera position or imaging direction based on the second camera operation, compared to a case where the second camera operation is performed when neither pointer operation processing based on the pointer operation nor camera operation processing based on the first camera operation is being performed, and corresponds to processor 81 performing the processing of step S162, as an example.

[0148] 13, when it is determined in step S123 that a stick operation is not being performed, the processor 81 determines whether or not a stick operation flag is on (step S128). For example, the processor 81 determines whether or not the stick operation flag is set to on with reference to the stick operation flag data Dh. If the stick operation flag is on, the processor 81 proceeds to the process of step S129. On the other hand, if the stick operation flag is off, the processor 81 proceeds to the process of step S131.

[0149] In step S129, the processor 81 sets the reference attitudes of the all-in-one device and the virtual camera, and proceeds to the next step. For example, the processor 81 sets the attitude of the all-in-one device at the current time in the real space as the reference attitude of the all-in-one device, and updates the reference attitude data Db. The processor 81 also sets the attitude of the virtual camera at the current time in the virtual space as the reference attitude of the virtual camera, and updates the virtual camera data Dd. In this way, in the above step S129, the reference attitudes of the all-in-one device and the virtual camera are reset at the time when the tilt operation of the stick (tilt operation of the left stick 32 and / or the right stick 52) is completed, and the attitudes of the all-in-one device and the virtual camera at that time are set as new reference attitudes.

[0150] Next, the processor 81 sets the stick operation flag to OFF (step S130), and proceeds to the process of step S 131. For example, the processor 81 sets the stick operation flag to OFF, and updates the stick operation flag data Dh.

[0151] In step S131, the processor 81 determines whether or not a gyro operation is being performed by changing the attitude of the integrated device (step S131). For example, the processor 81 refers to the operation data Da, and when the attitude of the integrated device has changed compared to the previous processing (for example, an angular velocity is generated in the integrated device), the processor 81 makes a positive determination in the above step S131. Then, when a gyro operation is being performed, the processor 81 advances the process to step S132. On the other hand, when a gyro operation is not being performed, the processor 81 advances the process to step S133.

[0152] In step S132, the processor 81 performs gyro operation processing, and the process proceeds to step S133. The gyro operation processing performed in the above step S132 will be described below with reference to Fig. 16. The second camera operation means performs camera operation processing to change the position or imaging direction of the virtual camera based on the second camera operation by the third input means using the inertial sensor, and corresponds to the processor 81 that performs the processing of step S132, as an example.

[0153] 16, the processor 81 calculates the amount of change in attitude from the reference attitude in the integrated device (step S171) and proceeds to the next step. For example, the processor 81 refers to the angular velocity indicated by the operation data Da and the reference attitude indicated by the reference attitude data Db to calculate the amount of change in attitude from the reference attitude in each of the three axes (x, y and z axes) of the integrated device (for example, the angle difference from the reference attitude of each of the three axes), and updates the change amount data Dc using the calculated amount of change in attitude.

[0154] Next, the processor 81 changes the direction of the virtual camera using the amount of attitude change calculated in step S171 (step S172), and ends the processing of the subroutine. For example, the processor 81 calculates the attitude of the virtual camera by changing the direction of the reference attitude of the virtual camera indicated by the virtual camera data Dd using the amount of attitude change indicated by the change amount data Dc, and updates the virtual camera data Dd with the attitude as the current attitude of the virtual camera. Specifically, the processor 81 changes the attitude of the virtual camera in the virtual space from the reference attitude in the same direction as the attitude change according to the direction of the attitude change with respect to the reference attitude of the all-in-one device indicated by the change amount data Dc. Then, the processor 81 changes the attitude of the virtual camera in the virtual space from the reference attitude by the same amount as the amount of attitude change with respect to the reference attitude of the all-in-one device indicated by the change amount data Dc. By changing the attitude of the virtual camera in this way, the attitude of the virtual camera is changed from the reference attitude in the same manner as the attitude change from the reference attitude set for the all-in-one device (the amount of angle change from the reference attitude in each of the yaw, pitch, and roll directions). In addition, when a second camera operation is performed while pointer operation processing based on a pointer operation or camera operation processing based on a first camera operation is being performed, the change amount determination means performs processing to reduce the absolute value of the change amount of the virtual camera position or imaging direction based on the second camera operation, compared to a case where the second camera operation is performed when neither pointer operation processing based on the pointer operation nor camera operation processing based on the first camera operation is being performed, and corresponds to processor 81 that performs the processing of step S172, as an example.

[0155] Returning to FIG. 13, in step S133, processor 81 moves the player object in the virtual space and proceeds to the next step. For example, processor 81 moves the player object based on operation data Da acquired in step S122 and updates player object data Df. Processor 81 also moves the player object placed in the virtual space based on virtual physical calculations in the player object and virtual space in response to the movement of the player object and the surrounding state, and updates player object data Df. Processor 81 also changes the state of the player object based on a state change calculation that changes the state of the player object, and updates player object data Df.

[0156] Next, processor 81 operates each object in the virtual space (step S134) and proceeds to the next step. For example, processor 81 operates each object arranged in the virtual space based on the movement of the player object, the movement of the object itself, such as a character object, or other objects, and virtual physical calculations in the virtual space, and updates the object data Dg. Processor 81 also changes the state of each object based on a state change calculation that changes the state of each object, and updates the object data Dg.

[0157] Next, the processor 81 performs a display control process (step S135) and proceeds to the next step. For example, the processor 81 places the player object, each object, and the pointer M in the virtual space based on the pointer data De, the player object data Df, and the object data Dg. The processor 81 also sets the position and / or attitude of a virtual camera for generating a display image based on the player object data Df and the virtual camera data Dd, and places the virtual camera in the virtual space. Then, the processor 81 generates an image of the virtual space seen from the set virtual camera, and performs control to display the virtual space image on the display 12. Note that the imaging means performs a process of imaging the virtual space with the virtual camera in order to generate a display image to be displayed on the screen, and corresponds to the processor 81 performing the process of step S135, for example.

[0158] Next, processor 81 determines whether or not to end the game processing (step S136). Conditions for ending the game processing in step S136 above include, for example, a condition for ending the game processing being satisfied, or the user performing an operation to end the game processing. If processor 81 does not end the game processing, it returns to step S122 above to repeat the process, and if it ends the game processing, it ends the process according to this flowchart. Thereafter, the series of processes from step S122 to step S136 is repeatedly executed until it is determined in step S136 that the process is to end.

[0159] Thus, in this embodiment, when it is possible to change the position and imaging direction of the virtual camera by multiple user operations including at least a stick operation and an operation that changes the attitude of the entire device, it is possible to improve operability when processing based on the multiple user operations is performed simultaneously.

[0160] In the above-described embodiment, when there are multiple input means for changing the position or imaging direction of the virtual camera, the amount of change is adjusted based on operations using one of the input means depending on whether processing based on operations using the other input means is being performed, thereby improving the operability of the input means.

[0161] The game system 1 may be any device, such as a portable game device, any portable electronic device (PDA (Personal Digital Assistant), mobile phone, personal computer, camera, tablet, etc.), etc. In this case, the input device for performing the operation of moving the object does not have to be the left controller 3 or the right controller 4, and may be another controller, a mouse, a touch pad, a touch panel, a trackball, a keyboard, a cross key, a slide pad, etc.

[0162] In the above description, the information processing is performed by the game system 1, but at least a part of the above processing steps may be performed by another device. For example, if the game system 1 is configured to be able to communicate with another device (e.g., another server, another image display device, another game device, another mobile terminal), the above processing steps may be executed by the cooperation of the other device. In this way, by performing at least a part of the above processing steps by the other device, processing similar to the above processing is possible. In addition, the above information processing can be executed by one processor or by cooperation between multiple processors included in an information processing system composed of at least one information processing device. In the above embodiment, the processor 81 of the game system 1 can execute a predetermined program to perform information processing, but a part or all of the above processing may be executed by a dedicated circuit provided in the game system 1.

[0163] According to the above-mentioned modified example, the present invention can be realized in a so-called cloud computing system form or a distributed wide area network and local network system form. For example, in a distributed local network system form, the above-mentioned processing can be executed by cooperation between a stationary information processing device (stationary game device) and a portable information processing device (portable game device). In these system forms, there is no particular limitation on which device performs the above-mentioned processing, and it goes without saying that the present invention can be realized regardless of the division of processing load.

[0164] Furthermore, the processing sequence, setting values, conditions used for judgment, and the like used in the above-described information processing are merely examples, and it goes without saying that this embodiment can be realized even with other sequences, values, and conditions.

[0165] The program may be supplied to the game system 1 through an external storage medium such as an external memory, or may be supplied to the device through a wired or wireless communication line. The program may be pre-recorded in a non-volatile storage device inside the device. The information storage medium for storing the program may be a non-volatile memory, a CD-ROM, a DVD, or an optical disk-shaped storage medium similar to these, a flexible disk, a hard disk, a magneto-optical disk, a magnetic tape, or the like. The information storage medium for storing the program may be a volatile memory for storing the program. Such a storage medium may be a recording medium that can be read by a computer or the like. For example, the various functions described above can be provided by having a computer or the like read and execute the programs from these recording media.

[0166] Although the present invention has been described in detail above, the above description is merely illustrative of the present invention in all respects and is not intended to limit its scope. Needless to say, various improvements and modifications can be made without departing from the scope of the present invention. In addition, it is understood that a person skilled in the art can implement an equivalent range based on the description of the present invention and technical common sense from the description of specific examples of the present invention. In addition, it should be understood that the terms used in this specification are used in the sense commonly used in the field unless otherwise specified. Therefore, unless otherwise defined, all technical terms and technical terms used in this specification have the same meaning as commonly understood by a person skilled in the art to which this invention belongs. In the event of a conflict, this specification (including definitions) shall prevail. [Industrial Applicability]

[0167] As described above, the present invention can be used as an information processing program, an information processing device, an information processing system, an information processing method, etc. that enable improved operability of an input means for changing the position and imaging direction of a virtual camera. [Explanation of symbols]

[0168] 1. Information processing system 2. Main unit 3...Left controller 4…Right controller 11. Housing 12…Display 13...Touch panel 32, 52…Analog stick 42, 64…Terminals 81…Processor 82…Network communication section 83...Controller communication section 85…DRAM 89, 104, 114...Accelerometer 90, 105, 115...Angular velocity sensor 101, 111...Communication control unit

Claims

1. An information processing program executed on a computer of an information processing device, The computer, an imaging means for imaging a virtual space with a virtual camera in order to generate a display image to be displayed on a screen; a pointer operation means for performing a pointer operation process to change a position of a pointer displayed on the screen based on a pointer operation by a first input means; a first camera operation means for performing a camera operation process for changing a position or an imaging direction of the virtual camera based on a first camera operation performed by a second input means; a second camera operation means for performing a camera operation process for changing a position or an imaging direction of the virtual camera based on a second camera operation performed by a third input means using an inertial sensor; a change amount determination means for decreasing an absolute value of a change amount of the position or the imaging direction of the virtual camera based on the second camera operation, when the second camera operation is performed while the pointer operation processing based on the pointer operation or the camera operation processing based on the first camera operation is being performed, compared to a case where the second camera operation is performed when neither the pointer operation processing based on the pointer operation nor the camera operation processing based on the first camera operation is being performed; a movable range setting means for setting a movable range indicating a range within which the pointer can be moved on the screen; when the pointer is located at an end of the movable range and an end operation is performed by the first input means to indicate a direction from the end of the movable range to outside the movable range, the device functions as an end operation processing means for changing a position or an imaging direction of the virtual camera in accordance with the direction of the end operation, The change amount determination means When the end operation of a first operation amount is performed without the first camera operation being performed, a position or an imaging direction of the virtual camera is changed by a first change amount in a first axis component; When the first camera operation of a second operation amount is performed without the end operation being performed, the position or imaging direction of the virtual camera is changed by a second change amount in the first axis component; an information processing program for detecting an amount of change in a position or an imaging direction of the virtual camera when the end operation of the first operation amount and the first camera operation of the second operation amount are performed simultaneously, the amount of change in the position or the imaging direction of the virtual camera is set to a third change amount that is larger than both of the first change amount and the second change amount in the first axis component when the first axis component of the first change amount and the first axis component of the second change amount are both positive, and is set to a third change amount that is smaller than both of the first change amount and the second change amount in the first axis component when both are negative.

2. An information processing program executed on a computer of an information processing device, The computer, an imaging means for imaging a virtual space with a virtual camera in order to generate a display image to be displayed on a screen; a pointer operation means for performing a pointer operation process to change a position of a pointer displayed on the screen based on a pointer operation by a first input means; a first camera operation means for performing a camera operation process for changing a position or an imaging direction of the virtual camera based on a first camera operation performed by a second input means; a second camera operation means for performing a camera operation process for changing a position or an imaging direction of the virtual camera based on a second camera operation performed by a third input means using an inertial sensor; when the second camera operation is performed while the pointer operation processing based on the pointer operation or the camera operation processing based on the first camera operation is being performed, function as a change amount determination means for reducing an absolute value of the change amount of the position or imaging direction of the virtual camera based on the second camera operation, compared to a case where the second camera operation is performed when neither the pointer operation processing based on the pointer operation nor the camera operation processing based on the first camera operation is being performed; The change amount determination means determining an amount of change in a position or an imaging direction of the virtual camera based on an amount of change in the attitude calculated based on an output of the inertial sensor, using an attitude change operation from a reference attitude by the third input means as the second camera operation; an information processing program for skipping determination of the amount of change based on the attitude change while the pointer operation processing based on the pointer operation or the camera operation processing based on the first camera operation is being performed, and setting the attitude of the third input means at the time when the pointer operation or the first camera operation is completed as the new reference attitude;

3. The information processing program according to claim 1, wherein the change amount determination means, when the second camera operation is performed while the end operation processing based on the end operation or the camera operation processing based on the first camera operation is being performed, reduces the absolute value of the change amount of the virtual camera position or imaging direction based on the second camera operation, compared to when the second camera operation is performed when neither the end operation processing based on the end operation nor the camera operation processing based on the first camera operation is being performed.

4. 4 . The information processing program according to claim 1 , wherein the end operation processing means does not move the pointer, which is located at an end of the movable range and displayed on the screen, when the end operation is performed.

5. 2 . The information processing program according to claim 1 , wherein the change amount determination means determines the third change amount by adding the first change amount and the second change amount.

6. The information processing program according to any one of claims 1 to 5, wherein the change amount determination means determines the amount of change in the position or imaging direction of the virtual camera based on the first camera operation to be the same in a case where the first camera operation is performed while the pointer operation processing based on the pointer operation is being performed and in a case where the first camera operation is performed while the pointer operation processing based on the pointer operation is not being performed.

7. An information processing program as described in any one of claims 1, 3, 4, and 5, wherein the change amount determination means determines the amount of change in the position or imaging direction of the virtual camera based on the first camera operation to be the same in a case where the first camera operation is performed while the end operation processing based on the end operation is being performed and in a case where the first camera operation is performed while the end operation processing based on the end operation is not being performed.

8. The information processing program according to any one of claims 1 to 7, wherein the change amount determination means does not change the position or imaging direction of the virtual camera based on the second camera operation when the second camera operation is performed while the pointer operation processing based on the pointer operation or the camera operation processing based on the first camera operation is being performed.

9. 9. The information processing program according to claim 1, further causing the computer to function as a game processing means for performing game processing based on a position or direction in the virtual space determined based on the position of the pointer displayed on the screen.

10. The information processing program according to claim 9 , wherein the game processing means launches, as the game processing, a virtual object to a position or direction in the virtual space that is determined based on a position of the pointer.

11. 11. The information processing program according to claim 1, wherein the first input means and the second input means are devices that perform output based on an operation by a user's finger.

12. an imaging means for imaging a virtual space with a virtual camera in order to generate a display image to be displayed on a screen; a pointer operation means for performing a pointer operation process to change a position of a pointer displayed on the screen based on a pointer operation by a first input means; a first camera operation means for performing a camera operation process for changing a position or an imaging direction of the virtual camera based on a first camera operation performed by a second input means; a second camera operation means for performing a camera operation process for changing a position or an imaging direction of the virtual camera based on a second camera operation performed by a third input means using an inertial sensor; a change amount determination means for decreasing an absolute value of a change amount of the position or the imaging direction of the virtual camera based on the second camera operation, when the second camera operation is performed while the pointer operation processing based on the pointer operation or the camera operation processing based on the first camera operation is being performed, compared to a case where the second camera operation is performed when neither the pointer operation processing based on the pointer operation nor the camera operation processing based on the first camera operation is being performed; a movable range setting means for setting a movable range indicating a range within which the pointer can be moved on the screen; an end operation processing means for changing a position or an imaging direction of the virtual camera in accordance with a direction of an end operation performed by the first input means when the pointer is located at an end of the movable range and an end operation is performed to point a direction from the end of the movable range to outside the movable range, The change amount determination means When the end operation of a first operation amount is performed without the first camera operation being performed, a position or an imaging direction of the virtual camera is changed by a first change amount in a first axis component; When the first camera operation of a second operation amount is performed without the end operation being performed, the position or imaging direction of the virtual camera is changed by a second change amount in the first axis component; an information processing device, when the end operation of the first operation amount and the first camera operation of the second operation amount are performed simultaneously, the change amount of the position or imaging direction of the virtual camera is set to a third change amount that is larger than both of the first change amount and the second change amount in the first axis component when the first axis component of the first change amount and the first axis component of the second change amount are both positive, and is set to a third change amount that is smaller than both of the first change amount and the second change amount in the first axis component when both are negative.

13. an imaging means for imaging a virtual space with a virtual camera in order to generate a display image to be displayed on a screen; a pointer operation means for performing a pointer operation process to change a position of a pointer displayed on the screen based on a pointer operation by a first input means; a first camera operation means for performing a camera operation process for changing a position or an imaging direction of the virtual camera based on a first camera operation performed by a second input means; a second camera operation means for performing a camera operation process for changing a position or an imaging direction of the virtual camera based on a second camera operation performed by a third input means using an inertial sensor; a change amount determination means for decreasing an absolute value of a change amount of the position or the imaging direction of the virtual camera based on the second camera operation when the second camera operation is performed while the pointer operation process based on the pointer operation or the camera operation process based on the first camera operation is being performed, compared to a case where the second camera operation is performed when neither the pointer operation process based on the pointer operation nor the camera operation process based on the first camera operation is being performed, The change amount determination means determining an amount of change in a position or an imaging direction of the virtual camera based on an amount of change in the attitude calculated based on an output of the inertial sensor, using an attitude change operation from a reference attitude by the third input means as the second camera operation; an information processing device that skips determining the amount of change based on the attitude change while the pointer operation processing based on the pointer operation or the camera operation processing based on the first camera operation is being performed, and sets the attitude of the third input means at the time the pointer operation or the first camera operation is completed as the new reference attitude.

14. an imaging means for imaging a virtual space with a virtual camera in order to generate a display image to be displayed on a screen; a pointer operation means for performing a pointer operation process to change a position of a pointer displayed on the screen based on a pointer operation by a first input means; a first camera operation means for performing a camera operation process for changing a position or an imaging direction of the virtual camera based on a first camera operation performed by a second input means; a second camera operation means for performing a camera operation process for changing a position or an imaging direction of the virtual camera based on a second camera operation performed by a third input means using an inertial sensor; a change amount determination means for decreasing an absolute value of a change amount of the position or the imaging direction of the virtual camera based on the second camera operation, when the second camera operation is performed while the pointer operation processing based on the pointer operation or the camera operation processing based on the first camera operation is being performed, compared to a case where the second camera operation is performed when neither the pointer operation processing based on the pointer operation nor the camera operation processing based on the first camera operation is being performed; a movable range setting means for setting a movable range indicating a range within which the pointer can be moved on the screen; an end operation processing means for changing a position or an imaging direction of the virtual camera in accordance with a direction of an end operation performed by the first input means when the pointer is located at an end of the movable range and an end operation is performed to point a direction from the end of the movable range to outside the movable range, The change amount determination means When the end operation of a first operation amount is performed without the first camera operation being performed, a position or an imaging direction of the virtual camera is changed by a first change amount in a first axis component; When the first camera operation of a second operation amount is performed without the end operation being performed, the position or imaging direction of the virtual camera is changed by a second change amount in the first axis component; an information processing system in which, when the end operation of the first operation amount and the first camera operation of the second operation amount are performed simultaneously, the change amount of the position or imaging direction of the virtual camera is set to a third change amount that is larger than both of the first change amount and the second change amount in the first axis component when the first axis component of the first change amount and the first axis component of the second change amount are both positive, and is set to a third change amount that is smaller than both of the first change amount and the second change amount in the first axis component when both are negative.

15. an imaging means for imaging the virtual space with a virtual camera in order to generate a display image to be displayed on a screen; a pointer operation means for performing a pointer operation process to change a position of a pointer displayed on the screen based on a pointer operation by a first input means; a first camera operation means for performing a camera operation process for changing a position or an imaging direction of the virtual camera based on a first camera operation performed by a second input means; a second camera operation means for performing a camera operation process for changing a position or an imaging direction of the virtual camera based on a second camera operation performed by a third input means using an inertial sensor; a change amount determination means for decreasing an absolute value of a change amount of the position or the imaging direction of the virtual camera based on the second camera operation when the second camera operation is performed while the pointer operation process based on the pointer operation or the camera operation process based on the first camera operation is being performed, compared to a case where the second camera operation is performed when neither the pointer operation process based on the pointer operation nor the camera operation process based on the first camera operation is being performed, The change amount determination means determining an amount of change in a position or an imaging direction of the virtual camera based on an amount of change in the attitude calculated based on an output of the inertial sensor, using an attitude change operation from a reference attitude by the third input means as the second camera operation; an information processing system in which, while the pointer operation processing based on the pointer operation or the camera operation processing based on the first camera operation is being performed, determination of the amount of change based on the attitude change is skipped, and the attitude of the third input means at the time the pointer operation or the first camera operation is completed is set as the new reference attitude.

16. A processor of the information processing device An imaging step of imaging a virtual space with a virtual camera in order to generate a display image to be displayed on a screen; a pointer operation step of performing a pointer operation process to change a position of a pointer displayed on the screen based on a pointer operation by a first input means; a first camera operation step of performing a camera operation process for changing a position or an imaging direction of the virtual camera based on a first camera operation by a second input means; a second camera operation step of performing a camera operation process for changing a position or an imaging direction of the virtual camera based on a second camera operation by a third input means using an inertial sensor; a change amount determination step of decreasing an absolute value of a change amount of the position or the imaging direction of the virtual camera based on the second camera operation, when the second camera operation is performed while the pointer operation processing based on the pointer operation or the camera operation processing based on the first camera operation is being performed, compared to a case where the second camera operation is performed when neither the pointer operation processing based on the pointer operation nor the camera operation processing based on the first camera operation is being performed; a movable range setting step of setting a movable range indicating a range within which the pointer can be moved on the screen; when the pointer is located at an end of the movable range and an end operation is performed by the first input means to indicate a direction from the end of the movable range to outside the movable range, a end operation processing step of changing a position or an imaging direction of the virtual camera in accordance with the direction of the end operation; In the change amount determination step, When the end operation of a first operation amount is performed without performing the first camera operation, the position or imaging direction of the virtual camera is changed by a first change amount in a first axis component, When the first camera operation of a second operation amount is performed without the end operation being performed, the position or imaging direction of the virtual camera is changed by a second change amount in the first axis component, an information processing method in which, when the end operation of the first operation amount and the first camera operation of the second operation amount are performed simultaneously, the change amount of the position or imaging direction of the virtual camera is set to a third change amount that is larger than both of the first change amount and the second change amount in the first axis component when the first axis component of the first change amount and the first axis component of the second change amount are both positive, and is set to a third change amount that is smaller than both of the first change amount and the second change amount in the first axis component when both are negative.

17. A processor of the information processing device An imaging step of imaging a virtual space with a virtual camera in order to generate a display image to be displayed on a screen; a pointer operation step of performing a pointer operation process to change a position of a pointer displayed on the screen based on a pointer operation by a first input means; a first camera operation step of performing a camera operation process for changing a position or an imaging direction of the virtual camera based on a first camera operation by a second input means; a second camera operation step of performing a camera operation process for changing a position or an imaging direction of the virtual camera based on a second camera operation by a third input means using an inertial sensor; a change amount determination step of decreasing an absolute value of a change amount of the position or the imaging direction of the virtual camera based on the second camera operation, when the second camera operation is performed while the pointer operation processing based on the pointer operation or the camera operation processing based on the first camera operation is being performed, compared to a case where the second camera operation is performed when neither the pointer operation processing based on the pointer operation nor the camera operation processing based on the first camera operation is being performed; In the change amount determination step, a posture change operation from a reference posture in the third input means is defined as the second camera operation, and a change amount of a position or an imaging direction of the virtual camera is determined based on an amount of change in posture change calculated based on an output of the inertial sensor; an information processing method in which, while the pointer operation processing based on the pointer operation or the camera operation processing based on the first camera operation is being performed, determination of the amount of change based on the attitude change is skipped, and the attitude of the third input means at the time when the pointer operation or the first camera operation is completed is set as the new reference attitude.

Citation Information

Patent Citations

  • Information processing program, information processing apparatus, information processing system, and information processing method

    JP2011255119A

  • Game device, game program, game system and game processing method

    JP2012170648A