WO2018216078A1 - ゲームプログラム、情報処理装置、情報処理システム、および、ゲーム処理方法 - Google Patents

ゲームプログラム、情報処理装置、情報処理システム、および、ゲーム処理方法 Download PDF

Info

Publication number
WO2018216078A1
WO2018216078A1 PCT/JP2017/019055 JP2017019055W WO2018216078A1 WO 2018216078 A1 WO2018216078 A1 WO 2018216078A1 JP 2017019055 W JP2017019055 W JP 2017019055W WO 2018216078 A1 WO2018216078 A1 WO 2018216078A1
Authority
WO
WIPO (PCT)
Prior art keywords
input
reference position
pointing device
started
condition
Prior art date
Application number
PCT/JP2017/019055
Other languages
English (en)
French (fr)
Inventor
光佑 矢吹
健 宮本
茂人 村田
慎也 中野
Original Assignee
任天堂株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 任天堂株式会社 filed Critical 任天堂株式会社
Priority to CN201780091082.7A priority Critical patent/CN110678238A/zh
Priority to PCT/JP2017/019055 priority patent/WO2018216078A1/ja
Priority to JP2019519821A priority patent/JP6921192B2/ja
Priority to EP17905006.7A priority patent/EP3441120A4/en
Publication of WO2018216078A1 publication Critical patent/WO2018216078A1/ja
Priority to US16/686,688 priority patent/US11198058B2/en
Priority to JP2021122596A priority patent/JP2021168972A/ja
Priority to JP2023070980A priority patent/JP7496013B2/ja

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • A63F13/426Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle involving on-screen location information, e.g. screen coordinates of an area at which the player is aiming with a light gun
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/803Driving vehicles or craft, e.g. cars, airplanes, ships, robots or tanks
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/90Constructional details or arrangements of video game devices not provided for in groups A63F13/20 or A63F13/25, e.g. housing, wiring, connections or cabinets
    • A63F13/92Video game devices specially adapted to be hand-held while playing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Definitions

  • the present invention relates to a game program, a game device, a game system, and a game processing method for performing input using a pointing device.
  • a user interface that enables various game operations using a pointing device is desired.
  • an object of the present invention is to provide a game program, a game device, a game system, and a game processing method that enable various game operations using a pointing device.
  • the present invention employs the following configurations (1) to (13).
  • An example of the present invention is a game program that causes a computer of an information processing device to execute an acquisition step, a reference position setting step, a first movement processing step, and a first processing execution step.
  • the computer repeatedly obtains the input position detected by the pointing device.
  • the computer sets the reference position based on the input position when the input to the pointing device is started.
  • the computer moves the first object in the virtual game space based on the reference position and the input position of the input continuously performed after the input to the pointing device is started. Execute the process.
  • the first process execution step when the input position of the input continuously performed after the input to the pointing device is started satisfies the first condition regarding the relationship between the input position and the reference position, the first object A first process is performed on a second object that is the same as or different from.
  • the user can perform a moving operation on the object by an input that continues from the start of the input to the pointing device, and further executes the first process on the object by the continuous input. Can do. According to this, various game operations can be made using the pointing device.
  • the game program may cause the computer to further execute the second movement processing step.
  • the computer is an input continuously performed after the input to the pointing device is started, and in the virtual game space based on the input position of the input after the execution of the first process.
  • a second movement process for moving the second object is executed.
  • the user can perform a move operation on the second object even after performing an operation to execute the first process on the second object. Thereby, the operability of the moving operation on the object can be improved.
  • the second object may be the same as the first object.
  • a process for changing the state of the first object may be executed as the first process.
  • the user can perform both the movement operation for the object and the operation for changing the state by a series of inputs to the pointing device. According to this, since a user can perform a plurality of types of operations by a series of inputs to the pointing device, more various game operations can be performed.
  • a process for changing a state related to the movement of the first object may be executed.
  • the game program may cause the computer to further execute a third movement processing step.
  • the computer performs the first movement processing based on the input position that is continuously performed after the input to the pointing device is started, and based on the input position of the input after the execution of the first processing.
  • a third movement process for moving the first object is executed by a control method different from the above.
  • the user can change the movement control method by the movement operation by the first process. Therefore, according to the configuration of (4) above, the user can perform a movement operation on the object and a movement control method changing operation by the movement operation by a series of inputs. According to this, it is possible to cause the user to perform various movement operations by a simple input method.
  • the changed state when the state of the second object changes in response to the first condition being satisfied, the changed state may be maintained after the first condition is no longer satisfied.
  • the state of the first object changed by the first process is maintained even if the first condition is not satisfied after that. .
  • the user after performing an operation that satisfies the first condition, the user can perform an operation without being restricted by the first condition, and thus can perform another operation by an input to the pointing device. Accordingly, it is possible to improve the degree of freedom of operation by input to the pointing device, and it is possible to improve operability.
  • a process that is different from the first movement process and controls the operation of the second object may be executed.
  • the user performs a pointing operation on the first object and an operation on the second object (which may be the same as or different from the first object). Can be done by a series of inputs. According to this, since a user can perform a plurality of types of operations by a series of inputs to the pointing device, more various game operations can be performed.
  • the game program may cause the computer to further execute a second process execution step.
  • the computer performs the first process when the input is performed continuously after the input to the pointing device is started and the input after the execution of the first process satisfies the second condition.
  • the second process for the second object is executed.
  • the user after the user causes the information processing apparatus to execute the first process by an operation that satisfies the first condition, the user further performs the second process on the information processing apparatus by an operation that satisfies the second condition. Can be executed. According to this, since a user can perform a plurality of types of operations by a series of inputs to the pointing device, more various game operations can be performed.
  • a process related to the movement of the second object may be executed as the second process.
  • the user can perform an operation related to the movement of the first object even after the information processing apparatus has performed the first process by an operation that satisfies the first condition. According to this, the user can perform various operations related to the movement of the object by a simple input method.
  • the second process may be executed in accordance with the end of the input continuously performed after the input to the pointing device is started.
  • the user can cause the information processing apparatus to execute the second process by an operation to end a series of inputs to the pointing device.
  • the user in addition to an operation during a series of inputs, the user can perform a game operation also by an operation for ending the series of inputs, so that more various game operations can be performed.
  • the first condition may include a state where an input position of an input continuously performed after input to the pointing device satisfies a predetermined condition has continued for a predetermined time.
  • the first process may be executed in response to the first condition being satisfied after the first movement process is started.
  • the user can perform an operation on the second object during the movement operation on the first object. That is, the user can perform an operation on the second object following the operation on the first object. For example, when the first object and the second object are the same, the user is different from the moving operation by the input continuously performed from the input of the moving operation on the first object being moved. The operation can be performed.
  • Another example of the present invention is a game program that causes a computer of an information processing apparatus to execute an acquisition step, a reference position setting step, a movement processing step, and a reference position resetting step.
  • the computer repeatedly obtains the input position detected by the pointing device.
  • the computer sets the reference position based on the input position when the input to the pointing device is started.
  • the computer executes a movement process for moving the object in the virtual game space based on the reference position and the input position of the input continuously performed after the input to the pointing device is started.
  • the reference position resetting step when the input position of the input continuously performed after the input to the pointing device is started satisfies a predetermined condition, the computer sets the reference position to the input position when the condition is satisfied. Reset it.
  • the movement operation for the object and the operation for resetting the reference position can be performed by a series of inputs to the pointing device. According to this, it is possible to cause the user to perform various operations using the pointing device. Further, according to the configuration of (12), the user can reset the reference position while continuing to input, so the user can reset the reference position with a simple operation without having to input again. Can do. Thereby, the operability of the operation using the pointing device can be improved. In addition, since the input position when a predetermined condition is satisfied becomes a new reference position, the information processing apparatus can set the reference position at a position that is easily understood by the user.
  • the game program may further cause the computer to execute a determination step.
  • the computer determines whether or not the input position of the input continuously performed after the input to the pointing device is started satisfies a predetermined condition.
  • the reference position may be reset to the input position determined to satisfy the condition in the determination step.
  • the reference position is reset to the input position when it is determined that the predetermined condition is satisfied. According to this, an input position when a predetermined condition is satisfied can be easily specified, and a new reference position can be set for the input position.
  • another example of the present invention is an information processing apparatus or information processing system that executes the processing of each step in the above (1) to (13) (not limited to a mode in which each step is executed by a program).
  • Another example of the present invention may be a game processing method in which a computer executes the processing of each step in the above (1) to (13).
  • various game operations can be performed using a pointing device.
  • a block diagram showing an example of a configuration of an information processing system in the present embodiment Block diagram showing an example of server configuration
  • the block diagram which shows an example of a structure of a terminal device
  • the figure which shows an example of a game image The figure which shows an example of the game operation which can be performed by touch input in this embodiment
  • the figure which shows an example of the game image when touch input is started The figure which shows an example of the operation image
  • the figure which shows an example of a mode that a reference position is changed Diagram showing an example of the drift condition determination method
  • the figure which shows an example of a mode that a reference position is reset
  • the figure which shows an example of the game image containing the object in a drift state
  • the figure which shows an example of the game image containing the object in an acceleration state The figure which shows an example of the data used for the game process in an information processing system
  • the flowchart which shows the flow of an example of the game process performed by a
  • FIG. 1 is a block diagram showing an example of the configuration of the information processing system in the present embodiment.
  • the information processing system includes a server 1 and a terminal device 2.
  • the server 1 and the terminal device 2 can be connected to the network 3 such as the Internet and / or a mobile communication network.
  • the server 1 and the terminal device 2 can communicate with each other via the network 3.
  • the server 1 is a server for providing a service related to an application executed in the terminal device 2.
  • the server 1 is a game server for executing a game on the terminal device 2. That is, the server 1 provides an environment for executing game processing in the terminal device 2. For example, in response to a request from the terminal device 2 that executes the game process, the server 1 executes the game process as necessary, and transmits game data corresponding to the request to the terminal device 2.
  • the terminal device 2 is an example of an information processing device possessed by a user, and is, for example, a smartphone, a portable or stationary game device, a mobile phone, a tablet terminal, or a wearable terminal.
  • the terminal device 2 can execute a game program (in other words, a game application) for a game for which the server 1 provides a service.
  • FIG. 2 is a block diagram illustrating an example of the configuration of the server 1.
  • Each component included in the server 1 illustrated in FIG. 2 is realized by one or more information processing apparatuses.
  • the hardware configuration of the server 1 in the present embodiment may be the same as the hardware configuration for a conventional server.
  • the server 1 includes a processing unit 11 and a storage unit 12.
  • the processing unit 11 is electrically connected to the units 12 to 15 of the server 1.
  • the processing unit 11 includes a CPU (Central Processing Unit) and a memory.
  • CPU Central Processing Unit
  • various information processing is executed by the CPU executing a program stored in the storage unit 12 using a memory.
  • the storage unit 12 is an arbitrary storage device (also referred to as a storage medium) accessible by the processing unit 11.
  • the storage unit 12 stores a program executed in the processing unit 11, data used for information processing by the processing unit 11, data obtained by the information processing, and the like.
  • the storage unit 12 stores at least a program for game processing executed on the server side for game processing executed on the terminal device 2.
  • the server 1 includes a communication unit 13.
  • the communication unit 13 has a function of connecting to the network 3 and communicating with other devices (for example, the terminal device 2) via the network 3.
  • the server 1 also includes an input unit 14 and a display unit 15 as an input / output interface.
  • FIG. 3 is a block diagram illustrating an example of the configuration of the terminal device 2.
  • the terminal device 2 includes a processing unit 21 and a storage unit 22.
  • the processing unit 21 is electrically connected to the units 22 to 25 of the terminal device 2.
  • the processing unit 21 has a CPU and a memory.
  • the CPU executes various types of information processing by executing a program (including the above-described game program) stored in the storage unit 22 using a memory.
  • the storage unit 22 stores a program executed in the processing unit 21, data used for information processing by the processing unit 21, data obtained by the information processing, and the like.
  • the storage unit 22 may be a storage medium that can be attached to and detached from the terminal device 2 (for example, a card-type storage medium).
  • the terminal device 2 includes a pointing device as an example of an input unit.
  • a pointing device is any input device that can detect a specified position (eg, by a user) on the input surface.
  • the pointing device is a touch panel 23 provided on the screen of the display unit 24.
  • the touch panel 23 detects a position specified by an input touching an input surface (in other words, a surface set on the screen of the display unit 24) (referred to as “touch input”).
  • the pointing device may be a touch input type input device capable of detecting a specified position (for example, by a user) on the input surface, such as a touch screen, a touch panel, or a touch pad.
  • the touch input type input device may be an input device capable of performing contact or non-contact input on the input surface. That is, the touch input type input device is not limited to a device that can detect the position of the touch input with respect to the input surface, but can detect the input position by detecting a finger or the like that is disposed at a position slightly away from the input surface. It may be an input device that can be detected (for example, an input device having a floating touch function). In other words, instead of touch input on the input surface (or in addition to touch input), the touch input type input device does not touch the input surface and inputs a finger or the like slightly away from the input surface. The position specified by may be detected.
  • the pointing device is not limited to a touch input type input device, and may be a mouse or an operating device that is moved by a user, and is on the input surface depending on the position and / or orientation of the operating device. It may be an operating device capable of specifying a position.
  • the input position detected by the pointing device is a position corresponding to the position on the display screen. It is. However, the input position substantially indicates a position on the display screen. Therefore, in the description of the present embodiment, the input position may be described as the position on the display screen for the purpose of making the description easy to understand. Note that “the input position is at a specific position on the display screen” is, strictly speaking, the input position is a position corresponding to the specific position on the display screen and is at a position on the input surface. It means that.
  • the terminal device 2 includes a display unit 24.
  • the display unit 24 displays an image (for example, a game image) generated by information processing executed in the processing unit 21 of the terminal device 2.
  • the terminal device 2 includes a communication unit 25.
  • the communication unit 25 has a function of communicating by connecting to a mobile communication network (in other words, a mobile phone communication network). That is, the terminal device 2 (specifically, the processing unit 21) connects to the network 3 via the mobile communication network using the communication unit 25 (in other words, via the communication unit 25), It communicates with (for example, server 1 etc.).
  • the structure of the communication part for the terminal device 2 to communicate via the network 3 is arbitrary.
  • the communication unit 25 may have a function of connecting to a wireless LAN by a communication module that has been authenticated by Wi-Fi, or a function of connecting to a mobile communication network and a function of connecting to a wireless LAN. You may have both.
  • the user performs an operation on the object by touch input. That is, the terminal device 2 controls the operation of the object based on the touch input on the touch panel 23.
  • FIG. 4 is a diagram illustrating an example of a game image.
  • FIG. 4 is a game image when no touch input is performed.
  • the terminal device 2 displays a game image including a virtual game space (a race course in the present embodiment) and an object 31 appearing in the game space on the display unit 24.
  • the object 31 is an object that imitates a car (and a character that drives the car), and is operated by the user.
  • the terminal device 2 when no touch input is performed, the terminal device 2 automatically controls the movement of the object 31 (that is, according to a predetermined algorithm). In this case, the object 31 is automatically controlled to advance along the race course. Note that in another embodiment, the terminal device 2 may control the movement of the object 31 so as to go straight when no touch input is performed.
  • the speed of the object 31 is automatically controlled (for example, at a constant speed) except when an acceleration operation described later is performed.
  • the speed of the object 31 may be controlled based on a user input.
  • the terminal device 2 may control the speed of the object 31 based on an instruction from the user (for example, an instruction by touch input to an accelerator button displayed on the screen).
  • the object 31 can take two types of states, a normal state and a drift state. Although details will be described later, the contents of the process for controlling the movement of the object 31 based on the touch input by the user are different between the normal state and the drift state. In the present embodiment, at least when the touch input is not performed, the object 31 is in a normal state.
  • FIG. 5 is a diagram illustrating an example of a game operation that can be performed by touch input in the present embodiment.
  • the user moves the object 31 in a desired direction by touch input ((b) and (d) shown in FIG. 5), or moves the object 31 from the normal state. Transition to the drift state ((c) shown in FIG. 5) or acceleration ((f) shown in FIG. 5) can be made.
  • the outline of the operation will be described below by taking as an example the case where the game operations (a) to (f) shown in FIG.
  • FIG. 6 is a diagram illustrating an example of a game image when touch input is started.
  • the terminal device 2 when touch input is started, the terminal device 2 first sets a reference position based on the input position at the time of touch-on (FIG. 5A).
  • the reference position is a position used for specifying the content of an input instruction by touch input.
  • the input position at the time of touch-on that is, the input position at the start of touch input is set as the reference position.
  • touch-on means that touch input has started, in other words, a state in which touch input is not performed to a state in which touch input is performed. means.
  • the fact that the touch input has been completed, in other words, the change from the state in which the touch input is performed to the state in which the touch input is not performed is referred to as “touch-off”.
  • the reference position set at the time of touch-on may be an arbitrary position set based on the input position at the time of touch-on. For example, when the input position at the time of touch-on is located near the edge of the screen of the display unit 24, the terminal device 2 sets a position that is a predetermined distance from the edge of the screen as the reference position based on the input position. May be. This is to allow the user to specify an input position that is separated from the reference position by a predetermined distance in any direction in the above case. In the above case, the reference position may be set to a position that is a distance of a radius r2 of a reference position image to be described later from the edge of the screen.
  • the reference position set at the time of touch-on may be fixedly set regardless of the input position at the time of touch-on. That is, the terminal device 2 may set a predetermined position (for example, the center position of the screen of the display unit 24) as the reference position.
  • the user can start touch input for a moving operation using an arbitrary position on the input surface of the touch panel 23 as an input start position. That is, the terminal device 2 executes a process for setting a reference position and a process for specifying an input instruction to be described later in response to the start of touch input at an arbitrary position on the input surface.
  • the terminal device 2 may execute these processes on condition that a touch input is started within a predetermined input receiving area of the input surface.
  • the input reception area may be an area set based on the position of the object 31, for example, or may be a predetermined area.
  • the terminal device 2 displays an operation image 32 on the display unit 24 in addition to the game image.
  • the finger of the user performing touch input is indicated by a dotted line.
  • the operation image 32 includes an input position image 33 and a reference position image 34.
  • the input position image 33 is a position on the input surface of the touch panel 23 and an image indicating the current input position. Specifically, the input position image 33 represents a circular area having a radius r1 centered on the input position (see FIG. 7).
  • the reference position image 34 is a position on the input surface of the touch panel 23 and an image indicating the reference position. Specifically, the reference position image 34 represents a circular area having a radius r2 (> r1) centered on the reference position (see FIG. 7).
  • the operation image 32 is displayed, so that the user can visually recognize the input position and the reference position. Thereby, it becomes easy for the user to input according to the intention, and the terminal device 2 can improve the operability of the touch input.
  • the operation image 32 in the present embodiment is an image simulating a slide pad that is an example of a direction input device.
  • the operation image 32 may be an arbitrary image representing the reference position and the input position. In other embodiments, the operation image 32 may not be displayed on the display unit 24.
  • the user After the touch input is started, the user performs a moving operation on the object 31 by a slide operation by continuing the touch input (FIG. 5B). That is, in this embodiment, the user gives an input instruction for instructing the moving direction of the object 31 by touch input.
  • a method for performing an input instruction will be described with reference to FIG.
  • FIG. 7 is a diagram illustrating an example of the operation image.
  • FIG. 7 shows a reference position and an input position in addition to the operation image 32 displayed on the display unit 24.
  • the input position is acquired from the touch panel 23 as a two-dimensional coordinate indicating the position on the input surface.
  • the input position and the reference position are stored in the terminal device 2 as two-dimensional coordinates.
  • FIG. 7 shows a state where the input position Pt has moved from the position at the time of touch-on (that is, the reference position Pr) after touch-on.
  • the input instruction by the touch input is performed while the touch input continues from the touch-on.
  • the touch input continuously performed from the touch-on (that is, input without interruption from the touch-on) is referred to as “continuous touch input”.
  • the terminal device 2 specifies the content of the input instruction based on the reference position and the input position while the continuous touch input is being performed.
  • the input direction and the input distance are calculated as values representing the contents of the input instruction.
  • the input direction is calculated based on the vector V from the reference position Pr to the input position Pt.
  • the vector V is a vector having a reference position Pr as a start point and an input position Pt as an end point.
  • the input direction is calculated as the direction of the x-axis component of the vector V (in other words, the horizontal component on the input surface). That is, in the present embodiment, the input direction is calculated as the right direction (that is, the x-axis positive direction) or the left direction (that is, the x-axis negative direction).
  • the input distance is calculated based on the magnitude of the vector V.
  • the input distance is calculated as the magnitude Vx of the x-axis component of the vector V.
  • the input instruction is a direction and a size related to a one-dimensional direction (specifically, the x-axis direction). Accordingly, the input instruction may be expressed as a numerical value indicating the input direction with a positive / negative sign and the input distance as an absolute value, such as “ ⁇ 2” or “1”.
  • the input instruction may be a direction and size related to two dimensions. That is, the input instruction may be such that the direction of the vector V is the input direction and the magnitude of the vector V is the input distance. In another embodiment, the input instruction may include only one of the input direction and the input distance.
  • the terminal device 2 controls the operation (specifically, movement) of the object 31 based on the input instruction.
  • the object 31 is controlled based on the input position and the reference position.
  • the specific control method of the object 31 is arbitrary, in the present embodiment, the terminal device 2 controls the object 31 so that it bends in a direction corresponding to the input direction with a bend amount corresponding to the input distance. . That is, the object 31 operates to bend to the right as the input position Pt is located on the right side with respect to the reference position Pr, and to the left as the input position Pt is located on the left side with respect to the reference position Pr. Works like a bend.
  • the direction in which the object 31 bends and the amount by which the object 31 bends may be calculated based on the straight traveling direction, or the traveling direction of the object 31 when the object 31 performs automatic traveling (that is, when no touch input is performed). May be calculated based on the above. Further, as described above, in the present embodiment, the speed of the object 31 is automatically controlled except when an acceleration operation is performed.
  • the terminal device 2 is the input distance that is the distance between the reference position and the input position that is continuously acquired after touch-on, and the direction from the reference position to the input position.
  • the movement of the object 31 is controlled based on the input direction. According to this, the user can perform an operation on the object by a simple operation method of a series of touch inputs (that is, continuous touch input) that continues from touch-on. In other embodiments, the movement of the object 31 may be controlled based on at least one of the input distance and the input direction.
  • the terminal device 2 may start control of the object 31 on condition that the input distance exceeds a predetermined control start distance. At this time, the control on the object 31 is not performed in a period from when the input is started until the input position is separated from the reference position to some extent. According to this, for example, when the user does not intend to perform the moving operation and erroneously performs the touch input (more specifically, for example, when the finger hits the input surface of the touch panel 23), The possibility that the movement control of the object 31 is performed against the user's intention can be reduced.
  • the reference position set at the time of touch-on may be changed while touch input that continues from touch-on is being performed.
  • the reference position changing process will be described.
  • FIG. 8 is a diagram showing an example of how the reference position is changed.
  • the reference position is changed from the position Pr0 to the position Pr1 in response to the detection of the input position of the position Pt1 (see FIG. 8).
  • the terminal device 2 changes the reference position when the distance from the reference position to the input position becomes larger than a predetermined distance as a result of the input position being moved by continuous touch input.
  • the predetermined distance is determined in advance, for example, a value obtained by subtracting the radius r1 of the input position image from the radius r2 of the reference position image 34. Therefore, in the present embodiment, the reference position is set (in other words, changed) so that the input position image 33 is included inside the reference position image 34. That is, the input position image 33 is arranged so as to be included in the circular area of the reference position image 34. In another embodiment, the reference position may be set such that the input position (that is, the center of the input position image 33) is included inside the reference position image 34.
  • the predetermined distance is set to the radius r2 of the reference position image 34.
  • the predetermined distance may be set to a value independent of the radius r1 of the input position image 33 and the radius r2 of the reference position image 34. That is, the sizes of the input position image 33 and the reference position image 34 may not be used for the reference position changing process.
  • the terminal device 2 changes the reference position so that the distance from the reference position to the input position is within the predetermined distance.
  • the changed reference position Pr1 is a position on a line segment connecting the reference position Pr0 before the change and the current input position Pt1, and the current input position from the changed reference position Pr1.
  • the distance to Pt1 is determined as a position where the predetermined distance is reached (see FIG. 8).
  • the specific calculation method of the reference position after the change is arbitrary.
  • the terminal device 2 moves the reference position Pr0 before the change in a direction corresponding to the direction from the input position Pt0 before the reference position is changed to the current input position Pt1.
  • the changed reference position Pr1 may be calculated.
  • the terminal device 2 calculates the input instruction (input direction and input distance) used for movement control of the object 31 based on the changed reference position.
  • the process for controlling the object 31 based on the input instruction is the same before and after the change of the reference position.
  • the terminal device 2 changes the reference position so as to follow the movement of the input position under a certain condition. According to this, since the distance between the input position and the reference position is maintained within the predetermined distance, the user can easily perform an operation of moving the current input position to the opposite side with respect to the reference position. . For example, the user can easily change an input position on the right side with respect to the reference position to a position on the left side with respect to the reference position. That is, the user can easily change the input instruction for instructing the right direction to the input instruction for instructing the left direction.
  • the terminal device 2 may not execute the process of changing the reference position. That is, even if the distance from the input position to the reference position is greater than the predetermined distance, the reference position does not need to be changed. At this time, the terminal device 2 may limit the size of the input distance (that is, set the maximum value of the input distance). For example, when the distance from the input position to the reference position is larger than the predetermined distance, the terminal device 2 may set the input distance as the predetermined distance.
  • the object 31 is in the normal state immediately after the touch input is started, and when the user performs a predetermined transition operation during the continuous touch input, the object 31 transitions to the drift state (see FIG. 5 (c)). That is, in this embodiment, during the continuous touch input, when the input position by the continuous touch input satisfies the drift condition, the terminal device 2 changes the object 31 from the normal state to the drift state. Thus, the user can change the object 31 to the drift state by the continuous touch input while the object 31 is being operated by the series of continuous touch inputs in the normal state.
  • FIG. 9 a process of causing the object 31 to transition from the normal state to the drift state will be described.
  • FIG. 9 is a diagram illustrating an example of a drift condition determination method.
  • the terminal device 2 determines whether the input position satisfies the drift condition while the object 31 is in the normal state and the continuous touch input is performed. The terminal device 2 performs the above determination every time an input position is detected.
  • the drift condition is a condition related to the relationship between the input position Pt and the reference position Pr. Specifically, as shown in FIG. 9, the drift condition is (condition a) “touch input speed is a predetermined speed or more” and (condition b) “input distance based on current input position” Is a state in which the state is equal to or greater than a predetermined value for a predetermined first time period.
  • the “touch input speed” in (Condition a) is a speed related to the touch input continuously performed from the touch-on, in other words, the moving speed of the input position.
  • the “touch input speed” may be an arbitrary index representing the moving speed of the input position Pt during a period in which the touch input is continued.
  • the terminal device 2 uses the speed obtained by dividing the distance from the input position at the touch-on (that is, the reference position Pr) to the current input position Pt by the time from the touch-on to the current as the touch input speed. It may be calculated.
  • the terminal device 2 calculates a moving speed of the input position Pt per unit time (that is, a speed obtained by dividing the distance from one input position to the next input position by the unit time) for continuous touch input, Furthermore, the maximum value or the average value of the moving speed may be calculated as the touch input speed.
  • the terminal device 2 calculates the speed of the touch input based on the input position Pt, and determines whether or not the speed of the touch input is equal to or higher than a predetermined speed (condition a). Whether or not is satisfied is determined.
  • the input distance in the above (condition b) is a distance related to a direction component (in this embodiment, an x-axis component) corresponding to the input direction, that is, the magnitude of the x component of the vector V (see FIG. 9).
  • the magnitude of the vector V may be used instead of the input distance.
  • the terminal device 2 calculates an input distance based on the input position Pt, and determines whether or not the input distance is equal to or greater than a predetermined value. And the terminal device 2 determines whether (condition b) is satisfy
  • the terminal device 2 determines that the drift condition is satisfied when both (condition a) and (condition b) are satisfied. When the drift condition is satisfied, the terminal device 2 causes the object 31 to transition from the normal state to the drift state.
  • the drift condition may be an arbitrary condition regarding the reference position and the input position.
  • the drift condition may be that either one of (condition a) and (condition b) is satisfied.
  • (Condition b) may be that the input distance is in a state of being equal to or greater than the predetermined value (meaning that the state is not required to continue).
  • the drift condition may include other conditions instead of (or in addition to) (condition a) and (condition b).
  • the drift condition may include a condition regarding a direction from the reference position to the input position.
  • the drift condition may include a condition that the direction from the reference position to the input position has changed by a predetermined angle or more.
  • the drift condition may be a condition regarding the input direction and / or the input distance.
  • the drift condition includes a state in which the input position of the continuous touch input satisfies a predetermined condition for a predetermined time (that is, (condition b)). According to this, the possibility that the drift condition is satisfied against the user's intention during the continuous touch input can be reduced. That is, since the possibility that a process unintended by the user is executed can be reduced, the operability of the operation by touch input can be improved.
  • the terminal device 2 controls the orientation of the object 31 at the start of the drift state according to the direction between the input position and the reference position when the drift condition is satisfied.
  • the object 31 can take a left drift state (that is, a drift state that turns to the left) and a right drift state (that is, a drift state that turns to the right) as the drift state. If the input position when the drift condition is satisfied is on the left side with respect to the reference position, the object 31 is controlled to the left drift state, and the input position when the drift condition is satisfied is on the right side with respect to the reference position. The object 31 is controlled to the right drift state.
  • the object 31 can be shifted to the drift state by the touch input that continues to the touch input while the object 31 is in the normal state (FIGS. 5B to 5C). )). That is, the user can perform a transition operation for transitioning the object 31 to the drift state while continuing the touch input after starting the moving operation for moving the object 31 in the normal state.
  • the transition operation can be performed by a series of touch inputs after the start of the movement operation. Thereby, the user can perform various operations by a series of touch inputs. In addition, the operability of the moving operation and the transition operation can be improved.
  • the transition operation that causes the object 31 to transition to the drift state is the same type of operation as the movement operation that moves the object 31 (that is, an operation based on the relationship between the reference position and the input position). Is done by. For example, the user performs a movement operation for turning the object 31 to the right greatly (that is, an operation for placing the input position at a position that is more than the predetermined value in the right direction with respect to the reference position) in the first time. By continuing for a while, the object 31 can be shifted to the drift state. As described above, in the present embodiment, the user can naturally perform the transition operation during the moving operation. In addition, the continuity between the moving operation and the transition operation can be maintained. Thereby, the operability of the object 31 can be improved.
  • the drift condition may be a condition that is not related to the reference position.
  • the drift condition may include a condition that “the continuous touch input represents a predetermined gesture (that is, the locus of the continuous touch input has a predetermined shape)” or “a predetermined operation ( For example, a condition that “a flick operation, specifically, an operation of touching off after the input position has moved at a predetermined speed or more” has been performed may be included.
  • the terminal device 2 when the state of the object 31 changes in response to the drift condition being satisfied, the terminal device 2 displays the changed state (that is, the drift state) after the drift condition is not satisfied. maintain. That is, after the input position of the continuous touch input satisfies the drift condition, even if the input position of the continuous touch input does not satisfy the drift condition, the terminal device 2 maintains the state of the object 31 in the drift state. According to this, the user does not need to maintain the transition operation in order to maintain the object 31 in the drift state, and can perform another operation after performing the transition operation. Thereby, the terminal device 2 can perform various operations by the user by continuous touch input. For example, in the present embodiment, after the transition operation, the user can perform a moving operation on the object 31 in the drift state as the other operation (FIG. 5D).
  • the terminal device 2 may transition from the drift state to another state (for example, the normal state) in response to the predetermined condition being satisfied after the drift condition is not satisfied.
  • the object 31 transitions from the drift state to the normal state in response to the end of the touch input.
  • FIG. 10 is a diagram illustrating an example of how the reference position is reset.
  • the reference position is reset (also referred to as change) so that the input position at the time of transition to the drift state (that is, the input position that satisfies the drift condition) becomes a new reference position.
  • the terminal device 2 receives an input instruction for controlling the moving direction of the object 31 even in the drift state, as in the normal state. Therefore, by resetting the reference position at the time of transition to the drift state, the user can issue an input instruction using the input position at the time as the reference position, so that the input instruction in the drift state becomes easier. Thereby, the operability of the input instruction in the drift state can be improved.
  • the user can perform a moving operation even after the object 31 is in a drift state (FIG. 5D). That is, the user can operate the object 31 even in the drift state by the touch input that continues to the touch input while the object 31 is in the normal state.
  • a drift state FOG. 5D
  • FIG. 11 and FIG. 12 an operation when the object is in the drift state will be described.
  • FIG. 11 is a diagram illustrating an example of a game image including an object in a drift state.
  • the drift state is a state in which the movement control is performed by a method different from the movement control in the normal state.
  • a state where the object 31 is drifting (specifically, a state where smoke is rising from the tire) is displayed.
  • the movement operation in the drift state is the same operation method as the movement operation in the normal state. That is, even when the object 31 is in the drift state, the terminal device 2 specifies the input instruction (specifically, the input direction and the input distance) based on the touch input as in the normal state. In this way, the user can operate the object 31 with the same operation method whether the object 31 is in the normal state or the drift state. However, the process for controlling the movement of the object 31 based on the input instruction is different between the normal state and the drift state.
  • the object 31 in the drift state, is controlled to move at a same speed so that it can bend a curve sharper than the normal state.
  • a specific method of movement control in the drift state is arbitrary.
  • the object 31 in the drift state, may be controlled to move so that the curve can bend faster than the normal state.
  • the terminal device 2 may perform movement control of the object 31 in the drift state so that the user can perform an operation that is advantageous in terms of game compared to the normal state.
  • the terminal device 2 is a continuous touch input, and the input position of the touch input after execution of a predetermined process (specifically, a transition process to the drift state) 5 (d), the user can continue to move the object 31 after the transition process, whereby the object 31 is moved.
  • a predetermined process specifically, a transition process to the drift state 5 (d)
  • the user can continue to move the object 31 after the transition process, whereby the object 31 is moved.
  • the operability of the moving operation with respect to can be improved.
  • the movement process in the drift state need not be executed immediately after the execution of the transition process to the drift state (that is, immediately after the transition to the drift state).
  • the terminal device 2 performs the moving operation (specifically, in FIGS. 5B and 5D) before and after executing the transition process (that is, before and after the transition to the drift state). (Moving operation) is continuously received, and movement control based on the moving operation is continuously executed. According to this, since the user can perform the moving operation on the object 31 without interruption even when the state of the object 31 is changed, the operability of the moving operation can be further improved.
  • the predetermined process is not limited to the process of changing the state related to the movement of the object.
  • the predetermined process is an arbitrary process for changing the state of the object (for example, a process for the object to change a predetermined item from an unusable state to an available state). There may be.
  • the movement process after the execution of the process for changing the state of the object may be the same as the movement process before the execution of the process.
  • the movement process in the drift state is a movement process for moving the first object by a control method different from the movement process in the normal state. Therefore, the user can move the object 31 with different control methods before and after the transition process by changing the state of the object 31 (specifically, the state related to the movement) by the transition process. That is, in the present embodiment, the user performs control different from (a) the first moving operation of the object 31, (b) the control method changing operation (that is, the transition operation), and (c) the first moving operation. Three types of operations, the second movement operation in the method, can be performed by a series of touch inputs. Thereby, the terminal device 2 can improve the operability of the moving operation of the object 31.
  • the terminal device 2 when the continuous touch input ends (that is, touch-off) when the object 31 is in the drift state, the terminal device 2 changes the object 31 to the normal state. Transition. As described above, the terminal device 2 automatically controls the object 31 during a period when no touch input is performed.
  • the user continuously performs the moving operation in the drift state (FIG. 5E), thereby bringing the object 31 into the acceleration state (in the drift state and).
  • the terminal device 2 sets the object 31 in the acceleration enabled state.
  • the movement operation is finished after the object 31 is in an accelerating state (that is, when touch-off occurs)
  • the movement of the object 31 is controlled in an accelerated state that is accelerated than usual. .
  • FIG. 12 is a diagram illustrating an example of a game image including an object in an acceleration enabled state.
  • the object 31 in the acceleration enabled state, the object 31 has a display mode representing the acceleration possible state in addition to the display mode representing the drift state (specifically, the display mode in which smoke is rising from the tire). (Specifically, a display mode in which sparks are emitted from the tire).
  • the speed of the object 31 that is in the drift state does not change depending on whether or not the acceleration is possible.
  • the speed of the object 31 may be higher when the object 31 that is in the drift state is in the accelerating state than in the case where the object 31 is not in the accelerating state.
  • the acceleration condition is that the drift state is continued for a predetermined second time.
  • the object 31 becomes in an accelerating state in response to the second time having elapsed since the drift state.
  • the acceleration condition is arbitrary.
  • the acceleration condition may include a condition that “the continuous touch input represents a predetermined gesture in the drift state” or a condition that “a predetermined operation has been performed by the continuous touch input in the drift state”. But you can.
  • the acceleration condition may be a state where an input satisfying a predetermined condition regarding the input direction and / or the input distance is performed, or even if the state continues for a predetermined time. Good.
  • the terminal device 2 is a continuous touch input, and the touch input after execution of the first process (that is, the transition process to the drift state) is a predetermined condition (that is, When the acceleration condition is satisfied, the second process for the object 31 (that is, the process for setting the object 31 to be in an accelerating state) is executed, which is different from the first process.
  • the user can cause the terminal device 2 to execute the first process and further execute the second process. That is, the terminal device 2 can make a user perform various game operations by a series of touch inputs.
  • the second process may be an arbitrary process related to the movement of the object 31.
  • the second process may be a process of moving the object 31 by a predetermined control method. Therefore, in the present embodiment, it can be said that “a process for moving the object 31 in an accelerated state”, which will be described later, is also an example of the second process.
  • the predetermined condition is that “continuous touch input ends”.
  • the predetermined condition may be that “a continuous touch input after execution of the first process has continued for a predetermined time in a state satisfying a certain condition” or “after the execution of the first process.
  • the continuous touch input may be that the continuous touch input after the execution of the first process has ended after a state satisfying a certain condition has continued for a predetermined time.
  • the predetermined condition may be that “continuous touch input after execution of the first process has ended”.
  • the user can cause the object 31 to travel in an accelerated state by performing an acceleration operation (that is, an operation for ending touch input) after the object 31 is in an acceleration enabled state.
  • an acceleration operation that is, an operation for ending touch input
  • FIG. 5 (f) That is, when the continuous touch input is finished in a state where acceleration is possible, the terminal device 2 moves the object 31 in the acceleration state.
  • the acceleration state is a state in which the object 31 moves at a speed faster than the speed of the object 31 in the normal state.
  • FIG. 13 is a diagram illustrating an example of a game image including an object in an accelerated state. As shown in FIG. 13, in the acceleration state, a state in which the object 31 is in the acceleration state (specifically, a state in which a spark is being injected backward) is displayed.
  • the acceleration state is continued for a predetermined time. That is, the terminal device 2 performs automatic control in a normal state after moving the object 31 in an accelerated state for a predetermined time from the touch-off time.
  • the user can move the object 31 faster by ending the touch input after operating the object 31 in the drift state so that the object 31 can be accelerated.
  • the user turns the object 31 at a high speed by turning a curve of a race course while the object 31 is transitioned to a drift state, and causing the object 31 to travel in an accelerated state from a position where the race course is a straight line. Can do.
  • the object 31 may be capable of taking a multi-stage acceleration state. For example, in response to the drift state being continued for the second time period, the object 31 is in the first accelerating state, and in response to the first accelerating state being continued for the predetermined third time period, The object 31 may be controlled to be in the second acceleration enabled state. At this time, in the case where the object 31 enters the acceleration state from the second acceleration enabled state (according to the touch-off), the terminal device 2 is compared to the case where the object 31 enters the acceleration state from the first acceleration possible state (in response to the touch-off). Thus, the object 31 is controlled so that the acceleration state continues for a long time. In other embodiments, the terminal device 2 is configured so that, in the above case, the object is set so that the speed in the acceleration state is higher than that in the acceleration state (in response to touch-off) from the first acceleration possible state. 31 may be controlled.
  • the terminal device 2 may display the object 31 so that a plurality of stages of acceleration possible states can be distinguished from each other.
  • the terminal device 2 may display the object 31 so that the color and / or size of the spark is different between the first acceleration enabled state and the second acceleration enabled state.
  • the user can perform a plurality of types of operations (a) to (f) shown in FIG. 5 by one touch input.
  • the terminal device 2 can make a user perform various game operations using a pointing device (namely, touch panel).
  • the various operations shown in FIG. 5 are all operations that the user can perform with one finger. Therefore, according to the present embodiment, the user can operate the object 31 with one finger. For example, the user can hold the terminal device 2 with one hand and perform a game operation with the thumb of the hand. it can.
  • the terminal device 2 may display an icon indicating an item on the display unit 24, and may accept a touch input for designating an icon as an operation for causing the object 31 to use the item. Further, for example, the terminal device 2 performs a predetermined operation (for example, a jump operation) on the object 31 in response to a tap operation on the touch panel 23 (specifically, an operation of touching off before a predetermined time elapses from touch-on). You may make it let. At this time, in order to distinguish the above-described movement operation and tap operation, the terminal device 2 may accept the movement operation after the predetermined time has elapsed since the touch-on.
  • a predetermined operation for example, a jump operation
  • the terminal device 2 may accept the movement operation after the predetermined time has elapsed since the touch-on.
  • FIG. 14 is a diagram illustrating an example of data used for game processing in the information processing system.
  • the data shown in FIG. 14 is stored in the storage device of the terminal device 2 (specifically, the memory of the processing unit 11 and / or the storage unit 12).
  • the terminal device 2 stores input position data, reference position data, input instruction data, object position data, object state data, and acceleration flag data.
  • the input position data is data indicating the input position.
  • the input position data includes data indicating the past input position in addition to data indicating the current input position (in other words, the latest input position).
  • the input position data includes data indicating an input position related to a series of touch inputs continuously input from touch-on. Note that the content of the input position data may be reset at the time of touch-off.
  • the reference position data is data indicating the reference position.
  • the input position data and the reference position data are, for example, two-dimensional coordinate value data indicating the position on the input surface of the touch panel 23.
  • the input instruction data indicates the content of the input instruction specified based on the input position. Specifically, the input instruction data indicates the input direction and the input distance. As described above, the input instruction data may be data indicating a numerical value indicating the input direction with a positive or negative sign and the input distance with an absolute value.
  • the object position data indicates the position of the object 31 in the game space.
  • the object position data is data indicating a three-dimensional or two-dimensional coordinate value indicating a position in the game space.
  • the object state data indicates the state of the object 31.
  • the object state data is data indicating a normal state or a drift state.
  • the object 31 is assumed to be in a normal state at the start of the game (that is, at the start of the race game), and object state data indicating the normal state is stored.
  • the acceleration flag data is data indicating an acceleration flag indicating whether or not to perform control to move the object 31 in an accelerated state.
  • the acceleration flag is set to ON when the object 31 is in the above-described acceleration enabled state or acceleration state, and the acceleration flag is set to OFF when the object 31 is neither in the acceleration enabled state nor in the acceleration state.
  • the acceleration flag is set off at the start of the game.
  • FIG. 15 and FIG. 16 are flowcharts showing an example of the game process executed by the terminal device. The series of processes shown in FIGS. 15 and 16 are started in response to the start of the race game after the game program stored in the storage unit 22 is started.
  • the CPU in other words, the processor of the processing unit 21 of the terminal device 2 executes a game program (specifically, a game program for a racing game) stored in the storage unit 22.
  • a game program specifically, a game program for a racing game
  • FIGS. 15 and 16 the processing of each step shown in FIGS. 15 and 16 will be described.
  • a part of the processes in the above steps may be executed by a processor (for example, a dedicated circuit) other than the CPU.
  • the processing of each step shown in FIG. 15 and FIG. 16 is merely an example, and if the same result is obtained, the processing order of each step may be changed.
  • Another process may be performed (or alternatively).
  • each step shown in FIGS. 15 and 16 may be executed by cooperation between the terminal device 2 and the server 1. That is, part of the processing in each step shown in FIGS. 15 and 16 may be executed by the server 1.
  • the server 1 receives data used for processing from the terminal device 2 via the network 3.
  • the server 1 transmits the data obtained as a result of the processing to the terminal device 2 via the network 3.
  • the processing unit 21 of the terminal device executes the processing of each step shown in FIGS. 15 and 16 using a memory. That is, the CPU of the processing unit 21 stores information (in other words, data) obtained in each processing step in a memory, and when using the information in subsequent processing steps, reads the information from the memory. Use.
  • the processing unit 21 acquires an input position from the touch panel 23. That is, the touch panel 23 detects an input position on the input surface and outputs detection result data indicating the detected input position.
  • the processing unit 21 acquires detection result data from the touch panel 23 and stores input position data including the acquired detection result data in a memory.
  • the touch panel 23 outputs detection result data indicating that there is no touch input when the touch input to the touch panel 23 is not performed. In this case, the processing unit 21 acquires detection result data indicating that there is no touch input.
  • step S1 the process of step S2 is executed.
  • step S2 the processing unit 21 determines whether touch input has been performed.
  • the processing unit 21 performs the determination in step S2 based on the input position data stored in the memory (in other words, the data acquired from the touch panel 23 in the processing of step S1). If the determination result of step S2 is affirmative, the process of step S3 is executed. On the other hand, when the determination result of step S2 is negative, a process of step S16 described later is executed.
  • step S3 the processing unit 21 determines whether or not the touch input is an input at the time of touch-on.
  • the processing unit 21 performs the determination in step S3 based on the input position data stored in the memory. That is, when the detection result data acquired in step S1 in the previous processing loop (specifically, the processing loop of steps S1 to S24) is a value indicating that there is no touch input, the touch input is a value at the time of touch-on. When it is determined as an input and the detection result data is a value indicating that there is a touch input, it is determined that the touch input is not an input at the time of touch-on. If the determination result of step S3 is affirmative, the process of step S4 is executed. On the other hand, when the determination result of step S3 is negative, the process of step S4 is skipped and the process of step S5 described later is executed.
  • step S4 the processing unit 21 sets a reference position. That is, the processing unit 21 sets the input position acquired in step S1 in the current processing loop as the reference position.
  • the processing unit 21 stores reference position data indicating the set reference position in the memory.
  • step S5 the process of step S5 is executed.
  • step S5 the processing unit 21 determines whether or not to change the reference position. That is, the processing unit 21 performs the above determination based on the input position data and the reference position data stored in the memory by the method described in the above “(reference position changing process)”. If the determination result of step S5 is affirmative, the process of step S6 is executed. On the other hand, when the determination result of step S5 is negative, the process of step S6 is skipped and the process of step S7 described later is executed.
  • step S6 the processing unit 21 changes the reference position. That is, the processing unit 21 calculates the changed reference position based on the input position data and the reference position data stored in the memory by the method described above in “(Reference position changing process)”. Further, the processing unit 21 updates the reference position data stored in the memory to the content indicating the calculated changed reference position. Following step S6, the process of step S7 is executed.
  • step S7 the processing unit 21 determines whether or not the drift condition is satisfied. That is, the processing unit 21 determines whether or not the input position satisfies the drift condition based on the input position data and the reference position data stored in the memory.
  • the specific method of determination in step S7 is the method described above in “[2-3. Transition operation to drift state]”. If the determination result of step S7 is affirmative, the process of step S8 is executed. On the other hand, when the determination result of step S7 is negative, the processes of steps S8 and S9 are skipped, and the process of step S10 described later is executed.
  • step S8 the processing unit 21 changes the state of the object 31 to the drift state. That is, the processing unit 21 stores object state data indicating the drift state in the memory. Following step S8, the process of step S9 is executed.
  • step S9 the processing unit 21 resets the reference position.
  • the specific process in step S9 is the same as the process in step S6.
  • the content of the reference position data stored in the memory is updated.
  • step S10 the process of step S10 is executed.
  • step S10 the processing unit 21 specifies the content of the input instruction. That is, the processing unit 21 calculates the input direction and the input distance with reference to the input position data and the reference position data stored in the memory.
  • the specific calculation method of the input direction and the input distance is the method described in the above “[2-2. Operation related to moving operation after touch input is started]”.
  • the processing unit 21 stores input instruction data indicating the calculated input direction and input distance in the memory.
  • step S11 the process of step S11 is executed.
  • step S11 the processing unit 21 determines whether or not the object 31 is in the drift state based on the object state data stored in the memory.
  • the determination result of step S11 is negative (that is, when the object 31 is in a normal state)
  • the process of step S12 is executed.
  • the determination result of step S11 is affirmative (that is, when the object 31 is in the drift state)
  • the process of step S13 is executed.
  • step S12 the processing unit 21 performs movement control of the object 31 in the normal state based on the input instruction data stored in the memory. Specifically, the processing unit 21 calculates the movement direction and movement distance of the object 31 in one frame time, and the position after movement based on the calculated movement direction and movement distance and the current position of the object 31. Is calculated.
  • the movement control in step S12 is performed by the method described in “[2-2. Operation related to movement operation after touch input is started]”.
  • the processing unit 21 stores object position data indicating the calculated position after movement in the memory. Following step S12, the process of step S23 described later is executed.
  • step S13 the processing unit 21 performs movement control of the object 31 in the drift state. Also in step S13, as in step S12, the processing unit 21 calculates the position after the movement of the object 31 based on the input instruction data stored in the memory. However, unlike the movement control in step S12, the movement control in step S13 is performed by the method described above in “[2-4. Moving operation in drift state]”. The processing unit 21 stores object position data indicating the calculated position after movement in the memory. Following step S13, the process of step S14 is executed.
  • step S14 the processing unit 21 determines whether or not the above-described second time has elapsed since the object 31 has transitioned to the drift state. If the determination result of step S14 is affirmative, the process of step S15 is executed. On the other hand, when the determination result of step S14 is negative, the process of step S15 is skipped and the process of step S23 described later is executed.
  • step S15 the processing unit 21 sets the acceleration flag to ON. That is, the processing unit 21 stores acceleration flag data indicating that the acceleration flag is on in the memory. As a result, the object 31 is set in a state where it can be accelerated (in a drift state). Following step S15, a process of step S23 described later is executed.
  • step S ⁇ b> 16 the processing unit 21 determines whether or not the touch input has been completed (that is, touch-off has been performed).
  • the processing unit 21 performs the determination in step S16 based on the input position data stored in the memory. That is, if the detection result data acquired in step S1 in the previous processing loop (specifically, the processing loop of steps S1 to S24) is a value indicating that there is a touch input, the touch input is completed. When it is determined and the detection result data is a value indicating that there is no touch input, it is determined that it is not the timing when the touch input is completed. If the determination result of step S16 is affirmative, the process of step S17 is executed. On the other hand, when the determination result of step S16 is negative, the process of step S17 is skipped and the process of step S18 described later is executed.
  • step S17 the processing unit 21 changes the state of the object 31 to the normal state. That is, the processing unit 21 stores object state data indicating the normal state in the memory. Following step S17, the process of step S18 is executed.
  • step S18 the processing unit 21 determines whether or not the acceleration flag is set on based on the acceleration flag data stored in the memory.
  • the determination result of step S18 is negative (that is, when the acceleration flag is set to off)
  • the process of step S19 is executed.
  • the determination result of step S18 is affirmative (that is, when the acceleration flag is set to ON)
  • a process of step S20 described later is executed.
  • step S19 the processing unit 21 performs automatic control of the object 31. That is, the processing unit 21 calculates the position after the movement of the object 31 by controlling the movement of the object 31 in accordance with a predetermined algorithm in the game application program stored in the storage unit 12. The processing unit 21 stores object position data indicating the calculated position after movement in the memory. Following step S19, a process of step S23 described later is executed.
  • step S20 the processing unit 21 automatically controls the object 31 in the accelerated state. Also in step S20, as in step S19, the processing unit 21 calculates the position after the movement of the object 31 by controlling the movement of the object 31 according to a predetermined algorithm in the game application program. However, in step S20, the post-movement position of the object 31 is calculated so as to move faster than the movement speed set in step S19. The processing unit 21 stores object position data indicating the calculated position after movement in the memory. Following step S20, the process of step S21 is executed.
  • step S21 the processing unit 21 determines whether or not the above-described predetermined time has elapsed after starting the movement control in the acceleration state with respect to the object 31 (in other words, after touch-off). If the determination result of step S21 is affirmative, the process of step S22 is executed. On the other hand, when the determination result of step S21 is negative, the process of step S22 is skipped and the process of step S23 described later is executed.
  • step S22 the processing unit 21 sets the acceleration flag to OFF. That is, the processing unit 21 stores acceleration flag data indicating that the acceleration flag is off in the memory. As a result, the object 31 is set to the acceleration state (in a normal state). Following step S22, the process of step S23 is executed.
  • step S23 the processing unit 21 generates a game image and causes the display unit 24 to display the game image. That is, the processing unit 21 generates a game image based on the object position data stored in the memory, and displays the generated game image on the display unit 24.
  • the game image generated in step S23 represents a game space in which the object 31 is placed at the position indicated by the object position data.
  • the processing unit 21 controls the movement of other objects (for example, other characters and items) as necessary, and generates a game image representing a game space including these objects.
  • step S24 is executed.
  • step S24 the processing unit 21 determines whether or not to end the game. That is, the processing unit 21 ends the game when a predetermined game end condition (for example, that the object operated by the user has reached a goal) is satisfied or a predetermined end instruction is given by the user. . Moreover, the process part 21 determines with not complete
  • the game program causes the computer of the information processing apparatus (for example, the terminal device 2) including the pointing device (for example, the touch panel 23) to execute the following processing steps.
  • the first movement process for moving the object in the virtual game space is executed based on the reference position and the input position of the input continuously performed after the input to the pointing device is started (that is, the continuous touch input).
  • First movement processing step (S12) When the input position of the input continuously performed after the input to the pointing device is started satisfies a predetermined first condition (that is, the drift condition) regarding the relationship between the input position and the reference position, the first for the object First process execution step (S8 or S13) for executing the process
  • the user can perform a moving operation on the object by an input that continues from the start of input, and can execute a first process on the object by the continuous input. Therefore, the information processing apparatus can cause the user to perform various operations by a simple input method. Specifically, according to the embodiment, the user can perform a plurality of types of operations on the object by a series of touch inputs from the start of input.
  • the information processing apparatus when performing the said 1st movement process step and a 1st process execution step, the information processing apparatus does not need to perform the below-mentioned reference position reset step. Even in this case, the information processing apparatus has the above effects.
  • the above “input that is continuously performed after input to the pointing device is started” does not require that the input is continuous in a strict sense.
  • the terminal device 2 may collectively handle the touch input detected before the predetermined period and the touch input detected after the predetermined period as one continuous touch input. Specifically, when the period from when a certain touch input is no longer detected until the next touch input is detected is shorter than a predetermined length, the terminal device 2 performs the certain touch input and the next touch input. May be treated as a single continuous touch input.
  • the first process can be said to be a process (step S8) for changing the state of the object 31 (more specifically, the state relating to the movement of the object).
  • the first process is a process different from the first movement process (that is, the movement control process (S12) in the normal state) and controls the movement of the object 31 (that is, the drift). It can be said that the movement control process in the state (S13).
  • the “process for controlling the movement of the object” is not limited to the process for moving the object, but is a process for causing the object to perform a predetermined movement (for example, a jump or attack movement). There may be.
  • the first object that is the target of the first movement process and the second object that is the target of the first process may be different objects.
  • the first object may be a character object with a gun
  • the second object may be a bullet object fired from a gun.
  • the information processing apparatus moves the character by the first movement process, and executes a process of firing a bullet (in other words, a process of moving the bullet) as the first process when the first condition is satisfied. May be.
  • the first process is executed in response to the first condition being satisfied after the first movement process is started.
  • the first movement process is performed using a second condition (however, the second condition) regarding the relationship between the input position of the input that is continuously performed after the input to the pointing device is started and the reference position. Is a condition that is different from the first condition).
  • the second condition is, for example, that the input distance exceeds the above-described control start distance.
  • the first condition is a condition that is stricter than the second condition (that is, a condition that the first condition is satisfied only after the second condition is satisfied).
  • the control start distance is set to a value smaller than a predetermined value in (Condition b).
  • a game program makes a computer of information processing apparatus (for example, terminal device 2) provided with a pointing device (for example, touch panel 23) perform the following process steps.
  • a movement process for executing a movement process for moving an object in the virtual game space based on a reference position and an input position of an input continuously performed after the input to the pointing device is started (that is, continuous touch input).
  • Step (S12) When the input position of the input continuously performed after the input to the pointing device is started satisfies a predetermined condition (that is, the drift condition), the reference position is reset to the input position when the condition is satisfied Reference position resetting step (S9).
  • the user can perform a moving operation on the object and an operation of resetting the reference position by a series of inputs that are continuously performed. According to this, various operations can be performed using the pointing device. Further, according to the above, since the user can reset the reference position while continuing the input, it is possible to reset the reference position with a simple operation without having to input again. Thereby, the operability of the moving operation can be improved. More specifically, according to the above embodiment, the reference position is reset in response to the drift state, so that the reference position is set at an appropriate position when the drift state is reached. The user can easily give instructions in both the left and right directions.
  • the information processing apparatus when performing the said movement process step and a reference position reset step, the information processing apparatus does not need to perform a 1st process execution step. Even in this case, the information processing apparatus has the above effects.
  • the predetermined condition for resetting the reference position is the same as the drift condition.
  • the predetermined condition need not be the same as the drift condition.
  • the terminal device 2 resets the reference position in response to a predetermined condition being satisfied, while the object device 31 is in a drift state in response to the predetermined condition being satisfied. It is not necessary to make a transition to.
  • the content of the game executed on the terminal device 2 is not limited to a race game, and may be a game with an arbitrary content.
  • the game executed on the terminal device 2 may be a game in which an object (that is, a player character) in an action game is operated by an input to a pointing device. That is, the terminal device 2 may perform movement control so that the object is walked and moved in the movement process of step S12, and the object is run and moved in the movement process of step S13.
  • the terminal device 2 manages the state relating to the object movement method (that is, walking or running), and changes the state of the object from the walking state to the running state in step S8. Further, at this time, the terminal device 2 may perform movement control in the process of step S20 so that the object runs at a speed faster than the speed in the movement process of step S13.
  • the above embodiment can be used as, for example, a game program or a game apparatus for the purpose of enabling various game operations using a pointing device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

情報処理装置は、ポインティングデバイスによって検出された入力位置を繰り返し取得する。情報処理装置は、ポインティングデバイスに対する入力が開始されたときの入力位置に基づいて基準位置を設定する。情報処理装置は、基準位置と、ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置とに基づいて、仮想ゲーム空間において第1オブジェクトを移動させる第1移動処理を実行する。情報処理装置は、ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置が、当該入力位置と基準位置との関係に関する所定の条件を満たす場合、第1オブジェクトと同じまたは異なる第2オブジェクトに対する第1処理を実行する。

Description

ゲームプログラム、情報処理装置、情報処理システム、および、ゲーム処理方法
 本発明は、ポインティングデバイスを用いて入力を行うゲームプログラム、ゲーム装置、ゲームシステム、および、ゲーム処理方法に関する。
 従来、タッチパネル等のポインティングデバイスを用いてゲーム操作を行う技術がある。例えば、ゲーム空間のオブジェクトを移動させるゲーム操作が、ポインティングデバイスを用いて行われる(例えば、特許文献1参照)。
特開2013-127683号公報
 ポインティングデバイスを用いて、より多様なゲーム操作を可能とするユーザインターフェースが望まれている。
 それ故、本発明の目的は、ポインティングデバイスを用いて多様なゲーム操作を可能とするゲームプログラム、ゲーム装置、ゲームシステム、および、ゲーム処理方法を提供することである。
 上記の課題を解決すべく、本発明は、以下の(1)~(13)の構成を採用した。
 (1)
 本発明の一例は、情報処理装置のコンピュータに、取得ステップと、基準位置設定ステップと、第1移動処理ステップと、第1処理実行ステップとを実行させるゲームプログラムである。取得ステップにおいて、コンピュータは、ポインティングデバイスによって検出された入力位置を繰り返し取得する。基準位置設定ステップにおいて、コンピュータは、ポインティングデバイスに対する入力が開始されたときの入力位置に基づいて基準位置を設定する。第1移動処理ステップにおいて、コンピュータは、基準位置と、ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置とに基づいて、仮想ゲーム空間において第1オブジェクトを移動させる第1移動処理を実行する。第1処理実行ステップにおいて、コンピュータは、ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置が、当該入力位置と基準位置との関係に関する第1条件を満たす場合、第1オブジェクトと同じまたは異なる第2オブジェクトに対する第1処理を実行する。
 上記(1)の構成によれば、ユーザは、ポインティングデバイスに対する入力の開始から継続する入力によってオブジェクトに対する移動操作を行うことができ、さらに、当該継続する入力によってオブジェクトに対する第1処理を実行することができる。これによれば、ポインティングデバイスを用いて多様なゲーム操作を可能とすることができる。
 (2)
 ゲームプログラムは、第2移動処理ステップをコンピュータにさらに実行させてもよい。第2移動処理ステップにおいて、コンピュータは、ポインティングデバイスに対する入力が開始されてから継続して行われる入力であって、かつ、第1処理の実行後における入力の入力位置に基づいて、仮想ゲーム空間において第2オブジェクトを移動させる第2移動処理を実行する。
 上記(2)の構成によれば、ユーザは、第2オブジェクトに対する第1処理を実行させる操作を行った後においても第2オブジェクトに対する移動操作を行うことができる。これによって、オブジェクトに対する移動操作の操作性を向上することができる。
 (3)
 第2オブジェクトは、第1オブジェクトと同じであってもよい。第1処理実行ステップにおいては、第1処理として、第1オブジェクトの状態を変化させる処理が実行されてもよい。
 上記(3)の構成によれば、ユーザは、オブジェクトに対する移動操作と状態を変化させる操作との両方の操作を、ポインティングデバイスに対する一連の入力によって行うことができる。これによれば、ポインティングデバイスに対する一連の入力によって複数種類の操作をユーザに行わせることができるので、より多様なゲーム操作を可能とすることができる。
 (4)
 第1処理実行ステップにおいては、第1処理として、第1オブジェクトの移動に関する状態を変化させる処理が実行されてもよい。ゲームプログラムは、第3移動処理ステップを、コンピュータにさらに実行させてもよい。第3移動処理ステップにおいて、コンピュータは、ポインティングデバイスに対する入力が開始されてから継続して行われる入力であって、かつ、第1処理の実行後における入力の入力位置に基づいて、第1移動処理とは異なる制御方法で第1オブジェクトを移動させる第3移動処理を実行する。
 上記(4)の構成によれば、ユーザは、第1処理によって、移動操作による移動の制御方法を変更することができる。したがって、上記(4)の構成によれば、ユーザは、オブジェクトに対する移動操作と、移動操作による移動制御方法の変更操作とを、一連の入力によって行うことができる。これによれば、多様な移動操作を簡易な入力方法によってユーザに行わせることができる。
 (5)
 第1処理実行ステップにおいては、第1条件が満たされたことに応じて第2オブジェクトの状態が変化した場合、第1条件が満たされなくなった後において変化後の状態が維持されてもよい。
 上記(5)の構成によれば、第1条件が満たされた場合には、その後に第1条件が満たされなくなっても、第1処理によって変化させられた第1オブジェクトの状態が維持される。すなわち、ユーザは、第1条件を満たす操作を行った後は、第1条件の制約を受けずに操作を行うことができるので、ポインティングデバイスに対する入力によって他の操作を行うことができる。これによって、ポインティングデバイスに対する入力による操作の自由度を向上することができ、操作性を向上することができる。
 (6)
 第1処理実行ステップにおいては、第1処理として、第1移動処理とは異なる処理であって、第2オブジェクトの動作を制御する処理が実行されてもよい。
 上記(6)の構成によれば、ユーザは、第1オブジェクトに対する移動操作と、第2オブジェクト(第1オブジェクトと同じであってもよいし、異なっていてもよい)に対する操作とを、ポインティングデバイスに対する一連の入力によって行うことができる。これによれば、ポインティングデバイスに対する一連の入力によって複数種類の操作をユーザに行わせることができるので、より多様なゲーム操作を可能とすることができる。
 (7)
 ゲームプログラムは、第2処理実行ステップを、コンピュータにさらに実行させてもよい。第2処理実行ステップにおいて、コンピュータは、ポインティングデバイスに対する入力が開始されてから継続して行われる入力であって、かつ、第1処理の実行後における入力が第2条件を満たす場合、第1処理とは異なる処理であって、第2オブジェクトに対する第2処理を実行する。
 上記(7)の構成によれば、ユーザは、第1条件を満たす操作によって情報処理装置に第1処理を実行させた後に、さらに、第2条件を満たす操作によって情報処理装置に第2処理を実行させることができる。これによれば、ポインティングデバイスに対する一連の入力によって複数種類の操作をユーザに行わせることができるので、より多様なゲーム操作を可能とすることができる。
 (8)
 第2処理実行ステップにおいては、第2処理として、第2オブジェクトの移動に関する処理が実行されてもよい。
 上記(8)の構成によれば、ユーザは、第1条件を満たす操作によって情報処理装置に第1処理を実行させた後においても、第1オブジェクトの移動に関する操作を行うことができる。これによれば、オブジェクトの移動に関する多様な操作を簡易な入力方法によってユーザに行わせることができる。
 (9)
 第2処理実行ステップにおいては、ポインティングデバイスに対する入力が開始されてから継続して行われる入力の終了に応じて第2処理が実行されてもよい。
 上記(9)の構成によれば、ユーザは、ポインティングデバイスに対する一連の入力を終了する操作によって、情報処理装置に第2処理を実行させることができる。これによれば、一連の入力中の操作に加えて、一連の入力を終了する操作によってもユーザにゲーム操作を行わせることができるので、より多様なゲーム操作を可能とすることができる。
 (10)
 第1条件は、ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置が所定の条件を満たす状態が所定時間継続したことを含んでもよい。
 上記(10)の構成によれば、入力位置が一時的に(すなわち、上記所定時間より短い期間の間)所定の条件を満たしたとしても、第1条件は満たしたことにはならない。したがって、ユーザの誤入力または意図しない入力によって第1条件が満たされる結果、ユーザの意図に反して第1処理が実行される可能性を低減することができる。これによって、ポインティングデバイスに対する入力による操作の操作性を向上することができる。
 (11)
 第1処理実行ステップにおいては、第1移動処理が開始された後で第1条件が満たされたことに応じて第1処理が実行されてもよい。
 上記(11)の構成によれば、ユーザは、第1オブジェクトに対する移動操作中に、第2オブジェクトに対する操作を行うことができる。つまり、ユーザは、第1オブジェクトに対する操作に続けて第2オブジェクトに対する操作を行うことができる。例えば、第1オブジェクトと第2オブジェクトとが同一である場合には、ユーザは、移動操作中の第1オブジェクトに対して、移動操作の入力から継続して行われる入力によって、移動操作とは異なる操作を行うことができる。
 (12)
 本発明の他の一例は、情報処理装置のコンピュータに、取得ステップと、基準位置設定ステップと、移動処理ステップと、基準位置再設定ステップとを実行させる、ゲームプログラムである。取得ステップにおいて、コンピュータは、ポインティングデバイスによって検出された入力位置を繰り返し取得する。基準位置設定ステップにおいて、コンピュータは、ポインティングデバイスに対する入力が開始されたときの入力位置に基づいて基準位置を設定する。移動処理ステップにおいて、コンピュータは、基準位置と、ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置とに基づいて、仮想ゲーム空間においてオブジェクトを移動させる移動処理を実行する。基準位置再設定ステップにおいて、コンピュータは、ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置が所定の条件を満たす場合、当該条件が満たされたときの入力位置に基準位置を再設定する。
 上記(12)の構成によれば、オブジェクトに対する移動操作と、基準位置を再設定する操作とを、ポインティングデバイスに対する一連の入力によって行うことができる。これによれば、ポインティングデバイスを用いた多様な操作をユーザに行わせることができる。また、上記(12)の構成によれば、ユーザは、入力を継続したままで基準位置を設定し直すことができるので、入力をし直す必要なく、基準位置を簡易な操作で設定し直すことができる。これによって、ポインティングデバイスを用いた操作の操作性を向上することができる。また、所定の条件が満たされたときの入力位置が新たな基準位置となるので、情報処理装置は、ユーザにとって直感的に理解しやすい位置に基準位置を設定することができる。
 (13)
 ゲームプログラムは、判定ステップをコンピュータにさらに実行させてもよい。判定ステップにおいて、コンピュータは、ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置が所定の条件を満たすか否かを判定する。このとき、基準位置再設定ステップにおいては、判定ステップにおいて条件を満たすと判定された入力位置に基準位置が再設定されてもよい。
 上記(13)の構成によれば、所定の条件を満たすと判定された時点における入力位置に、基準位置が再設定される。これによれば、所定の条件が満たされたときの入力位置を容易に特定することができ、当該入力位置に新たな基準位置を設定することができる。
 なお、本発明の別の一例は、上記(1)~(13)における各ステップの処理を実行する(プログラムによって各ステップを実行する態様に限らない)情報処理装置または情報処理システムであってもよい。また、本発明の別の一例は、上記(1)~(13)における各ステップの処理をコンピュータが実行するゲーム処理方法であってよい。
 本発明によれば、ポインティングデバイスを用いて多様なゲーム操作を可能とすることができる。
本実施形態における情報処理システムの構成の一例を示すブロック図 サーバの構成の一例を示すブロック図 端末装置の構成の一例を示すブロック図 ゲーム画像の一例を示す図 本実施形態においてタッチ入力によって行うことができるゲーム操作の一例を示す図 タッチ入力が開始されたときのゲーム画像の一例を示す図 操作画像の一例を示す図 基準位置が変更される様子の一例を示す図 ドリフト条件の判定方法の一例を示す図 基準位置が再設定される様子の一例を示す図 ドリフト状態におけるオブジェクトを含むゲーム画像の一例を示す図 加速可能状態におけるオブジェクトを含むゲーム画像の一例を示す図 加速状態におけるオブジェクトを含むゲーム画像の一例を示す図 情報処理システムにおけるゲーム処理に用いられるデータの一例を示す図 端末装置によって実行されるゲーム処理の一例の流れを示すフローチャート 端末装置によって実行されるゲーム処理の一例の流れを示すフローチャート
[1.システムの全体構成]
 以下、本実施形態に係る情報処理システム、情報処理装置、ゲームプログラム、および、ゲーム処理方法について説明する。まず、本実施形態に係る情報処理システムの全体構成と、情報処理システムに含まれる端末装置およびサーバの構成とについて説明する。図1は、本実施形態における情報処理システムの構成の一例を示すブロック図である。図1に示すように、情報処理システムは、サーバ1と、端末装置2とを含む。これらのサーバ1および端末装置2は、インターネットおよび/またはモバイル通信網等のネットワーク3に接続可能である。サーバ1および端末装置2は、ネットワーク3を介して互いに通信可能である。
 サーバ1は、端末装置2において実行されるアプリケーションに関するサービスを提供するためのサーバである。本実施形態において、サーバ1は、端末装置2においてゲームを実行するためのゲームサーバである。つまり、サーバ1は、端末装置2においてゲーム処理を実行するための環境を提供する。例えば、サーバ1は、ゲーム処理を実行する端末装置2からの要求に応じて、必要に応じてゲーム処理を実行し、要求に応じたゲームデータを当該端末装置2へ送信する。
 端末装置2は、ユーザが有する情報処理装置の一例であり、例えば、スマートフォン、携帯型または据置型のゲーム装置、携帯電話、タブレット端末、あるいは、ウェアラブル端末等である。端末装置2は、サーバ1がサービスを提供するゲームのためのゲームプログラム(換言すれば、ゲームアプリケーション)を実行することが可能である。
(サーバ1の構成の具体例)
 図2は、サーバ1の構成の一例を示すブロック図である。図2に示す、サーバ1が備える各構成は、1以上の情報処理装置によって実現される。なお、本実施形態におけるサーバ1のハードウェア構成は、従来のサーバのためのハードウェア構成と同様であってもよい。
 図2に示すように、サーバ1は、処理部11および記憶部12を備える。処理部11は、サーバ1の各部12~15に電気的に接続される。処理部11は、CPU(Central Processing Unit)およびメモリを有する。サーバ1においては、CPUがメモリを用いて、記憶部12に記憶されたプログラムを実行することによって各種の情報処理が実行される。記憶部12は、処理部11がアクセス可能な任意の記憶装置(記憶媒体とも言う)である。記憶部12は、処理部11において実行されるプログラム、処理部11による情報処理に用いられるデータ、および、当該情報処理によって得られたデータ等を記憶する。本実施形態においては、記憶部12は、端末装置2において実行されるゲーム処理のためにサーバ側で実行されるゲーム処理のためのプログラムを少なくとも記憶する。
 サーバ1は、通信部13を備える。通信部13は、ネットワーク3に接続し、ネットワーク3を介して他の装置(例えば、端末装置2)と通信を行う機能を有する。また、サーバ1は、入出力インターフェースとして、入力部14および表示部15を備える。
(端末装置2の構成の具体例)
 図3は、端末装置2の構成の一例を示すブロック図である。図3に示すように、端末装置2は、処理部21および記憶部22を備える。処理部21は、端末装置2の各部22~25に電気的に接続される。処理部21は、CPUおよびメモリを有する。端末装置2においては、CPUがメモリを用いて、記憶部22に記憶されたプログラム(上述のゲームプログラムを含む)を実行することによって各種の情報処理が実行される。記憶部22は、処理部21において実行されるプログラム、処理部21による情報処理に用いられるデータ、および、当該情報処理によって得られたデータ等を記憶する。なお、記憶部22は、端末装置2に対して着脱可能な記憶媒体(例えば、カード型の記憶媒体)であってもよい。
 端末装置2は、入力部の一例として、ポインティングデバイスを備える。ポインティングデバイスは、入力面上において(例えばユーザによって)指定された位置を検出可能な任意の入力装置である。本実施形態においては、ポインティングデバイスは、表示部24の画面上に設けられるタッチパネル23である。タッチパネル23は、入力面(換言すれば、表示部24の画面上に設定される面)にタッチする入力(「タッチ入力」と呼ぶ)によって指定される位置を検出する。
 ポインティングデバイスは、例えばタッチスクリーン、タッチパネル、または、タッチパッド等、入力面上において(例えばユーザによって)指定された位置を検出することが可能なタッチ入力式の入力装置であってもよい。タッチ入力式の入力装置は、入力面に対する接触または非接触の入力を行うことが可能な入力装置であってもよい。すなわち、タッチ入力式の入力装置は、入力面に対するタッチ入力の位置を検出することが可能な装置に限らず、入力面から少し離れた位置に配置される指等を検知することによって入力位置を検出することが可能な入力装置(例えば、フローティングタッチ機能を有する入力装置)であってもよい。つまり、タッチ入力式の入力装置は、入力面に対するタッチ入力に代えて(またはタッチ入力に加えて)、入力面には接触せずに、入力面から少し離れた位置に指等を配置する入力によって指定される位置を検出してもよい。
 さらに、ポインティングデバイスは、タッチ入力式の入力装置に限らず、マウスであってもよいし、または、ユーザによって動かされる操作装置であって、当該操作装置の位置および/または向きによって入力面上の位置を指定することが可能な操作装置であってもよい。
 なお、例えばタッチパネルのように、ポインティングデバイスの入力面が表示装置24の画面上に設定される場合、ポインティングデバイスによって検出される入力位置は、正確に言えば、表示画面上の位置に対応する位置である。ただし、入力位置は実質的には表示画面上の位置を示す。そのため、本実施形態の説明においては、説明をわかりやすくする目的で、入力位置を表示画面上の位置として説明することがある。なお、「入力位置が表示画面上の特定の位置にある」とは、厳密には、入力位置が、表示画面上における特定の位置に対応する位置であって、入力面上における位置にある、という意味である。
 端末装置2は、表示部24を備える。表示部24は、端末装置2の処理部21において実行される情報処理によって生成された画像(例えば、ゲーム画像等)を表示する。
 端末装置2は、通信部25を備える。本実施形態において、通信部25は、モバイル通信網(換言すれば、携帯電話通信網)に接続して通信を行う機能を有する。すなわち、端末装置2(具体的には、処理部21)は、通信部25を用いて(換言すれば、通信部25を介して)モバイル通信網を介してネットワーク3に接続し、他の装置(例えば、サーバ1等)と通信を行う。なお、端末装置2がネットワーク3を介した通信を行うための通信部の構成は任意である。例えば、通信部25は、Wi-Fiの認証を受けた通信モジュールによって無線LANに接続する機能を有していてもよいし、モバイル通信網に接続する機能と、無線LANに接続する機能との両方を有していてもよい。
[2.情報処理システムにおける処理の概要]
 以下、図4~図13を参照して、情報処理システムにおいて実行されるゲーム処理の概要について説明する。なお、本実施形態においては、情報処理システムにおいて、車を模したオブジェクトをユーザ(換言すれば、プレイヤ)が操作するレースゲーム(図4参照)のためのゲーム処理が実行される場合を例として説明する。
 本実施形態においては、ユーザは、タッチ入力によってオブジェクトに対する操作を行う。すなわち、端末装置2は、タッチパネル23に対するタッチ入力に基づいてオブジェクトの動作を制御する。
[2-1.タッチ入力が行われていない場合における動作]
 まず、タッチ入力が行われていない場合における動作について説明する。図4は、ゲーム画像の一例を示す図である。なお、図4は、タッチ入力が行われていない場合におけるゲーム画像である。図4に示されるように、端末装置2は、仮想のゲーム空間(本実施形態においては、レースコース)と、当該ゲーム空間に登場するオブジェクト31とを含むゲーム画像を表示部24に表示する。オブジェクト31は、車(および、車を運転するキャラクタ)を模したオブジェクトであり、ユーザによって操作される。
 本実施形態では、タッチ入力が行われていない場合、端末装置2は、オブジェクト31の移動を自動的に(すなわち、予め定められたアルゴリズムに従って)制御する。この場合、オブジェクト31は、レースコースに沿って進むように自動的に制御される。なお、他の実施形態においては、端末装置2は、タッチ入力が行われていない場合、直進するようにオブジェクト31の移動を制御してもよい。
 また、本実施形態においては、オブジェクト31のスピードは、後述する加速動作が行われる場合を除いて、自動的に(例えば、一定速度で)制御される。なお、他の実施形態においては、オブジェクト31のスピードは、ユーザの入力に基づいて制御されてもよい。例えば、端末装置2は、ユーザによる指示(例えば、画面上に表示されるアクセルボタンに対するタッチ入力による指示)に基づいてオブジェクト31のスピードを制御してもよい。
 ここで、本実施形態においては、オブジェクト31は、通常状態とドリフト状態という、2種類の状態をとることが可能である。詳細は後述するが、通常状態とドリフト状態とでは、ユーザによるタッチ入力に基づいてオブジェクト31の移動を制御する処理の内容が異なっている。本実施形態においては、タッチ入力が行われていない場合には少なくとも、オブジェクト31は通常状態となる。
 本実施形態においては、タッチ入力がない状態では自動的に移動が制御されるオブジェクト31に対して、ユーザは、タッチ入力によって、オブジェクト31に対する種々のゲーム操作を行う。図5は、本実施形態においてタッチ入力によって行うことができるゲーム操作の一例を示す図である。図5に示すように、本実施形態においては、ユーザは、タッチ入力によって、オブジェクト31を所望の方向に移動させたり(図5に示す(b)および(d))、オブジェクト31を通常状態からドリフト状態へ遷移させたり(図5に示す(c))、加速させたり(図5に示す(f))することができる。以下、図5に示す(a)~(f)のゲーム操作が行われる場合を例として、動作の概要を説明する。
[2-2.タッチ入力が開始されてからの移動操作に関する動作]
 図6~図8を参照して、タッチ入力が開始され、当該タッチ入力によって移動操作が行われる場合(図5(a)および(b))における動作について説明する。図6は、タッチ入力が開始されたときのゲーム画像の一例を示す図である。
 本実施形態においては、タッチ入力が開始されると、端末装置2は、まず、タッチオン時の入力位置に基づいて基準位置を設定する(図5(a))。詳細は後述するが、基準位置は、タッチ入力による入力指示の内容を特定するために用いられる位置である。本実施形態においては、タッチオン時における入力位置、すなわちタッチ入力開始時における入力位置が基準位置として設定される。ここで、本明細書においては、「タッチオン」とは、タッチ入力が開始されたこと、換言すれば、タッチ入力が行われていない状態からタッチ入力が行われている状態へと変化したことを意味する。また、本明細書においては、タッチ入力が終了したこと、換言すれば、タッチ入力が行われている状態からタッチ入力が行われていない状態へと変化したことを、「タッチオフ」と呼ぶ。
 なお、他の実施形態においては、タッチオン時に設定される基準位置は、タッチオン時の入力位置に基づいて設定される任意の位置であってもよい。例えば、タッチオン時の入力位置が表示部24の画面の端部付近に位置する場合、端末装置2は、当該入力位置に基づいて、画面の端部から所定距離となる位置を基準位置として設定してもよい。これは、上記の場合において、基準位置から任意の方向へ所定距離だけ離れた入力位置をユーザが指定することができるようにするためである。また、上記の場合、基準位置は、画面の端部から、後述する基準位置画像の半径r2の距離となる位置に設定されてもよい。また、他の実施形態においては、タッチオン時に設定される基準位置は、タッチオン時の入力位置にかかわらず、固定的に設定されてもよい。すなわち、端末装置2は、予め定められた位置(例えば、表示部24の画面の中心位置)を基準位置として設定してもよい。
 なお、本実施形態においては、ユーザは、タッチパネル23の入力面上における任意の位置を入力開始位置として、移動操作のためのタッチ入力を開始することができる。すなわち、端末装置2は、入力面のうちの任意の位置でタッチ入力が開始されたことに応じて、基準位置を設定する処理と、後述する入力指示を特定する処理とを実行する。ただし、他の実施形態においては、端末装置2は、入力面のうちの所定の入力受付領域内においてタッチ入力が開始されたことを条件として、これらの処理を実行するようにしてもよい。上記入力受付領域は、例えば、オブジェクト31の位置を基準として設定される領域であってもよいし、予め定められた領域であってもよい。
 図6に示すように、タッチパネル23に対するタッチ入力が行われている場合、端末装置2は、ゲーム画像に加えて操作画像32を表示部24に表示する。なお、図6では、タッチ入力を行っているユーザの指を点線で示している。本実施形態においては、操作画像32は、入力位置画像33と、基準位置画像34とを含む。
 入力位置画像33は、タッチパネル23の入力面上の位置であって、現在の入力位置を示す画像である。具体的には、入力位置画像33は、入力位置を中心とする半径r1の円形領域を表す(図7参照)。基準位置画像34は、タッチパネル23の入力面上の位置であって、基準位置を示す画像である。具体的には、基準位置画像34は、基準位置を中心とする半径r2(>r1)の円形領域を表す(図7参照)。
 以上のように、本実施形態においては、操作画像32が表示されることによって、ユーザは入力位置および基準位置を視認することができる。これによって、ユーザは、意図に沿った入力を行いやすくなり、端末装置2は、タッチ入力の操作性を向上することができる。なお、図6に示すように、本実施形態における操作画像32は、方向入力装置の一例であるスライドパッドを模した画像である。ただし、他の実施形態においては、操作画像32は、基準位置と入力位置とを表す任意の画像であってよい。また、他の実施形態においては、操作画像32は表示部24に表示されなくてもよい。
 タッチ入力を開始した後、ユーザは、タッチ入力を継続することによって、具体的には、スライド操作によってオブジェクト31に対する移動操作を行う(図5(b))。つまり、本実施形態において、ユーザは、タッチ入力によって、オブジェクト31の移動方向を指示するための入力指示を行う。以下、図7を参照して、入力指示を行う方法について説明する。
 図7は、操作画像の一例を示す図である。なお、図7では、表示部24に表示される操作画像32に加えて、基準位置と入力位置とを示している。なお、本実施形態において、入力位置は、入力面上の位置を示す2次元座標としてタッチパネル23から取得される。また、入力位置および基準位置は、2次元座標として端末装置2に記憶される。
 図7は、タッチオン後において、入力位置Ptがタッチオン時の位置(すなわち、基準位置Pr)から移動した状態を示している。タッチ入力による入力指示は、タッチオンからタッチ入力が継続する間、行われる。ここで、タッチオンから継続して行われる(すなわち、タッチオンから途切れずに入力される)タッチ入力を、「継続タッチ入力」と呼ぶ。端末装置2は、継続タッチ入力が行われている間において、基準位置と入力位置とに基づいて入力指示の内容を特定する。本実施形態においては、入力指示の内容を表す値として、入力方向と、入力距離とが算出される。
 入力方向は、基準位置Prから入力位置PtへのベクトルVに基づいて算出される。ベクトルVは、基準位置Prを始点とし、入力位置Ptを終点とするベクトルである。本実施形態においては、入力方向は、上記ベクトルVのx軸成分(換言すれば、入力面における横方向の成分)の向きとして算出される。すなわち、本実施形態においては、入力方向は、右方向(すなわち、x軸正方向)または左方向(すなわち、x軸負方向)として算出される。
 入力距離は、上記ベクトルVの大きさに基づいて算出される。本実施形態においては、入力距離は、上記ベクトルVのx軸成分の大きさVxとして算出される。
 上記のように、本実施形態においては、入力指示は、1次元の方向(具体的には、x軸方向)に関する方向および大きさである。したがって、入力指示は、例えば、「-2」や「1」のように、入力方向を正負の符号で表し、入力距離を絶対値で表す数値として表現されてもよい。
 なお、他の実施形態においては、入力指示は、2次元に関する方向および大きさであってもよい。すなわち、入力指示は、上記ベクトルVの向きを入力方向とし、上記ベクトルVの大きさを入力距離とするものであってもよい。また、他の実施形態においては、入力指示は、入力方向および入力距離のいずれか一方のみを含むものであってもよい。
 端末装置2は、上記の入力指示に基づいてオブジェクト31の動作(具体的には、移動)を制御する。換言すれば、オブジェクト31は、入力位置と基準位置とに基づいて制御される。オブジェクト31の具体的な制御方法は任意であるが、本実施形態においては、端末装置2は、入力方向に応じた方向に、入力距離に応じた曲がり量で曲がるように、オブジェクト31を制御する。つまり、オブジェクト31は、基準位置Prに対して入力位置Ptが右側に位置するほど、右に大きく曲がるように動作し、基準位置Prに対して入力位置Ptが左側に位置するほど、左に大きく曲がるように動作する。なお、オブジェクト31が曲がる方向および曲がる量は、直進方向を基準に算出されてもよいし、オブジェクト31が自動走行を行う場合(つまり、タッチ入力が行われていない場合)におけるオブジェクト31の進行方向を基準に算出されてもよい。また、上述のように、本実施形態においては、オブジェクト31のスピードは、加速動作が行われる場合を除いて、自動的に制御される。
 上記のように、本実施形態においては、端末装置2は、基準位置とタッチオン後に継続して取得される入力位置との間の距離である入力距離と、基準位置から入力位置への方向である入力方向とに基づいてオブジェクト31の移動を制御する。これによれば、ユーザは、タッチオンから継続する一連のタッチ入力(すなわち、継続タッチ入力)という簡単な操作方法によって、オブジェクトに対する操作を行うことができる。なお、他の実施形態においては、上記入力距離と入力方向との少なくとも一方に基づいてオブジェクト31の移動が制御されてもよい。
 また、端末装置2は、入力距離が所定の制御開始距離を超えたことを条件として、オブジェクト31の制御を開始するようにしてもよい。このとき、入力が開始されてから、入力位置が基準位置からある程度離れるまでの期間においては、オブジェクト31に対する制御が行われない。これによれば、例えばユーザが移動操作を行う意図がなく誤ってタッチ入力を行ってしまった場合(より具体的には、例えば、タッチパネル23の入力面に指が当たってしまった場合)に、ユーザの意図に反してオブジェクト31の移動制御が行われる可能性を低減することができる。
(基準位置の変更処理)
 本実施形態においては、タッチオン時に設定された基準位置は、タッチオンから継続するタッチ入力が行われている間に変更されることがある。以下、基準位置の変更処理について説明する。
 図8は、基準位置が変更される様子の一例を示す図である。図8において、位置Pr0は、継続タッチ入力中のある時点t=0における基準位置であり、位置Pt0は、当該ある時点t=0に検出された入力位置である。図8に示す例においては、上記時点t=0の次に入力位置が検出される時点t=1において、入力位置Pt1が検出される。本実施形態においては、位置Pt1の入力位置が検出されたことに応じて、基準位置は、位置Pr0から位置Pr1に変更される(図8参照)。
 具体的には、端末装置2は、継続タッチ入力によって入力位置が移動した結果、基準位置から入力位置までの距離が所定距離よりも大きくなる場合、端末装置2は基準位置を変更する。ここで、所定距離は、予め定められており、例えば、上記基準位置画像34の半径r2から上記入力位置画像の半径r1を減算した値である。したがって、本実施形態においては、基準位置は、入力位置画像33が基準位置画像34の内側に含まれるように設定(換言すれば、変更)される。つまり、入力位置画像33は、基準位置画像34の円形領域内に含まれるように配置される。なお、他の実施形態においては、基準位置は、入力位置(すなわち、入力位置画像33の中心)が基準位置画像34の内側に含まれるように設定されてもよい。このとき、上記所定距離は、基準位置画像34の半径r2に設定される。また、他の実施形態においては、上記所定距離は、入力位置画像33の半径r1および基準位置画像34の半径r2とは独立した値に設定されてもよい。つまり、入力位置画像33および基準位置画像34の大きさは、基準位置の変更処理に用いられなくてもよい。
 上記のように、端末装置2は、基準位置から入力位置までの距離が上記所定距離以内となるように、基準位置を変更する。本実施形態においては、変更後の基準位置Pr1は、変更前の基準位置Pr0と、現在の入力位置Pt1とを結ぶ線分上の位置であって、変更後の基準位置Pr1から現在の入力位置Pt1までの距離が上記所定距離となる位置に決定される(図8参照)。
 なお、変更後の基準位置の具体的な算出方法は任意である。例えば、他の実施形態においては、端末装置2は、基準位置を変更する前の入力位置Pt0から現在の入力位置Pt1への方向に応じた方向へ、変更前の基準位置Pr0を移動させるように、変更後の基準位置Pr1を算出してもよい。
 上記のように基準位置が変更された場合、端末装置2は、オブジェクト31の移動制御のために用いられる上記入力指示(入力方向および入力距離)を、変更後の基準位置に基づいて算出する。なお、入力指示に基づいてオブジェクト31を制御する処理は、基準位置の変更前と変更後とにおいて同様である。
 以上のように、本実施形態においては、端末装置2は、一定条件下で入力位置の移動に追従するように基準位置を変更する。これによれば、入力位置と基準位置との距離が上記所定距離以内に維持されるので、ユーザは、現在の入力位置を基準位置に対して反対側へ移動させる操作を容易に行うことができる。例えば、ユーザは、基準位置に対して右側にある入力位置を、基準位置に対して左側の位置へと容易に変更することができる。つまり、ユーザは、右方向を指示する入力指示を、左方向を指示する入力指示へと容易に変更することができる。
 なお、他の実施形態においては、端末装置2は、基準位置を変更する処理を実行しなくてもよい。すなわち、入力位置から基準位置までの距離が上記所定距離より大きくなった場合であっても、基準位置が変更されなくてもよい。なお、このとき、端末装置2は、入力距離の大きさに制限をかける(すなわち、入力距離の最大値を設定する)ようにしてもよい。例えば、端末装置2は、入力位置から基準位置までの距離が上記所定距離より大きい場合には、入力距離を所定距離としてもよい。
[2-3.ドリフト状態への遷移操作]
 本実施形態においては、タッチ入力が開始された直後においてはオブジェクト31は通常状態であり、継続タッチ入力中においてユーザが所定の遷移操作を行った場合、オブジェクト31はドリフト状態へと遷移する(図5(c))。すなわち、本実施形態においては、継続タッチ入力中において、継続タッチ入力による入力位置がドリフト条件を満たした場合、端末装置2は、オブジェクト31を通常状態からドリフト状態へと遷移させる。このように、ユーザは、通常状態におけるオブジェクト31を一連の継続タッチ入力によって操作している途中で、その継続タッチ入力によってオブジェクト31をドリフト状態に遷移させることができる。以下、図9を参照して、オブジェクト31を通常状態からドリフト状態へと遷移させる処理について説明する。
 図9は、ドリフト条件の判定方法の一例を示す図である。本実施形態においては、端末装置2は、タッチオン後において、オブジェクト31が通常状態であって、継続タッチ入力が行われている間、入力位置がドリフト条件を満たすか否かを判定する。端末装置2は、上記の判定を、入力位置が検出される度に行う。
 本実施形態においては、ドリフト条件は、入力位置Ptと基準位置Prとの関係に関する条件である。具体的には、図9に示すように、ドリフト条件は、(条件a)「タッチ入力の速さが所定速度以上であること」、かつ、(条件b)「現在の入力位置に基づく入力距離が所定値以上である状態が所定の第1時間の間継続すること」である。
 (条件a)における上記「タッチ入力の速さ」とは、タッチオンから継続して行われるタッチ入力に関する速さであって、換言すれば、入力位置の移動速度である。「タッチ入力の速さ」は、タッチ入力が継続中である期間における入力位置Ptの移動速度を表す任意の指標でよい。例えば、端末装置2は、タッチ入力の速さとして、タッチオン時の入力位置(すなわち、基準位置Pr)から現在の入力位置Ptまでの距離を、タッチオン時から現在までの時間で割った速さを算出してもよい。また例えば、端末装置2は、継続タッチ入力に関して、単位時間当たりの入力位置Ptの移動速度(すなわち、ある入力位置から次の入力位置までの距離を、単位時間で割った速度)を算出し、さらに、当該移動速度の最大値または平均値を、タッチ入力の速さとして算出してもよい。端末装置2は、入力位置Ptに基づいて上記タッチ入力の速さを算出し、タッチ入力の速さが、予め定められた所定速度以上であるか否かを判定することによって、(条件a)が満たされるか否かを判定する。
 上記(条件b)における入力距離は、入力方向に対応する方向成分(本実施形態においては、x軸成分)に関する距離、すなわち、上記ベクトルVのx成分の大きさである(図9参照)。ただし、他の実施形態においては、入力距離に代えて、上記ベクトルVの大きさが用いられてもよい。端末装置2は、入力位置Ptに基づいて入力距離を算出し、入力距離が、予め定められた所定値以上であるか否かを判定する。そして、端末装置2は、入力距離が所定値以上である状態が上記第1時間の間継続するか否かを判定することによって、(条件b)が満たされるか否かを判定する。
 端末装置2は、上記(条件a)および(条件b)が共に満たされる場合、ドリフト条件が満たされると判断する。ドリフト条件が満たされる場合、端末装置2は、オブジェクト31を通常状態からドリフト状態へと遷移させる。
 なお、ドリフト条件は、基準位置と入力位置とに関する任意の条件であってもよい。例えば、他の実施形態においては、ドリフト条件は、(条件a)および(条件b)のいずれか一方が満たされることであってもよい。また、(条件b)は、入力距離が上記の所定値以上である状態となったこと(当該状態が継続することは要求されない意味である)であってもよい。ドリフト条件は、(条件a)および(条件b)に代えて(または加えて)他の条件を含んでもよい。例えば、ドリフト条件は、基準位置から入力位置への方向に関する条件を含んでもよい。具体的には、ドリフト条件は、基準位置から入力位置への方向が所定角度以上変化したこと、という条件を含んでいてもよい。以上のように、ドリフト条件は、入力方向および/または入力距離に関する条件であってもよい。
 上記のように、本実施形態においては、ドリフト条件は、継続タッチ入力の入力位置が所定の条件を満たす状態が所定時間継続したこと(すなわち、(条件b))を含む。これによれば、継続タッチ入力の途中で、ユーザの意図に反してドリフト条件が満たされてしまう可能性を低減することができる。すなわち、ユーザが意図しない処理が実行されてしまう可能性を低減することができるので、タッチ入力による操作の操作性を向上することができる。
 本実施形態において、端末装置2は、ドリフト条件が満たされた場合における入力位置と基準位置との方向に応じて、ドリフト状態の開始時におけるオブジェクト31の向きを制御する。すなわち、本実施形態においては、オブジェクト31は、ドリフト状態として、左向きのドリフト状態(つまり、左に曲がるドリフト状態)と、右向きのドリフト状態(つまり、右に曲がるドリフト状態)とを取り得る。ドリフト条件が満たされた場合における入力位置が基準位置に対して左側にある場合、オブジェクト31は、左向きのドリフト状態に制御され、ドリフト条件が満たされた場合における入力位置が基準位置に対して右側にある場合、オブジェクト31は、右向きのドリフト状態に制御される。
 上記のように、本実施形態においては、オブジェクト31が通常状態である間におけるタッチ入力に継続するタッチ入力によって、オブジェクト31をドリフト状態へと遷移させることができる(図5(b)~(c))。つまり、ユーザは、通常状態のオブジェクト31を移動させる移動操作を開始してから、タッチ入力を継続したまま、オブジェクト31をドリフト状態へと遷移させる遷移操作を行うことができる。このように、本実施形態においては、移動操作を開始してからの一連のタッチ入力によって遷移操作を行うことができる。これによって、ユーザは、一連のタッチ入力によって多様な操作を行うことができる。また、移動操作および遷移操作の操作性を向上することができる。
 以上のように、本実施形態においては、オブジェクト31をドリフト状態へと遷移させる遷移操作は、オブジェクト31を移動させる移動操作と同種の操作(すなわち、基準位置と入力位置との関係に基づく操作)によって行われる。例えば、ユーザは、オブジェクト31を大きく右方向に曲がらせるための移動操作(すなわち、基準位置に対して右方向に上記所定値以上離れた位置に入力位置を配置させる操作)を上記第1時間の間継続することによって、オブジェクト31をドリフト状態へと遷移させることができる。以上のように、本実施形態においては、ユーザは、移動操作中に遷移操作を自然に行うことができる。また、移動操作と遷移操作との連続性を維持することができる。これによって、オブジェクト31の操作性を向上することができる。
 また、他の実施形態においては、ドリフト条件は、基準位置に関連しない条件であってもよい。例えば、ドリフト条件は、「継続タッチ入力が所定のジェスチャを表す(すなわち、継続タッチ入力の軌跡が所定の形状となる)こと」という条件を含んでもよいし、「継続タッチ入力によって所定の操作(例えば、フリック操作、具体的には、入力位置が所定の速度以上で移動した後、タッチオフされる操作)が行われたこと」という条件を含んでもよい。
 本実施形態においては、端末装置2は、ドリフト条件が満たされたことに応じてオブジェクト31の状態が変化した場合、ドリフト条件が満たされなくなった後において変化後の状態(すなわち、ドリフト状態)を維持する。つまり、継続タッチ入力の入力位置がドリフト条件を満たした後で、当該継続タッチ入力の入力位置がドリフト条件を満たさなくなっても、端末装置2は、オブジェクト31の状態をドリフト状態に維持する。これによれば、ユーザは、オブジェクト31をドリフト状態に維持するために遷移操作を維持する必要はなく、遷移操作を行った後で、他の操作を行うことができる。これによって、端末装置2は、継続タッチ入力によってユーザにより多様な操作を行わせることができる。例えば、本実施形態においては、ユーザは、遷移操作の後で、上記他の操作として、ドリフト状態であるオブジェクト31に対する移動操作を行うことができる(図5(d))。
 なお、端末装置2は、ドリフト条件が満たされなくなった後において、所定の条件が満たされることに応じて、ドリフト状態から他の状態(例えば、通常状態)へと遷移させてもよい。詳細は後述するが、本実施形態においては、タッチ入力が終了することに応じて、オブジェクト31はドリフト状態から通常状態へと遷移する。
(基準位置の再設定)
 また、本実施形態では、ドリフト条件が満たされた場合、端末装置2は、基準位置を再設定する(図5(c))。図10は、基準位置が再設定される様子の一例を示す図である。図10において、位置Pr0は、ドリフト条件が満たされる前のある時点t=0における基準位置であり、位置Pt1は、ドリフト条件が満たされた時点t=1に検出された入力位置である。図10に示す例においては、ドリフト条件が満たされた時点t=1における入力位置Pt1の位置に、基準位置Pr1が再設定される(図10に示す矢印を参照)。
 上記のように、基準位置は、ドリフト状態に移行した時点の入力位置(すなわち、ドリフト条件を満たす入力位置)が新たな基準位置となるように再設定(変更とも言う)される。ここで、本実施形態においては、ドリフト状態においても通常状態と同様に、端末装置2は、オブジェクト31の移動方向を制御するための入力指示を受け付ける。したがって、ドリフト状態に遷移した時点で基準位置を再設定することによって、ユーザは、当該時点における入力位置を基準位置として入力指示を行うことができるので、ドリフト状態における入力指示をより行いやすくなる。これによって、ドリフト状態における入力指示の操作性を向上することができる。
[2-4.ドリフト状態における移動操作]
 本実施形態においては、オブジェクト31がドリフト状態となった後も、ユーザは、移動操作を行うことができる(図5(d))。つまり、ユーザは、オブジェクト31が通常状態である間におけるタッチ入力に継続するタッチ入力によって、ドリフト状態においてもオブジェクト31を操作することができる。以下、図11および図12を参照して、オブジェクトがドリフト状態である場合における動作について説明する。
 図11は、ドリフト状態におけるオブジェクトを含むゲーム画像の一例を示す図である。上述のように、ドリフト状態は、通常状態における移動制御とは異なる方法で移動制御が行われる状態である。図11に示すように、ドリフト状態においては、オブジェクト31がドリフトしている様子(具体的には、タイヤから煙が上がっている様子)が表示される。
 本実施形態においては、ドリフト状態における移動操作は、通常状態における移動操作と同様の操作方法である。すなわち、端末装置2は、オブジェクト31がドリフト状態である場合においても、通常状態である場合と同様に、タッチ入力に基づいて入力指示(具体的には、入力方向および入力距離)を特定する。このように、ユーザは、オブジェクト31が通常状態である場合もドリフト状態である場合も、同じ操作方法でオブジェクト31を操作することができる。ただし、入力指示に基づいてオブジェクト31の移動を制御する処理が、通常状態とドリフト状態とでは異なっている。
 本実施形態においては、ドリフト状態においては、オブジェクト31は、同じスピードで通常状態よりも鋭くカーブを曲がることができるように移動制御される。なお、ドリフト状態における移動制御の具体的な方法は任意である。例えば、他の実施形態においては、ドリフト状態においては、オブジェクト31は、カーブを通常状態よりも速く曲がることができるように移動制御されてもよい。このように、端末装置2は、ドリフト状態では、通常状態に比べてゲーム上有利な操作をユーザが行うことができるようにオブジェクト31の移動制御を行ってもよい。
 以上のように、本実施形態においては、端末装置2は、継続タッチ入力であって、かつ、所定の処理(具体的には、ドリフト状態への遷移処理)の実行後におけるタッチ入力の入力位置に基づいてオブジェクト31を移動させる移動処理を実行する(図5(d)。したがって、ユーザは、遷移処理の後も、オブジェクト31に対する移動操作を継続して行うことができる。これによって、オブジェクト31に対する移動操作の操作性を向上することができる。
 なお、ドリフト状態における移動処理は、ドリフト状態への遷移処理の実行直後(すなわち、ドリフト状態への遷移直後)から実行される必要はない。ただし、本実施形態においては、端末装置2は、遷移処理を実行する前後において(すなわち、ドリフト状態へと遷移させる前後において)、移動操作(具体的には図5(b)および(d)における移動操作)を継続的に受け付け、移動操作に基づく移動制御を継続して実行する。これによれば、ユーザは、オブジェクト31の状態が遷移する場合においてもオブジェクト31に対する移動操作を途切れることなく行うことができるので、移動操作の操作性をより向上することができる。
 なお、上記所定の処理は、オブジェクトの移動に関する状態を遷移させる処理に限らない。例えば、他の実施形態においては、上記所定の処理は、オブジェクトの状態を遷移させる任意の処理(例えば、オブジェクトが所定のアイテムを利用不可能な状態から利用可能な状態へと遷移させる処理)であってもよい。このとき、オブジェクトの状態を遷移させる処理の実行後における移動処理は、当該処理の実行前における移動処理と、移動制御方法が同じであってもよい。
 また、本実施形態において、ドリフト状態における移動処理は、通常状態における移動処理とは異なる制御方法で前記第1オブジェクトを移動させる移動処理である。したがって、ユーザは、遷移処理によってオブジェクト31の状態(具体的には、移動に関する状態)を変化させることによって、遷移処理の前後で異なる制御方法でオブジェクト31を移動させることができる。すなわち、本実施形態においては、ユーザは、(a)オブジェクト31の第1移動操作、(b)制御方法の変更操作(すなわち、遷移操作)、および、(c)第1移動操作とは異なる制御方法での第2移動操作という、3種類の操作を、一連のタッチ入力によって行うことができる。これによって、端末装置2は、オブジェクト31の移動操作の操作性を向上することができる。
 なお、図5には示していないが、本実施形態においては、オブジェクト31がドリフト状態である場合に継続タッチ入力が終了(すなわち、タッチオフ)すると、端末装置2は、オブジェクト31を通常状態へと遷移させる。上述のように、タッチ入力が行われていない期間においては、端末装置2はオブジェクト31を自動的に制御する。
 一方、図5に示す例においては、ユーザは、ドリフト状態における移動操作を継続して行う(図5(e))ことによって、オブジェクト31を(ドリフト状態であって、かつ、)加速可能状態に設定する。すなわち、本実施形態においては、オブジェクト31がドリフト状態である状況において所定の加速条件が満たされると、端末装置2は、オブジェクト31を加速可能状態に設定する。詳細は後述するが、オブジェクト31が加速可能状態となった後で移動操作が終了された(すなわち、タッチオフとなった)場合、オブジェクト31は、通常よりも加速した加速状態で移動が制御される。
 図12は、加速可能状態におけるオブジェクトを含むゲーム画像の一例を示す図である。図12に示すように、加速可能状態においては、オブジェクト31は、ドリフト状態を表す表示態様(具体的には、タイヤから煙が上がっている表示態様)に加えて、加速可能状態を表す表示態様(具体的には、タイヤから火花が出ている表示態様)で表示される。なお、本実施形態においては、ドリフト状態であるオブジェクト31のスピードは、加速可能状態であるか否かによって変わらない。ただし、他の実施形態においては、ドリフト状態であるオブジェクト31が加速可能状態である場合、加速可能状態でない場合に比べてオブジェクト31のスピードが速くなってもよい。
 本実施形態においては、上記加速条件は、ドリフト状態が所定の第2時間の間継続されることである。つまり、ドリフト状態となってから第2時間が経過したことに応じて、オブジェクト31は加速可能状態となる。なお、他の実施形態においては、加速条件は任意である。例えば、加速条件は、「ドリフト状態において継続タッチ入力が所定のジェスチャを表すこと」という条件を含んでもよいし、「ドリフト状態において継続タッチ入力によって所定の操作が行われたこと」という条件を含んでもよい。このように、加速条件は、入力方向および/または入力距離に関する所定の条件を満たす入力が行われた状態となったことであってもよいし、その状態が所定時間継続したことであってもよい。
 以上のように、本実施形態においては、端末装置2は、継続タッチ入力であって、かつ、第1処理(すなわち、ドリフト状態への遷移処理)の実行後におけるタッチ入力が所定の条件(すなわち、加速条件)を満たす場合、当該第1処理とは異なる処理であって、オブジェクト31に対する第2処理(すなわち、オブジェクト31を加速可能状態に設定する処理)を実行する。これによれば、ユーザは、継続タッチ入力の途中において、端末装置2に第1処理を実行させるとともに、さらに第2処理を実行させることができる。すなわち、端末装置2は、一連のタッチ入力によって、より多様なゲーム操作をユーザに行わせることができる。
 なお、上記第2処理は、オブジェクト31の移動に関する任意の処理であってもよい。例えば、第2処理は、オブジェクト31を所定の制御方法で移動させる処理であってもよい。したがって、本実施形態においては、後述する「加速状態でオブジェクト31を移動させる処理」も第2処理の一例であるということができる。なお、このとき、上記所定の条件は、「継続タッチ入力が終了すること」である。このように、上記所定の条件は、「第1処理の実行後における継続タッチ入力が、ある条件を満たす状態が所定時間継続したこと」であってもよいし、「第1処理の実行後における継続タッチ入力が、ある条件を満たす状態が所定時間継続した後で、第1処理の実行後における継続タッチ入力が終了したこと」であってもよい。また、他の実施形態においては、上記所定の条件は、「第1処理の実行後における継続タッチ入力が終了したこと」であってもよい。
 図5に示す例においては、ユーザは、オブジェクト31が加速可能状態となった後で、加速操作(すなわち、タッチ入力を終了する操作)を行うことによって、オブジェクト31を加速状態で走行させることができる(図5(f))。すなわち、加速可能状態となった状態で継続タッチ入力が終了した場合、端末装置2は、オブジェクト31を加速状態で移動させる。なお、加速状態とは、通常状態におけるオブジェクト31のスピードよりも速いスピードでオブジェクト31が移動する状態である。
 図13は、加速状態におけるオブジェクトを含むゲーム画像の一例を示す図である。図13に示すように、加速状態においては、オブジェクト31が加速状態である様子(具体的には、後方へ火花を噴射している様子)が表示される。
 本実施形態においては、加速状態は、予め定められた所定時間の間継続される。すなわち、端末装置2は、タッチオフ時から所定時間の間、オブジェクト31を加速状態で移動させた後で、通常状態における自動制御を行う。
 以上のように、ユーザは、ドリフト状態においてオブジェクト31を加速可能状態となるように操作した後でタッチ入力を終了することによって、オブジェクト31をより速く走行させることができる。例えば、ユーザは、オブジェクト31をドリフト状態に遷移させた状態でレースコースのカーブを曲がり、レースコースが直線になった位置からオブジェクト31を加速状態で走行させることによって、オブジェクト31を速く走行させることができる。
 なお、他の実施形態においては、オブジェクト31は、複数段階の加速可能状態をとることが可能であってもよい。例えば、ドリフト状態が上記第2時間の間継続されることに応じて、オブジェクト31は第1加速可能状態となり、第1加速可能状態が所定の第3時間の間継続されることに応じて、オブジェクト31は第2加速可能状態となるように制御されてもよい。このとき、端末装置2は、オブジェクト31が第2加速可能状態から(タッチオフに応じて)加速状態になる場合には、第1加速可能状態から(タッチオフに応じて)加速状態になる場合に比べて、加速状態が長く継続するようにオブジェクト31を制御する。なお、他の実施形態においては、端末装置2は、上記の場合に、第1加速可能状態から(タッチオフに応じて)加速状態になる場合に比べて、加速状態におけるスピードが速くなるようにオブジェクト31を制御してもよい。
 また、端末装置2は、複数段階の加速可能状態を互いに区別可能となるようにオブジェクト31を表示してもよい。例えば、端末装置2は、第1加速可能状態と第2加速可能状態とで火花の色および/または大きさが異なるようにオブジェクト31を表示してもよい。
 以上に説明したように、本実施形態においては、ユーザは、1回のタッチ入力によって、図5に示す(a)~(f)の複数種類の操作を行うことが可能である。このように、本実施形態においては、端末装置2は、ポインティングデバイス(すなわち、タッチパネル)を用いて多様なゲーム操作をユーザに行わせることができる。
 また、本実施形態においては、図5に示す各種操作(すなわち、移動操作、遷移操作、および、加速操作)は、いずれも、ユーザが1本の指で行うことができる操作である。したがって、本実施形態によれば、ユーザは、1本の指でオブジェクト31を操作することができ、例えば、端末装置2を片手で把持するとともに、その手の親指ででゲーム操作を行うことができる。
 なお、上記においては、図5に示す各操作が行われる場合を例として説明したが、上記実施形態においては、タッチ入力によって、当該各操作以外の操作が可能であってもよい。例えば、端末装置2は、アイテムを示すアイコンを表示部24に表示してもよく、オブジェクト31にアイテムを使用させるための操作として、アイコンを指定するタッチ入力を受け付けるようにしてもよい。また例えば、端末装置2は、タッチパネル23に対するタップ操作(具体的には、タッチオンから一定時間が経過する前にタッチオフする操作)に応じて、オブジェクト31に所定の動作(例えば、ジャンプ動作)を行わせるようにしてもよい。このとき、上述の移動操作とタップ操作とを区別するべく、端末装置2は、タッチオンから上記一定時間が経過した後で、移動操作を受け付けるようにしてもよい。
[3.情報処理システムにおける処理の具体例]
 図14~図16を参照して、上記において概要を説明したゲーム処理が情報処理システムにおいて実行される場合の具体例について説明する。
[3-1.処理に用いられるデータ]
 図14を参照して、情報処理システムにおけるゲーム処理に用いられるデータの具体例について説明する。図14は、情報処理システムにおけるゲーム処理に用いられるデータの一例を示す図である。図14に示すデータは、端末装置2の記憶装置(具体的には、処理部11のメモリ、および/または、記憶部12)に記憶される。図14に示すように、端末装置2は、入力位置データ、基準位置データ、入力指示データ、オブジェクト位置データ、オブジェクト状態データ、および、加速フラグデータを記憶する。
 入力位置データは、上記入力位置を示すデータである。本実施形態では、入力位置データは、現在の入力位置(換言すれば、最新の入力位置)を示すデータを含むことに加えて、過去の入力位置を示すデータを含む。具体的には、入力位置データは、タッチオンから継続して入力される一連のタッチ入力に関する入力位置を示すデータを含む。なお、入力位置データの内容は、タッチオフ時にリセットされてもよい。
 基準位置データは、上記基準位置を示すデータである。なお、上記入力位置データおよび基準位置データは、例えば、タッチパネル23の入力面上における位置を示す2次元座標値のデータである。
 入力指示データは、入力位置に基づいて特定される上記入力指示の内容を示す。具体的には、入力指示データは、上記入力方向および入力距離を示す。上述したように、入力指示データは、入力方向を正負の符号で表し、入力距離を絶対値で表す数値を示すデータであってもよい。
 オブジェクト位置データは、ゲーム空間におけるオブジェクト31の位置を示す。例えば、オブジェクト位置データは、ゲーム空間における位置を示す3次元または2次元の座標値を示すデータである。
 オブジェクト状態データは、オブジェクト31の状態を示す。具体的には、オブジェクト状態データは、通常状態またはドリフト状態であることを示すデータである。なお、本実施形態においては、ゲーム開始時(すなわち、レースゲームのスタート時)においては、オブジェクト31は通常状態であるとし、通常状態を示すオブジェクト状態データが記憶される。
 加速フラグデータは、オブジェクト31を加速した状態で移動させる制御を行うか否かを表す加速フラグを示すデータである。詳細は後述するが、オブジェクト31が上述の加速可能状態または加速状態となる場合、加速フラグがオンに設定され、オブジェクト31が加速可能状態でもなく加速状態でもない場合、加速フラグがオフに設定される。なお、本実施形態においては、ゲーム開始時においては、加速フラグがオフに設定される。
[3-2.ゲーム処理例]
 図15および図16は、端末装置によって実行されるゲーム処理の一例の流れを示すフローチャートである。なお、図15および図16に示す一連の処理は、記憶部22に記憶される上記ゲームプログラムの起動後、レースゲームの開始に応じて開始される。
 なお、本実施形態では、端末装置2の処理部21のCPU(換言すればプロセッサ)が、記憶部22に記憶されているゲームプログラム(具体的には、レースゲームのためのゲームプログラム)を実行することによって、図15および図16に示す各ステップの処理を実行するものとして説明する。ただし、他の実施形態においては、上記各ステップの処理のうちの一部の処理を、CPUとは別のプロセッサ(例えば、専用回路等)が実行するようにしてもよい。また、図15および図16に示す各ステップの処理は、単なる一例に過ぎず、同様の結果が得られるのであれば、各ステップの処理順序を入れ替えてもよいし、各ステップの処理に加えて(または代えて)別の処理が実行されてもよい。
 また、他の実施形態においては、図15および図16に示す各ステップの処理は、端末装置2とサーバ1との協働によって実行されてもよい。つまり、図15および図16に示す各ステップの処理のうちの一部の処理は、サーバ1によって実行されてもよい。このとき、サーバ1は、処理に用いるデータを、ネットワーク3を介して端末装置2から受信する。サーバ1は、処理の結果得られたデータを、ネットワーク3を介して端末装置2へ送信する。
 また、端末装置の処理部21は、図15および図16に示す各ステップの処理を、メモリを用いて実行する。すなわち、処理部21のCPUは、各処理ステップによって得られる情報(換言すれば、データ)をメモリに記憶し、それ以降の処理ステップにおいて当該情報を用いる場合には、メモリから当該情報を読み出して利用する。
 図15に示すステップS1において、処理部21は、タッチパネル23から入力位置を取得する。すなわち、タッチパネル23は、入力面上の入力位置を検出し、検出した入力位置を示す検出結果データを出力する。処理部21は、タッチパネル23から検出結果データを取得し、取得した検出結果データを含む入力位置データをメモリに記憶する。なお、本実施形態においては、タッチパネル23は、タッチパネル23に対するタッチ入力が行われていない場合、タッチ入力が無いことを示す検出結果データを出力する。この場合、処理部21は、タッチ入力が無いことを示す検出結果データを取得する。ステップS1の次に、ステップS2の処理が実行される。
 ステップS2において、処理部21は、タッチ入力が行われたか否かを判定する。処理部21は、ステップS2における判定を、メモリに記憶されている入力位置データ(換言すれば、上記ステップS1の処理においてタッチパネル23から取得されたデータ)に基づいて行う。ステップS2の判定結果が肯定である場合、ステップS3の処理が実行される。一方、ステップS2の判定結果が否定である場合、後述するステップS16の処理が実行される。
 ステップS3において、処理部21は、タッチ入力がタッチオン時の入力であるか否かを判定する。処理部21は、ステップS3における判定を、メモリに記憶されている入力位置データに基づいて行う。すなわち、前回の処理ループ(具体的には、ステップS1~S24の処理ループ)におけるステップS1で取得された検出結果データが、タッチ入力が無いことを示す値である場合、タッチ入力はタッチオン時の入力であると判定され、当該検出結果データが、タッチ入力があることを示す値である場合、タッチ入力はタッチオン時の入力でないと判定される。ステップS3の判定結果が肯定である場合、ステップS4の処理が実行される。一方、ステップS3の判定結果が否定である場合、ステップS4の処理がスキップされて、後述するステップS5の処理が実行される。
 ステップS4において、処理部21は、基準位置を設定する。すなわち、処理部21は、今回の処理ループにおけるステップS1の処理で取得された入力位置を、基準位置として設定する。処理部21は、設定された基準位置を示す基準位置データをメモリに記憶する。ステップS4の次に、ステップS5の処理が実行される。
 ステップS5において、処理部21は、基準位置を変更するか否かを判定する。すなわち、処理部21は、メモリに記憶されている入力位置データおよび基準位置データに基づいて、上記“(基準位置の変更処理)”で説明した方法によって上記の判定を行う。ステップS5の判定結果が肯定である場合、ステップS6の処理が実行される。一方、ステップS5の判定結果が否定である場合、ステップS6の処理がスキップされて、後述するステップS7の処理が実行される。
 ステップS6において、処理部21は、基準位置を変更する。すなわち、処理部21は、メモリに記憶されている入力位置データおよび基準位置データに基づいて、上記“(基準位置の変更処理)”で説明した方法によって、変更後の基準位置を算出する。さらに、処理部21は、メモリに記憶されている基準位置データを、算出された変更後の基準位置を示す内容に更新する。ステップS6の次に、ステップS7の処理が実行される。
 ステップS7において、処理部21は、ドリフト条件が満たされたか否かを判定する。すなわち、処理部21は、メモリに記憶されている入力位置データおよび基準位置データに基づいて、入力位置がドリフト条件を満たすか否かを判定する。なお、ステップS7における判定の具体的な方法は、上記“[2-3.ドリフト状態への遷移操作]”で説明した方法である。ステップS7の判定結果が肯定である場合、ステップS8の処理が実行される。一方、ステップS7の判定結果が否定である場合、ステップS8およびS9の処理がスキップされて、後述するステップS10の処理が実行される。
 ステップS8において、処理部21は、オブジェクト31の状態をドリフト状態へと遷移させる。すなわち、処理部21は、ドリフト状態を示すオブジェクト状態データをメモリに記憶する。ステップS8の次に、ステップS9の処理が実行される。
 ステップS9において、処理部21は、基準位置を再設定する。ステップS9における具体的な処理は、上記ステップS6における処理と同様である。これによって、メモリに記憶される基準位置データの内容が更新される。ステップS9の次に、ステップS10の処理が実行される。
 ステップS10において、処理部21は、入力指示の内容を特定する。すなわち、処理部21は、メモリに記憶されている入力位置データおよび基準位置データを参照して、入力方向および入力距離を算出する。なお、入力方向および入力距離の具体的な算出方法は、上記“[2-2.タッチ入力が開始されてからの移動操作に関する動作]”で説明した方法である。処理部21は、算出された入力方向および入力距離を示す入力指示データをメモリに記憶する。ステップS10の次に、ステップS11の処理が実行される。
 図16を参照して、ステップS11~S15の処理について説明する。ステップS11において、処理部21は、メモリに記憶されているオブジェクト状態データに基づいて、オブジェクト31がドリフト状態であるか否かを判定する。ステップS11の判定結果が否定である場合(すなわち、オブジェクト31が通常状態である場合)、ステップS12の処理が実行される。一方、ステップS11の判定結果が肯定である場合(すなわち、オブジェクト31がドリフト状態である場合)、ステップS13の処理が実行される。
 ステップS12において、処理部21は、メモリに記憶されている入力指示データに基づいて、通常状態におけるオブジェクト31の移動制御を行う。具体的には、処理部21は、1フレーム時間におけるオブジェクト31の移動方向および移動距離を算出し、算出された移動方向および移動距離と、現在のオブジェクト31の位置とに基づいて移動後の位置を算出する。なお、ステップS12における移動制御は、上記“[2-2.タッチ入力が開始されてからの移動操作に関する動作]”で説明した方法によって行われる。処理部21は、算出された移動後の位置を示すオブジェクト位置データをメモリに記憶する。ステップS12の次に、後述するステップS23の処理が実行される。
 ステップS13において、処理部21は、ドリフト状態におけるオブジェクト31の移動制御を行う。ステップS13においてもステップS12と同様、処理部21は、メモリに記憶されている入力指示データに基づいて、オブジェクト31の移動後の位置を算出する。ただし、ステップS13における移動制御は、ステップS12における移動制御とは異なり、上記“[2-4.ドリフト状態における移動操作]”で説明した方法によって行われる。処理部21は、算出された移動後の位置を示すオブジェクト位置データをメモリに記憶する。ステップS13の次に、ステップS14の処理が実行される。
 ステップS14において、処理部21は、オブジェクト31がドリフト状態へと遷移してから上述の第2時間が経過したか否かを判定する。ステップS14の判定結果が肯定である場合、ステップS15の処理が実行される。一方、ステップS14の判定結果が否定である場合、ステップS15の処理がスキップされて、後述するステップS23の処理が実行される。
 ステップS15において、処理部21は、加速フラグをオンに設定する。すなわち、処理部21は、加速フラグがオンであることを示す加速フラグデータをメモリに記憶する。これによって、オブジェクト31は、(ドリフト状態であって、かつ、)加速可能状態に設定されたことになる。ステップS15の次に、後述するステップS23の処理が実行される。
 再び図15を参照して、ステップS16およびS17の処理について説明する。ステップS16において、処理部21は、タッチ入力が終了した(すなわち、タッチオフとなった)か否かを判定する。処理部21は、ステップS16における判定を、メモリに記憶されている入力位置データに基づいて行う。すなわち、前回の処理ループ(具体的には、ステップS1~S24の処理ループ)におけるステップS1で取得された検出結果データが、タッチ入力があることを示す値である場合、タッチ入力が終了したと判定され、当該検出結果データが、タッチ入力が無いことを示す値である場合、タッチ入力が終了したタイミングでないと判定される。ステップS16の判定結果が肯定である場合、ステップS17の処理が実行される。一方、ステップS16の判定結果が否定である場合、ステップS17の処理がスキップされて、後述するステップS18の処理が実行される。
 ステップS17において、処理部21は、オブジェクト31の状態を通常状態へと遷移させる。すなわち、処理部21は、通常状態を示すオブジェクト状態データをメモリに記憶する。ステップS17の次に、ステップS18の処理が実行される。
 再び図16を参照して、ステップS18~S24の処理について説明する。ステップS18において、処理部21は、メモリに記憶されている加速フラグデータに基づいて、加速フラグがオンに設定されているか否かを判定する。ステップS18の判定結果が否定である場合(すなわち、加速フラグがオフに設定されている場合)、ステップS19の処理が実行される。一方、ステップS18の判定結果が肯定である場合(すなわち、加速フラグがオンに設定されている場合)、後述するステップS20の処理が実行される。
 ステップS19において、処理部21は、オブジェクト31の自動制御を行う。すなわち、処理部21は、記憶部12に記憶されているゲームアプリケーションのプログラムにおいて予め定められたアルゴリズムに従ってオブジェクト31の移動を制御することによって、オブジェクト31の移動後の位置を算出する。処理部21は、算出された移動後の位置を示すオブジェクト位置データをメモリに記憶する。ステップS19の次に、後述するステップS23の処理が実行される。
 一方、ステップS20において、処理部21は、加速状態でオブジェクト31の自動制御を行う。ステップS20においてもステップS19と同様、処理部21は、上記ゲームアプリケーションのプログラムにおいて予め定められたアルゴリズムに従ってオブジェクト31の移動を制御することによって、オブジェクト31の移動後の位置を算出する。ただし、ステップS20においては、ステップS19において設定される移動速度よりも速く移動するように、オブジェクト31の移動後の位置が算出される。処理部21は、算出された移動後の位置を示すオブジェクト位置データをメモリに記憶する。ステップS20の次に、ステップS21の処理が実行される。
 ステップS21において、処理部21は、オブジェクト31に対する加速状態での移動制御を開始してから(換言すれば、タッチオフとなってから)上述の所定時間が経過したか否かを判定する。ステップS21の判定結果が肯定である場合、ステップS22の処理が実行される。一方、ステップS21の判定結果が否定である場合、ステップS22の処理がスキップされて、後述するステップS23の処理が実行される。
 ステップS22において、処理部21は、加速フラグをオフに設定する。すなわち、処理部21は、加速フラグがオフであることを示す加速フラグデータをメモリに記憶する。これによって、オブジェクト31は、(通常状態であって、かつ、)加速状態に設定されたことになる。ステップS22の次に、ステップS23の処理が実行される。
 ステップS23において、処理部21は、ゲーム画像を生成して、表示部24に表示させる。すなわち、処理部21は、メモリに記憶されているオブジェクト位置データに基づいてゲーム画像を生成し、生成されたゲーム画像を表示部24に表示する。ステップS23で生成されるゲーム画像は、オブジェクト位置データにより示される位置にオブジェクト31が配置されたゲーム空間を表す。なお、ステップS23の処理において、処理部21は、必要に応じて、他のオブジェクト(例えば、他のキャラクタやアイテム)の動作を制御し、これらのオブジェクトを含むゲーム空間を表すゲーム画像を生成する。ステップS23の次に、ステップS24の処理が実行される。
 ステップS24において、処理部21は、ゲームを終了するか否かを判定する。すなわち、処理部21は、予め定められたゲーム終了条件(例えば、ユーザが操作するオブジェクトがゴールしたこと)が満たされた、または、ユーザによって所定の終了指示が行われた場合、ゲームを終了する。また、処理部21は、上記ゲーム終了条件が満たされず、かつ、ユーザによって所定の終了指示が行われていない場合、ゲームを終了しないと判定する。ステップS24の判定結果が否定である場合、ステップS1の処理が実行される。なお、処理部21は、ステップS24においてゲームを終了すると判定するまで、ステップS1~S24の一連の処理を繰り返し実行する。一方、ステップS24の判定結果が肯定である場合、処理部21は、図15および図16に示すゲーム処理を終了する。
[4.本実施形態の作用効果および変形例]
 以上に説明した実施形態によれば、ゲームプログラムは、ポインティングデバイス(例えば、タッチパネル23)を備える情報処理装置(例えば、端末装置2)のコンピュータに、以下の処理ステップを実行させる。
・基準位置と、ポインティングデバイスに対する入力が開始されてから継続して行われる入力(すなわち、継続タッチ入力)の入力位置とに基づいて、仮想ゲーム空間においてオブジェクトを移動させる第1移動処理を実行する第1移動処理ステップ(S12)
・ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置が、当該入力位置と基準位置との関係に関する所定の第1条件(すなわち、ドリフト条件)を満たす場合、オブジェクトに対する第1処理を実行する第1処理実行ステップ(S8またはS13)
 上記によれば、ユーザは、入力開始から継続する入力によってオブジェクトに対する移動操作を行うことができ、さらに、当該継続する入力によってオブジェクトに対する第1処理を実行することができる。したがって、情報処理装置は、シンプルな入力方法によって多様な操作をユーザに行わせることができる。具体的には、上記実施形態によれば、ユーザは、入力開始からの一連のタッチ入力によって、オブジェクトに対する複数種類の操作を行うことができる。
 なお、上記第1移動処理ステップおよび第1処理実行ステップを実行する場合、情報処理装置は、後述の基準位置再設定ステップを実行しなくてもよい。この場合でも、情報処理装置は上記の効果を奏する。
 なお、上記「ポインティングデバイスに対する入力が開始されてから継続して行われる入力」は、入力が厳密な意味で連続していることを要求するものではない。例えば、上述の継続タッチ入力に関して言えば、タッチパネル23は、実際にはタッチ入力が行われているにもかかわらず、所定期間の間、誤検出によって一時的にタッチ入力が検出されない場合も考えられる。この場合、端末装置2は、当該所定期間の前において検出されていたタッチ入力と、当該所定期間の後において検出されたタッチ入力とを、まとめて1回の継続タッチ入力として取り扱ってもよい。具体的には、端末装置2は、あるタッチ入力が検出されなくなってから、次のタッチ入力が検出されるまでの期間が所定の長さよりも短い場合、当該あるタッチ入力と当該次のタッチ入力とをまとめて1回の継続タッチ入力として取り扱ってもよい。
 上記第1処理は、上記実施形態においては、オブジェクト31の状態(より具体的には、オブジェクトの移動に関する状態)を変化させる処理(ステップS8)であるということができる。また、上記実施形態においては、第1処理は、第1移動処理(すなわち、通常状態における移動制御処理(S12))とは異なる処理であって、オブジェクト31の動作を制御する処理(すなわち、ドリフト状態における移動制御処理(S13))であるということができる。なお、他の実施形態においては、「オブジェクトの動作を制御する処理」は、オブジェクトを移動させる処理に限らず、例えば、オブジェクトに所定の動作(例えば、ジャンプや攻撃の動作)を行わせる処理であってもよい。
 他の実施形態においては、第1移動処理の対象となる第1オブジェクトと、第1処理の対象となる第2オブジェクトとは、異なるオブジェクトであってもよい。例えば、他の実施形態においては、第1オブジェクトは、銃を持ったキャラクタのオブジェクトであり、第2オブジェクトは、銃から発射される弾のオブジェクトであってもよい。このとき、情報処理装置は、第1移動処理によってキャラクタを移動させ、第1条件が満たされる場合に、第1処理として、弾を発射させる処理(換言すれば、弾を移動させる処理)を実行してもよい。
 なお、上記実施形態においては、上記第1処理は、上記第1移動処理が開始された後で上記第1条件が満たされたことに応じて実行される。ここで、他の実施形態においては、第1移動処理は、ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置と基準位置との関係に関する第2条件(ただし、第2条件は、第1条件とは異なる条件である)を満たす場合に、実行されてもよい。第2条件は、例えば、入力距離が上述の制御開始距離を超えたことである。なお、第1条件は、第2条件よりも厳しい条件(つまり、第2条件が満たされた後でのみ第1条件が満たされるような条件)である。例えば、上記制御開始距離は、上記(条件b)における所定値よりも小さい値に設定される。
 また、以上に説明した実施形態によれば、ゲームプログラムは、ポインティングデバイス(例えば、タッチパネル23)を備える情報処理装置(例えば、端末装置2)のコンピュータに、以下の処理ステップを実行させる。
・基準位置と、ポインティングデバイスに対する入力が開始されてから継続して行われる入力(すなわち、継続タッチ入力)の入力位置とに基づいて、仮想ゲーム空間においてオブジェクトを移動させる移動処理を実行する移動処理ステップ(S12)
・ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置が所定の条件(すなわち、ドリフト条件)を満たす場合、当該条件が満たされたときの入力位置に基準位置を再設定する基準位置再設定ステップ(S9)。
 上記によれば、ユーザは、オブジェクトに対する移動操作と、基準位置を再設定する操作とを、継続して行われる一連の入力によって行うことができる。これによれば、ポインティングデバイスを用いて多様な操作が可能となる。また、上記によれば、ユーザは、入力を継続したままで基準位置を設定し直すことができるので、入力をし直す必要なく、基準位置を簡易な操作で設定し直すことができる。これによって、移動操作の操作性を向上することができる。より具体的には、上記実施形態によれば、ドリフト状態となったことに応じて基準位置が再設定されるので、ドリフト状態となった時点で適切な位置に基準位置が設定される結果、ユーザは、左右の両方向に関する指示を容易に行うことができる。
 なお、上記移動処理ステップおよび基準位置再設定ステップを実行する場合、情報処理装置は、第1処理実行ステップを実行しなくてもよい。この場合でも、情報処理装置は上記の効果を奏する。
 なお、上記実施形態においては、基準位置を再設定するための上記所定の条件は、ドリフト条件と同じであった。ここで、他の実施形態においては、上記所定の条件は、ドリフト条件と同じである必要はない。例えば、他の実施形態においては、端末装置2は、所定の条件が満たされたことに応じて基準位置を再設定する一方、当該所定の条件が満たされたことに応じてオブジェクト31をドリフト状態へと遷移させなくてもよい。
(ゲーム内容に関する変形例)
 他の実施形態においては、端末装置2において実行されるゲームの内容は、レースゲームに限らず、任意の内容のゲームであってよい。例えば、他の実施形態においては、端末装置2において実行されるゲームは、アクションゲームにおけるオブジェクト(すなわち、プレイヤキャラクタ)を、ポインティングデバイスに対する入力によって操作するゲームであってもよい。すなわち、端末装置2は、ステップS12の移動処理において上記オブジェクトを歩いて移動させ、ステップS13の移動処理において当該オブジェクトを走って移動させるように、移動制御を行ってもよい。このとき、端末装置2は、オブジェクトの移動方法に関する状態(すなわち、歩くまたは走る)を管理し、ステップS8において、オブジェクトの状態を、歩く状態から走る状態へと遷移させる。さらにこのとき、端末装置2は、ステップS20の処理において、ステップS13の移動処理における速度よりも速い速度でオブジェクトが走るように移動制御を行ってもよい。
 上記実施形態は、ポインティングデバイスを用いて多様なゲーム操作を可能とすること等を目的として、例えばゲームプログラムやゲーム装置等として利用することができる。
 1 サーバ
 2 端末装置
 21 処理部
 22 記憶部
 23 タッチパネル
 24 表示部
 25 通信部
 31 オブジェクト
 32 操作画像

Claims (19)

  1.  情報処理装置のコンピュータに、
     ポインティングデバイスによって検出された入力位置を繰り返し取得する取得ステップと、
     前記ポインティングデバイスに対する入力が開始されたときの入力位置に基づいて基準位置を設定する基準位置設定ステップと、
     前記基準位置と、前記ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置とに基づいて、仮想ゲーム空間において第1オブジェクトを移動させる第1移動処理を実行する第1移動処理ステップと、
     前記ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置が、当該入力位置と前記基準位置との関係に関する第1条件を満たす場合、前記第1オブジェクトと同じまたは異なる第2オブジェクトに対する第1処理を実行する第1処理実行ステップとを実行させる、ゲームプログラム。
  2.  前記ポインティングデバイスに対する入力が開始されてから継続して行われる入力であって、かつ、前記第1処理の実行後における入力の入力位置に基づいて、前記仮想ゲーム空間において前記第2オブジェクトを移動させる第2移動処理を実行する第2移動処理ステップを、前記コンピュータにさらに実行させる、請求項1に記載のゲームプログラム。
  3.  前記第2オブジェクトは、前記第1オブジェクトと同じであり、
     前記第1処理実行ステップにおいては、前記第1処理として、前記第1オブジェクトの状態を変化させる処理が実行される、請求項1に記載のゲームプログラム。
  4.  前記第1処理実行ステップにおいては、前記第1処理として、前記第1オブジェクトの移動に関する状態を変化させる処理が実行され、
     前記ポインティングデバイスに対する入力が開始されてから継続して行われる入力であって、かつ、前記第1処理の実行後における入力の入力位置に基づいて、前記第1移動処理とは異なる制御方法で前記第1オブジェクトを移動させる第3移動処理を実行する第3移動処理ステップを、前記コンピュータにさらに実行させる、請求項3に記載のゲームプログラム。
  5.  前記第1処理実行ステップにおいては、前記第1条件が満たされたことに応じて前記第2オブジェクトの状態が変化した場合、前記第1条件が満たされなくなった後において変化後の状態が維持される、請求項3に記載のゲームプログラム。
  6.  前記第1処理実行ステップにおいては、前記第1処理として、前記第1移動処理とは異なる処理であって、前記第2オブジェクトの動作を制御する処理が実行される、請求項1または請求項2に記載のゲームプログラム。
  7.  前記ポインティングデバイスに対する入力が開始されてから継続して行われる入力であって、かつ、前記第1処理の実行後における入力が第2条件を満たす場合、前記第1処理とは異なる処理であって、前記第2オブジェクトに対する第2処理を実行する第2処理実行ステップを、前記コンピュータにさらに実行させる、請求項1から請求項6のいずれか1項に記載のゲームプログラム。
  8.  前記第2処理実行ステップにおいては、前記第2処理として、前記第2オブジェクトの移動に関する処理が実行される、請求項7に記載のゲームプログラム。
  9.  前記第2処理実行ステップにおいては、前記ポインティングデバイスに対する入力が開始されてから継続して行われる入力の終了に応じて前記第2処理が実行される、請求項7または請求項8に記載のゲームプログラム。
  10.  前記第1条件は、前記ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置が所定の条件を満たす状態が所定時間継続したことを含む、請求項1から請求項9のいずれか1項に記載のゲームプログラム。
  11.  前記第1処理実行ステップにおいては、前記第1移動処理が開始された後で前記第1条件が満たされたことに応じて前記第1処理が実行される、請求項1から請求項10のいずれか1項に記載のゲームプログラム。
  12.  情報処理装置のコンピュータに、
     ポインティングデバイスによって検出された入力位置を繰り返し取得する取得ステップと、
     前記ポインティングデバイスに対する入力が開始されたときの入力位置に基づいて基準位置を設定する基準位置設定ステップと、
     前記基準位置と、前記ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置とに基づいて、仮想ゲーム空間においてオブジェクトを移動させる移動処理を実行する移動処理ステップと、
     前記ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置が所定の条件を満たす場合、当該条件が満たされたときの入力位置に前記基準位置を再設定する基準位置再設定ステップとを実行させる、ゲームプログラム。
  13.  前記ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置が前記所定の条件を満たすか否かを判定する判定ステップを前記コンピュータにさらに実行させ、
     前記基準位置再設定ステップにおいては、前記判定ステップにおいて条件を満たすと判定された入力位置に前記基準位置が再設定される、請求項12に記載のゲームプログラム。
  14.   ポインティングデバイスによって検出された入力位置を繰り返し取得する取得手段と、
     前記ポインティングデバイスに対する入力が開始されたときの入力位置に基づいて基準位置を設定する基準位置設定手段と、
     前記基準位置と、前記ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置とに基づいて、仮想ゲーム空間において第1オブジェクトを移動させる第1移動処理を実行する第1移動処理手段と、
     前記ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置が、当該入力位置と前記基準位置との関係に関する第1条件を満たす場合、前記第1オブジェクトと同じまたは異なる第2オブジェクトに対する第1処理を実行する第1処理実行手段とを備える、情報処理装置。
  15.  ポインティングデバイスによって検出された入力位置を繰り返し取得する取得手段と、
     前記ポインティングデバイスに対する入力が開始されたときの入力位置に基づいて基準位置を設定する基準位置設定手段と、
     前記基準位置と、前記ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置とに基づいて、仮想ゲーム空間において第1オブジェクトを移動させる第1移動処理を実行する第1移動処理手段と、
     前記ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置が、当該入力位置と前記基準位置との関係に関する第1条件を満たす場合、前記第1オブジェクトと同じまたは異なる第2オブジェクトに対する第1処理を実行する第1処理実行手段とを備える、情報処理システム。
  16.  情報処理システムにおいて実行されるゲーム処理方法であって、
     ポインティングデバイスによって検出された入力位置を繰り返し取得する取得ステップと、
     前記ポインティングデバイスに対する入力が開始されたときの入力位置に基づいて基準位置を設定する基準位置設定ステップと、
     前記基準位置と、前記ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置とに基づいて、仮想ゲーム空間において第1オブジェクトを移動させる第1移動処理を実行する第1移動処理ステップと、
     前記ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置が、当該入力位置と前記基準位置との関係に関する所定の第1条件を満たす場合、前記第1オブジェクトと同じまたは異なる第2オブジェクトに対する第1処理を実行する第1処理実行ステップとを含む、ゲーム処理方法。
  17.  ポインティングデバイスによって検出された入力位置を繰り返し取得する取得手段と、
     前記ポインティングデバイスに対する入力が開始されたときの入力位置に基づいて基準位置を設定する基準位置設定手段と、
     前記基準位置と、前記ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置とに基づいて、仮想ゲーム空間においてオブジェクトを移動させる移動処理を実行する移動処理手段と、
     前記ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置が所定の条件を満たす場合、当該条件が満たされたときの入力位置に前記基準位置を再設定する基準位置再設定手段とを備える、情報処理装置。
  18.  ポインティングデバイスによって検出された入力位置を繰り返し取得する取得手段と、
     前記ポインティングデバイスに対する入力が開始されたときの入力位置に基づいて基準位置を設定する基準位置設定手段と、
     前記基準位置と、前記ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置とに基づいて、仮想ゲーム空間においてオブジェクトを移動させる移動処理を実行する移動処理手段と、
     前記ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置が所定の条件を満たす場合、当該条件が満たされたときの入力位置に前記基準位置を再設定する基準位置再設定手段とを備える、情報処理システム。
  19.  情報処理システムにおいて実行されるゲーム処理方法であって、
     ポインティングデバイスによって検出された入力位置を繰り返し取得する取得ステップと、
     前記ポインティングデバイスに対する入力が開始されたときの入力位置に基づいて基準位置を設定する基準位置設定ステップと、
     前記基準位置と、前記ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置とに基づいて、仮想ゲーム空間においてオブジェクトを移動させる移動処理を実行する移動処理ステップと、
     前記ポインティングデバイスに対する入力が開始されてから継続して行われる入力の入力位置が所定の条件を満たす場合、当該条件が満たされたときの入力位置に前記基準位置を再設定する基準位置再設定ステップとを含む、ゲーム処理方法。
PCT/JP2017/019055 2017-05-22 2017-05-22 ゲームプログラム、情報処理装置、情報処理システム、および、ゲーム処理方法 WO2018216078A1 (ja)

Priority Applications (7)

Application Number Priority Date Filing Date Title
CN201780091082.7A CN110678238A (zh) 2017-05-22 2017-05-22 游戏程序、信息处理装置、信息处理***以及游戏处理方法
PCT/JP2017/019055 WO2018216078A1 (ja) 2017-05-22 2017-05-22 ゲームプログラム、情報処理装置、情報処理システム、および、ゲーム処理方法
JP2019519821A JP6921192B2 (ja) 2017-05-22 2017-05-22 ゲームプログラム、情報処理装置、情報処理システム、および、ゲーム処理方法
EP17905006.7A EP3441120A4 (en) 2017-05-22 2017-05-22 GAME PROGRAM, INFORMATION PROCESSING DEVICE, INFORMATION PROCESSING SYSTEM, AND GAME PROCESSING METHOD
US16/686,688 US11198058B2 (en) 2017-05-22 2019-11-18 Storage medium storing game program, information processing apparatus, information processing system, and game processing method
JP2021122596A JP2021168972A (ja) 2017-05-22 2021-07-27 ゲームプログラム、情報処理装置、情報処理システム、および、ゲーム処理方法
JP2023070980A JP7496013B2 (ja) 2017-05-22 2023-04-24 ゲームプログラム、情報処理装置、情報処理システム、および、ゲーム処理方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2017/019055 WO2018216078A1 (ja) 2017-05-22 2017-05-22 ゲームプログラム、情報処理装置、情報処理システム、および、ゲーム処理方法

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/686,688 Continuation US11198058B2 (en) 2017-05-22 2019-11-18 Storage medium storing game program, information processing apparatus, information processing system, and game processing method

Publications (1)

Publication Number Publication Date
WO2018216078A1 true WO2018216078A1 (ja) 2018-11-29

Family

ID=64395361

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/019055 WO2018216078A1 (ja) 2017-05-22 2017-05-22 ゲームプログラム、情報処理装置、情報処理システム、および、ゲーム処理方法

Country Status (5)

Country Link
US (1) US11198058B2 (ja)
EP (1) EP3441120A4 (ja)
JP (3) JP6921192B2 (ja)
CN (1) CN110678238A (ja)
WO (1) WO2018216078A1 (ja)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022507827A (ja) * 2019-04-04 2022-01-18 ▲騰▼▲訊▼科技(深▲セン▼)有限公司 対象制御方法及び装置、電子装置及びコンピュータプログラム
JP2022509810A (ja) * 2019-04-26 2022-01-24 ▲騰▼▲訊▼科技(深▲セン▼)有限公司 動作制御方法および装置、コンピュータプログラム並びに機器
JP2022517560A (ja) * 2019-05-17 2022-03-09 テンセント・テクノロジー・(シェンジェン)・カンパニー・リミテッド 対象制御方法及び装置、電子装置並びにコンピュータプログラム

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112755531B (zh) 2018-11-28 2022-11-18 腾讯科技(深圳)有限公司 虚拟世界中的虚拟车辆漂移方法、装置及存储介质
CN109806590B (zh) * 2019-02-21 2020-10-09 腾讯科技(深圳)有限公司 对象控制方法和装置、存储介质及电子装置
CN110013671B (zh) 2019-05-05 2020-07-28 腾讯科技(深圳)有限公司 动作执行方法和装置、存储介质及电子装置
CN110090443B (zh) * 2019-05-24 2021-03-16 腾讯科技(深圳)有限公司 虚拟对象控制方法和装置、存储介质及电子装置
CN113244610B (zh) * 2021-06-02 2024-05-14 网易(杭州)网络有限公司 游戏中的虚拟移动对象控制方法、装置、设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1195650A (ja) * 1997-09-22 1999-04-09 Casio Comput Co Ltd 生物画像表示制御装置、生物画像表示制御方法、及び生物画像表示処理プログラムを記録した記録媒体
JP2002000939A (ja) * 2000-06-19 2002-01-08 Sega Corp 電子ゲーム装置、その方法及び記憶媒体
JP2012252587A (ja) * 2011-06-03 2012-12-20 Nintendo Co Ltd 入力処理プログラム、入力処理装置、入力処理方法および入力処理システム
JP2013127683A (ja) 2011-12-16 2013-06-27 Namco Bandai Games Inc プログラム、情報記憶媒体、端末、サーバ及びネットワークシステム
JP2016120131A (ja) * 2014-12-25 2016-07-07 株式会社バンダイナムコエンターテインメント ゲームシステム及びサーバ
JP6097427B1 (ja) * 2016-02-29 2017-03-15 株式会社コロプラ ゲームプログラム

Family Cites Families (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0697427A (ja) 1992-09-10 1994-04-08 Toyota Autom Loom Works Ltd 半導体装置
US20090143141A1 (en) 2002-08-06 2009-06-04 Igt Intelligent Multiplayer Gaming System With Multi-Touch Display
US7309287B2 (en) 2003-12-10 2007-12-18 Nintendo Co., Ltd. Game machine having display screen with touch panel
US7578742B2 (en) 2004-03-26 2009-08-25 Nintendo Co., Ltd. Recording medium storing video game program and video game device
JP3734819B1 (ja) 2004-07-26 2006-01-11 任天堂株式会社 ゲームプログラム、ゲーム装置、および入力装置
JP3734820B1 (ja) 2004-09-03 2006-01-11 任天堂株式会社 ゲームプログラム、ゲーム装置、および入力装置
JP2006146556A (ja) 2004-11-19 2006-06-08 Nintendo Co Ltd 画像表示処理プログラムおよび画像表示処理装置
JP2006192246A (ja) 2004-12-13 2006-07-27 Nintendo Co Ltd ゲーム装置およびゲームプログラム
JP4322225B2 (ja) 2005-04-26 2009-08-26 任天堂株式会社 ゲームプログラムおよびゲーム装置
JP4819467B2 (ja) 2005-10-04 2011-11-24 任天堂株式会社 オブジェクト移動制御プログラムおよび情報処理装置
JP5204381B2 (ja) 2006-05-01 2013-06-05 任天堂株式会社 ゲームプログラム、ゲーム装置、ゲームシステム及びゲーム処理方法
JP2008264297A (ja) 2007-04-23 2008-11-06 Namco Bandai Games Inc ゲームシステム、プログラム及び情報記憶媒体
JP5269745B2 (ja) 2009-10-30 2013-08-21 任天堂株式会社 オブジェクト制御プログラム、オブジェクト制御装置、オブジェクト制御システム及びオブジェクト制御方法
KR101116221B1 (ko) * 2010-04-27 2012-03-06 동서대학교산학협력단 터치 궤적 기반의 멀티 터치 제스처 인식 시스템 및 그 방법
JP6184658B2 (ja) 2010-08-20 2017-08-23 任天堂株式会社 ゲームシステム、ゲーム装置、ゲームプログラム、および、ゲーム処理方法
JP5943553B2 (ja) 2011-05-23 2016-07-05 任天堂株式会社 ゲームシステム、ゲーム装置、ゲームプログラム、およびゲーム処理方法
JP5943554B2 (ja) 2011-05-23 2016-07-05 任天堂株式会社 ゲームシステム、ゲーム装置、ゲームプログラム、およびゲーム処理方法
US8678927B2 (en) 2011-10-04 2014-03-25 Microsoft Corporation Game controller on mobile touch-enabled devices
KR101216307B1 (ko) 2012-06-08 2012-12-28 (주)네오위즈게임즈 패턴 입력을 통한 캐릭터 조작 방법 및 장치
KR101398086B1 (ko) 2012-07-06 2014-05-30 (주)위메이드엔터테인먼트 온라인 게임에서의 유저 제스처 입력 처리 방법
JP6274718B2 (ja) * 2012-08-08 2018-02-07 株式会社カプコン 操作デバイスおよびゲーム装置
US9884257B2 (en) * 2013-03-06 2018-02-06 Tencent Technology (Shenzhen) Company Limited Method for preventing misoperations of intelligent terminal, and intelligent terminal
CN104166468A (zh) 2013-05-17 2014-11-26 环达电脑(上海)有限公司 触控屏幕装置
JP5781563B2 (ja) * 2013-06-07 2015-09-24 株式会社コナミデジタルエンタテインメント 移動制御装置、移動制御方法、及びプログラム
US10549180B2 (en) * 2013-09-30 2020-02-04 Zynga Inc. Swipe-direction gesture control for video games using glass input devices
JP6390277B2 (ja) 2014-09-02 2018-09-19 ソニー株式会社 情報処理装置、制御方法、およびプログラム
JP5735696B1 (ja) 2014-11-05 2015-06-17 株式会社 ディー・エヌ・エー ゲームプログラム、及び、情報処理装置
JP6427414B2 (ja) * 2014-12-26 2018-11-21 株式会社バンダイナムコエンターテインメント 入力処理装置及びプログラム
JP2016134052A (ja) 2015-01-21 2016-07-25 株式会社コロプラ インターフェースプログラム及びゲームプログラム
JP5865535B1 (ja) * 2015-04-16 2016-02-17 株式会社コロプラ ユーザ・インタフェース・プログラム
JP2016218774A (ja) * 2015-05-21 2016-12-22 株式会社コロプラ プログラム
CN105094613B (zh) * 2015-08-03 2017-10-20 努比亚技术有限公司 终端控制装置及方法
CN105872664A (zh) * 2016-03-31 2016-08-17 *** 触屏游戏操控方法、装置和***

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1195650A (ja) * 1997-09-22 1999-04-09 Casio Comput Co Ltd 生物画像表示制御装置、生物画像表示制御方法、及び生物画像表示処理プログラムを記録した記録媒体
JP2002000939A (ja) * 2000-06-19 2002-01-08 Sega Corp 電子ゲーム装置、その方法及び記憶媒体
JP2012252587A (ja) * 2011-06-03 2012-12-20 Nintendo Co Ltd 入力処理プログラム、入力処理装置、入力処理方法および入力処理システム
JP2013127683A (ja) 2011-12-16 2013-06-27 Namco Bandai Games Inc プログラム、情報記憶媒体、端末、サーバ及びネットワークシステム
JP2016120131A (ja) * 2014-12-25 2016-07-07 株式会社バンダイナムコエンターテインメント ゲームシステム及びサーバ
JP6097427B1 (ja) * 2016-02-29 2017-03-15 株式会社コロプラ ゲームプログラム

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MARIO KART DS KANPEKI BAKUSO GUIDEBOOK (1ST ED.), 24 January 2006 (2006-01-24), pages 26, XP009515499, ISBN: 475772618X *
TOSHIAKI YASUDA: "E3 2012, GREE Shutten Booth Report 'METAL SLUG', 'Biohazard' Nado Shinsaku Title o Ikkyo ni Taiken", 8 June 2012 (2012-06-08), XP055614355, Retrieved from the Internet <URL:https://game.watch.impress.co.jp/docs/news/538861.html> *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022507827A (ja) * 2019-04-04 2022-01-18 ▲騰▼▲訊▼科技(深▲セン▼)有限公司 対象制御方法及び装置、電子装置及びコンピュータプログラム
JP7191220B2 (ja) 2019-04-04 2022-12-16 ▲騰▼▲訊▼科技(深▲セン▼)有限公司 対象制御方法及び装置、電子装置及びコンピュータプログラム
JP2022509810A (ja) * 2019-04-26 2022-01-24 ▲騰▼▲訊▼科技(深▲セン▼)有限公司 動作制御方法および装置、コンピュータプログラム並びに機器
JP7176115B2 (ja) 2019-04-26 2022-11-21 ▲騰▼▲訊▼科技(深▲セン▼)有限公司 動作制御方法および装置、コンピュータプログラム並びに機器
US11839821B2 (en) 2019-04-26 2023-12-12 Tencent Technology (Shenzhen) Company Limited Racing game operation control method and apparatus, storage medium, and device
JP2022517560A (ja) * 2019-05-17 2022-03-09 テンセント・テクノロジー・(シェンジェン)・カンパニー・リミテッド 対象制御方法及び装置、電子装置並びにコンピュータプログラム
JP7479380B2 (ja) 2019-05-17 2024-05-08 テンセント・テクノロジー・(シェンジェン)・カンパニー・リミテッド 対象制御方法及び装置、電子装置並びにコンピュータプログラム

Also Published As

Publication number Publication date
EP3441120A4 (en) 2020-01-22
JPWO2018216078A1 (ja) 2020-03-26
JP2023089287A (ja) 2023-06-27
US11198058B2 (en) 2021-12-14
CN110678238A (zh) 2020-01-10
EP3441120A1 (en) 2019-02-13
JP7496013B2 (ja) 2024-06-05
JP6921192B2 (ja) 2021-08-18
JP2021168972A (ja) 2021-10-28
US20200078668A1 (en) 2020-03-12

Similar Documents

Publication Publication Date Title
JP7496013B2 (ja) ゲームプログラム、情報処理装置、情報処理システム、および、ゲーム処理方法
JP6921193B2 (ja) ゲームプログラム、情報処理装置、情報処理システム、および、ゲーム処理方法
JP6955557B2 (ja) ゲーム画面の表示制御方法、装置、記憶媒体及び電子機器
US10857462B2 (en) Virtual character controlling method and apparatus, electronic device, and storage medium
US10478734B2 (en) Game control program, game control method, and game control device
CN107636590B (zh) 用于电子装置上所执行的游戏的介质、服务器、装置和方法
US11117048B2 (en) Video game with linked sequential touch inputs
JP5676036B1 (ja) ユーザインターフェースプログラム及び当該プログラムを備えたゲームプログラム
US9229614B2 (en) Storage medium storing information processing program, information processing device, information processing system, and method for calculating specified position
CN108351748B (zh) 计算机可读介质和便携式终端
KR20150100236A (ko) 터치 입력에 의해 제어되는 단말 및 단말 제어 방법
JP2019013297A (ja) ゲームプログラム、記録媒体、方法および情報処理装置
JP6554220B1 (ja) プログラム、処理装置及び処理方法
CN115708953A (zh) 游戏中控件的控制方法、装置以及触控终端
CN116964550A (zh) 虚拟控制器的无限拖动和滑动
JP2018033950A (ja) ゲームプログラム、記録媒体、方法および情報処理装置
JP2018033796A (ja) ゲームプログラム、記録媒体、方法および情報処理装置

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2017905006

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2017905006

Country of ref document: EP

Effective date: 20181019

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17905006

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019519821

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE