HK1251324B - Computer readable medium and portable terminal - Google Patents
Computer readable medium and portable terminal Download PDFInfo
- Publication number
- HK1251324B HK1251324B HK18110708.2A HK18110708A HK1251324B HK 1251324 B HK1251324 B HK 1251324B HK 18110708 A HK18110708 A HK 18110708A HK 1251324 B HK1251324 B HK 1251324B
- Authority
- HK
- Hong Kong
- Prior art keywords
- command
- area
- region
- finger
- commands
- Prior art date
Links
Description
技术领域Technical Field
本发明涉及一种程序和便携式终端。The present invention relates to a program and a portable terminal.
背景技术Background Art
随着诸如智能电话和平板终端等的便携式终端普遍使用,经由触摸屏进行用户输入的类型的游戏的数量正在增加。利用传统游戏机,例如,已经存在通过使用方向键(十字键)和按钮的组合来进行各种类型的用户输入的情况。此外,在使用触摸屏的游戏中,可想到在触摸屏上显示与传统游戏机上的方向键和按钮同样的方向键和按钮;然而,这将不容易操作。因而,在使用触摸屏的游戏中,存在对与传统游戏机的用户界面不同的用户界面的需求。With the widespread use of portable terminals such as smartphones and tablet terminals, the number of games that require user input via a touch screen is increasing. With conventional game consoles, for example, various types of user input have been performed using a combination of directional keys (cross keys) and buttons. In addition, in games using a touch screen, it is conceivable to display the same directional keys and buttons as those on a conventional game console on the touch screen; however, this would not be easy to operate. Therefore, in games using a touch screen, there is a demand for a user interface that is different from that of conventional game consoles.
例如,专利文献1公开了用于通过使用对触摸屏的保持操作来切换用户界面的模式的方法(例如,参见图17A~17E)。具体地,例如,在触摸屏上持续利用左手拇指的保持的情况下,在正进行该保持的区域附近显示多个按钮,并且在利用左手拇指选择这多个按钮之一的情况下,根据所选择的按钮来切换模式。然后,例如,在所得到的模式中利用右手食指来进行操作。For example, Patent Document 1 discloses a method for switching user interface modes by using a hold operation on a touch screen (see, for example, Figures 17A to 17E). Specifically, for example, when the left thumb is continuously held on the touch screen, multiple buttons are displayed near the area where the hold is being performed. When one of these multiple buttons is selected with the left thumb, the mode is switched according to the selected button. Then, for example, the right index finger is used to perform operations in the selected mode.
引用列表Reference List
专利文献Patent Literature
专利文献1:美国专利8239784的说明书Patent Document 1: Specification of U.S. Patent 8,239,784
发明内容Summary of the Invention
发明要解决的问题Problems to be solved by the invention
利用专利文献1所公开的方法,为了切换用户界面的模式,需要选择持续保持时所显示的按钮之一。即,需要两步操作、即保持操作和按钮选择。此外,利用该方法,由于按钮的数量随着模式的数量而增加,因此切换模式所需的面积增大。因而,对于需要快速输入多种类型的命令的操作的用户界面而言,该方法是不适当的。Using the method disclosed in Patent Document 1, switching user interface modes requires selecting one of the buttons displayed during a hold. This requires a two-step operation: a hold operation and a button selection. Furthermore, with this method, the number of buttons increases with the number of modes, increasing the area required for switching modes. Therefore, this method is not suitable for user interfaces that require rapid input of multiple types of commands.
此外,在使用触摸屏的游戏中,存在进行用于选择(轻击)触摸屏上所显示的对象(角色)的操作的情况。然而,由于手指大小和习惯在用户之间不同,因此用户意图轻击的位置和系统所识别出的位置之间经常发生显著偏差。在这种情况下,用户难以根据意图来进行用户输入。Furthermore, in games using a touch screen, there are cases where an operation is performed to select (tap) an object (character) displayed on the touch screen. However, since finger size and habits vary between users, there is often a significant discrepancy between the position the user intended to tap and the position recognized by the system. In such cases, it is difficult for the user to perform user input as intended.
本发明是有鉴于上述情形而作出的,并且本发明的目的是提供使得能够在具有触摸屏的便携式终端上在小面积内快速精确地输入针对对象的多种类型的命令的用户界面。The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a user interface that enables various types of commands for objects to be input quickly and accurately within a small area on a portable terminal with a touch screen.
用于解决问题的方案Solutions for solving problems
根据本发明的方面的程序是一种用于便携式终端的程序,所述便携式终端包括具有用于选择命令的第一区域以及用于显示对象的第二区域的触摸屏,所述程序使得所述便携式终端能够实现:命令信息存储单元,用于关于针对多个对象的多个命令,存储表示命令和能够用作该命令的目标的对象之间的对应关系的命令信息;位置信息存储单元,用于存储表示所述第二区域中的各对象的显示位置的位置信息;命令选择单元,用于基于在所述第一区域中利用用户的第一手指正在进行操作的状态来选择命令;区域定义单元,用于基于所述命令信息和所述位置信息,来将所述第二区域中的与能够用作所选择命令的目标的对象的显示位置相对应的区域定义为能够接受操作的区域;以及命令执行单元,用于响应于在所述第一区域中正在持续进行利用所述第一手指的操作的状态下利用用户的第二手指在所述能够接受操作的区域中所进行的操作,来针对与进行了该操作的区域相对应的对象执行所选择命令。According to an aspect of the present invention, a program is a program for a portable terminal, which includes a touch screen having a first area for selecting a command and a second area for displaying an object, and the program enables the portable terminal to implement: a command information storage unit for storing command information representing the correspondence between commands and objects that can be used as targets of the commands with respect to multiple commands for multiple objects; a position information storage unit for storing position information representing the display position of each object in the second area; a command selection unit for selecting a command based on a state in which an operation is being performed using a user's first finger in the first area; an area definition unit for defining an area in the second area corresponding to the display position of an object that can be used as a target of the selected command as an area that can accept an operation based on the command information and the position information; and a command execution unit for executing the selected command for the object corresponding to the area in which the operation is performed, in response to an operation performed in the area that can accept the operation using the user's second finger while the operation using the first finger is continuously being performed in the first area.
注意,在本发明中,“单元”不是简单地表示物理含义,而且还包括通过软件来实现“单元”的功能的情况。此外,单个“单元”或装置的功能可以通过两个以上的物理部件或装置来实现,并且两个以上的“单元”或装置可以通过单个物理部件或装置来实现。Note that in the present invention, "unit" does not simply mean a physical component, but also includes cases where the functions of a "unit" are implemented by software. In addition, the functions of a single "unit" or device can be implemented by two or more physical components or devices, and two or more "units" or devices can be implemented by a single physical component or device.
发明的效果Effects of the Invention
根据本发明,可以提供使得能够在具有触摸屏的便携式终端上在小面积内快速精确地输入针对对象的多种类型的命令的用户界面。According to the present invention, a user interface that enables rapid and accurate input of various types of commands for an object within a small area on a portable terminal having a touch screen can be provided.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是示出根据本发明的实施例的便携式终端100的外观的图。FIG. 1 is a diagram illustrating an external appearance of a portable terminal 100 according to an embodiment of the present invention.
图2是示出便携式终端100的硬件结构的示例的图。FIG. 2 is a diagram showing an example of a hardware structure of the portable terminal 100 .
图3是示出便携式终端100的一部分功能的框图。FIG. 3 is a block diagram illustrating a portion of the functions of the portable terminal 100 .
图4是示出命令信息的示例的图。FIG. 4 is a diagram showing an example of command information.
图5是示出位置信息的示例的图。FIG. 5 is a diagram showing an example of position information.
图6是示出在没在正在操作命令选择区域130的状态下的用户界面的示例的图。FIG. 6 is a diagram showing an example of a user interface in a state where the command selection area 130 is not being operated.
图7A是示出在正在操作命令选择区域130的状态下的用户界面的示例的图。FIG. 7A is a diagram showing an example of a user interface in a state where the command selection area 130 is being operated.
图7B是示出在正在操作命令选择区域130的状态下的用户界面的另一示例的图。FIG. 7B is a diagram showing another example of the user interface in a state where the command selection area 130 is being operated.
图8是示出以垂直姿势保持便携式终端100的状态下的用户界面的示例的图。FIG. 8 is a diagram illustrating an example of a user interface in a state where the portable terminal 100 is held in a vertical posture.
图9是示出与便携式终端100的用户界面有关的处理的示例的流程图。FIG. 9 is a flowchart illustrating an example of a process related to a user interface of the portable terminal 100 .
具体实施方式DETAILED DESCRIPTION
以下将参考附图来说明本发明的实施例。将在针对便携式终端100上执行游戏的情况下的用户界面的示例的上下文中说明本实施例。然而,本发明无需局限于游戏,并且可以适用于具有触摸屏的便携式终端的各种用户界面。Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings. This embodiment will be described in the context of an example of a user interface for a case where a game is executed on a portable terminal 100. However, the present invention need not be limited to games and can be applied to various user interfaces of a portable terminal having a touch screen.
图1是示出根据本发明的实施例的便携式终端100的外观的图。便携式终端100是诸如智能电话、平板终端或便携式游戏机等的计算机。便携式终端 100包括用作显示装置和输入装置这两者的触摸屏110。触摸屏110可以检测利用手指等正在操作(触摸)的位置。此外,触摸屏110可以包括感压传感器或感力传感器,以使得触摸屏110可以检测施加至触摸屏的力。FIG1 is a diagram illustrating the appearance of a portable terminal 100 according to an embodiment of the present invention. The portable terminal 100 is a computer such as a smartphone, a tablet terminal, or a portable game console. The portable terminal 100 includes a touch screen 110 that serves as both a display device and an input device. The touch screen 110 can detect a location being operated (touched) by a finger or the like. Furthermore, the touch screen 110 may include a pressure sensor or a force sensor to enable the touch screen 110 to detect a force applied to the touch screen.
触摸屏110的显示区域设置有显示各种对象(角色)的对象显示区域120 (第二区域)、以及用于选择针对对象所要执行的命令的命令选择区域130(第一区域)。在便携式终端100上,在利用手指140(第一手指,例如左手拇指) 在命令选择区域130内选择命令的状态下,利用手指150(第二手指,例如右手拇指)在对象显示区域120内发出针对对象的命令的执行指示。命令选择区域130可以是对象显示区域120的一部分。The display area of touch screen 110 is provided with an object display area 120 (second area) that displays various objects (characters), and a command selection area 130 (first area) for selecting a command to be executed on an object. On portable terminal 100, when a command is selected in command selection area 130 using finger 140 (first finger, such as the left thumb), a command to be executed on an object is issued in object display area 120 using finger 150 (second finger, such as the right thumb). Command selection area 130 may be part of object display area 120.
图2是示出便携式终端100的硬件结构的示例的图。除了触摸屏110以外,便携式终端100还包括处理器200、存储装置210、通信接口(I/F)220和传感器 230。2 is a diagram illustrating an example of a hardware structure of the portable terminal 100. The portable terminal 100 includes a processor 200, a storage device 210, a communication interface (I/F) 220, and a sensor 230 in addition to the touch screen 110.
处理器200通过执行存储装置210中所存储的程序来实现便携式终端100 的各种功能。The processor 200 implements various functions of the portable terminal 100 by executing programs stored in the storage device 210 .
存储装置210存储便携式终端100中所使用的程序和数据。例如,存储装置210包括诸如RAM(随机存取存储器)等的易失性存储器以及诸如闪速存储器等的非易失性存储器。例如,将处理器200所执行的处理中临时使用的数据存储在易失性存储器中,并且将处理器200所执行的程序存储在非易失性存储器中。例如,该程序可以经由因特网下载并且存储在存储装置210中。作为另一示例,该程序可以从诸如盒式磁盘等的存储介质读取并且存储在存储装置210中。The storage device 210 stores programs and data used in the portable terminal 100. For example, the storage device 210 includes volatile memory such as RAM (Random Access Memory) and non-volatile memory such as flash memory. For example, data temporarily used in the processing executed by the processor 200 is stored in the volatile memory, and the program executed by the processor 200 is stored in the non-volatile memory. For example, the program can be downloaded via the Internet and stored in the storage device 210. As another example, the program can be read from a storage medium such as a cartridge disk and stored in the storage device 210.
通信I/F 220是用于执行与便携式终端100的外部的通信的接口。例如,通信I/F220是用于经由移动电话通信网络或无线LAN(局域网)发送和接收数据的接口。The communication I/F 220 is an interface for performing communication with the outside of the portable terminal 100. For example, the communication I/F 220 is an interface for transmitting and receiving data via a mobile phone communication network or a wireless LAN (Local Area Network).
传感器230是用于检测便携式终端100的各种状态的装置。例如,传感器 230包括磁传感器、角速度传感器和GPS(全球定位系统)传感器。在便携式终端100中,可以基于传感器230的检测结果来检测便携式终端100的状态。例如,在便携式终端100中,可以基于传感器230的检测结果来检测便携式终端 100的姿势(横向或纵向)。Sensor 230 is a device for detecting various states of portable terminal 100. For example, sensor 230 includes a magnetic sensor, an angular velocity sensor, and a GPS (Global Positioning System) sensor. In portable terminal 100, the state of portable terminal 100 can be detected based on the detection results of sensor 230. For example, the posture (landscape or portrait) of portable terminal 100 can be detected based on the detection results of sensor 230.
图3是示出便携式终端100的一部分功能的框图。便携式终端100包括命令信息存储单元300、位置信息存储单元310、命令识别单元320、命令选择单元330、区域定义单元340和命令执行单元350。图3所示的这些单元是通过处理器200执行存储装置210中所存储的程序来实现的。FIG3 is a block diagram illustrating a portion of the functions of the portable terminal 100. The portable terminal 100 includes a command information storage unit 300, a position information storage unit 310, a command recognition unit 320, a command selection unit 330, an area definition unit 340, and a command execution unit 350. These units shown in FIG3 are implemented by the processor 200 executing a program stored in the storage device 210.
命令信息存储单元300针对与触摸屏110上所显示的多个对象有关的多个命令,存储表示命令和用作该命令的目标的对象之间的对应关系的命令信息。图4是示出命令信息的示例的图。在图4所示的示例中,命令信息包括位置、状况、命令标识符、对象选择信息、调节信息和图像标识符。The command information storage unit 300 stores command information indicating the correspondence between commands and the objects serving as targets of the commands, for a plurality of commands related to a plurality of objects displayed on the touch screen 110. FIG4 is a diagram illustrating an example of command information. In the example shown in FIG4, the command information includes a position, a status, a command identifier, object selection information, adjustment information, and an image identifier.
“位置”是表示在命令选择区域130内轻击的位置的信息。“状况”是表示正执行的游戏内的状况的信息。例如,表示状况的信息包括与游戏场景或触摸屏110上所显示的对象的类型有关的信息。"Position" is information indicating the tapped position within command selection area 130. "Situation" is information indicating the status within the game being executed. For example, the information indicating the status includes information related to the game scene or the type of object displayed on touch screen 110.
“命令标识符”是用于标识游戏内所执行的各命令的信息。例如,“arrow_shot”是用于对所选择的对象射出箭的命令的标识符。作为另一示例,“vulnerary”是用于向所选择的对象给予创伤药以使得该对象可以恢复其体力的命令的标识符。"Command identifier" is information used to identify each command executed within the game. For example, "arrow_shot" is the identifier of a command for shooting an arrow at a selected object. As another example, "vulnerary" is the identifier of a command for administering trauma medicine to a selected object to restore its health.
“对象选择命令”是用于选择用作命令的目标的对象的信息。例如。“enemy”是表示命令的目标是敌方的信息。作为另一示例,“party”是表示命令的目标是同盟(游戏者或伙伴)的信息。对象选择信息不限于对象属性,并且可以是使得能够选择对象的任何信息。例如,可以设置对象标识符、对象名称等作为对象选择信息。An "object selection command" is information used to select an object to be used as the target of a command. For example, "enemy" indicates that the target of the command is an enemy. As another example, "party" indicates that the target of the command is an ally (player or partner). Object selection information is not limited to object attributes and can be any information that enables object selection. For example, an object identifier, object name, etc. can be set as object selection information.
“调节信息”是用于调节在对象显示区域120内能够选择对象的区域的信息。例如,调节信息包括用于调节区域的大小的信息以及用于沿深度方向调节区域的前后关系(Z顺序)的信息。与这些对象如何出现在画面上无关地, Z顺序表示在多个对象彼此重叠的情况下轻击操作的优先级。例如,如果调节信息(大小)是“1.5”,则通过与正常设置相比,将可以选择用作命令的目标的对象的区域放大1.5倍。此外,如果调节信息(Z顺序)是“0”(最上层),则即使该目标对象的一部分被显示为隐藏在画面上的另一对象之后,也使可以选择对象的区域与最上层显示的对象的情况相同。"Adjustment information" is information for adjusting the area in which objects can be selected within the object display area 120. For example, the adjustment information includes information for adjusting the size of the area and information for adjusting the front-to-back relationship (Z order) of the area in the depth direction. Regardless of how these objects appear on the screen, the Z order represents the priority of a tap operation when multiple objects overlap each other. For example, if the adjustment information (size) is "1.5", the area in which objects that can be selected as the target of a command is enlarged by 1.5 times compared to the normal setting. In addition, if the adjustment information (Z order) is "0" (top layer), even if a part of the target object is displayed as hidden behind another object on the screen, the area in which the object can be selected is made the same as that of the object displayed on the top layer.
“图像标识符”是表示命令的类型的图像的标识符。例如,“arrow_image”与用于射箭的命令相对应的箭的图像的标识符。作为另一示例,“vulnerary_image”是与用于给予创伤药的命令相对应的药品的图像的标识符。The "image identifier" is an identifier of an image representing the type of command. For example, "arrow_image" is an identifier of an image of an arrow corresponding to a command for archery. As another example, "vulnerary_image" is an identifier of an image of medicine corresponding to a command for administering trauma medicine.
返回参考图3,位置信息存储单元310存储表示显示各对象的位置的位置信息。图5是示出位置信息的示例的图。在图5所示的示例中,位置信息包括对象标识符、名称、属性、位置和形状。Referring back to Figure 3, the position information storage unit 310 stores position information indicating the position at which each object is displayed. Figure 5 is a diagram showing an example of position information. In the example shown in Figure 5, the position information includes an object identifier, name, attribute, position, and shape.
“对象标识符”是对象显示区域120内所显示的对象的标识符。“名称”是表示对象的名称的信息。“属性”是表示对象的属性的信息。例如,“party”是表示对象属于同盟阵营的信息。作为另一示例,“enemy”是表示对象是敌方的信息。注意,被设置为属性的信息不限于对象属于的阵营(同盟/敌方),并且可以是表示对象的属性的任何信息。例如,可以将与对象的能力有关的信息设置为属性。“位置”是表示显示对象的位置的信息。例如,“位置”可以是对象的重心的位置。作为另一示例,位置可以从对象显示区域120的左上(原点)起以相对坐标的形式来表示。“形状”是表示对象的形状的信息。例如,“形状”可以是表示对象的图像的信息或者表示多边形的集合的信息。"Object identifier" is an identifier of the object displayed in the object display area 120. "Name" is information indicating the name of the object. "Attribute" is information indicating the attribute of the object. For example, "party" is information indicating that the object belongs to the alliance camp. As another example, "enemy" is information indicating that the object is an enemy. Note that the information set as an attribute is not limited to the camp (alliance/enemy) to which the object belongs, and can be any information indicating the attribute of the object. For example, information related to the ability of the object can be set as an attribute. "Position" is information indicating the position of the displayed object. For example, "position" can be the position of the center of gravity of the object. As another example, the position can be expressed in the form of relative coordinates from the upper left (origin) of the object display area 120. "Shape" is information indicating the shape of the object. For example, "shape" can be information representing an image of the object or information representing a set of polygons.
返回参考图3,命令识别单元320从多个命令中识别当前状况下能够执行的命令。具体地,命令识别单元320参考命令信息存储单元300中的命令信息,并且将“状况”与当前状况匹配的命令识别为能够执行的命令。可以识别一个或多个命令。在能够执行的命令是固定的情况下,便携式终端100不必包括命令识别单元320。Referring back to FIG3 , the command recognition unit 320 identifies a command that can be executed under the current situation from a plurality of commands. Specifically, the command recognition unit 320 refers to the command information in the command information storage unit 300 and identifies a command whose "situation" matches the current situation as an executable command. One or more commands can be recognized. If the executable commands are fixed, the portable terminal 100 does not need to include the command recognition unit 320.
命令选择单元330基于利用用户的手指140(例如,左手拇指)在命令选择区域130内的操作的状态来从命令识别单元320所识别出的命令中选择针对对象所要执行的命令。具体地,命令识别单元320基于命令选择区域130内进行轻击并且正被维持(进行轻击并保持)的位置来选择命令。The command selection unit 330 selects a command to be executed for the object from the commands recognized by the command recognition unit 320 based on the state of the operation using the user's finger 140 (e.g., the left thumb) within the command selection area 130. Specifically, the command recognition unit 320 selects a command based on the position in the command selection area 130 where the tap is made and is being maintained (tapped and held).
注意,用于使命令选择单元330选择命令的用户操作不限于上述示例。例如,命令选择单元330可以基于正触摸命令选择区域130的力的大小来判断命令。例如,通过触摸屏110的感压传感器或感力传感器来检测正在触摸命令选择区域130的力。作为用作命令选择单元330选择命令时的标准的“力”,可以使用施加至触摸屏110的任何力,而无需局限于沿与触摸屏110垂直的方向的力。例如,可以使用沿相对于触摸屏110的倾斜方向施加的力。此外,无需局限于感压传感器或感力传感器,并且可以使用能够检测施加至触摸屏 110的力的任何传感器。Note that the user operation for causing command selection unit 330 to select a command is not limited to the above example. For example, command selection unit 330 may determine a command based on the magnitude of the force applied to command selection area 130. For example, the force applied to command selection area 130 may be detected by a pressure sensor or force sensor of touch screen 110. The "force" used as a criterion for command selection by command selection unit 330 can be any force applied to touch screen 110, without being limited to a force applied in a direction perpendicular to touch screen 110. For example, a force applied in a direction tilted relative to touch screen 110 can be used. Furthermore, there is no need to be limited to a pressure sensor or force sensor, and any sensor capable of detecting force applied to touch screen 110 can be used.
作为另一示例,命令选择单元330可以检测手指140在不与触摸屏110相接触的情况下位于命令选择区域130附近的区域中的状态(被称为“悬浮操作”),并且可以基于以这种方式所指定的命令选择区域130的位置来判断命令。As another example, the command selection unit 330 can detect a state in which the finger 140 is located in an area near the command selection area 130 without being in contact with the touch screen 110 (referred to as a "hovering operation"), and can judge a command based on the position of the command selection area 130 specified in this manner.
区域定义单元340将对象显示区域120中的、与命令选择单元330所选择的用作命令目标的对象的显示位置相对应的区域,定义为可接受操作的区域。具体地,基于命令信息存储单元300中所存储的命令信息,区域定义单元340识别用作所选择命令的目标的对象。然后,基于位置信息存储单元310 所存储的位置信息,区域定义单元340将与所识别出的对象的显示位置相对应的区域定义为可接受操作的区域。此时,区域定义单元340可以基于针对命令信息所设置的“调节信息”来调节可接受区域的大小。The area definition unit 340 defines the area in the object display area 120 corresponding to the display position of the object serving as the command target selected by the command selection unit 330 as an area where operations can be accepted. Specifically, based on the command information stored in the command information storage unit 300, the area definition unit 340 identifies the object serving as the target of the selected command. Then, based on the position information stored in the position information storage unit 310, the area definition unit 340 defines the area corresponding to the display position of the identified object as an area where operations can be accepted. At this point, the area definition unit 340 can adjust the size of the acceptable area based on the "adjustment information" set for the command information.
在命令选择区域130中正在持续利用用户的手指140(例如,左手拇指)的操作的状态下利用用户的手指150(例如,右手拇指)在区域定义单元340所定义的可接受区域内进行操作的情况下,命令执行单元350针对与进行操作的区域相对应的对象来执行命令选择区域130内所选择的命令。例如,此时利用手指150的操作可以是轻击。然而,注意,在所定义的区域内的操作不限于轻击。此外,可以根据所选择的命令来改变该操作的类型。If a user's finger 140 (e.g., the left thumb) is continuously operating in command selection area 130, and a user's finger 150 (e.g., the right thumb) is used to perform an operation within the acceptable area defined by area definition unit 340, command execution unit 350 executes the command selected within command selection area 130 on the object corresponding to the area where the operation is performed. For example, the operation performed by finger 150 in this case may be a tap. However, it should be noted that operations within the defined area are not limited to taps. Furthermore, the type of operation may vary depending on the selected command.
将参考图6~8来说明本实施例中的用户界面的示例。Examples of the user interface in this embodiment will be described with reference to FIGS. 6 to 8 .
图6是示出没有正在操作命令选择区域130的状态下的用户界面的示例的图。在图6所示的示例中,在对象显示区域120内显示三个对象600、601和 602。这里,假定对象600是游戏者(属性:party)的对象,并且对象601和602 是敌方(属性:enemy)的对象。FIG6 is a diagram showing an example of a user interface in a state where the command selection area 130 is not being operated. In the example shown in FIG6 , three objects 600, 601, and 602 are displayed in the object display area 120. Here, it is assumed that object 600 is an object of the player (attribute: party), and objects 601 and 602 are objects of the enemy (attribute: enemy).
在没有正在操作命令选择区域130的情况下,当利用手指150(例如,右手拇指)操作对象显示区域120时,针对对象执行预定命令。针对对象600~602 分别设置可接受操作的区域620~622。例如,当利用手指150轻击作为敌方的对象601的区域621时,执行利用刀攻击对象601的命令。作为另一示例,当利用手指150轻击对象显示区域120内的除区域620和621以外的区域时,执行用于使游戏者的对象600向轻击位置移动的命令。When the object display area 120 is operated with a finger 150 (e.g., the right thumb) while the command selection area 130 is not being operated, a predetermined command is executed for the object. Objects 600-602 are each provided with regions 620-622 that accept operations. For example, when region 621 of enemy object 601 is tapped with a finger 150, a command is executed to attack object 601 with a knife. As another example, when a region other than regions 620 and 621 within the object display area 120 is tapped with a finger 150, a command is executed to move the player's object 600 to the tapped location.
图7A是示出正在操作命令选择区域130的状态下的用户界面的示例的图。在图7A所示的示例中,正在利用手指140(例如,左手拇指)操作命令选择区域130。Fig. 7A is a diagram showing an example of a user interface in a state where the command selection area 130 is being operated. In the example shown in Fig. 7A , the command selection area 130 is being operated with a finger 140 (eg, the left thumb).
在该示例中,根据手指140的位置来选择用于射箭的命令,并且在放置手指140的位置附近的区域(第三区域)内显示表示命令的箭的图像710。此外,在该示例中,作为敌方的对象601和602是可以用作用于射箭的命令的目标的对象。因而,与图6的情况相比,用于这些对象601和602的可接受区域621和 622较大。此外,例如,在利用手指150(例如,右手拇指)轻击放大区域621 的情况下,执行用于对与区域621相对应的对象601射箭的命令。针对对象602 的操作是同样的。随着对象601和602的显示位置更新,动态更新区域621和 622。此外,可以禁止接受对象显示区域120内的除区域621和622以外的区域内的操作。In this example, a command to shoot an arrow is selected based on the position of finger 140, and an arrow image 710 representing the command is displayed in an area (third area) near the position where finger 140 is placed. Furthermore, in this example, objects 601 and 602, acting as enemies, are objects that can be used as targets for the command to shoot an arrow. Thus, compared to the case of FIG. 6 , the acceptable areas 621 and 622 for these objects 601 and 602 are larger. Furthermore, for example, if the enlarged area 621 is tapped with finger 150 (e.g., the right thumb), a command to shoot an arrow is executed on object 601 corresponding to area 621. The same operation is performed on object 602. Areas 621 and 622 are dynamically updated as the display positions of objects 601 and 602 are updated. Furthermore, operations within areas other than areas 621 and 622 within the object display area 120 can be prohibited from being accepted.
图7B示出正在操作命令选择区域130的状态下的用户界面的另一示例的图。在图7B所示的示例中,正利用手指140(例如,左手拇指)操作命令选择区域130。Fig. 7B is a diagram showing another example of the user interface in a state where the command selection area 130 is being operated. In the example shown in Fig. 7B , the command selection area 130 is being operated with a finger 140 (eg, the left thumb).
在该示例中,根据手指140的位置选择用于给予创伤药的命令,并且在放置手指140的位置附近的区域(第三区域)内显示表示该命令的药品的图像 720。此外,在该示例中,作为同盟的对象600是可以用作用于给予创伤药的命令的目标的对象。因而,与图6的情况相比,针对对象600的可接受区域620 较大。此外,例如,在利用手指150(例如,右手拇指)轻击放大区域620的情况下,执行用于向与区域620相对应的对象600给予创伤药的命令。随着对象 600的显示位置更新,动态更新区域620。此外,可以禁止接受对象显示区域 120内的除区域620以外的区域内的操作。In this example, a command to administer trauma medicine is selected based on the position of finger 140, and an image 720 representing the medicine for this command is displayed in the area (third area) near the position where finger 140 is placed. Furthermore, in this example, object 600, acting as an ally, is the target of the command to administer trauma medicine. Consequently, compared to the example in FIG6 , acceptable area 620 for object 600 is larger. Furthermore, for example, if the enlarged area 620 is tapped with finger 150 (e.g., the right thumb), the command to administer trauma medicine is executed on object 600 corresponding to area 620. Area 620 is dynamically updated as the displayed position of object 600 is updated. Furthermore, it is possible to prohibit operations within areas other than area 620 within object display area 120 from being accepted.
如图7A和7B所示,将与可以用作命令选择区域130内所选择的命令的目标的对象的显示位置相对应的区域定义为可接受操作的区域。然后,在操作 (例如,轻击)可接受的区域内,在针对对象进行操作(例如,轻击)时执行所选择的命令。如上所述,利用根据本实施例的用户界面,可以通过在命令选择区域130内选择命令来改变对象显示区域120内的操作的解释,并且可以在无需从命令选择区域130释放手指并且进行其它操作的情况下在对象显示区域120内进行操作。这使得可以在小面积内快速精确地输入针对对象的多种类型的命令。As shown in Figures 7A and 7B, the area corresponding to the display position of an object that can serve as the target of the command selected in the command selection area 130 is defined as an area where operations can be accepted. Then, within the area where operations (e.g., taps) are accepted, the selected command is executed when an operation (e.g., tap) is performed on the object. As described above, using the user interface according to this embodiment, the interpretation of operations in the object display area 120 can be changed by selecting a command in the command selection area 130, and operations can be performed in the object display area 120 without releasing the finger from the command selection area 130 and performing other operations. This makes it possible to quickly and accurately input various types of commands for objects in a small area.
所定义的区域的形状是任意的。例如,所定义的区域可以是通过放大对象的形状所定义的形状或者是以对象的重心的位置为中心的椭圆。此外,所定义的区域可以以可区别的形式显示。例如,可以将对象或区域以与其它对象或其它区域的显示模式不同的显示模式显示。此外,显示表示命令的图像 710和720的区域不限于与命令选择区域130邻接的区域。例如,显示图像710 和720的区域可以是与能够用作命令的目标的对象的可接受区域邻接的区域。The shape of the defined area is arbitrary. For example, the defined area can be a shape defined by enlarging the shape of the object or an ellipse centered at the position of the object's center of gravity. In addition, the defined area can be displayed in a distinguishable form. For example, the object or area can be displayed in a display mode different from the display mode of other objects or other areas. In addition, the area where images 710 and 720 representing commands are displayed is not limited to the area adjacent to command selection area 130. For example, the area where images 710 and 720 are displayed can be an area adjacent to an acceptable area of an object that can be used as a target for a command.
图8是示出以纵向姿势保持便携式终端100的状态下的用户界面的示例的图。如图8所示,在纵向姿势的情况下,在图8的下侧设置命令选择区域130 的位置。可以通过在命令选择区域130内向左或向右滑动手指140(例如,左手拇指)来选择命令。此外,与横向姿势的情况相同,可以通过利用手指150 (例如,右手拇指)在对象显示区域120内进行操作(例如,轻击)来执行针对对象的命令。FIG8 is a diagram illustrating an example of a user interface when the portable terminal 100 is held in a portrait orientation. As shown in FIG8 , in the portrait orientation, a command selection area 130 is positioned at the bottom of FIG8 . A command can be selected by sliding a finger 140 (e.g., the left thumb) leftward or rightward within the command selection area 130. Furthermore, as in the landscape orientation, commands directed to objects can be executed by operating (e.g., tapping) within the object display area 120 with a finger 150 (e.g., the right thumb).
图9是示出与便携式终端100内的用户界面有关的处理的示例的流程图。FIG. 9 is a flowchart illustrating an example of processing related to a user interface within the portable terminal 100 .
命令选择单元330确认命令选择区域130内是否正进行轻击并保持 (S901)。在没有正进行轻击并保持的情况下(S901:N),如图6所示的示例中那样,命令执行单元350执行基于正常用户界面的命令(S902)。The command selection unit 330 checks whether a tap and hold is being performed in the command selection area 130 (S901). If a tap and hold is not being performed (S901: N), the command execution unit 350 executes a command based on the normal user interface as shown in the example of FIG6 (S902).
在命令选择区域130内正进行轻击并保持的情况下(S901:Y),命令识别单元320基于命令信息来识别当前状况下能够执行的命令(S903)。然后,命令选择单元330基于命令信息,根据命令选择区域130的位置来从所识别出的命令中选择命令(S904)。When a tap is held in command selection area 130 (S901: Y), command recognition unit 320 recognizes a command that can be executed under the current circumstances based on the command information (S903). Then, command selection unit 330 selects a command from the recognized commands according to the position of command selection area 130 based on the command information (S904).
在选择了命令的情况下,如图7A和7B所示的示例中那样,区域定义单元340针对可以用作所选择的命令的目标的对象定义可接受操作的区域 (S905)。此时,与正常用户界面(S902)的情况相比,区域定义单元340可以针对目标对象放大可接受操作的区域。然后,命令执行单元350根据所定义的区域内的轻击操作来执行针对对象的命令(S906)。When a command is selected, as shown in the examples of Figures 7A and 7B, area definition unit 340 defines an area where operations can be accepted for an object that can serve as a target for the selected command (S905). In this case, area definition unit 340 may enlarge the area where operations can be accepted for the target object compared to the normal user interface (S902). Then, command execution unit 350 executes the command for the object based on a tap operation within the defined area (S906).
以上已经说明了根据本实施例的便携式终端100的用户界面。根据本实施例,如图7A和7B所示,可以在命令选择区域130内利用手指140(例如,左手拇指)正进行轻击并保持的状态下基于手指140的操作状态来选择命令,并且可以将与能够用作所选择的命令的目标的对象的显示位置相对应的区域定义为可接受利用手指150(例如,右手拇指)的操作的区域。这使得可以在无需改变保持便携式终端100的方式或者无需进行多步操作的情况下切换命令,并且还可以在无需从命令选择区域130释放手指并进行其它操作的情况下利用简单操作(例如,轻击)来发出用于执行命令的指示。因此,可以在小面积内快速精确地输入针对对象的多种类型的命令。The user interface of the portable terminal 100 according to the present embodiment has been described above. According to the present embodiment, as shown in Figures 7A and 7B, a command can be selected based on the operation state of the finger 140 while the finger 140 (for example, the left thumb) is being tapped and held in the command selection area 130, and an area corresponding to the display position of an object that can be used as a target of the selected command can be defined as an area that can accept operations using the finger 150 (for example, the right thumb). This makes it possible to switch commands without changing the way the portable terminal 100 is held or without performing multiple steps, and also to issue instructions for executing commands using a simple operation (for example, a tap) without releasing the finger from the command selection area 130 and performing other operations. Therefore, various types of commands for objects can be input quickly and accurately in a small area.
此外,根据本实施例,可以基于在命令选择区域130内利用手指140(例如,左手拇指)正在操作的位置来选择命令。因此,如图7A和7B所示,可以通过改变手指140在命令选择区域130内的位置来容易地切换命令。Furthermore, according to this embodiment, a command can be selected based on the position being manipulated by finger 140 (e.g., the left thumb) within command selection area 130. Therefore, as shown in FIG7A and FIG7B , commands can be easily switched by changing the position of finger 140 within command selection area 130.
此外,根据本实施例,可以在保持与命令选择区域130的接触的同时,根据手指140(例如,左手拇指)移动的操作来连续切换命令。由于不需要在切换命令时从触摸屏110释放手指140,因此这使得可以平滑地切换命令。Furthermore, according to this embodiment, commands can be continuously switched according to an operation of moving a finger 140 (e.g., the left thumb) while maintaining contact with the command selection area 130. This allows for smooth switching of commands since there is no need to release the finger 140 from the touch screen 110 when switching commands.
此外,根据本实施例,可以基于在命令选择区域130内利用手指140(例如,左手拇指)施加的力的大小来选择命令。因此,可以通过改变在命令选择区域130内利用手指140按压的力来容易切换命令。Furthermore, according to this embodiment, a command can be selected based on the amount of force applied by finger 140 (e.g., the left thumb) within command selection area 130. Therefore, commands can be easily switched by changing the force with which finger 140 is pressed within command selection area 130.
此外,根据本实施例,可以在保持手指140与命令选择区域130接触的同时,根据改变利用手指140(例如,左手拇指)施加的力的操作来连续切换命令。由于不需要在切换命令时从触摸屏110释放手指140,因此这使得可以平滑地切换命令。Furthermore, according to this embodiment, commands can be continuously switched by changing the force applied by finger 140 (e.g., left thumb) while maintaining contact between finger 140 and command selection area 130. This allows for smooth switching of commands since there is no need to release finger 140 from touch screen 110 when switching commands.
此外,根据本实施例,可以针对能够用作所选择的命令的目标的对象调节可接受操作的区域的大小。具体地,如图7A和7B所示,与正常用户界面的情况相比,针对可以用作所选择的命令的目标的对象,可以调节可接受操作的区域大小或前后关系。这使得可以减少操作错误,并提高检测精度。Furthermore, according to this embodiment, the size of the area where operations can be accepted can be adjusted for objects that can serve as targets for selected commands. Specifically, as shown in Figures 7A and 7B, the size and context of the area where operations can be accepted can be adjusted for objects that can serve as targets for selected commands, compared to a normal user interface. This reduces operational errors and improves detection accuracy.
此外,根据本实施例,随着能够用作所选择的命令的目标的对象的显示位置的更新,可以针对能够用作所选择的命令的目标的对象更新可接受操作的区域。这使得例如如游戏的情况中那样在涉及对象位置的更新的用户界面中能够提高检测精度并且使得能够进行快速操作。Furthermore, according to this embodiment, as the display position of an object that can be used as a target for a selected command is updated, the area in which operations can be accepted for the object that can be used as a target for the selected command can be updated. This improves detection accuracy and enables quick operations in user interfaces that involve updating of object positions, such as in games.
此外,根据本实施例,可以针对能够用作命令选择区域130内所选择的命令的目标的对象,采用轻击操作作为可接受操作的区域内所要进行的操作。这使得可以在通过在命令选择区域130内进行操作来切换命令的同时,利用简单的轻击操作来发出用于执行命令的指示。Furthermore, according to this embodiment, a tap operation can be employed as an operation to be performed within the area accepting an operation, with respect to an object that can serve as a target of a command selected within command selection area 130. This makes it possible to issue an instruction for executing a command using a simple tap operation while switching commands by operating within command selection area 130.
此外,根据本实施例,如图7A和7B所示,可以显示命令选择区域130内所选择的命令的图像(例如,图像710和720)。这使得可以容易识别所选择的命令。尽管在本实施例中显示表示所选择的命令的图像,但是用于识别所选择的命令的辅助不限于图像。例如,可以输出与所选择的命令相对应的音频 (声音效果)。Furthermore, according to this embodiment, as shown in Figures 7A and 7B , an image (e.g., images 710 and 720) of the command selected within command selection area 130 may be displayed. This makes it easier to identify the selected command. Although an image representing the selected command is displayed in this embodiment, assistance for identifying the selected command is not limited to images. For example, audio (sound effects) corresponding to the selected command may be output.
此外,根据本实施例,可以在与命令选择区域130邻接的区域内显示表示所选择的命令的图像。如上所述,通过在与命令选择区域130邻接的区域内显示图像,使得容易识别出所选择的命令。如图7A和7B所示,根据手指 140的位置,通过改变图像710或720的显示位置来甚至更容易识别所选择的命令。Furthermore, according to this embodiment, an image representing the selected command can be displayed in an area adjacent to command selection area 130. As described above, by displaying the image in an area adjacent to command selection area 130, the selected command can be easily identified. As shown in Figures 7A and 7B, the selected command can be even more easily identified by changing the display position of image 710 or 720 according to the position of finger 140.
此外,根据本实施例,可以针对能够用作所选择的命令的目标的对象,在与可接受操作的区域邻接的区域内显示表示所选择的命令的图像。因此,容易识别所选择的命令,并且还容易识别能够用作该命令的目标的对象。Furthermore, according to this embodiment, an image representing the selected command can be displayed in an area adjacent to the area where the operation can be accepted, with respect to the object that can be used as the target of the selected command. Therefore, it is easy to identify the selected command and also easy to identify the object that can be used as the target of the command.
此外,根据本实施例,可以根据状况来切换命令选择区域130内能够选择的命令。这使得可以在各种状况发生的角色扮演游戏等中根据状况来切换命令。Furthermore, according to this embodiment, commands selectable in the command selection area 130 can be switched according to the situation. This makes it possible to switch commands according to the situation in a role-playing game or the like where various situations occur.
此外,根据本实施例,针对能够用作命令选择区域130内所选择的命令的目标的对象,可以以可区别的形式来显示可接受操作的区域。这使得可以容易区别能够操作的对象。Furthermore, according to the present embodiment, the region where an operation can be accepted can be displayed in a distinguishable form for the object that can serve as the target of the command selected in the command selection region 130. This makes it possible to easily distinguish the object that can be operated.
此外,根据本实施例,如图7A、7B和8所示,可以在触摸屏110的显示区域的边缘部设置命令选择区域130。这使得可以在不会干扰向对象的操作的情况下在容易放置手指的区域内选择命令。此外,根据本实施例,可以根据便携式终端100的姿势来改变命令选择区域130的位置。Furthermore, according to this embodiment, as shown in Figures 7A, 7B, and 8, a command selection area 130 can be provided at the edge of the display area of the touch screen 110. This allows commands to be selected in an area where fingers can be easily placed without interfering with operations directed to an object. Furthermore, according to this embodiment, the position of the command selection area 130 can be changed according to the posture of the portable terminal 100.
本实施例意图便于本发明的理解,而不意图限制本发明的解释。可以在不偏离本发明的主旨的情况下对本发明进行修改或改进,并且本发明包括其等同发明。This embodiment is intended to facilitate understanding of the present invention, and is not intended to limit the interpretation of the present invention. The present invention can be modified or improved without departing from the gist of the present invention, and the present invention includes its equivalent inventions.
附图标记列表Reference Signs List
100 便携式终端100 portable terminals
110 触摸屏110 touch screen
120 对象显示区域120 Object display area
130 命令选择区域130 Command selection area
140,150 手指140,150 fingers
200 处理器200 processors
210 存储装置210 Storage Device
220 通信接口220 Communication Interface
230 传感器230 sensors
300 命令信息存储单元300 command information storage unit
310 位置信息存储单元310 Position information storage unit
320 命令识别单元320 Command Recognition Unit
330 命令选择单元330 Command selection unit
340 区域定义单元340 Area Definition Unit
350 命令执行单元350 command execution unit
600,601,602 对象600,601,602 objects
620,621,622 区域Areas 620, 621, and 622
710,720 图像710,720 images
Claims (16)
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015-216652 | 2015-11-04 | ||
| JP2015216652A JP5933093B1 (en) | 2015-11-04 | 2015-11-04 | Program and mobile terminal |
| PCT/JP2016/078017 WO2017077784A1 (en) | 2015-11-04 | 2016-09-23 | Program and portable terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| HK1251324A1 HK1251324A1 (en) | 2019-01-25 |
| HK1251324B true HK1251324B (en) | 2021-08-13 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6850852B2 (en) | Information processing method, terminal and computer storage medium | |
| CN111773705B (en) | Interaction method and device in game scene | |
| US20190391676A1 (en) | Information processing method, terminal, and computer storage medium | |
| US11707669B2 (en) | Program, control method, and information processing apparatus | |
| US11154779B2 (en) | Processing device, program, and method | |
| US20190255437A1 (en) | Data processing method and mobile terminal | |
| CN107519644B (en) | Visual angle adjusting method and device in 3D game | |
| CN109224439A (en) | The method and device of game aiming, storage medium, electronic device | |
| JP6450794B2 (en) | GAME SYSTEM, GAME CONTROL DEVICE, AND PROGRAM | |
| JP6928709B1 (en) | Information processing programs, information processing devices, and information processing methods | |
| CN108525294B (en) | Control method and device for shooting game | |
| CN110448904A (en) | The control method and device at game visual angle, storage medium, electronic device | |
| WO2019207898A1 (en) | Game control device, game system, and program | |
| JP5937773B1 (en) | Program and mobile terminal | |
| CN108351748B (en) | Computer-readable medium and portable terminal | |
| JPWO2018216079A1 (en) | Game program, information processing apparatus, information processing system, and game processing method | |
| WO2018180552A1 (en) | Game system, game control device, and program | |
| HK1251324B (en) | Computer readable medium and portable terminal | |
| JP6969066B2 (en) | Game systems, game controls, and programs | |
| JP6554220B1 (en) | Program, processing apparatus, and processing method | |
| JP2016130888A (en) | Computer program for icon selection, portable terminal, and computer mounting method | |
| JP2019188118A (en) | Game controller, game system and program | |
| CN119917008A (en) | Touch optimization method, device, electronic device and computer readable medium | |
| CN118170301A (en) | Screen operation method and device |