CN109847346A - Control method and device are launched for the virtual rocking bar containing touch-sensitive display panel equipment - Google Patents

Control method and device are launched for the virtual rocking bar containing touch-sensitive display panel equipment Download PDF

Info

Publication number
CN109847346A
CN109847346A CN201910153198.XA CN201910153198A CN109847346A CN 109847346 A CN109847346 A CN 109847346A CN 201910153198 A CN201910153198 A CN 201910153198A CN 109847346 A CN109847346 A CN 109847346A
Authority
CN
China
Prior art keywords
contact
display panel
sensitive display
rocking bar
touch
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201910153198.XA
Other languages
Chinese (zh)
Inventor
沈俊杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nine Million Li Network Technology (shanghai) Co Ltd
Original Assignee
Nine Million Li Network Technology (shanghai) Co Ltd
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 Nine Million Li Network Technology (shanghai) Co Ltd filed Critical Nine Million Li Network Technology (shanghai) Co Ltd
Priority to CN201910153198.XA priority Critical patent/CN109847346A/en
Publication of CN109847346A publication Critical patent/CN109847346A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

Control method and device are launched for the virtual rocking bar containing touch-sensitive display panel equipment the present invention relates to a kind of, wherein method includes when showing game object in touch-sensitive display panel, detect the contact with touch-sensitive display panel, if contact movement routine length be more than given threshold after, touch-sensitive display panel show follow contact movement rocking bar and with the consistent chassis region of initial position of contact;Continue to monitor contact, if the current location of contact is located in the region of chassis, the first control instruction for controlling game object is then generated according to the current location of contact and initial position, conversely, then generating the second control instruction for controlling game object according to the current location of contact and initial position.Compared with prior art, the present invention is by the movement routine of contact as the signal for chassis and rocking bar occur, and full frame any point touch, which may be implemented, can all breathe out virtual rocking bar, and reduces out and operate, and user's operation is freer.

Description

