Game roulette acceleration control method and system for touch device

文档序号:557451 发布日期:2021-05-18 浏览:17次 中文

阅读说明:本技术 触摸设备的游戏轮盘加速控制方法及系统 (Game roulette acceleration control method and system for touch device ) 是由 塞力克·斯兰穆 花勇 于 2021-01-27 设计创作,主要内容包括:本发明提供一种触摸设备的游戏轮盘加速控制方法及系统,所述方法包括:实时获取游戏轮盘上触摸体滑动过程的指压坐标数据,其中,指压坐标为触摸体在游戏轮盘上滑动过程被捕捉的实际位置坐标;对实时获取的指压坐标数据根据映射坐标变量与指压坐标变量之间的映射比例关系进行映射反馈,实时计算获取映射坐标数据;根据实时计算获取的映射坐标数据控制游戏角色对应移动。被控游戏角色持续移动的位移是手指持续滑动位移的映射比例的倍数关系,对被控游戏角色起到了加速移动的效果,实现了通过短距离手指滑动操控游戏角色在游戏界面的长距离快速移动的目的,能够有效缓解手部疲劳,提高大游戏界面的操作效率。(The invention provides a roulette wheel acceleration control method and system for touch equipment, wherein the method comprises the following steps: acquiring finger pressure coordinate data of a sliding process of a touch body on the roulette wheel in real time, wherein the finger pressure coordinate is an actual position coordinate captured in the sliding process of the touch body on the roulette wheel; mapping feedback is carried out on the finger pressure coordinate data obtained in real time according to the mapping proportional relation between the mapping coordinate variable and the finger pressure coordinate variable, and the mapping coordinate data are obtained through real-time calculation; and controlling the game role to correspondingly move according to the mapping coordinate data obtained by real-time calculation. The displacement of the controlled game role continuously moving is the multiple relation of the mapping proportion of the continuous sliding displacement of the fingers, the controlled game role is accelerated to move, the aim of controlling the game role to move quickly in a long distance on the game interface through the short-distance finger sliding is achieved, the fatigue of the hand can be effectively relieved, and the operation efficiency of the large game interface is improved.)

1. A roulette wheel acceleration control method for a touch device, the method comprising:

acquiring finger pressure coordinate data of a sliding process of a touch body on the roulette wheel in real time, wherein the finger pressure coordinate is an actual position coordinate captured in the sliding process of the touch body on the roulette wheel;

mapping feedback is carried out on the finger pressure coordinate data obtained in real time according to the mapping proportional relation between the mapping coordinate variable and the finger pressure coordinate variable, and the mapping coordinate data is obtained through real-time calculation, wherein the mapping coordinate is a virtual coordinate of the roulette wheel after acceleration control is carried out on the finger pressure coordinate;

and controlling the game role to correspondingly move according to the mapping coordinate data obtained by real-time calculation.

2. The roulette wheel acceleration control method according to claim 1, wherein the step of performing mapping feedback on the real-time acquired finger pressure coordinate data according to a mapping proportional relationship between a mapping coordinate variable and a finger pressure coordinate variable, and the real-time calculation of the acquired mapping coordinate data includes:

B1=(A1-A0)*n+B0

wherein A is0Initial position coordinates captured for the sliding process of the touch object on the roulette wheel, A1Real-time position coordinates captured for the sliding process of the touch object on the roulette wheel, B0Initial virtual coordinates after acceleration control of the finger pressure coordinates for the roulette wheel, B1And n is a mapping proportion between a mapping coordinate variable and a finger pressure coordinate variable.

3. The roulette wheel acceleration control method according to claim 1, wherein the step of acquiring finger pressure coordinate data of a sliding process of a touch body on the roulette wheel in real time comprises:

acquiring a capacitance signal generated by the touch body sliding on the roulette wheel in real time;

and converting a capacitance signal generated by the touch body sliding on the roulette wheel into finger pressure coordinate data.

4. A roulette wheel acceleration control system for a touch device, comprising:

the finger pressure coordinate acquisition module: the system comprises a touch body, a touch wheel, a touch body, a touch sensor and a touch sensor, wherein the touch body is used for acquiring finger pressure coordinate data of the sliding process of the touch body on the game wheel in real time, and the finger pressure coordinate is an actual position coordinate captured in the sliding process of the touch body on the game wheel;

a mapping coordinate acquisition module: the system comprises a game wheel disc, a finger pressure coordinate variable, a finger pressure coordinate feedback module, a finger pressure feedback module and a display module, wherein the game wheel disc is used for acquiring finger pressure coordinate data;

an execution module: and the mapping coordinate data is used for controlling the game role to move correspondingly according to the mapping coordinate data obtained by real-time calculation.

5. The roulette acceleration control system for a touch device according to claim 4, wherein said mapped coordinates obtaining module is further configured to calculate the mapped coordinates by the formula:

B1=(A1-A0)*n+B0

wherein A is0Initial position coordinates captured for the sliding process of the touch object on the roulette wheel, A1Real-time position coordinates captured for the sliding process of the touch object on the roulette wheel, B0Initial virtual coordinates after acceleration control of the finger pressure coordinates for the roulette wheel, B1And n is a mapping proportion between a mapping coordinate variable and a finger pressure coordinate variable.

6. The roulette wheel acceleration control system according to claim 4, wherein the finger pressure coordinate obtaining module is further configured to collect in real time a capacitance signal generated by the touch object sliding on the roulette wheel;

and converting a capacitance signal generated by the touch body sliding on the roulette wheel into finger pressure coordinate data.

Technical Field

The invention relates to the field of touch equipment, in particular to a roulette wheel acceleration control method and system of the touch equipment.

Background

The input interaction of the touch equipment mainly comes from the touch screen, the touch screen collects capacitance signals in the finger touch process, the capacitance signals are converted into position coordinate information, the position coordinate information is transmitted to an application, and the application correspondingly executes commands of clicking, long pressing, sliding and the like according to the received coordinate information.

The control coordinate of the current game application to the game character is strictly moved along with the corresponding movement of the finger of the user, however, as the size requirement of the user on the touch device is larger and larger, the size of the game interface is larger and larger, but the overlarge game interface enables the stroke of the finger to be dragged to be longer when the user drags the roulette wheel to control the movement of the game character, so that the game character is moved too slowly, the time spent on executing dragging is longer, and the fatigue of the finger is easily increased when long-time dragging operation is executed.

Disclosure of Invention

The invention aims to provide a roulette wheel acceleration control method of a touch device, which aims to solve the problems that the current overlarge size of a touch screen causes that when a user drags a roulette wheel to control the movement of a game character, the dragging stroke of a finger is longer, the game character moves too slowly, and the finger fatigue is easily increased when long-time dragging operation is carried out.

The invention provides a roulette wheel acceleration control method for touch equipment, which comprises the following steps:

acquiring finger pressure coordinate data of a sliding process of a touch body on the roulette wheel in real time, wherein the finger pressure coordinate is an actual position coordinate captured in the sliding process of the touch body on the roulette wheel;

mapping feedback is carried out on the finger pressure coordinate data obtained in real time according to the mapping proportional relation between the mapping coordinate variable and the finger pressure coordinate variable, and the mapping coordinate data is obtained through real-time calculation, wherein the mapping coordinate is a virtual coordinate of the roulette wheel after acceleration control is carried out on the finger pressure coordinate;

and controlling the game role to correspondingly move according to the mapping coordinate data obtained by real-time calculation.

The roulette wheel acceleration control method of the touch device provided by the invention has the following beneficial effects:

when the touch body continuously slides a small section on the game wheel disc, real-time feedback is carried out between the mapping coordinates and the finger pressure coordinates, and the displacement of the controlled game role is the multiple relation of the mapping proportion of the finger sliding displacement in the same time, so that the controlled game role is accelerated to move, the aim of controlling the long-distance quick movement of the game role on the game interface through the short-distance finger sliding is fulfilled, the hand fatigue can be effectively relieved, and the operation efficiency of a large game interface is improved.

In addition, the roulette wheel acceleration control method of the touch device according to the present invention may further include the following additional technical features:

further, in the step of performing mapping feedback on the finger pressure coordinate data acquired in real time according to the mapping proportional relationship between the mapping coordinate variable and the finger pressure coordinate variable, and acquiring the mapping coordinate data by real-time calculation, the calculation formula of the mapping coordinate is as follows:

B1=(A1-A0)*n+B0

wherein A is0Initial position coordinates captured for the sliding process of the touch object on the roulette wheel, A1Real-time position coordinates captured for the sliding process of the touch object on the roulette wheel, B0Initial virtual coordinates after acceleration control of the finger pressure coordinates for the roulette wheel, B1And n is a mapping proportion between a mapping coordinate variable and a finger pressure coordinate variable.

Further, the step of acquiring finger pressure coordinate data of the sliding process of the touch body on the roulette wheel in real time includes:

acquiring a capacitance signal generated by the touch body sliding on the roulette wheel in real time;

and converting a capacitance signal generated by the touch body sliding on the roulette wheel into finger pressure coordinate data.

The invention also provides a roulette wheel acceleration control system of a touch device, comprising:

the finger pressure coordinate acquisition module: the system comprises a touch body, a touch wheel, a touch body, a touch sensor and a touch sensor, wherein the touch body is used for acquiring finger pressure coordinate data of the sliding process of the touch body on the game wheel in real time, and the finger pressure coordinate is an actual position coordinate captured in the sliding process of the touch body on the game wheel;

a mapping coordinate acquisition module: the system comprises a game wheel disc, a finger pressure coordinate variable, a finger pressure coordinate feedback module, a finger pressure feedback module and a display module, wherein the game wheel disc is used for acquiring finger pressure coordinate data;

an execution module: and the mapping coordinate data is used for controlling the game role to move correspondingly according to the mapping coordinate data obtained by real-time calculation.

Further, the mapping coordinate obtaining module is further configured to calculate the mapping coordinate according to a formula:

B1=(A1-A0)*n+B0

wherein A is0Initial position coordinates captured for the sliding process of the touch object on the roulette wheel, A1Real-time position coordinates captured for the sliding process of the touch object on the roulette wheel, B0Initial virtual coordinates after acceleration control of the finger pressure coordinates for the roulette wheel, B1And n is a mapping proportion between a mapping coordinate variable and a finger pressure coordinate variable.

Furthermore, the finger pressure coordinate acquisition module is also used for acquiring a capacitance signal generated by the touch body sliding on the roulette wheel in real time;

and converting a capacitance signal generated by the touch body sliding on the roulette wheel into finger pressure coordinate data.

Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.

Drawings

The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:

FIG. 1 is a flowchart of a roulette wheel acceleration control method for a touch device according to a first embodiment of the present invention;

fig. 2 is a system block diagram of a roulette wheel acceleration control system of a touch device according to a first embodiment of the present invention.

Detailed Description

In order to make the objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below. Several embodiments of the invention are presented in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.

Referring to fig. 1, a first embodiment of the present invention provides a roulette wheel acceleration control method for a touch device, including steps S101 to S103.

S101, finger pressure coordinate data of the sliding process of the touch body on the roulette wheel are obtained in real time, wherein the finger pressure coordinate is an actual position coordinate captured in the sliding process of the touch body on the roulette wheel.

The step of acquiring the finger pressure coordinate data of the sliding process of the touch body on the roulette wheel in real time comprises the following steps of:

acquiring a capacitance signal generated by the touch body sliding on the roulette wheel in real time;

and converting a capacitance signal generated by the touch body sliding on the roulette wheel into finger pressure coordinate data.

And S102, mapping feedback is carried out on the finger pressure coordinate data acquired in real time according to the mapping proportional relation between the mapping coordinate variable and the finger pressure coordinate variable, and mapping coordinate data is acquired through real-time calculation, wherein the mapping coordinate is a virtual coordinate of the roulette wheel after acceleration control is carried out on the finger pressure coordinate.

The step of performing mapping feedback on the finger pressure coordinate data acquired in real time according to the mapping proportional relation between the mapping coordinate variable and the finger pressure coordinate variable, and acquiring the mapping coordinate data by real-time calculation, wherein the calculation formula of the mapping coordinate is as follows:

