WO2016167213A1 - ユーザ入力の操作性を向上させるプログラム、電子装置、及び方法 - Google Patents

ユーザ入力の操作性を向上させるプログラム、電子装置、及び方法 Download PDF

Info

Publication number
WO2016167213A1
WO2016167213A1 PCT/JP2016/061675 JP2016061675W WO2016167213A1 WO 2016167213 A1 WO2016167213 A1 WO 2016167213A1 JP 2016061675 W JP2016061675 W JP 2016061675W WO 2016167213 A1 WO2016167213 A1 WO 2016167213A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch
reference position
displacement
contact
input device
Prior art date
Application number
PCT/JP2016/061675
Other languages
English (en)
French (fr)
Inventor
保孝 副島
浩平 鎌田
Original Assignee
株式会社Cygames
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 株式会社Cygames filed Critical 株式会社Cygames
Priority to CN201680034425.1A priority Critical patent/CN107636590B/zh
Priority to KR1020177032255A priority patent/KR101987858B1/ko
Publication of WO2016167213A1 publication Critical patent/WO2016167213A1/ja
Priority to US15/783,824 priority patent/US10391399B2/en
Priority to HK18106230.7A priority patent/HK1246896A1/zh

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/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/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/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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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
    • 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/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/10Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
    • A63F2300/1068Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad
    • A63F2300/1075Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad using a touch screen

Definitions

  • the present invention relates to a program, an electronic device, and a method for improving operability of user input in the electronic device.
  • Patent Document 1 describes that when a touch panel is touched, a virtual controller is displayed at the touch position.
  • Patent Document 2 the operation reference position of the touch panel is determined based on the detected touch position, an operation instruction is generated according to the direction from the operation reference position to the latest touch position, and the operation is performed when the latest touch position moves. It is described that the reference position is moved so as to approach the latest touch position.
  • the operation reference position or the virtual controller when the operation reference position or the virtual controller is fixed, the user wants to perform an input to move the object in the reverse direction after moving the object by largely moving the touch position from the operation reference position. Needs to greatly return the touch position. Further, when the moving direction and moving distance of the object are based on the relative direction and distance of the touch position from the operation reference position, the user who intends to reverse the object moves the touch position through the operation reference position. Must move to the other side. At this time, in the process in which the touch position approaches the operation reference position, the object gradually decelerates and stops when it reaches the operation reference position.
  • the object When the touch position moves in the opposite direction beyond the operation reference position, the object is reversed, and the object is accelerated and moved in the opposite direction as the touch position moves away from the operation reference position.
  • Such an operation of the object may not accurately reflect the user's intention. That is, for example, when an obstacle approaches from the direction of travel in the game, the user intends to avoid the obstacle by quickly inverting the object and moving it in the opposite direction at high speed. Nevertheless, when using the current input method, the object decelerates the moving speed in the current traveling direction, stops, reverses, starts moving slowly in the reverse direction, and gradually The process of accelerating must be executed. In this case, even if the user performs an input for the reverse movement quickly, the object cannot quickly execute the high-speed movement in the reverse direction, so that the obstacle cannot be avoided.
  • the operation reference position can be made to follow the latest touch position so that the user's latest touch position is not separated from the operation reference position by a predetermined distance or more. Therefore, even if it is desired to move the object by inverting it, it is not necessary to move the touch position beyond a predetermined distance. However, there is no change that the touch operation is required to return the touch position to the operation reference position and move the touch position to the opposite side of the operation reference position. And even if you want to move the object in a reverse direction, make sure to decelerate the current moving speed in the direction of travel, stop it, reverse it, start moving at a low speed in the reverse direction, and gradually accelerate it. There is no difference in that it must be executed. In addition, for a user who does not want to move the operation reference position, unintended control may be performed if the operation reference position is always moved so as to approach the latest touch position.
  • the program as one aspect of the present invention includes a display and a contact-type position input device, and a touch position corresponding to a touch on the contact-type position input device is set as an input position on the contact-type position input device.
  • the predetermined condition is a displacement position that is a touch position acquired after acquiring the operation position held as the displacement reference position, the operation reference position, and the The program includes at least that one of the internal angles of the triangle formed by three points with the displacement reference position satisfies a predetermined reference.
  • the step of moving the object in the game displayed on the display is based on at least one of a direction from the operation reference position to the operation position and a distance between the operation reference position and the operation position. Then, the object in the game displayed on the display is moved.
  • the predetermined reference is an angle formed by the straight line BA and the straight line BC or a straight line CA and a straight line, where A is the operation reference position, B is the displacement reference position, and C is the displacement position.
  • the angle formed by CB is not more than a predetermined angle, or the angle formed by straight line AB and straight line AC is not less than a predetermined angle.
  • the predetermined condition is that the touch position movement from the displacement reference position to the displacement position is a predetermined speed or more and / or the displacement position is a predetermined distance or more from the displacement reference position.
  • the step of resetting the operation reference position when the touch position movement satisfying the predetermined condition is detected includes the step of setting the operation reference position when the touch position movement satisfying the predetermined condition is detected. Reset is performed based on at least one of the displacement reference position and the displacement position.
  • the program according to one aspect of the present invention further corresponds to the operation reference position on the display with a display object for clearly indicating to the electronic device a direction from the operation reference position to the operation position.
  • a step of displaying between a position and a position corresponding to the operation position is executed.
  • the electronic device is a portable electronic device, and the display and the contact-type position input device are configured by a touch panel integrated with them.
  • a computer-readable storage medium stores the program
  • a server is a server that supplies the program to an electronic device.
  • An electronic device as one embodiment of the present invention includes a display, a contact-type position input device, and a computer-readable storage medium storing a program for a game, and responds to a touch on the contact-type position input device.
  • An electronic device that acquires the touch position as coordinates on a coordinate plane corresponding to an input position on the contact-type position input device, wherein the program sets an operation reference position on the coordinate plane in the electronic device.
  • the operation reference position and the operation position A step of moving the object; a step of holding the operation position as a displacement reference position; a step of detecting a touch position movement satisfying a predetermined condition from the displacement reference position; and a touch position movement satisfying the predetermined condition
  • the operation reference position is reset on the coordinate plane, and the predetermined condition is the touch position acquired after acquiring the operation position held as the displacement reference position and the operation
  • the electronic device includes at least that an interior angle of any one of triangles formed by three points of a reference position and the displacement reference position satisfies a predetermined reference.
  • An electronic device is an electronic device that includes a display and a contact-type position input device, and that can execute a game.
  • the touch position corresponding to a touch on the contact-type position input device is the contact.
  • Touch position acquisition unit that acquires as coordinates on a coordinate plane corresponding to an input position on the mold position input device, operation reference position setting means that sets an operation reference position on the coordinate plane, and the contact type position input device
  • An operation position setting means for setting an operation position on the coordinate plane according to the touch position acquired when the touch is performed, and the display is displayed on the display based on the operation reference position and the operation position.
  • Object display means for moving an object in a game, displacement reference position holding means for holding the operation position as a displacement reference position, Touch operation detecting means for detecting a touch position movement satisfying a predetermined condition from the position reference position, and an operation reference position for resetting the operation reference position on the coordinate plane when the touch position movement satisfying the predetermined condition is detected.
  • Resetting means, and the predetermined condition is formed by three points of a touch position acquired after acquiring the operation position held as the displacement reference position, the operation reference position, and the displacement reference position.
  • An electronic device including at least that an interior angle of any one of the triangles satisfies a predetermined criterion.
  • a method as one aspect of the present invention includes a display and a contact-type position input device, and a touch position corresponding to a touch on the contact-type position input device corresponds to an input position on the contact-type position input device.
  • a method for a game executed in an electronic device that obtains coordinates in a coordinate plane wherein a step of setting an operation reference position on the coordinate plane and a touch on the contact-type position input device are performed Determining an operation position on the coordinate plane according to a touch position acquired when a touch is made on the contact-type position input device, the operation reference position, and the operation Moving an object in the game displayed on the display based on the position, and holding the operation position as a displacement reference position Detecting a touch position movement satisfying a predetermined condition from the displacement reference position; resetting the operation reference position on the coordinate plane when detecting a touch position movement satisfying the predetermined condition;
  • the predetermined condition is a triangular shape formed by three points of the touch position acquired after acquiring the operation position held as the displacement reference
  • the operability of the object can be improved. Since the operation reference position can be changed (reset) by moving the touch position that satisfies a predetermined condition, if the user wants to input in the reverse direction after moving the touch position greatly from the operation reference position, the touch position is changed. Since it is possible to input in the reverse direction without greatly returning, operability is improved. Furthermore, the object can be reversed and moved in the direction opposite to the direction in which it was moved immediately before the speed is not reduced, thereby realizing a quick reversing operation of the user with respect to the object. Further, since the operation reference position is not reset unless the touch position movement satisfying the predetermined condition is performed, the possibility that the operation reference position is reset unintentionally for the user can be reduced.
  • FIG. 1 It is a block diagram of the electronic device which concerns on one embodiment of this invention.
  • the display part which has a coordinate axis is shown.
  • 3 is a flowchart according to the first embodiment of the present invention.
  • 3 is a flowchart according to the first embodiment of the present invention.
  • 3 is a flowchart according to the first embodiment of the present invention.
  • 3 is a flowchart according to the first embodiment of the present invention.
  • 3 is a flowchart according to the first embodiment of the present invention. It is a flowchart which concerns on the 2nd Embodiment of this invention. It is a flowchart which concerns on the 3rd Embodiment of this invention. It is a flowchart which concerns on the 4th Embodiment of this invention. It is a figure which shows one Example of the user's touch operation method in the electronic device which concerns on one Embodiment of this invention.
  • FIG. 1 shows an example of a configuration diagram of an electronic device 100 of the present invention.
  • the electronic device 100 includes a processing unit 101, a display unit 102, a contact type input unit 103, a storage unit 104, and a communication unit 105.
  • these components are connected by the bus 110, but may be connected individually as necessary.
  • the electronic device 100 is preferably a smartphone, but includes, for example, a computer including a contact input device such as a mobile phone, a portable information terminal, a tablet computer, a video game machine, a portable video game machine, and a touch pad. .
  • a contact input device such as a mobile phone, a portable information terminal, a tablet computer, a video game machine, a portable video game machine, and a touch pad.
  • the processing unit 101 performs various processes such as a game process and an image generation process based on the program and input data from the contact input unit 103.
  • the processing unit 101 includes a processor that controls each unit included in the electronic apparatus 100, and performs various processes using the storage unit 104 as a work area.
  • the storage unit 104 includes an internal memory 106 and / or an external memory 107.
  • the internal memory 106 may be anything as long as it can store information such as a nonvolatile memory or a volatile memory. It may be a hard disk.
  • the electronic device 100 when it is a smartphone, it includes ROM and RAM.
  • the internal memory 106 stores a program for executing the present invention and various data that can be referred to when the program is executed.
  • the program includes a program for every application that requests user input such as a video game, a web browser, etc., and various types of data include, for example, image data for displaying various images during the game, and a storage unit during the game. Coordinate data to be described later that can be written in 104 is included.
  • the external memory 107 is a detachable memory such as a memory card, but includes any form of external storage device. Data stored in the internal memory 106 can also be stored in the external memory 107. For example, a program for executing the present invention may be stored in the external memory 107 and executed by the electronic apparatus 100.
  • the communication unit 105 performs wireless communication such as mobile communication, wireless LAN, and wired communication using an Ethernet (registered trademark) cable, a USB cable, or the like.
  • the communication unit 105 can also download the program from the server and store it in the storage unit 104. It is also possible to store a program on an optical disk such as a CD / DVD, connect an optical drive to the communication unit 105, read the program from the optical disk, and store it in the storage unit 104.
  • Display unit (display) 102 displays an image output by a program executed in electronic device 100.
  • a liquid crystal display is preferable, but a display using an organic EL or a plasma display may be used.
  • the contact-type input unit 103 gives an input to the electronic device 100 based on a position touched (touched) by a user (player), such as a touch pad.
  • the display unit 102 and the contact-type input unit 103 are an integrated touch panel, but may be in separate forms arranged at different positions.
  • the input by the user's touch on the display unit 102 is accepted, and the contact type input unit 103 displays the coordinates corresponding to the position touched by the user. Detect and apply to electronic device 100.
  • the detection method can include all methods (for example, a capacitance method in a touch panel), but the contact-type input unit 103 detects that a user's finger or the like has touched at least two points at the same time, and each corresponding to the detected position It is preferable that the coordinate information is given to the electronic device 100.
  • the display unit 102 and the contact input unit 103 are an integrated touch panel.
  • the contact-type input unit 103 is designated by coordinates using a coordinate plane composed of a first axis and a second axis that is substantially orthogonal to the first axis.
  • the first axis is substantially parallel to the short side of the display unit 102 (contact type input unit 103) and the second axis is substantially parallel to the long side of the display unit 102.
  • the coordinate axis (horizontal axis) in the first axis direction and the coordinate axis (vertical axis) in the second axis direction are represented as coordinates (x, y).
  • the processing unit 101 can acquire a touch position detected by the touch panel as the coordinate (x, y) data using a program or the like.
  • the resolution can be 640 dots in the horizontal axis direction and 1,136 dots in the vertical axis direction.
  • the dot may be a single point or a certain region (cell).
  • the distance between the dots is usually different for each touch panel (electronic device).
  • “distance” represents a coordinate distance. Note that the coordinate setting shown in FIG. 2 is an example of this, and the coordinate axes can be set by a program. Also, polar coordinates can be set, and other coordinate systems can be set by coordinate conversion.
  • the coordinates are set in the contact type input unit 103 as described above, and the display unit 102 has a contact type. Coordinates corresponding to the coordinates of the input unit 103 can be set.
  • a smartphone is used as the electronic device 100, and in a game executed by the smartphone, control is performed on an object (player character) operated by the user displayed on the touch panel 300.
  • FIGS. 3a to 3i illustrate an operation performed by a touch operation of the object 311 displayed on the touch panel 300 of the smartphone.
  • 4a to 4g are flowcharts showing information processing by the touch operation. The operation of the present invention will be described using these.
  • FIG. 3 a shows a game screen displayed on the touch panel 300, and an object 311 in the game space is displayed on the left side of the touch panel 300.
  • the user has not touched the touch panel 300 yet.
  • the smartphone waits for the user to touch (contact) the touch panel 300 (step 401).
  • the touch by the user is described as being performed by the user's finger.
  • the touch by any finger may be used, and other types such as a stylus pen may be used.
  • the user's touch operation method there is a method of operating the touch panel with only the thumb of the held hand while holding the vertical casing with one hand as shown in FIG.
  • FIG. 3 b shows a state where the user's finger 301 touches the touch panel 300.
  • step 401 the touch on the touch panel 300 is determined. If it is determined that the touch is made, the touch position is detected as coordinates.
  • FIG. 3b also shows how the operation reference position PA is set.
  • the operation reference position can be set at a position shifted by a predetermined position based on the coordinates (x (0), y (0)) of the touch position. Furthermore, the operation reference position may be a predetermined coordinate determined in advance. In this case, steps 401 to 403 can be omitted.
  • step 404 the data of the coordinates P (1) to P (N) is cleared, and in step 405, the counter N is set to zero.
  • a predetermined time is waited for the screen update.
  • a smart phone is used as the electronic device 100, but in general, a smart phone performs touch detection at regular intervals and updates the screen at regular intervals.
  • the screen update unit time ⁇ t can be 1/30 seconds, 1/60 seconds, 1/120 seconds, or the like.
  • the waiting time may be a predetermined time so that touch detection is performed in conjunction with an integral multiple of the screen update cycle, or the time required for the smartphone to perform predetermined information processing. It doesn't matter.
  • step 407 the counter N is incremented. Subsequently, in step 408, it is determined whether or not the user continues touching. When the user releases the finger 301 from the touch panel 300, the flow of this flowchart ends. When the flow ends, the flow starts again from the start of FIG. 4a. If the predetermined coordinates determined in advance are used as the operation reference position and steps 401 to 403 are omitted, the flow starts from step 408.
  • step 408 If it is determined in step 408 that the user is touching, the touch position is detected as coordinates.
  • FIGS. 3c and 3d show how the operation position PC is set. The operation position PC is updated every time P (N) is acquired in step 409.
  • a display object 312 is displayed between a position corresponding to the operation reference position on the display unit 102 and a position corresponding to the operation position.
  • the display object 312 is for clearly indicating the direction from the operation reference position to the operation position to the user, and may be a display object such as an arrow shown in FIG. 3d or may have elasticity. It may be a display object.
  • the display object 312 may have different widths and shapes according to the distance between the operation reference position and the operation position.
  • the storage unit 104 may store image data corresponding to the distance between the operation reference position and the operation position in advance and display a display object corresponding to the distance by a program. The display object may be deformed and displayed so as to have a corresponding size.
  • the processing is based on the operation reference position and the operation position.
  • the object is based on at least one of the direction from the operation reference position to the operation position and the distance between the operation reference position and the operation position. 311 is moved.
  • the displacement amount Dx (AC) at the X coordinate of the operation position PC from the operation reference position PA and the displacement amount Dy (AC) at the Y coordinate are calculated based on the following equations and stored in the storage unit 104.
  • the displacement is not an absolute value but a value including positive and negative.
  • the positive and negative signs of the displacement amounts Dx (AC) and Dy (AC) represent the direction of displacement from the operation reference position, and the absolute value thereof represents the distance from the operation reference position. Thereby, the displacement direction of the user's touch position is determined, and the object 311 is controlled. If the X coordinate displacement amount Dx (AC) is a positive value, the displacement direction from the operation reference position is the right direction, the object 311 is moved to the right, and the X coordinate displacement amount Dx (AC) is a negative value. If so, the displacement direction is the left direction, and the object 311 is moved to the left.
  • the Y coordinate displacement amount Dy (AC) is a positive value
  • the direction of displacement from the operation reference position is the upward direction
  • the object 311 is moved upward
  • the Y coordinate displacement amount Dy (AC) is If the value is negative, the displacement direction is downward, and the object 311 is moved downward. Further, the object 311 may be jumped when the displacement direction is upward, or may be squatted when the displacement direction is downward.
  • FIG. 3c shows the display object 312 displayed by the touch position movement of FIG. 3c.
  • the absolute values of Dx (AC) and Dy (AC) can be made to correspond to the moving speed of the object 311. If the absolute values of Dx (AC) and Dy (AC) are smaller than a predetermined value, the object 311 may not be moved. This can prevent the object 311 from moving when the user's finger 301 moves slightly unintentionally. On the other hand, when the absolute values of Dx (AC) to Dy (AC) are larger than a predetermined value, the object 311 is not moved at a speed exceeding the moving speed of the object 311 corresponding to the predetermined value. You can also.
  • steps 410 and 411 are processes based on the operation reference position and the operation position set in the previous steps, and the order can be changed.
  • step 412 it is determined whether or not the counter N is 1.
  • the processing in this step proceeds to step 413 because the counter N is 1 at the time of the first step 412 processing.
  • FIGS. 3c and 3d show how the displacement reference position PB is set. That is, in step 412, it is determined whether or not the displacement reference position is set. If the displacement reference position is not set, the displacement reference position is set in step 413 and the process returns to step 406.
  • the process waits for a predetermined time in Step 406 and increments the counter N in Step 407.
  • the counter N becomes 2 in step 407.
  • step 408 it is determined whether or not the user continues touching.
  • the operation position PC is set to the acquired coordinate P (N) in step 409 and stored in the storage device 104.
  • the display object 312 is displayed on the display unit 102 as described above, and the object 311 is moved.
  • FIG. 3e and FIG. 3f show the state at this time.
  • step 412 it is determined whether or not the counter N is 1. If N is 2 or more, the process proceeds to step 414.
  • Step 404 the process returns to Step 404, the position data other than the operation reference position PA, the displacement reference position PB, and the operation position PC are cleared (Step 404), and the counter N is cleared (Step 405). Proceed to 406.
  • a straight line connecting PA and PB is a straight line AB or straight line BA
  • a straight line connecting PB and PC is a straight line BC or straight line CB
  • a straight line connecting PC and PA is a straight line CA or straight line AC
  • the predetermined reference is, for example, straight line BA
  • the angle formed between the straight line BC and the straight line BC or the straight line CB is equal to or smaller than a predetermined angle, or the angle formed between the straight line AB and the straight line AC is equal to or larger than the predetermined angle.
  • FIG. 3g shows the operation reference position PA, the displacement reference position PB, and the operation position PC in FIG. 3e.
  • an angle ⁇ formed by the straight line BA and the straight line BC can be ⁇ 25 degrees or less (0 ° ⁇
  • cos ⁇ can be calculated based on the following equation.
  • the predetermined angle is equal to or greater than the value of cos (25 °) ( ⁇ 0.906), it is determined that the predetermined criterion is satisfied.
  • the angle ⁇ formed by the straight line AB and the straight line AC can be 90 degrees or more and 270 degrees or less. In this case, the value of cos ⁇ can be calculated in the same manner as equations (3) and (4).
  • the angle ⁇ formed by the straight line CA and the straight line CB can be within ⁇ 90 degrees (cos ⁇ ⁇ 0).
  • the determination process can be performed by storing Dth in the storage unit 104 and comparing it with the value of the distance D.
  • the distance here represents the distance on the coordinates as described above.
  • the predetermined distance here may be better determined at a certain ratio with respect to the distance that the finger is actually moved or the size of the entire touch-type input unit such as a touch panel.
  • the desired Dth can be determined by calculating backward from the distance between the dots for each type of touch panel (each contact type input device).
  • the ratio of the predetermined distance Dth to the entire touch panel screen is determined for each screen size (for example, the number of inches) of the touch panel. Can be determined.
  • step 416 it is determined in step 416 whether or not the user's touch position movement from PB to PC is equal to or higher than a predetermined speed Vth. This is determined, for example, as follows. If the touch position moving speed by the user from the PB to the PC is V, the speed V can be calculated as follows.
  • the determination process can be performed by storing Vth in the storage unit 104 and comparing it with the value of V. If V is smaller than Vth, the process returns to step 404 as in the case where the predetermined standard is not satisfied in step 414.
  • step 417 the operation reference position PA is reset to the coordinates of the displacement reference position PB.
  • FIG. 3e shows an example in which the user moves the touch position from the state of FIG. 3d and the touch position movement satisfies the conditions of the above steps 414 to 416.
  • the operation reference position PA is reset to the original displacement reference position PB as shown in FIG. 3h.
  • the direction from the operation reference position PA, which was facing the upper right direction in FIG. 3D, to the operation position PC is changed to the lower left direction in FIG. 3h. That is, the object 311 can be moved in the direction opposite to the direction in which the object 311 has been moved to just before.
  • the coordinates of the reset destination of the operation reference position PA are not limited to the coordinates of the displacement reference position PB, but are reset to predetermined coordinates based on the coordinates of the displacement reference position PB and / or the operation position PC. be able to. For example, it can be reset to an arbitrary point on a straight line connecting PB and PC.
  • the coordinates of the operation position PC may be reset.
  • FIG. 3 f shows an example in which the user moves the touch position from the state of FIG. 3 d and the touch position movement does not satisfy the condition of step 414. If this condition is not satisfied, the process returns to step 404.
  • the operation position PC is set in step 409, and the operation reference position PB is set in step 413. Therefore, when the touch position is moved without satisfying the condition of step 414, the displacement reference position PB is sequentially set to the operation position PC as the touch position movement destination.
  • the direction from the operation reference position PA to the operation position PC is the right direction, the object 311 is moved to the right direction.
  • step 417 After resetting the operation reference position PA in step 417, the process returns to step 404, and the processing of this flowchart is continued until it is determined in step 408 that the user is not touching.
  • step 406 a predetermined time is waited, and in step 407, the counter N is incremented. In the case of going through step 415, the counter N becomes 3 or more in step 407.
  • step 408 it is determined whether or not the user continues touching. When the user releases the finger 301 from the touch panel 300, the flow ends. If it is determined that the user is still touching, in step 409, the operation position PC is set to the acquired coordinates P (N). In subsequent steps 410 and 411, the display object 312 is displayed on the display unit 102 as described above, and the object 311 is moved.
  • FIG. 3 i shows the state at this time, and is an example in which the user moves the touch position from the state of FIG. 3 d and the touch position movement does not satisfy the condition of step 415.
  • the operation reference position PA and the displacement reference position PB are not changed, and it can be confirmed that the operation position PC is changed.
  • step 412 and step 414 it is determined again in step 415 whether PB and PC are separated by a predetermined distance Dth or more.
  • the process returns to step 404. If PB and PC are separated by a predetermined distance or more, the process proceeds to step 416. If not, the process from step 406 is repeated. At each iteration, the count N is incremented in step 407.
  • step 406 to step 415 are continuously executed for a certain number of times or more, the data will continue to be affected by the old data, and there is a possibility that a determination that the user's latest intention is not sufficiently reflected is made. Therefore, it is preferable that the determination of the touch position movement satisfying the predetermined conditions of Step 414 to Step 416 is performed on a time scale in which the user's intention is accurately reflected.
  • step 415 when the PB and the PC are not separated by a predetermined distance or more in step 415, for example, the processing shown in FIG. 4c is performed before returning to step 406.
  • step 418 it is determined whether or not the counter N is larger than a predetermined value Nth. If the counter N is less than or equal to the predetermined value Nth, the process returns to step 406 and the flow continues. When the counter N exceeds the predetermined value Nth, the process proceeds to step 419.
  • P (1) is the original P (2)
  • P (2) is the original P (3)
  • P (Nth-1) P (Nth).
  • the original P (1) data is deleted by this processing. Further, the displacement reference position PB is reset to the updated coordinate position of P (1), and the counter N is set to Nth.
  • the flow of FIG. 4d can be used.
  • the process when the counter N is equal to or smaller than the predetermined value Nth in step 418, the process returns to step 406, and when the counter N exceeds the predetermined value Nth, the process returns to step 404, thereby the present invention aims.
  • a processing flow that does not lose operability can be obtained. Even when such a flow is not included, a processing flow that does not lose the operability intended by the present invention can be achieved by using a ring buffer as a memory for storing the coordinate data P (N). .
  • the angle condition (step 414), the distance condition (step 415), and the speed condition (step 416) are used as conditions for touch position movement necessary for resetting the operation reference position PA. It is embodiment containing.
  • the angle condition it is possible to determine the user's intention to invert the object 311 and move it in the direction opposite to the direction in which the object 311 was moved to just before. For example, when the angle ⁇ formed by the straight line AB and the straight line BC is 25 degrees or less, it indicates the user's intention to reverse the object 311 and move it in the direction opposite to the direction in which the object 311 was moved immediately before It is thought that. Further, when the touch position is slightly moved by the distance condition and speed condition determination, the operation reference position can not be reset.
  • the operation reference position As a result, it is possible to prevent the operation reference position from being reset due to camera shake or the like that is not based on the intention of the user's reversing operation.
  • the possibility of resetting the operation reference position unintended for the user can be reduced.
  • the user's intention can be determined by performing at least the angle condition determination without performing all these condition determinations.
  • step 416 when the speed condition of step 416 is not satisfied, the process returns to step 406, and the acquired coordinate data, counter N, and displacement reference position are not reset.
  • the speed condition of the user's touch position movement can be determined by averaging over a long time compared to the first embodiment.
  • the processing shown in FIG. 1 for example, the processing shown in FIG.
  • FIG. 4f A third embodiment of the present invention will be described. As shown in FIG. 4f, this embodiment is the same as the second embodiment except that step 415 of the second embodiment is not executed.
  • step 416 the determination process of step 416 is performed.
  • the conditions for the determination process can be reduced, and the speed condition of the user's touch position movement can be averaged and determined over a longer time compared to the first embodiment, as in the second embodiment. it can.
  • the processing shown in FIG. 4c is performed.
  • FIG. 4g A fourth embodiment of the present invention will be described. As shown in FIG. 4g, this embodiment is the same as the third embodiment except that step 416 of the third embodiment is not executed.
  • the operation reference position is reset when the angle condition of step 414 is satisfied.
  • the conditions for the determination process can be reduced.
  • This embodiment can be effective when frequent reversal operations are required.
  • the present embodiment is a computer-readable storage medium storing a program for realizing the operation of the present invention described above.
  • the present embodiment is a server that can supply an electronic device with a program that realizes the operation of the present invention described above.
  • the server can cause the electronic device to download the program in wired or wireless communication.
  • the present embodiment is an electronic device including an electronic circuit that realizes part or all of the operations of the present invention described above.
  • a process or operation can be freely performed at a certain step as long as there is no inconsistency in the process or operation such as using data that should not be used at that step. Can be changed.

Abstract

電子装置におけるユーザ入力の操作性を向上させる。 本発明はディスプレイ及び接触型位置入力装置を有する電子装置において実行されるゲームのためのプログラムであって、当該電子装置に、座標平面上に操作基準位置を設定するステップと、接触型位置入力装置上へのタッチがされているかを判断するステップと、接触型位置入力装置上へのタッチがされている場合に取得されるタッチ位置に応じて座標平面上に操作位置を設定するステップと、操作基準位置と操作位置に基づいてディスプレイ上に表示されるゲームにおけるオブジェクトを移動させるステップと、操作位置を変位基準位置として保持するステップと、変位基準位置からの所定条件を満たすタッチ位置移動を検出するステップと、所定条件を満たすタッチ位置移動を検出した場合に操作基準位置を座標平面上に再設定するステップと、を実行させる。

Description

ユーザ入力の操作性を向上させるプログラム、電子装置、及び方法
 本発明は電子装置におけるユーザ入力の操作性を向上させるプログラム、電子装置、及び方法に関する。
 近年のタッチパネル技術の向上に伴い、タッチパネル上のユーザインタフェースを介してユーザ入力を行う電子装置が広く普及してきた。そして、電子装置において実行されるゲームにおいては、従来型の物理的なコントローラによるユーザ入力に代えて、電子装置に備えられたタッチパネルを介してユーザ入力を行う形態が広く普及してきている。
 特にスマートフォン等に代表される小型の携帯型電子装置の普及が急速に進み、このような携帯型電子装置上で実行されるゲームも数多くリリースされている。このような状況において、タッチパネルに表示されたオブジェクト(例えば、プレイヤキャラクタ)の操作方法については、様々な技術が提案されている。例えば特許文献1には、タッチパネルがタッチされると、当該タッチ位置に仮想コントローラを表示することが記載されている。さらに特許文献2には、検出したタッチ位置に基づいてタッチパネルの操作基準位置を定め、操作基準位置から最新のタッチ位置に対する向きに応じて操作指示を生成するとともに、最新のタッチ位置が移動すると操作基準位置を最新タッチ位置に近付けるように移動させることが記載されている。
特許第4932010号 特許第5487262号
 しかしながら、操作基準位置又は仮想コントローラが固定されていると、ユーザがタッチ位置を操作基準位置から大きく移動してオブジェクトを移動させた後に、逆方向へオブジェクトを移動させるように入力を行いたい場合には、タッチ位置を大きく戻す必要がある。さらに、オブジェクトの移動方向及び移動距離が操作基準位置からのタッチ位置の相対的な方向及び距離に基づく場合には、オブジェクトの反転移動を意図したユーザは、タッチ位置を操作基準位置を通過させて反対側まで移動させなければならない。この際に、タッチ位置が操作基準位置に接近する過程において、オブジェクトは徐々に減速し、操作基準位置に到達した時点で停止する。そして、タッチ位置が操作基準位置を越えて反対に移動したときに、オブジェクトは反転し、タッチ位置が操作基準位置から離れるほど反対方向へ加速して移動していく。このようなオブジェクトの操作は、ユーザの意図を適確に反映させるものではない場合がある。すなわち、例えば、ゲームにおいて進行方向から障害物が迫ってきた場合に、ユーザは、オブジェクトをすばやく反転させて、高速で反対方向へ移動させて、障害物を回避させることを意図する。それにも拘わらず、現在の入力方式を用いた場合には、オブジェクトは、現在の進行方向への移動速度を減速させ、停止し、反転し、逆方向へ低速にて移動を開始し、徐々に加速する、という過程を必ず実行されなければならない。この場合には、ユーザがすばやく反転移動のための入力を行ったとしても、オブジェクトが逆方向への高速移動をすばやく実行できないため、障害物を回避することができない。
 操作基準位置を最新のタッチ位置に近付けるように移動させる方式においては、ユーザの最新タッチ位置が操作基準位置から所定距離以上離れないように、操作基準位置を最新のタッチ位置に追従させることができるから、オブジェクトを反転させて移動させたい場合であっても所定距離以上タッチ位置を移動させる必要はない。しかしながら、タッチ位置を操作基準位置まで戻して操作基準位置の反対側までタッチ位置を移動させるというタッチ操作が必要であることにはかわりがない。そして、オブジェクトを反転移動させたい場合においても、現在の進行方向への移動速度を減速させ、停止し、反転し、逆方向へ低速にて移動を開始し、徐々に加速する、という過程を必ず実行されなければならない点もかわりがない。また操作基準位置を移動させたくないユーザにとっては、常に操作基準位置を最新のタッチ位置に近付けるように移動させる方式であると、意図しない制御が行われる可能性がある。
 本発明は上記の課題に鑑みてなされたものであり、以下のような特徴を有している。すなわち、本発明の一態様としてのプログラムは、ディスプレイ及び接触型位置入力装置を有し、前記接触型位置入力装置上へのタッチに応じたタッチ位置を前記接触型位置入力装置上の入力位置に対応する座標平面における座標として取得する電子装置において実行されるゲームのためのプログラムであって、前記電子装置に、前記座標平面上に操作基準位置を設定するステップと、前記接触型位置入力装置上へのタッチがされているかを判断するステップと、前記接触型位置入力装置上へのタッチがされている場合に取得されるタッチ位置に応じて前記座標平面上に操作位置を設定するステップと、前記操作基準位置と前記操作位置に基づいて、前記ディスプレイ上に表示されるゲームにおけるオブジェクトを移動させるステップと、前記操作位置を変位基準位置として保持するステップと、前記変位基準位置からの所定条件を満たすタッチ位置移動を検出するステップと、前記所定条件を満たすタッチ位置移動を検出した場合に前記操作基準位置を前記座標平面上に再設定するステップと、を実行させ、前記所定条件は、前記変位基準位置として保持された前記操作位置を取得した後に取得されるタッチ位置である変位位置と前記操作基準位置と前記変位基準位置との三点で形成される三角形のいずれかの内角が所定基準を満たすことを少なくとも含むプログラムである。
 本発明の一態様として、前記ディスプレイ上に表示されるゲームにおけるオブジェクトを移動させるステップは、前記操作基準位置から前記操作位置への方向及び前記操作基準位置と前記操作位置の距離の少なくとも一方に基づいて、前記ディスプレイ上に表示されるゲームにおけるオブジェクトを移動させる。
 本発明の一態様として、当該所定基準は、前記操作基準位置をA、前記変位基準位置をB、及び前記変位位置をCとしたときに、直線BAと直線BCのなす角度若しくは直線CAと直線CBのなす角度が所定角度以下であるか、又は直線ABと直線ACのなす角度が所定角度以上である。
 本発明の一態様として、前記所定条件は、前記変位基準位置から前記変位位置へのタッチ位置移動が所定速度以上であること、及び/又は前記変位位置が前記変位基準位置から所定距離以上であることをさらに含む。
 本発明の一態様として、前記所定条件を満たすタッチ位置移動を検出した場合に前記操作基準位置を再設定するステップは、前記所定条件を満たすタッチ位置移動を検出した場合に前記操作基準位置を前記変位基準位置及び前記変位位置の少なくとも一方に基づいて再設定する。
 本発明の一態様としてのプログラムは、前記電子装置に、さらに、前記操作基準位置から前記操作位置への方向をユーザへ明示するための表示物を、前記ディスプレイ上の前記操作基準位置に対応する位置と前記操作位置に対応する位置の間に表示させるステップを実行させる。
 本発明の一態様として、前記電子装置は携帯型電子装置であり、前記ディスプレイ及び前記接触型位置入力装置はこれらを一体としたタッチパネルにより構成される。
 本発明の一態様としてのコンピュータ読み取り可能な記憶媒体は、前記プログラムを格納し、本発明の一態様としてのサーバは、前記プログラムを電子装置に供給するサーバである。
 本発明の一態様としての電子装置は、ディスプレイ、接触型位置入力装置、及びゲームのためのプログラムを格納したコンピュータ読み取り可能な記憶媒体を有し、前記接触型位置入力装置上へのタッチに応じたタッチ位置を前記接触型位置入力装置上の入力位置に対応する座標平面における座標として取得する電子装置であって、前記プログラムは、前記電子装置に、前記座標平面上に操作基準位置を設定するステップと、前記接触型位置入力装置上へのタッチがされているかを判断するステップと、前記接触型位置入力装置上へのタッチがされている場合に取得されるタッチ位置に応じて前記座標平面上に操作位置を設定するステップと、前記操作基準位置と前記操作位置に基づいて、前記ディスプレイ上に表示されるゲームにおけるオブジェクトを移動させるステップと、前記操作位置を変位基準位置として保持するステップと、前記変位基準位置からの所定条件を満たすタッチ位置移動を検出するステップと、前記所定条件を満たすタッチ位置移動を検出した場合に前記操作基準位置を前記座標平面上に再設定するステップと、を実行させ、前記所定条件は、前記変位基準位置として保持された前記操作位置を取得した後に取得されるタッチ位置と前記操作基準位置と前記変位基準位置との三点で形成される三角形のいずれかの内角が所定基準を満たすことを少なくとも含む電子装置である。
 本発明の一態様としての電子装置は、ディスプレイ及び接触型位置入力装置を有する、ゲームを実行可能な電子装置であって、前記接触型位置入力装置上へのタッチに応じたタッチ位置を前記接触型位置入力装置上の入力位置に対応する座標平面における座標として取得するタッチ位置取得部と、前記座標平面上に操作基準位置を設定する操作基準位置設定手段と、前記接触型位置入力装置上へのタッチがされている場合に取得されるタッチ位置に応じて前記座標平面上に操作位置を設定する操作位置設定手段と、前記操作基準位置と前記操作位置に基づいて、前記ディスプレイ上に表示されるゲームにおけるオブジェクトを移動させるオブジェクト表示手段と、前記操作位置を変位基準位置として保持する変位基準位置保持手段と、前記変位基準位置からの所定条件を満たすタッチ位置移動を検出するタッチ動作検出手段と、前記所定条件を満たすタッチ位置移動を検出した場合に前記操作基準位置を前記座標平面上に再設定する操作基準位置再設定手段と、を備え、前記所定条件は、前記変位基準位置として保持された前記操作位置を取得した後に取得されるタッチ位置と前記操作基準位置と前記変位基準位置との三点で形成される三角形のいずれかの内角が所定基準を満たすことを少なくとも含む電子装置である。
 本発明の一態様としての方法は、ディスプレイ及び接触型位置入力装置を有し、前記接触型位置入力装置上へのタッチに応じたタッチ位置を前記接触型位置入力装置上の入力位置に対応する座標平面における座標として取得する電子装置において実行されるゲームのための方法であって、前記座標平面上に操作基準位置を設定するステップと、前記接触型位置入力装置上へのタッチがされているかを判断するステップと、前記接触型位置入力装置上へのタッチがされている場合に取得されるタッチ位置に応じて前記座標平面上に操作位置を設定するステップと、前記操作基準位置と前記操作位置に基づいて、前記ディスプレイ上に表示されるゲームにおけるオブジェクトを移動させるステップと、前記操作位置を変位基準位置として保持するステップと、前記変位基準位置からの所定条件を満たすタッチ位置移動を検出するステップと、前記所定条件を満たすタッチ位置移動を検出した場合に前記操作基準位置を前記座標平面上に再設定するステップと、を有し、前記所定条件は、前記変位基準位置として保持された前記操作位置を取得した後に取得されるタッチ位置と前記操作基準位置と前記変位基準位置との三点で形成される三角形のいずれかの内角が所定基準を満たすことを少なくとも含む方法である。
 本発明によれば、オブジェクトの操作性を向上させることができる。所定条件を満たすタッチ位置移動により操作基準位置を変更(再設定)することができるため、ユーザがタッチ位置を操作基準位置から大きく移動した後に、逆方向への入力を行いたい場合、タッチ位置を大きく戻すことなく逆方向への入力を行うことができるから、操作性が向上する。さらに、オブジェクトを反転させて、直前まで移動させていた方向とは反対方向に速度を落とさずに移動させることができ、オブジェクトに対するユーザの素早い反転操作を実現する。また所定条件を満たすタッチ位置移動を行わなければ操作基準位置は再設定されないため、ユーザにとって意図しない操作基準位置の再設定が行われる可能性を低減できる。
本発明の1つの実施形態に係る電子装置の構成図である。 本発明の1つの実施形態に係る電子装置において、座標軸を有する表示部を示すものである。 本発明の1つの実施形態に係るタッチ操作によるオブジェクトの制御を説明する図である。 本発明の1つの実施形態に係るタッチ操作によるオブジェクトの制御を説明する図である。 本発明の1つの実施形態に係るタッチ操作によるオブジェクトの制御を説明する図である。 本発明の1つの実施形態に係るタッチ操作によるオブジェクトの制御を説明する図である。 本発明の1つの実施形態に係るタッチ操作によるオブジェクトの制御を説明する図である。 本発明の1つの実施形態に係るタッチ操作によるオブジェクトの制御を説明する図である。 本発明の1つの実施形態に係るタッチ操作によるオブジェクトの制御を説明する図である。 本発明の1つの実施形態に係るタッチ操作によるオブジェクトの制御を説明する図である。 本発明の1つの実施形態に係るタッチ操作によるオブジェクトの制御を説明する図である。 本発明の第1の実施形態に係るフローチャートである。 本発明の第1の実施形態に係るフローチャートである。 本発明の第1の実施形態に係るフローチャートである。 本発明の第1の実施形態に係るフローチャートである。 本発明の第2の実施形態に係るフローチャートである。 本発明の第3の実施形態に係るフローチャートである。 本発明の第4の実施形態に係るフローチャートである。 本発明の1つの実施形態に係る電子装置におけるユーザのタッチ操作方法の1つの実施例を示す図である。
 これより図面を参照して、本発明に係るプログラム、電子装置、方法について説明する。最初に本発明に係る電子装置の構成を説明し、その後具体的な処理について説明する。
 [電子装置の構成概要]
 図1は、本発明の電子装置100の構成図の一例を示す。電子装置100は処理部101、表示部102、接触型入力部103、記憶部104、及び通信部105を備える。本実施の形態においては、これらの各構成部品はバス110によって接続されるが、それぞれが必要に応じて個別に接続される形態であっても構わない。
 電子装置100は、好ましくはスマートフォンであるが、例えば、携帯電話、携帯型情報端末、タブレット型コンピュータ、ビデオゲーム機、携帯型ビデオゲーム機、タッチパッド等の接触型入力装置を備えるコンピュータも含まれる。
 処理部101は、プログラムや接触型入力部103からの入力データに基づいて、ゲーム処理、画像生成処理などの各種の処理を行う。処理部101は、電子装置100が備える各部を制御するプロセッサを備えており、記憶部104をワーク領域として各種処理を行う。
 記憶部104は、内部メモリ106及び/又は外部メモリ107を含む。内部メモリ106は不揮発性メモリや揮発性メモリ等の情報を格納できるものであればいかなるものであってもよい。ハードディスクであっても構わない。例えば電子装置100がスマートフォンである場合はROM及びRAMを含む。内部メモリ106には、本発明を実行するためのプログラムや当該プログラムの実行に伴って参照され得る各種のデータが記憶されている。当該プログラムはビデオゲーム、ウェブブラウザ等のユーザ入力を要求するあらゆるアプリケーションのためのプログラムを含み、各種のデータには、例えばゲーム中の各種画像を表示するための画像データや、ゲーム中に記憶部104に書き込まれうる後述の座標データも含まれる。外部メモリ107は、メモリカードのように着脱可能なメモリであるが、あらゆる形態の外部記憶装置を含む。内部メモリ106に格納するデータを外部メモリ107に格納することもでき、例えば外部メモリ107に本発明を実行するためのプログラムを格納し、電子装置100に実行させてもよい。
 通信部105は、移動体通信、無線LAN等の無線通信やイーサネット(登録商標)ケーブル、USBケーブル等を用いた有線通信を行う。この通信部105によって、プログラムをサーバからダウンロードして、記憶部104に格納することもできる。CD/DVD等の光学ディスクにプログラムを格納し、通信部105に光学ドライブを接続して、光学ディスクからプログラム等を読み込んで記憶部104に格納することもできる。
 表示部(ディスプレイ)102は電子装置100において実行されるプログラムによって出力される画像を表示する。好ましくは液晶ディスプレイであるが、有機ELを用いたディスプレイやプラズマディスプレイであってもよい。
 接触型入力部103は例えばタッチパッドのように、ユーザ(プレイヤ)が接触(タッチ)した位置に基づいた入力を電子装置100に与える。好ましくは表示部102と接触型入力部103は一体としたタッチパネルであるが、別の位置に配置される別個の形態であっても構わない。例えば表示部102と接触型入力部103が一体となったタッチパネルである場合は、表示部102へのユーザのタッチによる入力を受け付け、接触型入力部103はユーザがタッチした位置に対応する座標を検出し、電子装置100に与える。検出方式は(例えばタッチパネルにおける静電容量方式等)あらゆる方式を含みうるが、接触型入力部103は、少なくとも2点同時にユーザの指等が接触したことを検出し、検出した位置に対応する各座標情報を電子装置100に与えるものであると好適である。
 例えば電子装置100としてスマートフォンを用いた場合、表示部102と接触型入力部103は一体となったタッチパネルである。接触型入力部103は、第1軸及び第1軸に実質的に直交する第2軸からなる座標平面を用いて、座標により位置が指定される。好ましくは図2に示すように、第1軸は略長方形である表示部102(接触型入力部103)の短辺と、第2軸は表示部102の長辺と、実質的に平行であって、第1軸方向の座標軸(横軸)及び第2軸方向の座標軸(縦軸)により座標(x,y)として表される。処理部101はプログラム等を用いて、タッチパネルにより検出するタッチ位置を当該座標(x,y)データとして取得することができる。例えばタッチパネルの検出精度が640ドット×1,136ドットである場合は、横軸方向に640ドット、縦軸方向に1,136ドットの分解能を有することができる。この場合のドットは1つの点であってもよいし、一定の領域(セル)であっても構わない。ただしドット間の距離は、通常タッチパネル(電子装置)毎に異なることに注意が必要である。本明細書において、特に言及が無い限り、「距離」は座標上の距離を表すものとする。なお図2に示す座標設定はこの一例であり、座標軸はプログラムにより設定することもできる。また極座標を設定することもできるし、座標変換により他の座標系を設定することもできる。
 また例えば、表示部102と接触型入力部103が別の位置に配置される別個の形態である場合、接触型入力部103には上記のように座標を設定し、表示部102には接触型入力部103の座標に対応する座標を設定することができる。
 [第1の実施形態]
 本発明の第1の実施形態における、本発明の動作について説明する。本実施形態においては、電子装置100としてスマートフォンを用い、当該スマートフォンによって実行されるゲームにおいて、タッチパネル300に表示されるユーザが操作するオブジェクト(プレイヤキャラクタ)に対する制御を行う。
 図3a~図3iは、スマートフォンのタッチパネル300に表示されるオブジェクト311のタッチ操作による動作を説明するものである。図4a~図4gは当該タッチ操作による情報処理を示したフローチャートである。これらを用いて本発明の動作を説明する。
 図3aは、タッチパネル300に表示されるゲーム画面を示すものであり、ゲーム空間内のオブジェクト311がタッチパネル300の画面左側に表示されている。ユーザはまだタッチパネル300に触れていない。この段階においては、図4aに示すように、スマートフォンは、ユーザによるタッチパネル300へのタッチ(接触)を待ち受ける(ステップ401)。本実施形態においては、ユーザによるタッチはユーザの指によるものとして説明するが、どの指によるタッチでもよく、また例えばスタイラスペンのような、その他のものでも構わない。ユーザのタッチ操作方法の1つの実施例としては、図5に示すように、片手で縦型の筐体を保持しつつ当該保持している手の親指のみでタッチパネルを操作する方法がある。
 図3bは、ユーザの指301がタッチパネル300にタッチした様子を示す。ステップ401では、タッチパネル300へのタッチを判定し、タッチしていると判定された場合はタッチ位置を座標として検出する。ステップ402において、検出された座標をP(0)=(x(0)、y(0))として取得し、記憶部104に格納する。続いて、ステップ403において、タッチパネル300上のタッチ位置の座標(x(0)、y(0))に操作基準位置PA=(Ax、Ay)を設定し、記憶部104に格納する。図3bは、操作基準位置PAを設定した様子もまた示す。操作基準位置は、タッチ位置の座標(x(0)、y(0))に基づいて所定の位置ずらした場所に設定することもできる。さらに操作基準位置は、予め決定された所定の座標であっても構わない。この場合、ステップ401~403は省略することができる。
 続いて図4bに示すとおり、ステップ404において、座標P(1)~P(N)のデータをクリアし、ステップ405において、カウンタNを0にセットする。
 続くステップ406において、画面更新のために所定時間待機する。本実施形態においては電子装置100としてスマートフォンを用いているが、一般的にスマートフォンは一定時間毎にタッチ検出を行い、一定時間毎に画面更新を行う。例えば画面更新単位時間Δtは、1/30秒、1/60秒、1/120秒等にすることができる。本フローにおいては、好ましくは、画面更新周期に併せてタッチ検出を行うように本ステップにおいて所定時間待機する。ただし当該時間待機は、画面更新周期の整数倍の時間に併せてタッチ検出を行うように所定時間待機してもよいし、スマートフォンが所定の情報処理を行うために必要な時間の経過であっても構わない。
 ステップ407において、カウンタNをインクリメントする。続いてステップ408において、ユーザがタッチを継続しているか否かを判定する。ユーザがタッチパネル300から指301を離した場合、本フローチャートのフローを終了する。フローが終了した場合は、再度図4aのスタートからフローを開始する。なお、予め決定された所定の座標を操作基準位置とし、ステップ401~403を省略する場合は、当該ステップ408からフローを開始する。
 ステップ408において、ユーザがタッチしていると判定した場合には、タッチ位置を座標として検出する。ステップ409において、検出された座標をP(N)=(x(N)、y(N))として取得し、操作位置PC=(Cx、Cy)をP(N)に設定し、P(N)とPCを記憶部104に格納する。なお最初のステップ409処理時においてはカウンタNが1であるので、取得する座標はP(1)=(x(1)、y(1))であり、当該座標が操作位置PCとなる。図3c、図3dに操作位置PCを設定した様子を示す。操作位置PCはステップ409でP(N)を取得する毎に更新される。
 ステップ410においては、操作基準位置PAと操作位置PCに基づいて、表示部102上の操作基準位置に対応する位置と操作位置に対応する位置の間に表示物312を表示させる。表示物312は、操作基準位置から操作位置への方向をユーザに対して明示するためのものであり、図3dに示す矢印のような表示物であってもよいし、弾力性を有するような表示物であってもよい。また表示物312は操作基準位置と操作位置の間の距離に応じて、異なる幅や形状を有するようにしてもよい。この場合は例えば、記憶部104は予め操作基準位置と操作位置の間の距離に応じた画像データを保管し、プログラムにより当該距離に応じた表示物を表示させるようにしてもよいし、距離に応じた寸法を有するように表示物を変形加工して表示させてもよい。
 ステップ411においても、ステップ410と同様に操作基準位置と操作位置に基づいた処理であり、好ましくは操作基準位置から操作位置への方向及び操作基準位置と操作位置の距離の少なくとも一方に基づいてオブジェクト311を移動させる。ここで当該方向及び距離の両方に基づいてオブジェクト311を移動させる場合の処理内容の一例を以下に記載する。操作基準位置PAからの操作位置PCのX座標における変位量Dx(AC)及びY座標における変位量Dy(AC)を以下の式に基づいて算出して、記憶部104に格納する。ここで変位量は絶対値ではなく、正負を含んだ値である。
 Dx(AC)=Cx-Ax・・・(1)
 Dy(AC)=Cy-Ay・・・(2)
 変位量Dx(AC)及びDy(AC)の正負の符号が操作基準位置からの変位の方向を表し、その絶対値が操作基準位置からの距離を表す。これにより、ユーザのタッチ位置の変位方向を判定して、オブジェクト311の制御を行う。X座標変位量Dx(AC)が正の値であれば、操作基準位置からの変位の方向は右方向であり、オブジェクト311を右へ移動させ、X座標変位量Dx(AC)が負の値であれば、変位方向は左方向であり、オブジェクト311を左へ移動させる。同様に、Y座標変位量Dy(AC)が正の値であれば、操作基準位置からの変位の方向は上方向であり、オブジェクト311を上へ移動させ、Y座標変位量Dy(AC)が負の値であれば、変位方向は下方向であり、オブジェクト311を下へ移動させる。また、変位方向が上方向である場合には、オブジェクト311をジャンプさせたり、変位方向が下方向である場合には、しゃがませたりしてもよい。
 図3cに示すように、ユーザの指301がタッチパネル300の左下をタッチし、そこから右上方向へ移動した場合、ユーザのタッチ位置のX、Y座標変位量は正の値となる。この場合、オブジェクト311もまた右上へ移動する。一方、ユーザのタッチ位置が左下へ移動した場合には、ユーザのタッチ位置のX及びY座標変位量は負の値となり、オブジェクト311もまた左下へ移動する。なお図3dは、図3cのタッチ位置移動により表示される表示物312を示すものである。
 またDx(AC)やDy(AC)の絶対値を、オブジェクト311の移動速度に対応させることもできる。Dx(AC)やDy(AC)の絶対値が所定の値より小さい場合には、オブジェクト311の移動を行わないこともできる。これによりユーザの指301が意図せずにわずかに動いてしまった場合に、オブジェクト311を移動させてしまうことを防止することができる。一方、Dx(AC)ないしDy(AC)の絶対値が所定の値より大きい場合には、当該所定の値に対応したオブジェクト311の移動速度を超えた速度でオブジェクト311を移動させないようにすることもできる。
 なお、ステップ410とステップ411は、それ以前のステップにおいて設定した操作基準位置と操作位置に基づいた処理であり、順番を入れ替えることもできる。
 続いてステップ412において、カウンタNが1であるか否かを判定する。当該ステップの処理は、最初のステップ412処理時においてはカウンタNが1であるため、ステップ413へ進む。ステップ413において、変位基準位置PB=(Bx、By)をP(1)の座標に設定し、記憶部104に格納する。図3c、図3dに変位基準位置PBを設定した様子を示す。つまり、ステップ412においては変位基準位置の設定有無が判定され、設定されていない場合にはステップ413において変位基準位置を設定し、ステップ406に戻る。
 前述したように、ステップ406においては所定時間待機し、ステップ407においてはカウンタNをインクリメントする。ステップ413を経由した場合、ステップ407においてカウンタNは2となる。続いてステップ408において、ユーザがタッチを継続しているか否かを判定する。ユーザがタッチパネル300から指301を離した場合には、フローを終了する。ユーザがまだタッチしていると判定した場合には、ステップ409において、操作位置PCを取得した座標P(N)に設定し、記憶装置104に格納する。ステップ413を経由した場合、取得する座標はP(2)=(x(2)、y(2))であり、当該座標が操作位置PCとなる。続くステップ410、411においては、前述のとおり表示部102に表示物312を表示させ、オブジェクト311を移動させる。図3eや図3fはこのときの状態を示すものである。
 続いてステップ412において、カウンタNが1であるか否かを判定し、Nが2以上である場合は、ステップ414へ進む。ステップ414からステップ416は、所定条件を満たすタッチ位置移動を判定するステップである。まずステップ414において、PA=(Ax、Ay)、PB=(Bx、By)、PC=(Cx、Cy)の3点で形成される三角形のいずれかの内角が所定基準を満たすか否かを判定する。所定基準を満たす場合はステップ415に進む。所定基準を満たさない場合はステップ404に戻り、操作基準位置PA、変位基準位置PB、及び操作位置PC以外の位置データをクリアし(ステップ404)、カウンタNをクリアした(ステップ405)後、ステップ406へと進む。
 以下に所定基準について説明する。PAとPBを結ぶ直線を直線AB又は直線BAとし、PBとPCを結ぶ直線を直線BC又は直線CBとし、PCとPAを結ぶ直線を直線CA又は直線ACとすると、所定基準は例えば、直線BAと直線BCのなす角度若しくは直線CAと直線CBのなす角度が所定角度以下であることであるか、又は直線ABと直線ACのなす角度が所定角度以上であることである。処理内容の一例を以下に記載する。図3gは、図3eにおいて操作基準位置PA、変位基準位置PB、及び操作位置PCを表したものである。説明のために、直線ABとACのなす角度をα、直線BAと直線BCのなす角度をβ、直線CAと直線CBのなす角度をγとする。例えば1つの所定基準の実施例として、直線BAと直線BCのなす角度βが±25度以下(0°≦|β|≦25°)とすることができる。この場合、以下の式に基づいてcosβを算出できる。
Figure JPOXMLDOC01-appb-I000001
 座標を用いると、以下の式で表すことができる。
Figure JPOXMLDOC01-appb-I000002
 よって、上記の所定角度に対応するcosの値を記憶部104に格納しておき、当該cosβの値と比較することで、所定基準を満たすか否かの判定の処理を行うことができる。例えばこの場合は、cosβの値が、cos(25°)の値(≒0.906)以上であれば所定基準を満たすと判定する。また例えば他の1つの所定基準の実施例として、直線ABと直線ACのなす角度αが90度以上270度以下とすることができる。この場合、式(3)、(4)と同様にcosαの値を算出できる。この場合算出したcosαの値が、cos(90°)の値(=0)以下であれば所定基準を満たすと判定する。また例えばさらなる他の1つの所定基準の実施例として、直線CAと直線CBのなす角度γが±90度以内(cosγ≧0)とすることができる。
 所定基準を満たす場合はステップ415において、PB=(Bx、By)とPC=(Cx、Cy)が所定距離Dth以上離れているかを判定する。これは例えば以下のように判定を行う。PBとPCの距離をDとすると距離Dは座標を用いて以下のとおり算出できる。
Figure JPOXMLDOC01-appb-I000003
 よって、Dthを記憶部104に格納しておき、距離Dの値と比較することで、当該判定処理を行うことができる。ここでの距離は、前述したように座標上の距離を表すものである。しかしながらユーザの操作性を考慮すると、ここでの所定距離は、実際に指を動かす距離又はタッチパネル等の接触型入力部全体の大きさに対する一定の割合で定める方が良い場合がある。実際に指を動かす距離で所定距離Dthを定める場合は、各種のタッチパネル(各接触型入力装置)毎に、各ドット間の距離から逆算することで、所望のDthを決定することができる。タッチパネル等の接触型入力部全体の大きさに対する一定の割合で定める場合は、タッチパネルの画面全体に対する所定距離Dthの比率を、タッチパネルの画面サイズ(例えばインチ数)毎に定めることで、所望のDthを決定することができる。
 PBとPCが所定距離以上離れている場合はステップ416において、PBからPCへのユーザによるタッチ位置移動が所定速度Vth以上であるかを判定する。これは例えば以下のように判定を行う。PBからPCへのユーザによるタッチ位置移動速度をVとすると、速度Vは以下のとおり算出することができる。
Figure JPOXMLDOC01-appb-I000004
 よって、Vthを記憶部104に格納しておき、Vの値と比較することで、当該判定処理を行うことができる。VがVthより小さい場合は、ステップ414において所定基準を満たさなかった場合と同様に、ステップ404に戻る。
 VがVth以上である場合は、ステップ417において、操作基準位置PAを変位基準位置PBの座標に再設定する。
 例えば図3eは、図3dの状態からユーザがタッチ位置の移動を行い、当該タッチ位置移動が上記ステップ414~416の条件を満たす場合の一例を示す。これらの条件を満たした時点で、図3hに示すように、元の変位基準位置PBの位置に操作基準位置PAが再設定される。当該再設定により、図3dにおいて右上方向を向いていた操作基準位置PAから操作位置PCへの方向が、図3hにおいて左下方向へと変更された。つまりオブジェクト311を直前まで移動させていた方向と反対方向に移動させることができる。このときユーザは、速度を落とさずにオブジェクト311を反転させて反対方向に移動させることができるため、迫ってくる障害物(図示せず)から素早く回避することができる。なお、ステップ417において、操作基準位置PAの再設定先の座標は変位基準位置PBの座標に限定されず、変位基準位置PB及び/又は操作位置PCの座標に基づいた所定の座標に再設定することができる。例えば、PBとPCとを結ぶ直線上の任意の点に再設定することができる。操作位置PCの座標に再設定してもよい。
 また例えば図3fは、図3dの状態からユーザがタッチ位置の移動を行い、当該タッチ位置移動が上記ステップ414の条件を満たさない場合の一例を示す。この条件を満たさない場合はステップ404に戻ることとなる。この場合、操作基準位置PAは変更せずに、ステップ409において操作位置PCを設定し、ステップ413において操作基準位置PBを設定する。したがって、ステップ414の条件を満たさずにタッチ位置移動が行われる場合は、タッチ位置移動先の操作位置PCに順次変位基準位置PBが設定されることとなる。また図3fにおいては、操作基準位置PAから操作位置PCへの方向は右方向であるため、オブジェクト311を右方向へ移動させる。
 ステップ417において操作基準位置PAを再設定した後は、ステップ404に戻り、ステップ408においてユーザがタッチを継続していると判定されなくなるまで、本フローチャートの処理を継続する。
 次に、ステップ415において、PBとPCが所定距離以上離れていない場合について説明する。この場合は、ステップ406に戻る。ステップ406においては所定時間待機し、ステップ407においてはカウンタNをインクリメントする。ステップ415を経由した場合、ステップ407においてカウンタNは3以上となる。続いてステップ408において、ユーザがタッチを継続しているか否かを判定する。ユーザがタッチパネル300から指301を離した場合は、フローを終了する。ユーザがまだタッチしていると判定した場合には、ステップ409において、操作位置PCを取得した座標P(N)に設定する。続くステップ410、411においては、前述のとおり表示部102に表示物312を表示させ、オブジェクト311を移動させる。図3iはこのときの状態を示すものであり、図3dの状態からユーザがタッチ位置の移動を行い、当該タッチ位置移動がステップ415の条件を満たさない場合の一例である。図3iにおいては、操作基準位置PA及び変位基準位置PBは変更されず、操作位置PCが変更されている様子が確認できる。続いてステップ412及びステップ414を経て再度ステップ415において、PBとPCが所定距離Dth以上離れているかを判定する。ただしステップ414において所定基準を満たさない場合はステップ404に戻ることに留意する。PBとPCが所定距離以上離れている場合はステップ416へ進むが、離れていない場合は再度ステップ406からの処理を繰り返すことになる。繰り返しのたびにステップ407においてカウントNはインクリメントされる。
 しかしこのステップ406~ステップ415を一定回数以上実行し続けると、古いデータの影響を受け続けるため、ユーザの直近の意図が十分に反映されない判定が行われる可能性がある。よって、ステップ414からステップ416の所定条件を満たすタッチ位置移動の判定は、ユーザの意図が適確に反映される時間スケールで行うのが好適である。
 したがって、好ましくは、ステップ415においてPBとPCが所定距離以上離れていない場合、ステップ406へ戻る前に例えば図4cによる処理を行う。
 図4cに示すフローでは、まずステップ418において、カウンタNが所定値Nthより大きいかどうかを判定する。カウンタNが所定値Nth以下の場合は、ステップ406に戻り、当該フローを継続する。カウンタNが所定値Nthを超える場合は、ステップ419に進む。ステップ419においては、以下のとおり座標データP(N)の段階的な入れ替えを行う。
 P(k)=P(k+1)、(1≦k≦Nth-1)…(7)
 式(7)においては、P(1)を元のP(2)とし、P(2)を元のP(3)とし、…、P(Nth-1)=P(Nth)とすることを表す。なお当該処理により元のP(1)のデータは削除される。さらに変位基準位置PBを更新されたP(1)の座標位置に再設定し、カウンタNをNthにする。これらの処理により、座標データP(N)の記憶するデータを一定量にすることができるとともに、一番古いデータを削除することができる。
 また図4cに代わるフローとして、図4dのフローとすることもできる。当該フローでは、ステップ418においてカウンタNが所定値Nth以下の場合は、ステップ406に戻り、カウンタNが所定値Nthを超える場合は、ステップ404に戻るようにすることで、本発明が目的とする操作性を失わない処理フローとすることができる。またこのようなフローを含めない場合であっても、座標データP(N)を格納するメモリをリングバッファとすることでも、本発明が目的とする操作性を失わない処理フローとすることができる。
 上記の第1の実施形態は、操作基準位置PAを再設定するのに必要なタッチ位置移動の条件として、角度条件(ステップ414)、距離条件(ステップ415)、及び速度条件(ステップ416)を含む実施形態である。角度条件判定により、オブジェクト311を反転させて直前まで移動させていた方向とは反対方向に移動させるというユーザの意図を判定することができる。例えば、直線ABと直線BCとのなす角度αが25度以下である場合には、オブジェクト311を反転させて直前まで移動させていた方向とは反対方向に移動させたいというユーザの意図を示すものであると考えられる。また、距離条件と速度条件判定により、タッチ位置がわずかに移動した場合には操作基準位置を再設定しないことができる。これにより、ユーザの反転操作の意図に基づかない手ぶれ等による操作基準位置の再設定を防止することができる。またこれらの3つの条件をすべて満たす場合にのみ操作基準位置を再設定することにより、ユーザにとって意図しない操作基準位置の再設定が行われる可能性を低減させることができる。ただし、これらのすべての条件判定を行わなくとも、少なくとも角度条件判定を行えばユーザの意図を判定することはできる。
 [第2の実施形態]
 本発明の第2の実施形態について説明する。図4eに示すように、本実施形態は第1の実施形態のステップ416において、VがVthより小さい場合に、ステップ404ではなくステップ406に戻る点を除き、第1の実施形態と同じである。
 本フローチャートにおいては、ステップ416の速度条件を満たさない場合、ステップ406に戻るので、取得した座標データ、カウンタN、及び変位基準位置をリセットしない。これにより、ユーザのタッチ位置移動の速度条件を第1の実施形態と比較して長い時間で平均化して判定することができる。好ましくは第1の実施形態と同様に、ステップ406へ戻る前に例えば図4cによる処理を行う。
 [第3の実施形態]
 本発明の第3の実施形態について説明する。図4fに示すように、本実施形態は第2の実施形態のステップ415を実行しない点を除き、第2の実施形態と同じである。
 本フローチャートにおいては、ステップ414の角度条件を満たす限りステップ416の判定処理を行う。これにより判定処理の条件を減らすことができ、また第2の実施形態と同様に、ユーザのタッチ位置移動の速度条件を第1の実施形態と比較して長い時間で平均化して判定することができる。好ましくは第2の実施形態と同様に、ステップ406へ戻る前に例えば図4cによる処理を行う。
 [第4の実施形態]
 本発明の第4の実施形態について説明する。図4gに示すように、本実施形態は第3の実施形態のステップ416を実行しない点を除き、第3の実施形態と同じである。
 本フローチャートにおいては、ステップ414の角度条件を満たすと操作基準位置を再設定する。これにより判定処理の条件を減らすことができる。本実施形態は、頻繁に反転操作が必要となる場合に有効でありうる。
 [第5の実施形態]
 本発明の第5の実施形態について説明する。本実施形態は、上記で説明した本発明の動作を実現するプログラムを格納したコンピュータ読み取り可能な記憶媒体である。
 [第6の実施形態]
 本発明の第6の実施形態について説明する。本実施形態は、上記で説明した本発明の動作を実現するプログラムを電子装置に供給することができるサーバである。サーバは有線または無線通信において電子装置にプログラムをダウンロードさせることができる。
 [第7の実施形態]
 本発明の第7の実施形態について説明する。本実施形態は、上記で説明した本発明の一部又は全部の動作を実現する電子回路を備える電子装置である。
 以上に説明した処理又は動作において、あるステップにおいて、そのステップではまだ利用することができないはずのデータを利用しているなどの処理又は動作上の矛盾が生じない限りにおいて、処理又は動作を自由に変更することができる。
 以上に説明してきた各実施例は、本発明を説明するための例示であり、本発明はこれらの実施例に限定されるものではない。例えばこれらの各実施例は組み合わせることが可能であり、これにより、2以上の実施例を組み合わせて1つの実施例にすることができるし、1つの実施例の一部を1つの実施例とすることもできる。本発明は、その要旨を逸脱しない限り、種々の形態で実施することができる。
100 電子装置
101 処理部
102 表示部
103 接触型入力部
104 記憶部
105 通信部
106 内部メモリ
107 外部メモリ
110 バス
300 タッチパネル
301 ユーザの指
311 オブジェクト
312 表示物

Claims (14)

  1.  ディスプレイ及び接触型位置入力装置を有し、前記接触型位置入力装置上へのタッチに応じたタッチ位置を前記接触型位置入力装置上の入力位置に対応する座標平面における座標として取得する電子装置において実行されるゲームのためのプログラムであって、前記電子装置に、
     前記座標平面上に操作基準位置を設定するステップと、
     前記接触型位置入力装置上へのタッチがされているかを判断するステップと、
     前記接触型位置入力装置上へのタッチがされている場合に取得されるタッチ位置に応じて前記座標平面上に操作位置を設定するステップと、
     前記操作基準位置と前記操作位置に基づいて、前記ディスプレイ上に表示されるゲームにおけるオブジェクトを移動させるステップと、
     前記操作位置を変位基準位置として保持するステップと、
     前記変位基準位置からの所定条件を満たすタッチ位置移動を検出するステップと、
     前記所定条件を満たすタッチ位置移動を検出した場合に前記操作基準位置を前記座標平面上に再設定するステップと、を実行させ、
     前記所定条件は、前記変位基準位置として保持された前記操作位置を取得した後に取得されるタッチ位置である変位位置と前記操作基準位置と前記変位基準位置との三点で形成される三角形のいずれかの内角が所定基準を満たすことを少なくとも含む、プログラム。
  2.  前記ディスプレイ上に表示されるゲームにおけるオブジェクトを移動させるステップは、前記操作基準位置から前記操作位置への方向及び前記操作基準位置と前記操作位置の距離の少なくとも一方に基づいて、前記ディスプレイ上に表示されるゲームにおけるオブジェクトを移動させる、請求項1に記載のプログラム。
  3.  前記所定基準は、前記操作基準位置をA、前記変位基準位置をB、及び前記変位位置をCとしたときに、直線BAと直線BCのなす角度若しくは直線CAと直線CBのなす角度が所定角度以下であるか、又は直線ABと直線ACのなす角度が所定角度以上であることである、請求項1又は請求項2に記載のプログラム。
  4.  前記所定条件は、前記変位基準位置から前記変位位置へのタッチ位置移動が所定速度以上であることをさらに含む、請求項1から請求項3のいずれか一つに記載のプログラム。
  5.  前記所定条件は、前記変位位置が前記変位基準位置から所定距離以上であることをさらに含む、請求項1から請求項4のいずれか一つに記載のプログラム。
  6.  接触型入力装置上に操作基準位置を設定するステップは、タッチ位置の取得を開始した位置に基づいて操作基準位置を設定する、請求項1から請求項5のいずれか一つに記載のプログラム。
  7.  前記所定条件を満たすタッチ位置移動を検出した場合に前記操作基準位置を再設定するステップは、前記所定条件を満たすタッチ位置移動を検出した場合に前記操作基準位置を前記変位基準位置及び前記変位位置の少なくとも一方に基づいて再設定する、請求項1から請求項6のいずれか一つに記載のプログラム。
  8.  前記プログラムは、前記電子装置に、さらに、
     前記操作基準位置から前記操作位置への方向をユーザへ明示するための表示物を、前記ディスプレイ上の前記操作基準位置に対応する位置と前記操作位置に対応する位置の間に表示させるステップを実行させる、請求項1から請求項7のいずれか一つに記載のプログラム。
  9.  前記電子装置は携帯型電子装置であり、前記ディスプレイ及び前記接触型位置入力装置はこれらを一体としたタッチパネルにより構成される、請求項1から請求項8のいずれか一つに記載のプログラム。
  10.  請求項1から請求項9のいずれか一つに記載のプログラムを格納したコンピュータ読み取り可能な記憶媒体。
  11.  請求項1から請求項9のいずれか一つに記載のプログラムを電子装置に供給するサーバ。
  12.  ディスプレイ、接触型位置入力装置、及びゲームのためのプログラムを格納したコンピュータ読み取り可能な記憶媒体を有し、前記接触型位置入力装置上へのタッチに応じたタッチ位置を前記接触型位置入力装置上の入力位置に対応する座標平面における座標として取得する電子装置であって、前記プログラムは、前記電子装置に、
     前記座標平面上に操作基準位置を設定するステップと、
     前記接触型位置入力装置上へのタッチがされているかを判断するステップと、
     前記接触型位置入力装置上へのタッチがされている場合に取得されるタッチ位置に応じて前記座標平面上に操作位置を設定するステップと、
     前記操作基準位置と前記操作位置に基づいて、前記ディスプレイ上に表示されるゲームにおけるオブジェクトを移動させるステップと、
     前記操作位置を変位基準位置として保持するステップと、
     前記変位基準位置からの所定条件を満たすタッチ位置移動を検出するステップと、
     前記所定条件を満たすタッチ位置移動を検出した場合に前記操作基準位置を前記座標平面上に再設定するステップと、を実行させ、
     前記所定条件は、前記変位基準位置として保持された前記操作位置を取得した後に取得されるタッチ位置と前記操作基準位置と前記変位基準位置との三点で形成される三角形のいずれかの内角が所定基準を満たすことを少なくとも含む、電子装置。
  13.  ディスプレイ及び接触型位置入力装置を有する、ゲームを実行可能な電子装置であって、
     前記接触型位置入力装置上へのタッチに応じたタッチ位置を前記接触型位置入力装置上の入力位置に対応する座標平面における座標として取得するタッチ位置取得部と、
     前記座標平面上に操作基準位置を設定する操作基準位置設定手段と、
     前記接触型位置入力装置上へのタッチがされている場合に取得されるタッチ位置に応じて前記座標平面上に操作位置を設定する操作位置設定手段と、
     前記操作基準位置と前記操作位置に基づいて、前記ディスプレイ上に表示されるゲームにおけるオブジェクトを移動させるオブジェクト表示手段と、
     前記操作位置を変位基準位置として保持する変位基準位置保持手段と、
     前記変位基準位置からの所定条件を満たすタッチ位置移動を検出するタッチ動作検出手段と、
     前記所定条件を満たすタッチ位置移動を検出した場合に前記操作基準位置を前記座標平面上に再設定する操作基準位置再設定手段と、を備え、
     前記所定条件は、前記変位基準位置として保持された前記操作位置を取得した後に取得されるタッチ位置と前記操作基準位置と前記変位基準位置との三点で形成される三角形のいずれかの内角が所定基準を満たすことを少なくとも含む、電子装置。
  14.  ディスプレイ及び接触型位置入力装置を有し、前記接触型位置入力装置上へのタッチに応じたタッチ位置を前記接触型位置入力装置上の入力位置に対応する座標平面における座標として取得する電子装置において実行されるゲームのための方法であって、
     前記座標平面上に操作基準位置を設定するステップと、
     前記接触型位置入力装置上へのタッチがされているかを判断するステップと、
     前記接触型位置入力装置上へのタッチがされている場合に取得されるタッチ位置に応じて前記座標平面上に操作位置を設定するステップと、
     前記操作基準位置と前記操作位置に基づいて、前記ディスプレイ上に表示されるゲームにおけるオブジェクトを移動させるステップと、
     前記操作位置を変位基準位置として保持するステップと、
     前記変位基準位置からの所定条件を満たすタッチ位置移動を検出するステップと、
     前記所定条件を満たすタッチ位置移動を検出した場合に前記操作基準位置を前記座標平面上に再設定するステップと、を有し、
     前記所定条件は、前記変位基準位置として保持された前記操作位置を取得した後に取得されるタッチ位置と前記操作基準位置と前記変位基準位置との三点で形成される三角形のいずれかの内角が所定基準を満たすことを少なくとも含む、方法。
PCT/JP2016/061675 2015-04-13 2016-04-11 ユーザ入力の操作性を向上させるプログラム、電子装置、及び方法 WO2016167213A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201680034425.1A CN107636590B (zh) 2015-04-13 2016-04-11 用于电子装置上所执行的游戏的介质、服务器、装置和方法
KR1020177032255A KR101987858B1 (ko) 2015-04-13 2016-04-11 유저 입력의 조작성을 향상시키는 프로그램, 전자 장치 및 방법
US15/783,824 US10391399B2 (en) 2015-04-13 2017-10-13 Program, electronic device, and method that improve ease of operation for user input
HK18106230.7A HK1246896A1 (zh) 2015-04-13 2018-05-14 提高用戶輸入的操作性的程序、電子裝置和方法

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2015081804A JP5830806B1 (ja) 2015-04-13 2015-04-13 ユーザ入力の操作性を向上させるプログラム、電子装置、及び方法
JP2015-081804 2015-04-13

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/783,824 Continuation US10391399B2 (en) 2015-04-13 2017-10-13 Program, electronic device, and method that improve ease of operation for user input

Publications (1)

Publication Number Publication Date
WO2016167213A1 true WO2016167213A1 (ja) 2016-10-20

Family

ID=54784409

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2016/061675 WO2016167213A1 (ja) 2015-04-13 2016-04-11 ユーザ入力の操作性を向上させるプログラム、電子装置、及び方法

Country Status (6)

Country Link
US (1) US10391399B2 (ja)
JP (1) JP5830806B1 (ja)
KR (1) KR101987858B1 (ja)
CN (1) CN107636590B (ja)
HK (1) HK1246896A1 (ja)
WO (1) WO2016167213A1 (ja)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6185123B1 (ja) * 2016-08-18 2017-08-23 グリー株式会社 プログラム、制御方法、及び情報処理装置
JP6916653B2 (ja) * 2017-04-24 2021-08-11 株式会社ユニバーサルエンターテインメント 遊技機
JP7105574B2 (ja) * 2018-02-05 2022-07-25 株式会社バンダイナムコエンターテインメント プログラム及びゲーム装置
CN112261973A (zh) * 2018-06-06 2021-01-22 科乐美数码娱乐株式会社 记录介质及信息处理装置
JP6554220B1 (ja) * 2018-09-26 2019-07-31 株式会社Cygames プログラム、処理装置及び処理方法
JP7409770B2 (ja) * 2018-12-28 2024-01-09 株式会社バンダイナムコエンターテインメント ゲームシステム、プログラム及び端末装置
CN111589140B (zh) * 2020-05-14 2023-03-14 腾讯科技(深圳)有限公司 虚拟对象的控制方法、装置、终端及存储介质
US11590413B2 (en) * 2020-07-08 2023-02-28 Nintendo Co., Ltd. Storage medium storing information processing program with changeable operation modes, information processing apparatus, information processing system, and information processing method
JP7320287B2 (ja) 2021-03-15 2023-08-03 株式会社コナミデジタルエンタテインメント プログラム、情報処理装置、および情報処理方法
JP7320286B2 (ja) 2021-03-15 2023-08-03 株式会社コナミデジタルエンタテインメント プログラム、情報処理装置、および情報処理方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006150062A (ja) * 2004-11-02 2006-06-15 Nintendo Co Ltd ゲーム装置及びゲームプログラム
JP2013511759A (ja) * 2009-11-18 2013-04-04 オペラ・ソフトウェア・アーエスアー スクロール中に文字列の縦の段に追従するための方法および装置
US20150072784A1 (en) * 2012-06-08 2015-03-12 Intellectual Discovery Co., Ltd. Method and apparatus for controlling character by inputting pattern

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4932010A (ja) 1972-07-27 1974-03-23
JPS6054631B2 (ja) 1977-12-22 1985-11-30 セイコーインスツルメンツ株式会社 電子時計
JP4515221B2 (ja) * 2004-10-29 2010-07-28 任天堂株式会社 ゲームプログラム
JP3833228B2 (ja) * 2004-12-01 2006-10-11 任天堂株式会社 ゲーム装置およびゲームプログラム
JP2006192246A (ja) * 2004-12-13 2006-07-27 Nintendo Co Ltd ゲーム装置およびゲームプログラム
JP3924579B2 (ja) * 2005-03-30 2007-06-06 株式会社コナミデジタルエンタテインメント ゲームプログラム、ゲーム装置及びゲーム制御方法
JP4445898B2 (ja) * 2005-05-24 2010-04-07 任天堂株式会社 ポインティングデバイスに対する入力を用いたゲームプログラムおよびゲーム装置
JP4171039B2 (ja) * 2006-12-22 2008-10-22 株式会社コナミデジタルエンタテインメント ゲーム装置、ゲーム装置の制御方法及びプログラム
JP4343234B2 (ja) * 2007-03-01 2009-10-14 株式会社コナミデジタルエンタテインメント ゲーム装置、キャラクタ制御方法、および、プログラム
JP4932010B2 (ja) 2010-01-06 2012-05-16 株式会社スクウェア・エニックス ユーザインタフェース処理装置、ユーザインタフェース処理方法、およびユーザインタフェース処理プログラム
JP5140101B2 (ja) * 2010-03-08 2013-02-06 株式会社コナミデジタルエンタテインメント ゲームプログラム、ゲーム装置、およびゲーム制御方法
JP2012168932A (ja) * 2011-02-10 2012-09-06 Sony Computer Entertainment Inc 入力装置、情報処理装置および入力値取得方法
CN102508573B (zh) * 2011-10-28 2015-04-22 Tcl通讯科技(成都)有限公司 一种通过滑屏实现快速定位的方法及设备
JP5859298B2 (ja) * 2011-12-08 2016-02-10 任天堂株式会社 情報処理システム、情報処理装置、情報処理方法及び情報処理プログラム
JP5377709B2 (ja) * 2012-05-23 2013-12-25 株式会社スクウェア・エニックス 情報処理装置,情報処理方法,及びゲーム装置
JP5450718B2 (ja) * 2012-06-11 2014-03-26 株式会社スクウェア・エニックス ゲーム装置及びゲームプログラム
JP5487262B2 (ja) 2012-08-03 2014-05-07 株式会社コナミデジタルエンタテインメント 操作端末、操作制御方法、操作制御プログラム
US20150231509A1 (en) * 2014-02-17 2015-08-20 Xaviant, LLC (a GA Limited Liability Company) System, Method, and Apparatus for Smart Targeting
JP6165129B2 (ja) * 2014-12-26 2017-07-19 株式会社バンダイナムコエンターテインメント プログラム及び端末
JP5705393B1 (ja) * 2015-01-21 2015-04-22 株式会社Cygames ユーザ入力の操作性を向上させる方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006150062A (ja) * 2004-11-02 2006-06-15 Nintendo Co Ltd ゲーム装置及びゲームプログラム
JP2013511759A (ja) * 2009-11-18 2013-04-04 オペラ・ソフトウェア・アーエスアー スクロール中に文字列の縦の段に追従するための方法および装置
US20150072784A1 (en) * 2012-06-08 2015-03-12 Intellectual Discovery Co., Ltd. Method and apparatus for controlling character by inputting pattern

Also Published As

Publication number Publication date
US10391399B2 (en) 2019-08-27
JP5830806B1 (ja) 2015-12-09
CN107636590A (zh) 2018-01-26
HK1246896A1 (zh) 2018-09-14
JP2016201028A (ja) 2016-12-01
KR20170136574A (ko) 2017-12-11
KR101987858B1 (ko) 2019-06-11
CN107636590B (zh) 2020-11-17
US20180043254A1 (en) 2018-02-15

Similar Documents

Publication Publication Date Title
JP5830806B1 (ja) ユーザ入力の操作性を向上させるプログラム、電子装置、及び方法
US20200089374A1 (en) Method and apparatus for using gestures across multiple devices
US9477403B2 (en) Drawing on a touchscreen
US9170666B2 (en) Representative image
US10318152B2 (en) Modifying key size on a touch screen based on fingertip location
JP5783828B2 (ja) 情報処理装置およびその制御方法
JP2016051266A (ja) ユーザ入力の操作性を向上させる方法
JP2015504219A (ja) パン・アニメーション
JP2016009023A5 (ja) 情報処理装置およびその制御方法、表示制御装置、並びにプログラム
JP6470112B2 (ja) 移動装置操作端末、移動装置操作方法及び移動装置操作プログラム
JP2018027231A (ja) プログラム、制御方法、及び情報処理装置
JP2015114978A (ja) 表示装置およびプログラム
CN104461312A (zh) 一种显示控制方法及电子设备
AU2018251560B2 (en) Live ink presence for real-time collaboration
JP2015217006A (ja) ユーザインターフェースプログラム及び当該プログラムを備えたゲームプログラム
WO2017145570A1 (ja) ゲームプログラム
US20170038962A1 (en) System and method for receiving a touch input at a location of a cursor extended from the touch input on a touchscreen device
US20140111551A1 (en) Information-processing device, storage medium, information-processing method, and information-processing system
JP2017148481A (ja) ゲームプログラム
US20150234587A1 (en) Information processing apparatus, non-transitory readable medium, and handwriting input method
JP6630164B2 (ja) 電子機器及びその制御方法、プログラム、並びに記憶媒体
US20140157118A1 (en) Information processing apparatuses, non-transitory computer readable medium, and information processing method
JP6197559B2 (ja) オブジェクト操作システム及びオブジェクト操作制御プログラム並びにオブジェクト操作制御方法
JP2015191415A (ja) オブジェクト制御プログラム及びオブジェクト制御方法
JP2016051463A (ja) ユーザ入力の操作性を向上させる方法

Legal Events

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

Ref document number: 16780004

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20177032255

Country of ref document: KR

Kind code of ref document: A

122 Ep: pct application non-entry in european phase

Ref document number: 16780004

Country of ref document: EP

Kind code of ref document: A1