Control method and device are launched for the virtual rocking bar containing touch-sensitive display panel equipment
Technical field
The present invention relates to a kind of virtual rocking bar control technologies, more particularly, to a kind of for containing touch-sensitive display panel equipment Virtual rocking bar launches control method and device.
Background technique
Virtual rocking bar technology is widely used in all kinds of mobile phone games, and virtual rocking bar catapult technique rarely has by game The attention of developer.
Current virtual rocking bar is primarily used in FPS game and the bout game of all kinds of policy class, virtual rocking bar by One chassis region and rocking bar composition, the mode of early stage, usual chassis region are affixed to a designated position, rocking bar often by It is limited to chassis region, only rocking bar is located in the region of chassis and could effectively be controlled, but this mode is obviously in fierce trip Deleterious effect is caused to sending back to for player under play environment, therefore often all breaches this limit in current virtual rocking bar scheme System, timely rocking bar be located at chassis area it is overseas can also in the region of chassis control effect, and it is common, it is defeated Control signal out be located at rocking bar position it is consistent at chassis edge, such as shown in Figure 1, rocking bar 2 be located at chassis 1 region it Outside, the position of rocking bar is A at this time, and the position on chassis is O, and the two line and the intersection point at 2 edge of chassis are A ', and rocking bar is located at position The control signal of A and the control signal of position A ' are consistent.
As a result, since control logic is simple in the stronger game of the instantaneities such as FPS class or MOBA, can obtain preferably User experience, but it still has the deficiency of the following aspects:
1, the position of virtual rocking bar is fixed, and the position on especially chassis is fixed, and user lacks the space freely operated, with Many mobile phones become greatly now, or even operate in bigger existing touch-sensitive display panel equipment, and the operation of player is kept in check very much;
2, virtual rocker function is single, and one group of chassis and rocking bar can only export a kind of control signal, may be unable to satisfy use Family demand;
3, virtual rocking bar ejection lacks direction of ejection mark, the point of impingement is reminded and the visualization tools such as auxiliary line, user Yi Yin Hair is accidentally grasped.
Summary of the invention
The object of the invention is to provide a kind of for containing to overcome the problems of the above-mentioned prior art 1 and 2 The virtual rocking bar of touch-sensitive display panel equipment launches control method and device.
The purpose of the present invention can be achieved through the following technical solutions:
It is a kind of to launch control method for the virtual rocking bar containing touch-sensitive display panel equipment characterized by comprising
When showing game object in the touch-sensitive display panel, the contact with touch-sensitive display panel is detected, if the contact Movement routine length be more than given threshold after, the touch-sensitive display panel show follow it is described contact movement rocking bar and With the consistent chassis region of initial position of the contact;
The contact is continued to monitor, if the current location of the contact is located in the region of chassis, according to the contact Current location and initial position generate the first control instruction for controlling the game object, conversely, then according to the contact Current location and initial position generate the second control instruction for controlling the game object.
Second control instruction is revoked when the current location of the contact is returned in the chassis region, described First control instruction is revoked when initial position is returned in the current location of the contact.
The first control for controlling the game object is generated according to the current location of the contact and initial position to refer to After order, in response to first control instruction, the game object adjusts the court of datum level according to the control instruction of generation in real time To.
It is a kind of for the virtual rocking bar ejection control device containing touch-sensitive display panel equipment, including memory, processor with And the program for being stored in the memory and being executed by the processor, the processor are realized following when executing described program Step:
When showing game object in the touch-sensitive display panel, the contact with touch-sensitive display panel is detected, if the contact Movement routine length be more than given threshold after, the touch-sensitive display panel show follow it is described contact movement rocking bar and With the consistent chassis region of initial position of the contact;
The contact is continued to monitor, if the current location of the contact is located in the region of chassis, according to the contact Current location and initial position generate the first control instruction for controlling the game object, conversely, then according to the contact Current location and initial position generate the second control instruction for controlling the game object.
Another object of the present invention is exactly to provide a kind of for containing to overcome the problems of the above-mentioned prior art 3 The virtual rocking bar of touch-sensitive display panel equipment launches control method and device.
The purpose of the present invention can be achieved through the following technical solutions:
The second control for controlling the game object is generated according to the current location of the contact and initial position to refer to After order, in response to second control instruction, according to game object current location and the second control instruction generate motion track and The point of impingement.
According to when the point of impingement is located on target object, the point of impingement is shown as the first color, conversely, being shown as Second color.
Compared with prior art, the invention has the following advantages:
1) full frame any point touch may be implemented all as the signal for chassis and rocking bar occur by the movement routine of contact Virtual rocking bar can be breathed out, and reduces out and operates, user's operation is freer.
2) virtual rocking bar full frame can drag, no operation dead angle;
3) virtual rocking bar has control game role to cancel operation etc. towards, control game role direction of ejection, immediately multiple Close function.
4) assisting by visualization tools such as direction of ejection mark, point of impingement prompting and auxiliary lines reduces accidentally behaviour and leads.
Detailed description of the invention
Fig. 1 is the schematic diagram of existing virtual rocking bar scheme;
Fig. 2 is the flow diagram of inventive method;
Fig. 3 is the schematic diagram that game object is shown on touch-sensitive display panel;
Fig. 4 is the effect diagram of the first control instruction;
Fig. 5 is the effect diagram of the second control instruction;
Fig. 6 is collision reflection schematic diagram;
Wherein: 1, chassis, 2, rocking bar, 3, touch-sensitive display panel, 4, game object, 5, monster object.
Specific embodiment
The present invention is described in detail with specific embodiment below in conjunction with the accompanying drawings.The present embodiment is with technical solution of the present invention Premised on implemented, the detailed implementation method and specific operation process are given, but protection scope of the present invention is not limited to Following embodiments.
The application is mainly used in hand trip (including pad game, PC game with touch-sensitive display panel etc.), is particularly suitable for The substantially process of turn-based game, the application is as shown in Figure 2.
As shown in figure 3, show game object and monster object on touch-sensitive display panel, wherein game object have one to Amount indicates it towards (dotted arrow in figure), and in actual application, dotted arrow is not shown, because in collision system, All objects are all to be expressed with this round geometric figure, therefore indicate object using round in figure.
The rocking bar of the application and chassis full frame can breathe out, specifically, after detecting contact, if contact have occurred it is subtle Movement, i.e., touch-sensitive display panel show the rocking bar for following contact mobile and with the consistent chassis area of initial position of contact Domain.
Specifically, this movement can be 0.5 centimetre or other values, can specifically be determined by experiment test, it is only necessary to It is reduced to false triggering rate minimum.
The chassis of display and the position of rocking bar can be overlapped with game object therein, monster object or other objects, As shown in figure 4, continue to monitor contact, if the current location of contact is located in the region of chassis, according to the current location of contact with Initial position generates the first control instruction for controlling game object,
In this scenario, the line for needing to obtain rocking bar position and chassis position, obtains a vector, which can be It is directed toward chassis position from rocking bar position, is also possible to be directed toward rocking bar position from chassis position, in response to the first control instruction, game Object adjusts the direction of datum level according to the control instruction of generation in real time, that is, adjusts the vector direction of game object, then correspond to Adjustment picture, such as Fig. 4 are consistent with the line vector of rocking bar position and chassis position using the vector of game object, certainly It may be reversed.
If the current location of contact has been run out of, chassis area is overseas, is generated and is used according to the current location of contact and initial position In the second control instruction of control game object, as shown in figure 5, at this point, being worked as in response to the second control instruction according to game object Front position and the second control instruction generate motion track and the point of impingement.It is wherein not drawn into and in point of impingement Fig. 5, specially two realities The intersection point of line vector, two solid vectors are motion track, and the point of impingement is not located on target object in Fig. 5, is shown as second Color, it is preferably white, conversely, the point of impingement is shown as the first color, preferably when according to when the point of impingement is located on target object For red.Similar with situation in Fig. 4, the direction of the vector of the first segment of motion track can be and rocking bar position and chassis position Line vector it is consistent or on the contrary, collision principle, specially mirror-reflection are deferred in track deflecting later, when impingement area is frame As shown in figure 5, as shown in Figure 6 when impingement area is other objects.
Second control instruction is revoked when the current location when contact is returned in the region of chassis, and the first control instruction is being worked as The current location of contact is revoked when returning initial position.Therefore it may be implemented to cancel immediately, usage experience is more preferable.

Claims (10)

1. a kind of launch control method for the virtual rocking bar containing touch-sensitive display panel equipment characterized by comprising
When showing game object in the touch-sensitive display panel, the contact with touch-sensitive display panel is detected, if the shifting of the contact After the length in dynamic path is more than given threshold, the touch-sensitive display panel show follow the contact movement rocking bar and with institute State the consistent chassis region of initial position of contact;
The contact is continued to monitor, if the current location of the contact is located in the region of chassis, according to the current of the contact Position and initial position generate the first control instruction for controlling the game object, conversely, then working as according to the contact Front position and initial position generate the second control instruction for controlling the game object.
2. a kind of virtual rocking bar for containing touch-sensitive display panel equipment according to claim 1 launches control method, It is characterized in that, second control instruction is revoked when the current location of the contact is returned in the chassis region, institute The first control instruction is stated to be revoked when initial position is returned in the current location of the contact.
3. a kind of virtual rocking bar for containing touch-sensitive display panel equipment according to claim 1 launches control method, It is characterized in that, the first control for controlling the game object is generated according to the current location of the contact and initial position and is referred to After order, in response to first control instruction, the game object adjusts the court of datum level according to the control instruction of generation in real time To.
4. a kind of virtual rocking bar for containing touch-sensitive display panel equipment according to claim 1 launches control method, It is characterized in that, the second control for controlling the game object is generated according to the current location of the contact and initial position and is referred to After order, in response to second control instruction, according to game object current location and the second control instruction generate motion track and The point of impingement.
5. a kind of virtual rocking bar for containing touch-sensitive display panel equipment according to claim 4 launches control method, It is characterized in that, according to when the point of impingement is located on target object, the point of impingement is shown as the first color, conversely, display For the second color.
6. a kind of for the virtual rocking bar ejection control device containing touch-sensitive display panel equipment, which is characterized in that including memory, Processor and the program for being stored in the memory and being executed by the processor, when the processor executes described program It performs the steps of
When showing game object in the touch-sensitive display panel, the contact with touch-sensitive display panel is detected, if the shifting of the contact After the length in dynamic path is more than given threshold, the touch-sensitive display panel show follow the contact movement rocking bar and with institute State the consistent chassis region of initial position of contact;
The contact is continued to monitor, if the current location of the contact is located in the region of chassis, according to the current of the contact Position and initial position generate the first control instruction for controlling the game object, conversely, then working as according to the contact Front position and initial position generate the second control instruction for controlling the game object.
7. it is according to claim 6 a kind of for the virtual rocking bar ejection control device containing touch-sensitive display panel equipment, It is characterized in that, second control instruction is revoked when the current location of the contact is returned in the chassis region, institute The first control instruction is stated to be revoked when initial position is returned in the current location of the contact.
8. it is according to claim 6 a kind of for the virtual rocking bar ejection control device containing touch-sensitive display panel equipment, It is characterized in that, the first control for controlling the game object is generated according to the current location of the contact and initial position and is referred to After order, in response to first control instruction, the game object adjusts the court of datum level according to the control instruction of generation in real time To.
9. it is according to claim 6 a kind of for the virtual rocking bar ejection control device containing touch-sensitive display panel equipment, It is characterized in that, the second control for controlling the game object is generated according to the current location of the contact and initial position and is referred to After order, in response to second control instruction, according to game object current location and the second control instruction generate motion track and The point of impingement.
10. it is according to claim 9 a kind of for the virtual rocking bar ejection control device containing touch-sensitive display panel equipment, It is characterized in that, according to when the point of impingement is located on target object, the point of impingement is shown as the first color, conversely, display For the second color.
CN201910153198.XA 2019-02-28 2019-02-28 Control method and device are launched for the virtual rocking bar containing touch-sensitive display panel equipment Pending CN109847346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910153198.XA CN109847346A (en) 2019-02-28 2019-02-28 Control method and device are launched for the virtual rocking bar containing touch-sensitive display panel equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910153198.XA CN109847346A (en) 2019-02-28 2019-02-28 Control method and device are launched for the virtual rocking bar containing touch-sensitive display panel equipment

