Information processing system, information processing program, information processing method, and information processing device
The information processing system improves usability by allowing users to combine and control virtual objects, including a virtual controller, enhancing flexibility and convenience in virtual object manipulation.
Patent Information
- Application Number
- JP2024102024
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2042-03-03
AI Technical Summary
Existing systems lack usability when generating and controlling combined virtual objects composed of multiple virtual objects through user operations.
An information processing system that includes a processor for game processing, allowing users to combine virtual objects, including a virtual controller object, and control the orientation and movement of a player character based on user input, with features like maneuvering modes, power objects, and virtual controller placement.
Enhances user convenience by enabling the generation and control of combined virtual objects, improving usability and flexibility in assembling and manipulating virtual objects within a virtual space.
Smart Images

Figure 2024123198000001
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing system, an information processing method, and an information processing device that are capable of combining a plurality of virtual objects through a user's operation. [Background technology]
[0002] 2. Description of the Related Art Conventionally, there has been a game system in which a plurality of objects are integrated by moving an operation target object and bringing it into contact with an object existing in a virtual space (see, for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2007-21248 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, in the case of generating an object made up of a plurality of virtual objects by combining the plurality of virtual objects through a user operation, there is room for improvement in terms of improving usability.
[0005] Therefore, an object of the present invention is to provide an information processing system, an information processing program, an information processing method, and an information processing device that are capable of improving usability when combining multiple virtual objects to generate an object consisting of multiple virtual objects. [Means for solving the problem]
[0006] In order to solve the above problems, the present invention employs the following configuration.
[0007] An information processing system in one embodiment is an information processing system equipped with a processor that performs game processing based on user input, and the game processing includes: placing a plurality of virtual objects including a virtual controller object and a player character operated based on user input in a virtual space in which a game progresses; generating a combined object by combining the virtual objects in the virtual space based on the user input; and, when the combined object includes the virtual controller object, executing a control mode in which at least one of the orientation or movement direction of the player character and the combined object is changed based on user input based on the positional relationship between the player character and the combined object at least in the virtual space satisfying a first condition. The first condition may include a condition in which the player character and the virtual controller object included in the combined object are in a predetermined proximity relationship. In the control mode, the player character and the virtual controller object may be in a predetermined positional relationship. In the control mode, the player character and the virtual controller object may be oriented in a predetermined relationship. When the control mode is not being executed, at least one of the orientation or movement direction of the player character may be controlled based on a specified user input, and when the control mode is being executed, at least one of the orientation or movement direction of the player character and the combined object may be controlled based on the specified user input. The plurality of virtual objects arranged in the virtual space may further include a power object, which imparts power to the combined object when combined with the combined object. The power object may be switched between a state in which it exerts a predetermined action and a state in which it does not exert a predetermined action based on a user's input when it is not incorporated into the combined object. During the steering mode, the respective actions of all of the power objects incorporated into the combined object may be exerted. The game processing may be capable of separating the virtual controller object from the combined object based on user input, and incorporating the virtual controller object separated from the combined object into a virtual object different from the virtual object from which it was separated. The virtual controller object may be placed at either a first position or a second position in the virtual object based on a user input, and in the control mode, at least one of an orientation or a movement direction of a combined object including the virtual object and the virtual controller object placed at the first position may be changed based on a first user input, and in the control mode, at least one of an orientation or a movement direction of a combined object including the virtual object and the virtual controller object placed at the second position may be changed based on the first input. The virtual controller object may be capable of being paired with any virtual object that is capable of being paired with other virtual objects. The virtual object for generating the combined object, which is placed in the virtual space, may be selected based on at least one of the position or orientation in the virtual space of the player character operated based on user input. An enemy object may be placed in the virtual space. In the control mode, the orientation of the moving player character and the combined object may be changed without changing the moving direction of the player character and the combined object based on the user input. An information processing system according to another embodiment is an information processing system including a processor for performing game processing based on a user's input, the processor functions as a combined object generating means for generating a combined object by combining a plurality of virtual objects based on the user's input, and a combined object control means for controlling the combined object arranged in a virtual space. The plurality of virtual objects include a virtual power object that provides power to the combined object when incorporated as a part of the combined object, and a virtual controller object that can be incorporated as a part of the combined object. When the combined object includes the virtual power object and the virtual controller object, the combined object control means operates the virtual power object to move the combined object in a predetermined traveling direction, and changes the moving direction of the combined object based on the user's input.
[0008] Based on the above, a user can generate a combined object including a virtual controller object by combining a plurality of virtual objects, and can control the movement of the combined object.
[0009] The operating state of the virtual kinetic object may include an ON state in which the kinetic force is applied and an OFF state in which the kinetic force is not applied. The processor may function as an operating state setting means for setting the operating state of one of the virtual kinetic objects to the ON state or the OFF state based on a user's input. The combined object generating means may generate the combined object including the virtual controller object and a plurality of the virtual kinetic objects. The combined object control means may set all of the virtual kinetic objects included in the combined object to the ON state or the OFF state simultaneously.
[0010] According to the above, by simultaneously turning a plurality of virtual power objects to the ON state or the OFF state, it is possible to improve user convenience compared to turning the virtual power objects to the ON state or the OFF state one by one.
[0011] The combined object generating means may place the virtual controller object at a position in the combined object designated by a user.
[0012] Based on the above, it is possible to place a virtual controller object at a position on the combined object desired by the user, thereby increasing the degree of freedom when generating the combined object.
[0013] The virtual objects constituting the combined object may be provided with a priority portion that is given priority over other portions. The combined object generating means may preferentially place the virtual controller object in the priority portion of the virtual objects constituting the combined object.
[0014] According to the above, it is possible to place a virtual controller object at a position desired by the user and to preferentially place the virtual controller object in a priority portion, thereby improving convenience when placing a virtual controller object on a combined object.
[0015] The processor may also function as a user character moving means for moving a user character in the virtual space. The user character moving means may move the user character to a position corresponding to the virtual controller object based on a user input. The combined object control means may control the combined object in response to a user input when the user character is in a position corresponding to the virtual controller object.
[0016] Based on the above, when the user character is present at a position corresponding to the virtual controller object, the user character can control the combined object.
[0017] In addition, the combined object control means may change the orientation of at least a part of the virtual controller object and change the movement direction of the combined object by having the user character operate the virtual controller object based on input from the user.
[0018] According to the above, by having the user character operate the virtual controller object, it is possible to change the orientation of at least a part of the virtual controller object and change the moving direction of the combined object, whereby a state in which the user character is operating the virtual controller object is displayed, and it is possible to give the user a sense of controlling the moving direction of the combined object by operating the virtual controller object.
[0019] In addition, the combined object control means may change a moving direction of the combined object in a direction corresponding to a user's input direction, regardless of a position of the virtual controller object in the combined object.
[0020] Based on the above, regardless of where the virtual controller object is positioned, the user can change the moving direction of the combined object with the same operation, thereby improving convenience.
[0021] The combined object generating means may also place the virtual controller object on the combined object in an orientation specified by a user.
[0022] Based on the above, it is possible to arrange the virtual controller object in a desired orientation, and it is possible to increase the degree of freedom when generating a combined object.
[0023] In addition, the combined object control means may change the moving direction of the combined object to a direction corresponding to a user's input direction, regardless of the orientation of the virtual controller object in the combined object.
[0024] Based on the above, regardless of the orientation of the virtual controller object, the user can change the moving direction of the combined object with the same operation.
[0025] The combined object control means may change the moving direction of the combined object by imparting a rotational speed about a center of gravity position of the combined object to the combined object.
[0026] Based on the above, even if a combined object is generated by a user using various virtual objects, the moving direction of the combined object can be changed.
[0027] The combined object control means may change a moving direction of the combined object by imparting a rotation speed about a center of gravity of the combined object to each virtual object constituting the combined object.
[0028] According to the above, the combined object can be rotated by imparting a rotational speed to each virtual object, and even if a combined object is generated by a user using various virtual objects, the movement direction of the combined object can be changed.
[0029] The combined object may be an object that moves while being in contact with a ground surface in the virtual space. When changing the moving direction of the combined object, the combined object control means may reduce friction between the combined object and the ground surface compared to when the combined object is moved in the predetermined traveling direction.
[0030] Based on the above, it is possible to easily rotate the combined object that comes into contact with the ground.
[0031] The processor may further function as an attitude correction means for correcting the attitude of the combined object in the roll direction or pitch direction so that the attitude of the virtual controller object included in the combined object in the virtual space becomes a predetermined attitude.
[0032] Based on the above, even if the attitude of the combined object changes, the attitude of the virtual controller object can be maintained in a predetermined attitude.
[0033] The combined object generating means may generate a first combined object including a plurality of the virtual objects and a second combined object including a plurality of the virtual objects. The virtual controller object may be incorporated into both the first combined object and the second combined object.
[0034] Based on the above, whether the first combined object or the second combined object is generated by the user, a common virtual controller object can be incorporated.
[0035] Another invention may be an information processing device including the above-mentioned means, or an information processing program that causes a computer of the information processing device to function as the above-mentioned means. Another invention may be an information processing method performed in the information processing system. Effect of the Invention
[0036] According to the present invention, a plurality of virtual objects can be combined to generate a combined object including a virtual controller object, and the movement of the combined object can be controlled. [Brief description of the drawings]
[0037] [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. 13 is a diagram showing an example of a game image displayed when the game of the present embodiment is executed. [Figure 9] FIG. 13 is a diagram showing how an airplane object 75 is generated as an example of a combined object. [Figure 10] FIG. 13 is a diagram showing how an airplane object 75 is generated as an example of a combined object. [Figure 11] FIG. 13 is a diagram showing how an airplane object 75 is generated as an example of a combined object. [Figure 12] FIG. 13 is a diagram showing how an airplane object 75 is generated as an example of a combined object. [Figure 13] FIG. 13 is a diagram showing how an airplane object 75 is generated as an example of a combined object. [Figure 14] FIG. 13 is a diagram showing an example of a state in which a user character PC is riding on an airplane object 75 including a joystick object 70e and flying in the sky in a virtual space. [Figure 15] FIG. 13 is a diagram showing an example of an airplane object 75 turning leftward. [Figure 16] A diagram showing an example of an airplane object 75 pointing upward and ascending. [Figure 17]FIG. 13 shows a state in which a user character PC rides on a four-wheeled vehicle object 76 as a combined object and moves on the ground in a virtual space. [Figure 18] FIG. 13 is a diagram showing an example of a four-wheeled vehicle object 76 turning leftward. [Figure 19] FIG. 13 is a diagram showing an example of a four-wheeled vehicle object 76 facing upward. [Figure 20] FIG. 13 is a diagram for explaining the rotation in the yaw direction of a four-wheeled vehicle object 76 using a control stick object 70e. [Figure 21] FIG. 13 is a diagram for explaining rotation in the yaw direction when a control stick object 70e is disposed in the opposite direction to the traveling direction of a four-wheeled vehicle object 76; [Figure 22] FIG. 13 is a diagram for explaining rotation in the pitch direction of a four-wheeled vehicle object 76 using a joystick object 70e; [Figure 23] FIG. 13 is a diagram showing an example of a state in which a user character PC is riding on an airplane object 77 including a wing object 70b and a control stick object 70e and flying straight through a virtual space. [Figure 24] FIG. 13 is a diagram showing an example of an airplane object 77 turning left by steering a control stick object 70e. [Diagram 25] FIG. 13 is a diagram showing an example of correction of the attitude of a control stick object 70e in the roll direction. [Figure 26] FIG. 13 is a diagram showing an example of correction of the attitude of a control stick object 70e in the pitch direction. [Figure 27] FIG. 13 is a diagram showing an example of data stored in the memory of the main unit 2 during execution of the game process. [Figure 28] A flowchart showing an example of game processing executed by the processor 81 of the main unit 2. [Figure 29] A flowchart showing an example of the combined object control process in step S107. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0038] 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. The left controller 3 and the right controller 4 are each detachable from the main unit 2.
[0039] 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.
[0040] 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."
[0041] 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.
[0042] 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.
[0043] Furthermore, the main body device 2 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 (for example, a capacitive type).
[0044] The main unit 2 includes a speaker (that is, a speaker 88 shown in FIG. 6) inside the housing 11. As shown in FIG. 3, the housing 11 has speaker holes 11a and 11b formed in a main surface thereof.
[0045] 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.
[0046] 3, the main unit 2 includes a slot 23. The slot 23 is provided on the upper side surface of the housing 11. The slot 23 has a shape that allows a predetermined type of storage medium to be inserted therein.
[0047] 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.
[0048] 4 is a six-sided view showing an example of the left controller 3. As shown in FIG.
[0049] 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.
[0050] 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.
[0051] 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.
[0052] 5 is a six-sided view showing an example of the right controller 4. As shown in FIG.
[0053] 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.
[0054] 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.
[0055] 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.
[0056] 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.).
[0057] 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.
[0058] 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.
[0059] 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.
[0060] 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 (specifically, wirelessly) with an external device via a network. In this embodiment, the network communication unit 82 connects to a wireless LAN and communicates with the 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.
[0061] The main body device 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.
[0062] 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.
[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 body device 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.
[0070] 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.
[0071] 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.
[0072] 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.
[0073] 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.
[0074] 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.
[0075] 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.
[0076] 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).
[0077] 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).
[0078] 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.
[0079] 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.
[0080] 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.
[0081] (Game Overview) Next, the game of this embodiment will be described. In the game of this embodiment, a user character PC is placed in a virtual space (game space), and the game progresses as the user character PC moves within the virtual space, performs predetermined actions, and defeats enemy characters. A virtual camera is placed in the virtual space. The virtual camera is set so as to include the user character PC in its imaging range, and a game image including the user character PC is generated using the virtual camera and displayed on the display 12 or a stationary monitor.
[0082] Fig. 8 is a diagram showing an example of a game image displayed when the game of this embodiment is executed. As shown in Fig. 8, a user character PC and a plurality of virtual objects 70 (70a to 70f) are arranged in a virtual space. In addition, although not shown in the figure, objects such as trees and buildings fixed to the virtual space are arranged in the virtual space.
[0083] The user character PC is a character operated by a user. The user character PC moves within the virtual space in response to inputs to the controller (3 or 4) and performs predetermined actions within the virtual space. The user character PC also creates a combined object by combining multiple virtual objects 70.
[0084] The multiple virtual objects 70 are objects that can move in the virtual space in response to a user's operation and can be combined with each other. The multiple virtual objects 70 are combined with each other to form a part of a combined object. For example, the multiple virtual objects 70 are arranged on the ground of the virtual space in advance. The multiple virtual objects 70 may also appear in the virtual space based on a user's operation. For example, when the user character PC defeats an enemy character or clears a predetermined task, the virtual object 70 may appear in the virtual space. The multiple virtual objects 70 are also managed as items owned by the user character PC, and are not usually arranged in the virtual space, but may be accommodated in a virtual accommodation area of the user character PC. Then, when a user operation is performed, the virtual object 70 accommodated in the accommodation area may appear in the virtual space.
[0085] A user can generate a combined object by combining a plurality of virtual objects 70. For example, the user can generate a moving object such as a vehicle, a tank, or an airplane as a combined object that can move in a virtual space, and can proceed through a game using the generated combined object. For example, the user can use the generated combined object to move in the virtual space or to attack an enemy character.
[0086] For example, the plurality of virtual objects 70 include an engine object 70a, a wing object 70b, a wheel object 70c, a board object 70d, a joystick object 70e, and an electric fan object 70f. In addition to these, other virtual objects for forming a combined object may be further provided.
[0087] The engine object 70a is an object that imitates a jet engine, and is an example of a virtual power object having power. When the engine object 70a is configured as a part of a combined object, it provides power to the entire combined object. Specifically, the engine object 70a provides a predetermined speed to the combined object. The wing object 70b is a virtual object for flying in the air, and generates lift when moving in a virtual space at a predetermined speed or higher.
[0088] The wheel object 70c is an example of a virtual power object having power, and is an object that can be configured as, for example, a wheel of a vehicle. The wheel object 70c is configured to be rotatable in a predetermined direction. The wheel object 70c gives a predetermined speed to the combined object. The plate object 70d is a planar virtual object. The plate object 70d can be used, for example, as the body of a vehicle.
[0089] The operating states of a virtual powered object (hereinafter sometimes simply referred to as a "powered object") are an ON state and an OFF state. A powered object is normally set to the OFF state. A powered object can be in the ON state whether or not it is configured as part of a combined object. For example, the user character PC performs a predetermined action on the powered object (e.g., an attack action such as approaching the powered object and hitting it, or firing an arrow at the powered object) through user operation. The powered object transitions to the ON state through the user character PC's predetermined action. When the powered object transitions to the ON state, the powered object operates.
[0090] For example, in the case where the engine object 70a is not configured as a part of a combined object and is placed in a virtual space, when the user character PC performs a predetermined action on the engine object 70a, the engine object 70a enters an ON state. When the engine object 70a enters an ON state, a flame is emitted from the nozzle, and the engine object 70a moves in the opposite direction to the flame. Note that the flame may have an attack determination. When the user character PC performs a predetermined stopping action on the engine object 70a (for example, an action of firing an arrow), the engine object 70a enters an OFF state and stops.
[0091] Also, when the wheel object 70c is not configured as a part of a combined object and is placed in a standing state in the virtual space (i.e., when the wheel axis is placed on the ground in a state parallel to the ground in the virtual space), if the user character PC performs a predetermined action on the wheel object 70c, the wheel object 70c becomes ON. In this case, the wheel object 70 rotates in one predetermined direction and moves on the ground in the virtual space. If the user character PC performs a predetermined stopping action on the wheel object 70 (for example, an action of firing an arrow), the wheel object 70 becomes OFF and stops.
[0092] In addition to the wheel object 70c, an unpowered wheel object having no power may be provided. The unpowered wheel object is combined with the plate object 70d, for example, to form a vehicle object as a combined object. The vehicle object having the unpowered wheel object is moved by gravity acting in the virtual space or other power (for example, the wheel object 70c included in the vehicle object). When the vehicle object moves on the ground in the virtual space, friction occurs between the vehicle object and the ground. In this case, the friction between the unpowered wheel object and the ground may be smaller than the friction between the wheel object 70c and the ground. Such an unpowered wheel object can realize smooth movement on the ground in the virtual space.
[0093] The joystick object 70e is an example of a virtual controller object for controlling the movement of a combined object when configured as a part of the combined object. The joystick object 70e has, for example, a rectangular bottom surface and a handle portion extending upward from the bottom surface.
[0094] The joystick object 70e has a function of controlling ON / OFF of the powered object included in the combined object and a function of rotating the combined object. When the joystick operation mode is set, the joystick object 70e is operated by the user character PC in the virtual space. Specifically, when the user character PC is on the combined object and a predetermined operation (e.g., pressing the A button 53) is performed by the user on the controller, the joystick operation mode is switched to and the user character PC moves to the position of the joystick object 70e. More specifically, when the user character PC is on the combined object and is located within a predetermined range including the joystick object 70e, the joystick operation mode is switched to in response to the predetermined operation. When the user character PC is at the position of the joystick object 70e, the operating states of all the powered objects included in the combined object are simultaneously switched to ON. When the power object is operated, a thrust (speed) in a predetermined direction is given to the combined object, and the combined object moves in a predetermined direction in the virtual space by the thrust. In addition, when the user character PC is at the position of a joystick object 70e included in the combined object, for example, when the user performs a predetermined turning operation on the controller, the combined object turns. Details of the movement control of the combined object using the joystick object 70e will be described later.
[0095] The electric fan object 70f is an object that resembles an electric fan and is an example of a virtual power object having power. When the electric fan object 70f is configured as a part of a combined object, it provides power to the entire combined object. The power of the electric fan object 70f is weaker than the power of the engine object 70a, and provides the combined object with a smaller speed than the engine object 70a.
[0096] As shown in FIG. 8, one or more priority connection parts BP may be set on the surface of a virtual object 70. The priority connection parts BP are positions at which virtual objects 70 are connected with priority over other parts when connecting the virtual objects 70 to each other. The priority connection parts BP are set in advance for each virtual object 70 by the game creator. For example, one priority connection part BP is set on the bottom surface of the engine object 70a. Furthermore, three priority connection parts BP are set on the top surface of the wing object 70b. Furthermore, multiple priority connection parts BP are set on the top surface and side surfaces of the plate object 70d. Furthermore, one or more priority connection parts BP are set in advance for the wheel object 70c and the joystick object 70e.
[0097] Two virtual objects 70 can be connected (glued) to each other at portions other than the priority connection portion. Also, a priority connection portion BP of a virtual object can be connected to a portion other than the priority connection portion of another virtual object. When the priority connection portion BP of a virtual object and the priority connection portion BP of another virtual object are within a predetermined distance, for example, the priority connection portion BP of the virtual object and the priority connection portion BP of the other virtual object are preferentially connected. When the priority connection portion BP of a virtual object and the priority connection portion BP of the other virtual object exceed a predetermined distance, the virtual object and the other virtual object are connected, for example, at the closest position.
[0098] Here, "connection" between virtual objects 70 means that the virtual objects 70 behave as an integrated object in close proximity to each other. For example, when two virtual objects 70 are glued together, the two virtual objects 70 may be in contact with each other. Also, when two virtual objects 70 are glued together, the two virtual objects 70 do not need to be in strict contact with each other. For example, there may be a gap between the two virtual objects 70, or another object may be interposed between the two virtual objects 70 for connection. Also, "multiple virtual objects 70 behave as an integrated object" means that the relative positional relationship between the multiple virtual objects 70 is maintained, and the multiple virtual objects 70 move in the virtual space and change their posture as if they were a single object.
[0099] Furthermore, a combined object formed by "combining" a plurality of virtual objects 70 means a collection of a plurality of virtual objects 70 that are connected to each other so that their relative positions do not change.
[0100] A user can generate a combined object in which a plurality of virtual objects 70 are connected by selecting any one of the virtual objects 70 placed in the virtual space and connecting it to another virtual object 70. Figs. 9 to 13 are diagrams showing how an airplane object 75 is generated as an example of a combined object.
[0101] For example, the user selects an engine object 70a arranged in the virtual space (FIG. 9), and moves the selected engine object 70a (selected object) to the vicinity of the wing object 70b (FIG. 10). The selection of the virtual object 70 arranged in the virtual space may be performed, for example, by aligning an instruction sign (not shown) displayed in the center of the screen with the virtual object 70 and pressing a predetermined button on the left controller 3. The selected object may also move together with the user character PC. The selected object may also move so that its positional relationship with the user character PC is maintained. For example, the user character PC and the selected object may be moved according to the input direction of the analog stick 32 of the left controller 3. For example, the orientations of the user character PC and the virtual camera may be changed and the selected object may be moved according to the input direction of the analog stick 52 of the right controller 4. The selected object may also be moved even if the position of the user character PC does not change. For example, the selected object may be moved according to a change in the orientation of the user character PC so that the selected object is located in front of the user character PC. The selected object may also be moved by changing the distance between the user character PC and the selected object. For example, when the orientation of the user character PC is changed to the upward direction in the virtual space, the selected object also moves upward in the virtual space. When the user character PC faces the upward direction in the virtual space, the distance between the user character PC and the selected object may be longer than when the user character PC faces a direction parallel to the ground. In addition, the virtual camera is controlled so as to include the user character PC and the selected object in its imaging range. Therefore, when the selected object moves in the virtual space in response to the movement or change in posture of the user character PC, the manner in which the selected object is moved is displayed.
[0102] When the engine object 70a is moved so that the engine object 70a and the wing object 70b are in a positional relationship that satisfies a predetermined connection condition, the engine object 70a and the wing object 70b are in a connectable state. In this state, when the user issues a connection instruction (for example, by pressing a predetermined button on the right controller 4), the engine object 70a and the wing object 70b are connected. As a result, a combined object 75 including the engine object 70a and the wing object 70b is generated (FIG. 11).
[0103] Furthermore, the user selects a control stick object 70e arranged in the virtual space (FIG. 12), and moves the selected control stick object 70e to the vicinity of the wing object 70b. Then, the control stick object 70e and the wing object 70b are placed in a positional relationship that satisfies a predetermined connection condition, and the control stick object 70e is connected to the upper surface of the wing object 70b in response to a connection instruction from the user. As a result, an airplane object 75 including the engine object 70a, the wing object 70b, and the control stick object 70e is generated as a combined object (FIG. 13).
[0104] The control stick object 70e can be placed at any position on the upper surface of the wing object 70b. Specifically, if the priority connection part BP set on the bottom surface of the control stick object 70e and the priority connection part BP set on the upper surface of the wing object 70b are within a predetermined distance, the control stick object 70e is preferentially placed at the position of the priority connection part BP of the wing object 70b. On the other hand, if the priority connection part BP set on the bottom surface of the control stick object 70e and the priority connection part BP set on the upper surface of the wing object 70b exceed a predetermined distance, the control stick object 70e is placed at any position on the upper surface of the wing object 70b designated by the user.
[0105] The control stick object 70e also has a direction. The direction of the control stick object 70e is the direction of the long side of the bottom surface of the control stick object 70e. In FIG. 13, the control stick object 70e is disposed so that the direction of the control stick object 70e coincides with the direction of the wing object 70b. Specifically, the directions of the control stick object 70e and the wing object 70b are the depth direction in FIG. 13. The user can specify the direction of the control stick object 70e. For example, the control stick object 70e can be disposed on the top surface of the wing object 70b so that the direction of the control stick object 70e has a predetermined angle with respect to the direction of the wing object 70b. The predetermined angle may be any value in the range from 0 degrees to 180 degrees, or may be any one of a plurality of predetermined values (for example, 45 degrees, 90 degrees, 75 degrees, 180 degrees).
[0106] It is also possible to connect another virtual object 70 to the airplane object 75 shown in FIG. 13. For example, two or more engine objects 70a can be connected to the wing object 70b. In this case, the speed of the airplane object 75 having two or more engine objects 70a becomes higher. Also, by connecting another wing object 70b to the side of one wing object 70b, a large wing in which the two wing objects 70b are integrated can be configured. The airplane object 75 having two wing objects 70b can obtain a larger lift and can fly even if a heavier object is carried on board.
[0107] FIG. 14 is a diagram showing an example of a state in which a user character PC is riding on an airplane object 75 including a control stick object 70e and flying in the sky in a virtual space.
[0108] As shown in FIG. 14, the user can place the user character PC on an airplane object 75 formed by assembling a plurality of virtual objects 70 and move the user character PC in the virtual space. Specifically, after generating the airplane object 75, the user places the user character PC on the airplane object 75 using the controller (3 or 4). When the user character PC is on the airplane object 75 and is in a position corresponding to the joystick object 70e (a predetermined range including the joystick object 70e), and an operation is performed using the controller to set the joystick object 70e as an operation target (for example, pressing the A button 53), the mode transitions to the joystick operation mode. Specifically, the user character PC moves to the position of the joystick object 70e. When the user character PC moves to the position of the joystick object 70e, the user character PC grips the handle portion of the joystick object 70e and performs an action of operating the handle portion of the joystick object 70e.
[0109] When the user character PC is at the position of the control stick object 70e, the airplane object 75 can be controlled. Specifically, when the user character PC is at the position of the control stick object 70e, an engine object 70a, which is an example of a power object, is in an ON state. The power object has an ON state in which a propulsive force is applied to the combined object, and an OFF state in which a propulsive force is not applied to the combined object, as its operating state. In response to the user character PC moving to the position of the control stick object 70e (i.e., in response to the control stick object 70e being set as the operation target), the engine object 70a is in an ON state.
[0110] When the airplane object 75 includes a plurality of power objects, all of the power objects are simultaneously turned on in response to the user character PC moving to the position of the joystick object 70e. For example, when the airplane object 75 includes a plurality of engine objects 70a, all of the engine objects 70a are simultaneously turned on. When the airplane object 75 includes an engine object 70a and an electric fan object 70f, the engine object 70a and the electric fan object 70f are simultaneously turned on.
[0111] When the engine object 70a is in the ON state, power is applied to the airplane object 75. As a result, the airplane object 75 moves in a virtual space in a predetermined traveling direction at a predetermined speed, and flies in the sky. The traveling direction of the airplane object 75 depends on the position and orientation of the engine object 70a. For example, as shown in FIG. 14, when the engine object 70a is disposed in the center of the wing object 70b in the left-right direction and in the same orientation as the wing object 70b, the traveling direction of the airplane object 75 is the same as the orientation of the wing object 70b. In this case, as shown in FIG. 14, the airplane object 75 flies straight in the depth direction of the screen. At this time, the orientation De of the joystick object 70e is the depth direction of the screen.
[0112] When the user character PC is at the position of the joystick object 70e, if the user performs a directional input operation (for example, a directional input using the analog stick 32), the movement direction of the airplane object 75 changes. Specifically, the airplane object 75 rotates in the left-right direction (yaw direction) or the up-down direction (pitch direction) in response to the directional input operation.
[0113] Fig. 15 is a diagram showing an example of the airplane object 75 turning leftward. Fig. 16 is a diagram showing an example of the airplane object 75 turning upward and ascending.
[0114] As shown in FIG. 15, when the user character PC is at the position of the joystick object 70e, if the user inputs, for example, the left direction of the analog stick 32, the user character PC is displayed pointing the handle portion of the joystick object 70e to the left, and the direction De of the handle portion of the joystick object 70e turns to the left. Then, the airplane object 75 turns to the left. When the right direction of the analog stick 32 is input, the opposite happens, and the handle portion of the joystick object 70e turns to the right, and the airplane object 75 turns to the right. Specifically, a rotational speed based on the center of gravity position of the airplane object 75 is applied to each virtual object constituting the airplane object 75. This causes the entire airplane object 75 to turn.
[0115] Even if the orientation of the handle portion of the control stick object 70e is changed, the orientation of the control stick object 70e itself (the direction of the long side of the bottom surface of the control stick object 70e) does not change. In other words, the orientation of the control stick object 70e itself is fixed with respect to the combined object at the time when the control stick object 70e is configured as a part of the combined object. On the other hand, when the user character PC is in the position of the control stick object 70e, the orientation De of the handle portion of the control stick object 70e changes due to the user's operation. Furthermore, when the user character PC is in the position of the control stick object 70e, the orientation of the control stick object 70e itself may change due to the user's operation, thereby changing the moving direction of the airplane object 75.
[0116] 16, when the user character PC is at the position of the joystick object 70e, if the user inputs, for example, the downward direction of the analog stick 32, a state in which the user character PC pulls the handle portion of the joystick object 70e toward himself is displayed, and the direction De of the handle portion of the joystick object 70e faces upward. Then, the airplane object 75 faces upward and rises. When the upward direction of the analog stick 32 is input, the opposite happens, and the handle portion of the joystick object 70e faces downward, and the airplane object 75 faces downward and descends.
[0117] For example, when the engine object 70a is disposed not in the center of the wing object 70b but on the right side, the traveling direction of the airplane object 75 becomes the left side with respect to the orientation of the wing object 70b. In this case, the airplane object 75 operates to turn left even if the user does not perform a direction input operation. In such a case, when the user performs a direction input operation, the traveling direction of the airplane object 75 changes. For example, when the user inputs a left direction, the airplane object 75 is rotated leftward, the traveling direction of the airplane object 75 becomes further leftward, and the airplane object 75 turns left more sharply. On the other hand, when the user inputs a right direction, the airplane object 75 is rotated rightward. When the rotation of the airplane object 75 to the right by the user's direction input operation is greater than the deviation of the traveling direction of the engine object 70a to the left, the airplane object 75 turns rightward. When the rightward rotation of the airplane object 75 due to the user's directional input operation is equal to the leftward deviation of the traveling direction due to the engine object 70a, the airplane object 75 will fly straight forward.
[0118] In addition to the airplane object 75, the user can create various moving objects including a joystick object 70e, and move the user character PC within the virtual space by riding on the moving object.
[0119] In this embodiment, a "moving object" is a combined object made up of a plurality of virtual objects 70 and is an object that can move within a virtual space. The moving object includes a movable combined object that includes a powered object and a movable combined object that does not include a powered object.
[0120] FIG. 17 is a diagram showing a state in which the user character PC rides on a four-wheel vehicle object 76 serving as a combined object and moves on the ground in the virtual space.
[0121] First, the user generates a four-wheeled vehicle object 76 by combining the board object 70d, the joystick object 70e, and the four wheel objects 70c arranged in the virtual space as described above. The user places the user character PC on the generated four-wheeled vehicle object 76 and performs an operation to set the joystick object 70e as an operation target. Then, the user character PC moves to the position of the joystick object 70e. At this time, the wheel object 70c is turned on. Each wheel object 70c is a type of power object, and individually provides power to the combined object. When the user character PC moves to the position of the joystick object 70e, the four wheel objects 70c are turned on at the same time. As a result, the four-wheeled vehicle object 76 moves straight in the depth direction in the virtual space.
[0122] Fig. 18 is a diagram showing an example of the four-wheel vehicle object 76 turning leftward, and Fig. 19 is a diagram showing an example of the four-wheel vehicle object 76 facing upward.
[0123] 18, when the user character PC is at the position of the joystick object 70e, if the user inputs, for example, the left direction of the analog stick 32, the user character PC is displayed pointing the joystick object 70e to the left, and the direction De of the joystick object 70e turns to the left. Then, the four-wheeled vehicle object 76 turns to the left. The opposite happens when the right direction of the analog stick 32 is input.
[0124] 19, when the user character PC is at the position of the joystick object 70e and the user inputs, for example, the downward direction of the analog stick 32, the user character PC is displayed pulling the joystick object 70e toward himself, and the direction De of the joystick object 70e faces upward. Then, the four-wheeled vehicle object 76 faces upward and performs a wheelie.
[0125] In this way, the control stick object 70e can be incorporated into various combined objects that can move in a virtual space. When the control stick object 70e is incorporated as a part of a combined object, the movement of the combined object can be controlled using the control stick object 70e. Specifically, the control stick object 70e is used to control the ON / OFF of a powered object included in the combined object. Also, the control stick object 70e is used to control the rotation of the combined object in the yaw direction or pitch direction. The movement of the combined object is controlled by controlling the ON / OFF of the powered object and controlling the rotation of the combined object in the yaw direction or pitch direction.
[0126] In the above description, each powered object included in the combined object is turned on in response to the user character PC moving to the position of the joystick object 70e, but when the user character PC is at the position of the joystick object 70e, each powered object included in the combined object may be turned on in response to a predetermined operation performed by the user. That is, when the mode is switched to the joystick operation mode, each powered object included in the combined object may be turned on in response to the user's operation.
[0127] In the above, the user generates a combined object including a power object and a joystick object 70e. However, the user can also generate a combined object including a power object and not including a joystick object 70e. When the user character PC performs a predetermined action (for example, an action of firing an arrow at the combined object) on a combined object not including a joystick object 70e, the power object included in the combined object operates, and the combined object moves. Specifically, when a vehicle object including four wheel objects 70c and not including a joystick object 70e is generated as a combined object, the user can move the vehicle object by individually operating (turning to the ON state) each wheel object 70c. Specifically, the user can operate each wheel object 70c individually by having the user character PC fire an arrow one by one and hitting each wheel object 70c with the arrow. When the four wheel objects 70c operate, the vehicle object moves forward, and the user character PC can move in the virtual space by riding on the vehicle object. However, because the vehicle object does not include a joystick object 70e, the user cannot turn the vehicle object.
[0128] In this way, if the combined object does not include the joystick object 70e, the user must operate each of the powered objects included in the combined object one by one, which is cumbersome for the user. For example, when operating each powered object in sequence, the combined object moves, and it may be difficult for the user to perform a predetermined operation on the powered object. However, if the combined object includes the joystick object 70e, the user can operate all of the powered objects included in the combined object at the same time, which improves convenience.
[0129] The user can also generate a combined object that includes the joystick object 70e but does not include a powered object. Control of the combined object that includes the joystick object 70e but does not include a powered object will be described later.
[0130] Next, a description will be given of rotation control of the four-wheeled vehicle object 76 using the control stick object 70e, taking the four-wheeled vehicle object 76 as an example. Fig. 20 is a diagram for explaining the rotation of the four-wheeled vehicle object 76 in the yaw direction using the control stick object 70e.
[0131] FIG. 20 shows a diagram of the four-wheeled vehicle object 76 as viewed from above in the virtual space. The XYZ coordinate system in FIG. 20 is a coordinate system based on the joystick object 70e. The Z axis is an axis indicating the front of the joystick object 70e, the X axis is an axis indicating the right direction of the joystick object 70e, and the Y axis is an axis indicating the upward direction of the joystick object 70e. As shown in FIG. 20, the joystick object 70e is disposed so that the traveling direction of the four-wheeled vehicle object 76 coincides with the Z axis direction of the joystick object 70e.
[0132] For example, when the joystick object 70e is not steered using the analog stick 32, the four-wheeled vehicle object 76 moves in a predetermined traveling direction by the four wheel objects 70c. The traveling direction of the four-wheeled vehicle object 76 is determined according to the arrangement of the wheel objects 70c. As shown in FIG. 20, when the four wheel objects 70c are arranged in a well-balanced manner on the left and right sides of the board object 70d, two on each side, the traveling direction of the four-wheeled vehicle object 76 is a straight direction. In addition, a center of gravity position is determined for the four-wheeled vehicle object 76. The center of gravity position of the four-wheeled vehicle object 76 is determined by the position and weight of each virtual object 70 constituting the four-wheeled vehicle object 76. In the example shown in FIG. 20, the four wheel objects 70c are arranged in a well-balanced manner in the front, rear, left and right directions, so that the center of gravity position of the four-wheeled vehicle object 76 is located approximately in the center of the four-wheeled vehicle object 76.
[0133] As shown in the lower diagram of FIG. 20, when the user inputs a left direction using, for example, the analog stick 32, the handle portion of the joystick object 70e is steered by the user character PC, and the handle portion of the joystick object 70e faces the left direction. In response to this, the four-wheeled vehicle object 76 rotates leftward in the yaw direction with respect to the center of gravity position. Specifically, a rotational speed is given to each virtual object 70 constituting the four-wheeled vehicle object 76 so that the four-wheeled vehicle object 76 rotates leftward around an axis that passes through the center of gravity position of the four-wheeled vehicle object 76 and is parallel to the up-down direction of the virtual space. More specifically, an angular velocity and a translational speed according to the distance from the center of gravity position of the four-wheeled vehicle object 76 are given to each virtual object 70 constituting the four-wheeled vehicle object 76. The entire four-wheeled vehicle object 76 turns leftward due to the forward velocity of the wheel object 70c and the rotational speed to the left in the yaw direction. In addition, a rotational speed may be given to each virtual object 70 constituting the four-wheeled vehicle object 76 so that the four-wheeled vehicle object 76 rotates about an axis that passes through the center of gravity of the four-wheeled vehicle object 76 and is parallel to the Y axis in an XYZ coordinate system based on the joystick object 70e.
[0134] The wheel object 70c is in contact with the ground, and friction occurs between the wheel object 70c and the ground. As described later, the behavior of an object in a virtual space is determined by calculation according to the laws of physics. The behavior of each object is calculated taking into consideration the friction between each object. When the four-wheeled vehicle object 76 moves straight (when the joystick object 70e is not being steered), the friction between the wheel object 70c and the ground is set to a relatively large value, and when the four-wheeled vehicle object 76 turns (when the joystick object 70e is being steered), the friction between the wheel object 70c and the ground is set to a relatively small value. This makes it easier for the entire four-wheeled vehicle object 76 to rotate in the yaw direction. By lowering the friction between the wheel object 70c and the ground when turning the four-wheeled vehicle object 76, the wheel object 70c may slip on the ground. For example, when the four-wheeled vehicle object 76 turns while going up a slope, the friction between the wheel object 70c and the ground may decrease, which may cause the four-wheeled vehicle object 76 to slide down. Note that, in order to prevent such a slide down, the amount of decrease in friction between the wheel object 70c and the ground may be reduced or set to zero when the four-wheeled vehicle object 76 goes up or down a slope.
[0135] FIG. 21 is a diagram for explaining rotation in the yaw direction in a case where the control stick object 70e is disposed in the opposite direction to the traveling direction of the four-wheel vehicle object 76. In FIG.
[0136] 21, the control stick object 70e is placed on the four-wheeled vehicle object 76 so that the direction (Z-axis direction) of the control stick object 70e is opposite to the traveling direction of the four-wheeled vehicle object 76. In such a combined object configuration, when the control stick object 70e is not steered using the analog stick 32, the four-wheeled vehicle object 76 moves in the opposite direction to the direction of the control stick object 70e (it appears to move backwards when viewed from the user character PC).
[0137] As shown in the lower diagram of FIG. 21, when the user inputs a left direction using, for example, the analog stick 32, the joystick object 70e is steered by the user character PC, and the handle portion of the joystick object 70e faces left. In response to this, similar to the case shown in FIG. 20, the four-wheeled vehicle object 76 rotates leftward in the yaw direction with respect to the center of gravity position. When the direction of the joystick object 70e is set to forward, the four-wheeled vehicle object 76 moves rightward and backward due to the backward speed of the wheel object 70c and the rotation speed leftward in the yaw direction (when the traveling direction of the four-wheeled vehicle object 76 is used as the reference, the four-wheeled vehicle object 76 turns leftward).
[0138] The same control is achieved regardless of the position of the control stick object 70e on the four-wheeled vehicle object 76 or the orientation of the control stick object 70e relative to the four-wheeled vehicle object 76. For example, when the user inputs a leftward direction, the handle portion of the control stick object 70e faces leftward with respect to the control stick object 70e, and the four-wheeled vehicle object 76 rotates leftward in the yaw direction with respect to the center of gravity position. The opposite is true when the user inputs a rightward direction. In other words, the user's input direction, the direction of change in the orientation of the handle portion of the control stick object 70e, and the direction of rotation of the four-wheeled vehicle object 76 in the yaw direction are consistent, and are not dependent on the position or orientation of the control stick object 70e on the four-wheeled vehicle object 76.
[0139] A weight is also set to the control stick object 70e, and the position of the center of gravity of the four-wheeled vehicle object 76 changes depending on the position of the control stick object 70e on the four-wheeled vehicle object 76. Since each virtual object constituting the four-wheeled vehicle object 76 rotates with reference to the position of the center of gravity, the manner in which the four-wheeled vehicle object 76 rotates changes subtly depending on the position of the control stick object 70e on the four-wheeled vehicle object 76. However, no matter where the control stick object 70e is placed on the four-wheeled vehicle object 76, the relationship between the user's input direction, the steering direction of the control stick object 70e, and the rotation direction of the four-wheeled vehicle object 76 does not change. For example, as shown in FIG. 20 and FIG. 21, when the control stick object 70e is steered leftward, the four-wheeled vehicle object 76 rotates counterclockwise with reference to the position of the center of gravity. Note that no weight is set to the control stick object 70e, and the center of gravity of the four-wheeled vehicle object 76 does not need to change regardless of the position of the control stick object 70e on the four-wheeled vehicle object 76. In this case, the position of the control stick object 70e does not affect the rotation of the four-wheeled vehicle object 76 in the yaw direction.
[0140] Fig. 22 is a diagram for explaining rotation in the pitch direction of the four-wheel vehicle object 76 using the control stick object 70e. Fig. 22 shows a diagram of the four-wheel vehicle object 76 as viewed from the side in the virtual space.
[0141] As shown in FIG. 22, when the user inputs a downward direction using, for example, the analog stick 32, the joystick object 70e is steered by the user character PC, and the joystick object 70e faces upward as seen by the user character PC. In response to this, the four-wheeled vehicle object 76 rotates upward (in the pitch direction) based on the position of its center of gravity. Specifically, a rotational speed is given to each virtual object 70 constituting the four-wheeled vehicle object 76, centered on the position of the center of gravity of the four-wheeled vehicle object 76, so that the four-wheeled vehicle object 76 faces upward in the virtual space. As a result, the entire four-wheeled vehicle object 76 faces upward and performs a wheelie.
[0142] 20 to 22, the four-wheeled vehicle object 76 has been described as an example, but the same applies to other combined objects including the joystick object 70e. For example, as in FIG. 15, when the airplane object 75 is rotated in the yaw direction, the airplane object 75 is rotated in the yaw direction based on the position of the center of gravity. Also, as in FIG. 16, when the airplane object 75 is rotated in the pitch direction, the airplane object 75 is rotated in the pitch direction based on the position of the center of gravity.
[0143] Although not shown in the figures, other combined objects that have a control stick object 70e and do not have power are also caused to rotate by steering the control stick object 70e.
[0144] For example, even if a joystick object 70e is placed on the top surface of a board object 70d and a combined object is formed from the board object 70d and the joystick object 70e, the combined object is rotated by steering the joystick object 70e. Specifically, when the user character PC is at the position of the joystick object 70e and the user inputs a leftward direction using, for example, the analog stick 32, a rotation speed in the leftward direction in the yaw direction based on the center of gravity position of the combined object is given to the combined object (to each virtual object 70 included in the combined object). When the friction between the board object 70d and the ground is equal to or lower than a predetermined value, the combined object rotates counterclockwise on the spot.
[0145] Also, for example, when a joystick object 70e is placed on the top surface of a board object 70d to form a combined object, the combined object can be made to float on water such as a river or the sea in a virtual space. In this case, since the combined object does not include a power object, it moves in the virtual space along the flow of the river. At this time, when the joystick object 70e is steered, the combined object is given a rotation. Specifically, a rotation speed in the left direction in the yaw direction based on the center of gravity position is given to the combined object. In this case, the combined object only rotates in the yaw direction (around the vertical axis in the virtual space) while moving along the flow of the river, and the moving direction of the combined object does not change.
[0146] Even if a moving object does not have a power object, the moving direction of the moving object may be changed by steering the joystick object 70e.
[0147] Fig. 23 is a diagram showing an example of a state in which a user character PC is riding on an airplane object 77 including a wing object 70b and a control stick object 70e and flying straight in a virtual space. Fig. 24 is a diagram showing an example of a state in which the airplane object 77 turns left by steering the control stick object 70e.
[0148] As shown in Fig. 23, the airplane object 77 does not include a power object. However, in this embodiment, when the airplane object 77 flies in the sky in a virtual space, a virtual propulsive force directed from the rear to the front of the airplane object 77 (from the front to the back of the paper in Fig. 23) is applied to the airplane object 77. In other words, although it is not displayed on the screen, it is controlled as if a power object was provided at the position and in the direction of the engine object 70a in Fig. 14.
[0149] As shown in FIG. 24, for example, when the user inputs a left direction using the analog stick 32, the control stick object 70e is steered by the user character PC in the same manner as described above, and the handle portion of the control stick object 70e faces the left direction. In response to this, the airplane object 77 rotates leftward in the yaw direction with respect to the center of gravity position. Then, the orientation of the wing object 70b changes to the left direction, and the direction in which the virtual propulsive force is applied also changes to the left, causing the airplane object 77 to turn left. That is, the airplane object 77 that does not have a power object can also be regarded as having a propulsive force in the traveling direction, like the airplane object 75 that has a power object, and the airplane object 77 can be turned by the same control as described above. Specifically, the traveling direction of the airplane object 77 is rotated with respect to the center of gravity position of the airplane object 77 by steering the handle portion of the control stick object 70e by the user character PC. For this reason, when the airplane object 77 is moving in the direction of travel, for example, if the handle portion of the joystick object 70e is pointed left or right, the airplane object 77 does not simply rotate in the yaw direction while maintaining its direction of travel (i.e., while flying straight), but rather the direction of travel itself changes and the airplane object 77 turns left or right.
[0150] The virtual thrust as described above is set to be smaller than the thrust provided by the power objects such as the engine object 70a and the electric fan object 70f when these power objects are assembled to the joystick object 70e. This is because the virtual thrust is sufficient for the airplane object 77 to turn in response to the steering of the handle portion of the joystick object 70e. In addition, if the virtual thrust is equal to or greater than the thrust of the power object, the motivation to assemble the power object to the airplane object 77 may decrease, which may lead to a decrease in interest.
[0151] By applying such a virtual propulsive force, the user can turn the airplane object 77 using the joystick object 70e even without a powered object. Note that such a virtual propulsive force may be applied only to the airplane object 75 (wing object equipped with a joystick object) among the objects equipped with a joystick, or may be applied to other vehicle objects. Also, such a virtual propulsive force may be applied only when a powered object is not provided, or may be applied regardless of the presence or absence of a powered object. Note that, in this embodiment, the virtual propulsive force is applied in a predetermined direction from the rear to the front of the airplane object 77 (from the front to the back of the paper in FIG. 23). This is because the design of the airplane object 77 (or the wing object) can distinguish one side from the other (front-rear direction), and the user can predict in advance which side is appropriate as the front. However, in other embodiments, the virtual propulsive force may be determined according to the direction of the joystick object, or may be determined based on the direction in which the initial speed is given or the direction of the initial movement.
[0152] As described above, in this embodiment, the moving direction of the combined object can be controlled by using the joystick object 70e included in the combined object. Specifically, the combined object rotates in the yaw direction or pitch direction by using the joystick object 70e. Note that, in this embodiment, the combined object does not rotate in the roll direction by using the joystick object 70e, but in other embodiments, it may also rotate in the roll direction. Also, in this embodiment, even if there is no object corresponding to a mechanism for generally controlling the moving direction of a moving object (for example, a movable wing in an airplane, a rudder in a raft, etc.), the moving direction can be controlled by including a joystick object in the combined object. In other words, as long as the combined object includes a joystick object, the moving direction when the combined object moves can be controlled, and usability is excellent.
[0153] (Correction of the attitude of the control stick object 70e) Next, correction of the attitude of the combined object including the control stick object 70e will be described. As described above, in this embodiment, the combined object including the control stick object 70e moves in the virtual space by the user's operation. For example, when an airplane object 75 as a combined object flies in the virtual space, the airplane object 75 flies while being affected by, for example, the wind in the virtual space and colliding with a predetermined object in the virtual space. For example, when it is affected by the wind, the airplane object 75 rotates in the roll direction or the pitch direction. Also, when the user steers using the control stick object 70e, the airplane object 75 rotates in the roll direction or the pitch direction. In this embodiment, in such a case, the attitude of the airplane object 75 is corrected.
[0154] Fig. 25 is a diagram showing an example of correction of the attitude of the control stick object 70e in the roll direction.Fig. 26 is a diagram showing an example of correction of the attitude of the control stick object 70e in the pitch direction.
[0155] In FIG. 25, the traveling direction of the airplane object 75 is from the front to the back of the page. As shown in FIG. 25, when the airplane object 75 flies in the virtual space, the airplane object 75 may rotate in a roll direction due to the influence of wind, for example. At this time, the control stick object 70e tilts left and right. In this case, the attitude of the airplane object 75 is corrected so that the attitude of the control stick object 70e approaches horizontal. For example, the entire airplane object 75 is rotated around the Z axis (or around the axis in the depth direction of the virtual space) so that the X axis of the control stick object 70e approaches parallel to the axis in the left and right direction of the virtual space (so that the angle between the X axis and the axis in the left and right direction of the virtual space approaches 0 degrees).
[0156] FIG. 26 also shows an airplane object 75 viewed from the side in the virtual space. As shown in FIG. 26, when the airplane object 75 flies in the virtual space, the airplane object 75 may rotate in the pitch direction due to the influence of wind, for example. At this time, the control stick object 70e tilts in the forward / backward direction. In this case, the attitude of the airplane object 75 is corrected so that the attitude of the control stick object 70e approaches horizontal. For example, the entire airplane object 75 is rotated around the X axis (or around the left / right axis of the virtual space) so that the Z axis of the control stick object 70e approaches parallel to the axis in the depth direction of the virtual space (so that the angle between the Z axis and the axis in the depth direction of the virtual space approaches 0 degrees).
[0157] By such a correction, even if the airplane object 75 tilts in the virtual space, the control stick object 70e can be made closer to horizontal. This makes it easier for the user to steer the airplane object 75 using the control stick object 70e. Note that in this embodiment, such a correction is made only in the roll direction or pitch direction, and no correction is made in the yaw direction.
[0158] In addition, in FIG. 25 and FIG. 26, the control stick object 70e is corrected to be horizontal, but the degree of correction is limited to a predetermined range, and if the airplane object 75 is tilted in the roll direction by a predetermined amount or more, the control stick object 70e may not become horizontal even if the correction is performed. Also, the degree of correction may be made small, and if the rotation force in the roll direction or pitch direction is a predetermined amount or more, the correction may not return the control stick object 70e to the horizontal state. For example, the correction is performed by imparting a rotation force (or a rotation speed) in the roll direction or pitch direction to the combined object (or each virtual object constituting the combined object), and the degree of correction (the rotation force or rotation speed imparted) is set to be relatively small. A rotation force (rotation speed) is imparted to the airplane object 75 in the roll direction or pitch direction due to the influence of wind, other objects, etc., but if this rotation force is a predetermined amount or more, the rotation force due to the correction is canceled, and the airplane object 75 does not become horizontal even if the correction is performed.
[0159] Such correction of the attitude in the roll direction and pitch direction may be performed only on the airplane object 75 (a wing object equipped with a control stick object), or similar correction may be performed on other combined objects including the control stick object 70e. For example, in the case of the four-wheeled vehicle object 76, the four-wheeled vehicle object 76 may be rotated in the roll direction or pitch direction so that the control stick object 70e approaches the horizontal.
[0160] (Explanation of data used in game processing) Next, data used in the above-mentioned game processing will be described. Fig. 27 is a diagram showing an example of data stored in the memory of the main unit 2 during execution of the game processing.
[0161] As shown in FIG. 27, the memory of the main unit 2 (DRAM 85, flash memory 84, or external storage medium) stores a game program, operation data, user character data, and data on a plurality of combined objects.
[0162] The game program is a program for executing the above-mentioned game processing. The game program is stored in advance in an external storage medium or flash memory 84 that is inserted into the slot 23, and is read into the DRAM 85 when the game is executed. The game program may be obtained from another device via a network (e.g., the Internet).
[0163] The operation data includes data from the buttons 103, analog stick 32, acceleration sensor 104, and angular velocity sensor 105 of the left controller 3, and the buttons 113, analog stick 52, acceleration sensor 114, and angular velocity sensor 115 of the right controller 4. The main unit 2 receives the operation data from each controller at a predetermined time interval (for example, 1 / 200 second intervals) and stores the operation data in memory. The operation data also includes data from the main unit 2 (data from the acceleration sensor, angular velocity sensor, touch panel, etc.).
[0164] The user character data is data related to the user character PC, and includes information on the position and posture of the user character PC in the virtual space. The user character data may also include information indicating items and abilities owned by the user character PC.
[0165] The combined object data is data relating to one combined object created by a user and consisting of a plurality of virtual objects 70. When a plurality of combined objects are placed in the virtual space, combined object data is stored for each combined object.
[0166] The combined object data includes data related to a plurality of virtual objects 70 constituting the combined object. Specifically, the combined object data includes powered object data. The powered object data is data related to a powered object (e.g., an engine object 70a, a wheel object 70c, etc.), and includes data related to the type of powered object, its position in the combined object, its attitude, its operating state, and its weight. The combined object data also includes joystick object data. The joystick object data includes information related to the position of the joystick object 70e in the combined object and its attitude in the virtual space. The combined object data also includes virtual object data related to the other virtual objects 70. The combined object data also includes combined object information.
[0167] The combined object information is information used when calculating the behavior of the combined object, and includes, for example, the center of gravity of the combined object. The center of gravity of the combined object is calculated based on the weights of the multiple virtual objects 70 constituting the combined object, the positions and orientations of the combined object, and the like.
[0168] (Details of Game Processing in Main Unit 2) Next, a detailed description will be given of the game processing performed in the main unit 2. Fig. 28 is a flowchart showing an example of the game processing executed by the processor 81 of the main unit 2.
[0169] 28, the processor 81 first executes an initial process (step S100). Specifically, the processor 81 sets a virtual space and places a user character PC, a virtual camera, a plurality of virtual objects 70, and the like in the virtual space. In addition to these, various other objects (for example, an object representing the ground of the virtual space, and objects such as trees and buildings fixed in the virtual space) are placed in the virtual space.
[0170] Next, the processor 81 performs a combined object generation process (step S101). In the combined object generation process, a combined object consisting of a plurality of virtual objects 70 is generated based on a user's operation, and is stored in a memory as combined object data. Specifically, a virtual object 70 arranged in the virtual space is selected in response to a user's selection operation, and the selected virtual object 70 is connected to another virtual object 70. A combined object is generated by connecting the plurality of virtual objects 70.
[0171] After the combined object generation process is performed, the processes from step S102 onward are repeatedly performed at a predetermined frame time interval (for example, 1 / 60 second intervals). The processes from step S102 onward will be described below.
[0172] In step S102, the processor 81 acquires the operation data. In step S102, the processor 81 acquires the operation data transmitted from each controller and stored in the memory.
[0173] Next, processor 81 performs a user character control process (step S103). In step S103, the user character PC is moved in the virtual space and a predetermined action is performed based on the operation data. For example, when the user character PC is located near the combined object and a predetermined operation is performed using the controller, the user character PC gets on the combined object.
[0174] Next, processor 81 determines whether or not the mode is currently set to a joystick operation mode for operating joystick object 70e (step S104). If the mode is not the joystick operation mode (step S104: NO), processor 81 determines whether or not to transition to the joystick operation mode (step S105). Specifically, if a predetermined operation is performed using the controller while the user character PC is riding on a combined object including joystick object 70e, processor 81 determines YES in step S105.
[0175] If the determination in step S105 is YES, processor 81 sets the joystick operation mode (step S106). In step S106, processor 81 moves player object PC to the position of joystick object 70e. On the other hand, if the determination in step S105 is NO, processor 81 next executes the process of step S108.
[0176] Following step S106, the processor 81 performs a combined object control process (step S107). The combined object control process is a process for controlling the movement of the combined object using the joystick object 70e. The combined object control process will be described in detail later.
[0177] When the process of step S107 has been performed, or when the result of step S105 is NO, processor 81 performs a physics calculation process (step S108). In step S108, calculations are performed for all objects in the virtual space based on their positions, sizes, weights, speeds, rotational speeds, applied forces, friction, and the like, in accordance with the laws of physics, and the actions of each object are controlled. When virtual object 70 or a combined object moves in the virtual space, a collision determination with other objects is performed, and the behavior of each object is calculated according to the result of the collision determination.
[0178] For example, when the four-wheeled vehicle object 76 moves as a combined object, the behavior of the four-wheeled vehicle object 76 is calculated based on the speed of the four-wheeled vehicle object 76 in the traveling direction based on the result of the processing in step S107 and the rotational speed of the four-wheeled vehicle object 76. In this case, friction between the wheel object 70c and the ground is taken into consideration. For example, when the four-wheeled vehicle object 76 is rotated leftward in the yaw direction by steering the joystick object 70e, the processor 81 calculates the behavior of the four-wheeled vehicle object 76 by reducing the friction with the ground.
[0179] Furthermore, when an airplane object 75 flies in the sky as a combined object, the behavior of the airplane object 75 is calculated based on the speed of the airplane object 75 in the traveling direction based on the result of the processing in step S107 and the rotational speed of the airplane object 75.
[0180] Next, the processor 81 performs an output process (step S109). Specifically, the processor 81 generates a game image based on the virtual camera, and displays the game image on the display 12 or a stationary monitor. The processor 81 also outputs a sound corresponding to the result of the game process from a speaker.
[0181] Next, processor 81 determines whether or not to end the game processing (step S110). For example, when the user instructs to end the game, processor 81 determines YES in step S110 and ends the game processing shown in Fig. 28. When processor 81 determines NO in step S110, processor 81 executes the processing of step S102 again.
[0182] (Merge object control processing) Next, the combined object control process in step S107 will be described in detail below. Fig. 29 is a flow chart showing an example of the combined object control process in step S107.
[0183] 29, processor 81 determines whether or not the combined object includes a powered object (step S200). If the combined object includes a powered object (step S200: YES), processor 81 sets all powered objects included in the combined object to the ON state (step S201).
[0184] When the process of step S201 has been performed, or when the result of step S200 is NO, processor 81 determines whether or not a direction instruction operation has been performed based on the operation data (step S202). Processor 81 determines whether or not a direction instruction operation has been performed using analog stick 32, for example.
[0185] When a direction instruction operation is performed (step S202: YES), processor 81 rotates the combined object (step S203). Specifically, processor 81 imparts a rotational speed to each virtual object 70 included in the combined object so that each virtual object 70 rotates around the center of gravity of the combined object in accordance with the input direction of analog stick 32. A physical calculation is performed in step S108 based on the rotational speed imparted in step S023, whereby each virtual object 70 is rotated and the combined object is rotated.
[0186] For example, in step S203, processor 81 rotates each virtual object 70 included in the combined object in the yaw direction (around an axis in the up-down direction of virtual space) based on the center of gravity of the combined object in response to the input in the up-down direction of analog stick 32. This causes the combined object to turn in the yaw direction (left-right direction). Processor 81 also rotates each virtual object 70 included in the combined object in the pitch direction (around an axis in the left-right direction of virtual space) based on the center of gravity of the combined object in response to the input in the up-down direction of analog stick 32.
[0187] When the process of step S203 has been performed, or when the determination in step S202 is NO, the processor 81 performs an attitude correction process (step S204). Here, as described above, the processor 81 rotates the combined object in the roll direction or pitch direction so that the attitude of the control stick object 70e approaches the horizontal.
[0188] Next, processor 81 determines whether or not to end the joystick operation mode (step S205). When an instruction to end the joystick operation mode is given using the controller, processor 81 determines YES in step S205 and ends the joystick operation mode (step S206). Specifically, in step S206, processor 81 sets all of the power objects that were set to the ON state in step S201 to the OFF state. This causes the movement of the combined objects to stop, and the user character PC moves away from the position of joystick object 70e.
[0189] When the process of step S206 has been performed, or when the result of step S205 is NO, the processor 81 ends the process shown in FIG.
[0190] It should be noted that the processes shown in the above flowcharts are merely examples, and the order and contents of the processes may be changed as appropriate.
[0191] As described above, in this embodiment, the user combines a plurality of virtual objects 70 arranged in a virtual space to generate a combined object (step S101). The plurality of virtual objects 70 include virtual power objects (engine object 70a, wheel object 70c, electric fan object 70f, etc.) that provide power to the combined object, and a virtual controller object (joystick object 70e). The user can generate a moving object that can move in the virtual space including the virtual power object and the virtual controller object as the combined object. When the virtual controller object is included in the moving object, the virtual power object is operated to move the moving object in a predetermined traveling direction (step S201), and the moving direction of the moving object is changed based on the user's input (step S203).
[0192] This allows the user to combine multiple virtual objects to generate a combined object, and to control the movement of the combined object using a virtual controller object. This allows the combined object, which is a combination of multiple virtual objects, to have more variety. In addition, the user can control the movement of the virtual power object using the virtual controller object, which improves user convenience.
[0193] In addition, in this embodiment, the operating state of the virtual motive power object includes an ON state in which motive power is applied to the moving object, and an OFF state in which motive power is not applied, and one virtual motive power object can be set to the ON state or the OFF state based on the user's input. When a virtual controller object is set as an operation target, all virtual motive power objects included in the moving object are simultaneously set to the ON state or the OFF state. By simultaneously setting a plurality of virtual motive power objects to the ON state or the OFF state, the user's convenience is improved compared to when the virtual motive power objects are set to the ON state or the OFF state one by one. In addition, for example, when the virtual motive power objects are set to the ON state one by one, the moving direction of the moving object may change every time the virtual motive power object is set to the ON state, but by simultaneously setting a plurality of virtual motive power objects to the ON state, the moving object can be moved in a predetermined moving direction. In addition, for example, when the virtual motive power objects are set to the OFF state one by one, even if the user tries to stop the moving object, the virtual motive power object in the ON state remains, and the moving object may not be stopped immediately. However, in this embodiment, since a plurality of virtual motive power objects are simultaneously set to the OFF state, the moving object can be stopped at a desired position or timing.
[0194] In addition, in this embodiment, the virtual controller object is placed at a position on the moving object designated by the user. Also, the moving object is provided with a normal portion and a priority portion (priority connection portion BP), and the virtual controller object is preferentially placed on the priority portion on the moving object. The user can place the virtual controller object at a desired position on the moving object, and the degree of freedom when generating the moving object can be increased. Also, since the virtual controller object is preferentially placed on the priority portion on the moving object, the convenience when placing the virtual controller object on the moving object is improved.
[0195] In addition, in this embodiment, the user character rides on a moving object including a virtual controller object based on a user input. This allows the user character to control the moving object. For example, based on the user input, the user character operates a virtual controller object on the moving object, and the orientation of at least a part (handle portion) of the virtual controller object is changed, and the moving direction of the moving object is changed.
[0196] In this embodiment, the user character is moved by the user's operation on the analog stick 32, and when the user character is in a position on the moving object corresponding to the virtual controller object (a predetermined range including the position of the virtual controller object), the user character moves to the position of the virtual controller object in response to a user input (e.g., pressing a predetermined button). When the user character moves to the position of the virtual controller object, the virtual controller object is set as an operation target, and the moving object can be controlled.
[0197] In addition, in this embodiment, regardless of the position of the virtual controller object in the moving object, the moving direction of the moving object is changed to a direction according to the user's input direction, so that the user can change the moving direction of the moving object with the same operation no matter where the virtual controller object is located.
[0198] Furthermore, even if the virtual motive power object and the virtual controller object are not in a specific positional relationship, the movement of the moving object is controlled in response to the user's input. Furthermore, without the presence of a specific object (e.g., a specific object that transmits motive power) between the virtual motive power object and the virtual controller object, the movement of the moving object is controlled in response to the user's input. That is, regardless of the positional relationship between the virtual motive power object and the virtual controller object, and without the need for a specific object that connects them, the movement of the moving object can be controlled in response to the user's input. Conversely, the manner of control of the moving object may differ depending on the positional relationship between the virtual motive power object and the virtual controller object, and whether or not a specific object is present between them. For example, when the virtual motive power object and the virtual controller object are in a specific positional relationship, the movement of the moving object may be controlled in response to the user's input, and when the virtual motive power object and the virtual controller object are not in a specific positional relationship, the movement of the moving object may be restricted. Furthermore, when a specific object is present between the virtual motive power object and the virtual controller object, the movement of the moving object may be controlled in response to the user's input, and when no specific object is present, the movement of the moving object may be restricted.
[0199] In addition, in this embodiment, the user can specify the orientation of the virtual controller object relative to the moving object and place the virtual controller object on the moving object, which allows the virtual controller object to be placed in a desired orientation, thereby increasing the degree of freedom when generating the moving object.
[0200] In addition, in this embodiment, regardless of the orientation of the virtual controller object in the moving object, the moving direction of the moving object is changed to a direction according to the user's input direction. This allows the user to change the moving direction of the moving object with the same operation regardless of the orientation of the virtual controller object.
[0201] In addition, in this embodiment, the moving direction of the moving object is changed by imparting a rotation speed around the center of gravity of the moving object to the moving object. Specifically, a rotation speed around the center of gravity of the moving object is imparted to each virtual object constituting the moving object. This makes it possible to change the moving direction of the moving object even if the moving object is generated by the user using various virtual objects. Since a rotation speed is imparted to the moving object based on the center of gravity, for example, a combined object that does not have power does not accelerate and moves, and can behave naturally.
[0202] In this embodiment, a moving object (four-wheeled vehicle object) that moves while contacting the ground in the virtual space can be generated, and when changing the moving direction of the four-wheeled vehicle object, the friction between the four-wheeled vehicle object and the ground is made smaller than when the four-wheeled vehicle object is moved in a predetermined traveling direction, which makes it easier to turn the four-wheeled vehicle object.
[0203] In this embodiment, the attitude of the moving object in the roll direction or pitch direction is corrected so that the attitude of the virtual controller object included in the moving object in the virtual space becomes a predetermined attitude (for example, a horizontal attitude). This makes it possible to maintain the attitude of the virtual controller object in a predetermined attitude even when the attitude of the moving object changes, thereby improving operability.
[0204] In addition, in this embodiment, a combined object (moving object) can be operated using a common joystick object. Since a user can freely combine combined objects (moving objects), there are cases where the user does not know what type (for example, a car or an airplane) the combined moving objects are classified into, but since a common joystick object can be combined with any moving object, usability is excellent. For example, if a moving object has a power object, a common joystick object can be used regardless of the type of power object. In this way, since any moving object can be operated using a common joystick object, usability is improved by making the operation method of the moving object common, and an operation that follows intuition is possible. For example, the tendency of a change in the moving direction of the moving object in response to a certain user operation with respect to the moving object's traveling direction may be common regardless of the type or combination of virtual objects that constitute the moving object. Note that, if a moving object has a power object, the power object may be turned on by a common operation on the joystick object regardless of the type of the power object. In addition, by detaching only the joystick object from the first moving object and attaching it to the second moving object, it may be possible to switch between controlling the first moving object and the second moving object using a single joystick object.
[0205] Note that there may be only one type of control stick object common to the multiple moving objects. Also, there may be only one control stick object of one type. Also, although there is only one type of control stick object, there may be multiple types.
[0206] Furthermore, in the above embodiment, the ON / OFF of one or more powered objects included in the moving object is controlled using a joystick object, but the ON / OFF of the powered object does not have to be controlled using the joystick object. For example, the powered object included in the moving object may always be in the ON state, regardless of the operation using the joystick object. Furthermore, the powered object included in the moving object may be normally in the OFF state, and the multiple powered objects may be individually or collectively controlled to the ON state by an operation other than the operation using the joystick object. In this way, even if the ON / OFF of the powered object is not controlled by the joystick object, the movement direction and movement speed of the moving object may be controlled by the joystick object.
[0207] (Modification) Although the present embodiment has been described above, the above embodiment is merely an example, and the following modifications may be made, for example.
[0208] For example, in the above embodiment, the user's operation used to control the movement of the combined object is merely an example, and the movement of the combined object (moving object) may be controlled using any button or analog stick of the controller 3, 4. For example, the moving object may start moving in a predetermined direction of travel by pressing a predetermined button of the controller 3, 4, and the moving direction of the moving object may be changed by pressing another button. Also, the moving object may start moving in a predetermined direction of travel by operating the analog stick, and the moving direction of the moving object may be changed by operating the same or a different analog stick. Also, the movement of the moving object may be controlled based on the attitude of the controller 3, 4 and the attitude of the main unit 2.
[0209] In the above embodiment, when the user character rides on the combined object and moves to the position of the joystick object on the combined object, the combined object is set to be controllable (set as an operation target) in response to a predetermined operation. Any method may be used to set the combined object as an operation target. For example, the combined object may be set as an operation target in response to a predetermined operation when the user character is present at a position corresponding to the joystick object, without the condition that the user character rides on the combined object. Alternatively, when the user character is present near the combined object, the combined object may be set as an operation target in response to a predetermined operation. Furthermore, if a condition regarding the position is satisfied, the combined object may be set as an operation target without requiring a predetermined operation. Alternatively, the combined object may be set as an operation target by an appropriate operation, regardless of the positions of the user character and the combined object.
[0210] In the above embodiment, the moving direction of the moving object is determined based on the position and attitude of the powered object included in the moving object, and when the joystick object 70e is not steered, the moving object is moved in the moving direction. When the joystick object 70e is steered, the moving direction of the moving object is changed by rotating the moving object around the center of gravity axis. In other embodiments, the moving direction of the moving object may be changed by another method. For example, when the joystick object 70e is steered left and right, the moving direction of the moving object may be changed left and right by changing the orientation of the powered object included in the moving object left and right. In other embodiments, when the joystick object 70e is steered left and right, the moving direction of the moving object may be changed left and right by adding a translational velocity in the left and right direction to the moving object. In other embodiments, when the joystick object 70e is steered left and right, the moving direction of the moving object may be changed left and right by adding an acceleration (force) in the left and right direction to the moving object.
[0211] In the above embodiment, the operating state of the power object is either the ON state or the OFF state. In other embodiments, the output value (power) of the power object may be changed. For example, when the joystick object 70e is set as the operation target, the output value of the power object included in the moving object may be increased to move the moving object in the traveling direction. Also, for example, when the joystick object 70e is steered left or right, the output value of the power object included in the moving object may be changed to change the moving direction of the moving object left or right. Also, the output value of the power object may be changed using the joystick object 70e to start or stop the movement of the moving object, or change the moving speed of the moving object.
[0212] In the above embodiment, the motive power object provides a predetermined speed to the combined object as a motive power. Then, the behavior of each object is calculated based on the speed provided to each object. In another embodiment, the motive power object may provide a force (acceleration) to the combined object, and the behavior of each object may be calculated based on the provided force (acceleration).
[0213] Moreover, each virtual object 70 in the above embodiment is merely an example, and other virtual objects may be used. For example, in the above embodiment, the joystick object 70e is used as an example of a virtual controller object, but in other embodiments, an object resembling a steering wheel may be used as the virtual controller object. Furthermore, the virtual controller object may represent a place such as a cockpit or cockpit.
[0214] In the above embodiment, when the control stick object 70e is set as an operation target, the user character PC is placed at the position of the control stick object 70e. In other embodiments, the position of the user character PC does not necessarily have to coincide with the position of the control stick object 70e, and the user character PC may be placed in a predetermined range determined according to the position of the control stick object 70e. In addition, the method of setting the control stick object 70e as an operation target is not limited to pressing a button, and may be any other method. For example, the user may set the control stick object 70e as an operation target by pointing at the control stick object 70e with a predetermined indication marker.
[0215] Also, a moving object including the joystick object 70e and not including a power object may be generated by the user. The moving direction of such a moving object not including a power object is changed by using the joystick object. Specifically, when such a moving object is generated by the user, a speed in a predetermined direction is given to the moving object. For example, the speed may be given by a user character performing a predetermined action on the moving object, or by dropping the moving object or sliding it down a slope. Also, the speed may be given to the moving object by another object colliding with the moving object. Such a given speed can be regarded as a force in the moving direction. In this way, on the premise that the moving object is moving in a predetermined direction, a joystick object included in the moving object is set as an operation target based on a user input, and when the joystick object is set as an operation target, the moving direction of the moving object may be changed based on the user input.
[0216] Also, in a situation where a moving object including a joystick object 70e but not a powered object is moving on a slope or the like, power may be generated in the moving object's traveling direction at the time when the user character PC moves to the position of the joystick object 70e. The direction of this power (traveling direction) is set based on the moving object. In this case, when the joystick object 70e is steered, the moving object is rotated based on the center of gravity position according to the steering direction, and the traveling direction is also rotated. This causes the moving object to turn.
[0217] In the above embodiment, the combined object is generated by combining the multiple virtual objects 70 arranged in the virtual space. In other embodiments, at the stage of generating the combined object, at least a part of the multiple virtual objects 70 may not be arranged in the virtual space, but may be accommodated in a containing area. For example, the powered object may be arranged in the virtual space, and the joystick object may be accommodated in the containing area. Also, the joystick object may be arranged in the virtual space, and the powered object may be accommodated in the containing area. By combining the multiple virtual objects arranged in the virtual space or accommodated in the containing area, a combined object including the powered object and the joystick object may be generated, and the generated combined object may be arranged in the virtual space.
[0218] In another embodiment, there may be multiple types of control stick objects. For example, there may be a first control stick object and a second control stick object of different types, and the user may combine either the first control stick object or the second control stick object with a moving object. In this case, the moving object including the second control stick object may have a faster moving speed or a faster rate of change in moving direction than the moving object including the first control stick object. Also, multiple types of control stick objects may be provided, and the type of power or the configuration (type) of the combined object (moving object) may correspond to the type of control stick object that can control the moving direction of the moving object.
[0219] In the above embodiment, an example is shown in which a powered object that provides power is combined with a combined object, but a non-powered object that does not provide power (for example, a light object that emits light) may be combined with the combined object. The non-powered object may be controlled to be turned on / off using a joystick object. When the combined object includes multiple non-powered objects, the joystick object may be used to control the on / off of the multiple non-powered objects collectively, or the on / off of the multiple non-powered objects may be controlled individually. When the combined object includes multiple non-powered objects and multiple powered objects, the joystick object may be used to control the on / off of the multiple non-powered objects and powered objects collectively, or the on / off of the multiple non-powered objects and powered objects may be controlled individually. In other words, the objects that can be turned on / off and are included in the combined object may be controlled to be turned on / off collectively or individually using a joystick object, regardless of whether they are powered or not.
[0220] In a combined object including a powered object and a non-powered object, only the powered object may be controllable using the control stick object. When a combined object includes multiple powered objects and multiple non-powered objects, all of the multiple powered objects may be simultaneously controlled to an ON or OFF state using the control stick object. Conversely, in a combined object including powered objects and non-powered objects, only the non-powered objects may be controllable. Also, a control stick object that can control only the powered objects and a control stick object that can control only the non-powered objects may be provided.
[0221] Furthermore, the hardware configuration for playing the game is merely an example, and the game processing may be performed in any other hardware. For example, the game processing may be executed in any information processing system, such as a personal computer, a tablet terminal, a smartphone, or a server on the Internet. Furthermore, the game processing may be executed in a distributed manner by a plurality of devices.
[0222] In addition, the configurations according to the above-described embodiments and the modifications thereof can be combined in any manner as long as they are not inconsistent with each other. Furthermore, the above is merely an example of the present invention, and various improvements and modifications other than those described above may be made. [Explanation of symbols]
[0223] 1. Game System 2. Main Unit 3 Left Controller 4 Right Controller 32, 52 Analog stick 81 Processor 70 Virtual Objects 75, 77 Airplane object 76 4-wheeled vehicle object
Claims
1. An information processing system including a processor that performs game processing based on a user's input, The game processing includes: Placing a plurality of virtual objects including a virtual controller object and a player character operated based on a user's input in a virtual space in which a game progresses; generating a combined object by combining the virtual objects together in the virtual space based on a user input; and executing a control mode in which at least one of an orientation or a moving direction of the player character and the combined object is changed based on a user's input when the combined object includes the virtual controller object, based on a positional relationship between the player character and the combined object at least in the virtual space satisfying a first condition. Information processing system.
2. The information processing system according to claim 1 , wherein the first condition includes a condition that the player character and the virtual controller object included in the combined object are in a predetermined proximity relationship.
3. 3. The information processing system according to claim 1, wherein in the control mode, the player character and the virtual controller object have a predetermined positional relationship.
4. 4. The information processing system according to claim 1, wherein, in the control mode, the player character and the virtual controller object are oriented in a predetermined relationship.
5. When the control mode is not being executed, at least one of an orientation or a moving direction of the player character is controlled based on a predetermined input by a user; 5. An information processing system according to claim 1, wherein when the control mode is being executed, at least one of the orientation and the movement direction of the player character and the combined object is controlled based on the predetermined input by the user.
6. the plurality of virtual objects arranged in the virtual space further includes a power object; 6. The information processing system according to claim 1, wherein the power object provides power to the combined object when combined with the combined object.
7. 7. The information processing system according to claim 6, wherein said power object, when not incorporated into said combined object, is switched between a state in which it exerts a predetermined action and a state in which it does not exert a predetermined action based on a user's input.
8. 8. The information processing system according to claim 6, wherein during the operation mode, the respective actions of all of the power objects incorporated into the combined object are exerted.
9. The game processing includes: An information processing system according to any one of claims 1 to 8, wherein the virtual controller object is separated from the combined object based on user input, and the virtual controller object separated from the combined object is combined with a virtual object different from the virtual object from which it was separated.
10. the virtual controller object is positionable at either a first position or a second position in the virtual object based on user input; In the manipulation mode, at least one of an orientation or a moving direction of a combined object including the virtual object and the virtual controller object arranged at the first position is changed based on a first input of a user; An information processing system according to any one of claims 1 to 9, wherein in the steering mode, at least one of an orientation or a movement direction of a combined object including the virtual object and the virtual controller object arranged at the second position is changed based on the first input.
11. 11. The information processing system according to claim 1, wherein the virtual controller object is capable of being combined with any virtual object that is capable of being combined with another virtual object.
12. 12. An information processing system according to claim 1, wherein the virtual object for generating the combined object, which is placed in the virtual space, is selected based on at least one of the position or orientation in the virtual space of the player character operated based on user input.
13. The information processing system according to claim 1 , wherein an enemy object is placed in the virtual space.
14. 14. The information processing system according to claim 1, wherein in the control mode, the orientation of the moving player character and the combined object is changed without changing the moving direction of the player character and the combined object based on the user input.
15. An information processing method for performing game processing based on a user input, comprising: The game processing includes: Placing a plurality of virtual objects including a virtual controller object and a player character operated based on a user's input in a virtual space in which a game progresses; generating a combined object by combining the virtual objects together in the virtual space based on a user input; and executing a control mode in which at least one of an orientation or a moving direction of the player character and the combined object is changed based on a user's input when the combined object includes the virtual controller object, based on a positional relationship between the player character and the combined object at least in the virtual space satisfying a first condition. Information processing methods.
16. An information processing program that causes a processor to perform game processing based on a user's input, The game processing includes: Placing a plurality of virtual objects including a virtual controller object and a player character operated based on a user's input in a virtual space in which a game progresses; generating a combined object by combining the virtual objects together in the virtual space based on a user input; and executing a control mode in which at least one of an orientation or a moving direction of the player character and the combined object is changed based on a user's input when the combined object includes the virtual controller object, based on a positional relationship between the player character and the combined object at least in the virtual space satisfying a first condition. Information processing program.
Citation Information
Patent Citations
Method and system for providing automobile game
JP2005000338A
Game program, computer control method, and computer
JP2016010452A
Game program, method, and information processing device
JP2019195419A
Program, information storage medium and game machine
JP2007021248A