B1=(A1-A0)*n+B0

wherein A is0Initial position coordinates captured for the sliding process of the touch object on the roulette wheel, A1Real-time position coordinates captured for the sliding process of the touch object on the roulette wheel, B0Initial virtual coordinates after acceleration control of the finger pressure coordinates for the roulette wheel, B1And n is a mapping proportion between a mapping coordinate variable and a finger pressure coordinate variable. In this embodiment, n may be 2.

S103, controlling the game role to correspondingly move according to the mapping coordinate data obtained by real-time calculation.

When the touch body (such as a finger) continuously slides on the game wheel disc for a short time, the mapping coordinate and the finger pressure coordinate are fed back in real time, the displacement of the controlled game role is the multiple relation of the mapping proportion of the finger sliding displacement in the same time, the controlled game role is accelerated to move, the purpose of controlling the game role to move quickly in a long distance on a game interface through short-distance finger sliding is achieved, the fatigue of the hand can be effectively relieved, the operation efficiency of the large game interface is improved, and after the finger sliding exceeds the game wheel disc, the acceleration effect is cancelled by the exceeding sliding displacement part.

In this embodiment, when n is 2, the mapping coordinate variable is 2 times of the finger pressure coordinate variable, when a finger continuously slides on the roulette wheel for a short period, real-time feedback is performed between the mapping coordinate and the finger pressure coordinate, and the displacement of the controlled game character is twice of the finger sliding displacement in the same time, so that the purpose of controlling the game character to rapidly move in the game interface at a distance 2 times longer than the distance of the game interface through short-distance finger sliding is achieved.

Referring to fig. 2, a roulette wheel acceleration control system of a touch device according to a second embodiment of the present invention includes:

the finger pressure coordinate acquisition module: and the system is used for acquiring finger pressure coordinate data of the sliding process of the touch body on the roulette wheel in real time, wherein the finger pressure coordinate is the actual position coordinate captured in the sliding process of the touch body on the roulette wheel.

Wherein, finger pressure coordinate acquisition module: the touch body is also used for acquiring a capacitance signal generated by the sliding of the touch body on the roulette wheel in real time;

and converting a capacitance signal generated by the touch body sliding on the roulette wheel into finger pressure coordinate data.

A mapping coordinate acquisition module: and the system is used for calculating and acquiring mapping coordinate data according to the real-time acquired finger pressure coordinate data and the mapping proportional relation between the mapping coordinate variable and the finger pressure coordinate variable, wherein the mapping coordinate is the actual position coordinate of the controlled game role.

Wherein, the mapping coordinate obtaining module is further configured to obtain a calculation formula of the mapping coordinate as follows:

B1=(A1-A0)*n+B0

wherein A is0Initial position coordinates captured for the sliding process of the touch object on the roulette wheel, A1Real-time position coordinates captured for the sliding process of the touch object on the roulette wheel, B0Initial virtual coordinates after acceleration control of the finger pressure coordinates for the roulette wheel, B1And n is a mapping proportion between a mapping coordinate variable and a finger pressure coordinate variable.

An execution module: used for controlling the controlled game role to move according to the mapping coordinate data.

The mobile phone input interaction mainly comes from a touch screen, the touch screen collects capacitance signals in the finger touch process, the capacitance signals are converted into position coordinate information, the position coordinate information is transmitted to an application, and the application correspondingly executes instructions such as clicking, long-time pressing, sliding and the like according to the received coordinate information.

The finger pressure coordinate acquired by the finger pressure coordinate acquisition module is amplified and fed back through the mapping coordinate acquisition module according to the mapping proportional relation between the mapping coordinate variable and the finger pressure coordinate variable to acquire the mapping coordinate, and the controlled game role is controlled to move according to the amplified mapping coordinate data, so that the aim of controlling the game role to move quickly in a long distance on the game interface through short-distance finger sliding is fulfilled, and the operation efficiency of a large game interface is improved.

The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种游戏角色的控制方法、装置、电子设备及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类