Publications (1)

Publication Number Publication Date
CN109847346A true CN109847346A (en) 2019-06-07

Family

ID=66899489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910153198.XA Pending CN109847346A (en) 2019-02-28 2019-02-28 Control method and device are launched for the virtual rocking bar containing touch-sensitive display panel equipment

Country Status (1)

Country Link
CN (1) CN109847346A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140080556A1 (en) * 2012-09-17 2014-03-20 King.Com Limited Method for implementing a computer game
CN105194871A (en) * 2015-09-14 2015-12-30 网易(杭州)网络有限公司 Method for controlling game role
CN107961535A (en) * 2017-12-15 2018-04-27 玖万里网络科技(上海)有限公司 A kind of collision detection path calculation method
CN108415749A (en) * 2018-03-02 2018-08-17 网易(杭州)网络有限公司 display processing method, medium, device and computing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140080556A1 (en) * 2012-09-17 2014-03-20 King.Com Limited Method for implementing a computer game
CN105194871A (en) * 2015-09-14 2015-12-30 网易(杭州)网络有限公司 Method for controlling game role
CN107961535A (en) * 2017-12-15 2018-04-27 玖万里网络科技(上海)有限公司 A kind of collision detection path calculation method
CN108415749A (en) * 2018-03-02 2018-08-17 网易(杭州)网络有限公司 display processing method, medium, device and computing device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
大鱼用户1522414078389323: "弹来弹去横冲直撞的手游", 《HTTPS://V.YOUKU.COM/V_SHOW/ID_XMZU2MZYWMJG5NG==.HTML》 *

Similar Documents

Publication Publication Date Title
US7884822B2 (en) Game apparatus, storage medium storing a game program, and game controlling method
US20190030431A1 (en) Information Processing Method and Apparatus, Storage Medium and Electronic Device
US20190070494A1 (en) Information Processing Method and Apparatus, Electronic Device, and Storage Medium
CN107357586B (en) Control method, device and the equipment of application program
CN107648847A (en) Information processing method and device, storage medium, electronic equipment
KR20130133224A (en) Virtual controller for touch display
JP2003144751A (en) Game system
US9545566B2 (en) Game device, game system, game control method, and information storage medium
WO2017067352A1 (en) Information processing system, method and device
JP2017189512A (en) Information processor and game program
JP4463227B2 (en) PROGRAM, INFORMATION STORAGE MEDIUM, AND GAME DEVICE
JP5676036B1 (en) User interface program and game program including the program
JP2018020001A (en) Information processing device and game program
KR20220098355A (en) Methods and apparatus, devices, media, and articles for selecting a virtual object interaction mode
JP2016129579A (en) Interface program and game program
CN109847346A (en) Control method and device are launched for the virtual rocking bar containing touch-sensitive display panel equipment
JP2017189602A (en) Information processor and game program
US8758142B2 (en) Game device, method of controlling a game device, program, and information storage medium
US20110319159A1 (en) Game device, method for controlling game device, program and information storing medium
JP4377415B2 (en) GAME DEVICE AND INFORMATION STORAGE MEDIUM
CN115212556B (en) Method, device, equipment and storage medium for interacting with virtual object
CN116531754A (en) Method and device for controlling virtual characters in game and electronic terminal
US20140364233A1 (en) Game control device, game system, game control method, and program
JP2012110550A (en) Game program and game device
US20210031107A1 (en) Computer-readable recording medium, game apparatus, and game execution method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40004238

Country of ref document: HK

RJ01 Rejection of invention patent application after publication

Application publication date: 20190607

RJ01 Rejection of invention patent application after publication