CN105148520A - Method and device for automatic aiming of shooting games - Google Patents

Method and device for automatic aiming of shooting games Download PDF

Info

Publication number
CN105148520A
CN105148520A CN201510543855.3A CN201510543855A CN105148520A CN 105148520 A CN105148520 A CN 105148520A CN 201510543855 A CN201510543855 A CN 201510543855A CN 105148520 A CN105148520 A CN 105148520A
Authority
CN
China
Prior art keywords
mobile terminal
automatic aiming
video camera
virtual video
auxiliary circle
Prior art date
Application number
CN201510543855.3A
Other languages
Chinese (zh)
Inventor
张维谦
胡亚辉
Original Assignee
上海甲游网络科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海甲游网络科技有限公司 filed Critical 上海甲游网络科技有限公司
Priority to CN201510543855.3A priority Critical patent/CN105148520A/en
Publication of CN105148520A publication Critical patent/CN105148520A/en

Links

Abstract

The invention relates to a method for automatic aiming of shooting games. The method is applied to a mobile terminal with a touch screen. The method comprises the following steps: when the mobile terminal is on a game interface and when it is detected that there is pressing operation on a touch screen, a virtual camera is driven according to control signals generated at the pressed position to rotate through a certain angle, and an auxiliary ring is formed at the position within the view field of the virtual camera corresponding to the pressed position; when part or all of a target is located in the auxiliary ring, a front sight of the virtual camera aims at a first position of the target; when it is detected that the mobile terminal shakes, the corresponding shaking angle is obtained through a sensor of the mobile terminal, so that the current rotating angle of the virtual camera is matched with the shaking angle, and accordingly the position of the front sight is adjusted. The invention further relates to a device for automatic aiming of shooting games. According to the method and device for automatic aiming of shooting games, the operation difficulty can be effectively reduced, and the aiming accuracy is improved.

Description

A kind of method of automatic aiming of shooting game and device

Technical field

The present invention relates to the automatic aiming technology in a kind of moving game, particularly relate to automatic targeting method and the device of the shooting game on a kind of mobile terminal.

Background technology

Moving game be a kind of user by mobile communication network in mobile touch screen terminal as the electronic game business that the platform such as mobile phone, panel computer operates, it comprises chess/card game, role play, strategy game, action game etc.Shooting game is as the one in action game, and it carries out aimed fire by virtual video camera at present.In game process, player not only needs to aim at, also will while move, so operationally can there is certain difficulty.

Summary of the invention

For the deficiencies in the prior art, object of the present invention is intended to provide one effectively to reduce operation easier, improves the method for the automatic aiming of the shooting game aiming at accuracy.

For achieving the above object, the present invention adopts following technical scheme:

A method for the automatic aiming of shooting game, it is applied to the mobile terminal with touch-screen, comprises the steps:

Step 1, when mobile terminal is in interface, when detect touch-screen has pressing operation time, drive virtual video camera to rotate a certain angle according to the control signal that pressing place produces, and make the position corresponding to described pressing place within sweep of the eye of virtual video camera form an auxiliary circle;

Step 2, when target part or when being all positioned at auxiliary circle, then the primary importance of the foresight run-home of virtual video camera;

Step 3, when detecting that mobile terminal rocks, being obtained rock angle accordingly by the sensor of described mobile terminal, to make the current anglec of rotation of described virtual video camera rock angle automatching with described, thus aligning championship is put and is adjusted.

It is preferably, further comprising the steps of after described step 3,

Step 4, when execution firing operation after, then return step 2.

Preferably, the sensor in step 3 is gyroscope.

Preferably, auxiliary circle is visible auxiliary circle or invisible auxiliary circle.

Preferably, the shape of auxiliary circle is circular, square and one in triangle

Preferably, the primary importance of target is the one in the chest of target, leg, foot and arm.

The invention still further relates to a kind of device of automatic aiming of shooting game, it is applied to the mobile terminal with touch-screen, comprises as lower module:

Supplementary module, for when mobile terminal is in interface, when detect touch-screen has pressing operation time, drive virtual video camera to rotate a certain angle according to the control signal that pressing place produces, and make the position corresponding to described pressing place within sweep of the eye of virtual video camera form an auxiliary circle;

Automatic aiming module, for when target part or when being all positioned at auxiliary circle, then the primary importance of the foresight run-home of virtual video camera;

Fine sight module, for when detecting that mobile terminal rocks, being obtained by the sensor of described mobile terminal and rocking angle accordingly, and to make the current anglec of rotation of described virtual video camera rock angle automatching with described, thus aligning championship is put and adjusted.

Preferably, also comprise with lower module after fine sight module,

Return module, for when after execution firing operation, then return automatic aiming module.

Beneficial effect of the present invention is as follows:

The method of the automatic aiming of this shooting game effectively can reduce operation easier, improves and aims at accuracy.

Accompanying drawing explanation

Fig. 1 is the flow chart of the better embodiment of the method for the automatic aiming of shooting game of the present invention.

Detailed description of the invention

Below in conjunction with accompanying drawing and detailed description of the invention, the present invention is described further:

Refer to Fig. 1, the present invention relates to a kind of method of automatic aiming of shooting game, it is applied to the mobile terminal with touch-screen, and its better embodiment comprises the steps:

Step S1, when mobile terminal is in interface, when detect touch-screen has pressing operation time, drive virtual video camera to rotate a certain angle according to the control signal that pressing place produces, and make the position corresponding to described pressing place within sweep of the eye of virtual video camera form an auxiliary circle.Auxiliary circle is visible auxiliary circle or invisible auxiliary circle.The shape of auxiliary circle can be circular, square and one in triangle.Wherein, auxiliary area ratio of enclosing the 5%-10% of the field range of virtual video camera.

Step S2, when target part or when being all positioned at auxiliary circle, then the primary importance of the foresight run-home of virtual video camera.The primary importance of target can be the one in the chest of target, leg, foot and arm, also can be any one position in target.

Step S3, when detecting that mobile terminal rocks, being obtained rock angle accordingly by the sensor of described mobile terminal, to make the current anglec of rotation of described virtual video camera rock angle automatching with described, thus aligning championship is put and is adjusted.Wherein, sensor can be gyroscope.By starting gyroscope, the anglec of rotation that gyrostatic weight parameter value can control virtual video camera can be obtained.

Step S4, when to execution firing operation after, then return step S2.

Concrete, 1, when mobile terminal is in interface, determine the role in the game that virtual video camera represents, when player click pressing touch-screen (Touch) or by click pressing touch-screen paddling control role scene transfer to the virtual video camera arrived within sweep of the eye time, namely form an auxiliary circle in the position corresponding to clicking discharge by pressing within sweep of the eye of virtual video camera, and open automatic aiming logic.IsAutomaticAim represents in the visual field whether have enemy, and AimPlayer represents the enemy of automatic aiming, and PlayerScreenPosition represents enemy position in screen.The target that the foresight that the enemy of indication is virtual video camera herein will aim at, wherein the foresight of virtual video camera is the foresight of rifle in game.Its specific code is as follows:

2, when player determines the field range of virtual video camera, just search enemy within the vision, and determine the enemy when time automatic aiming by auxiliary circle, using the nearest enemy of the foresight from virtual video camera as the target when time automatic aiming.。MTeammateToEnemy represents all enemies within sweep of the eye.Its specific code is as follows:

3, when player virtual video camera search enemy within sweep of the eye time, automatic aiming is carried out with regard to controlling virtual video camera, foresight by rifle moves to the primary importance of the enemy being partly or entirely positioned at auxiliary circle, this primary importance can be the chest of enemy, also can be leg or foot, can also be arm.CurrentRotation represents that the field-of-view angle that player is current, mRotation represent the enemy's angle turned to.Its specific code is as follows:

4, when the foresight of rifle moves to enemy chest or rifle in moving process time, carry out fine sight by gyroscope, namely can select any position aiming at enemy's health.When the foresight of automatic aiming is in moving process, when player rocks mobile terminal, the gyroscope of mobile terminal will in conjunction with automatic aiming slewing enemy.Namely the combination of automatic aiming and fine sight is realized.Its specific code is as follows:

5, after opening fire to enemy, if do not hit enemy's health, and automatic aiming again will be entered when enemy is still partly or entirely positioned at auxiliary circle.Then must repeat above 2nd, the 3rd and the 4th step.Its specific code is as follows:

The invention still further relates to a kind of device of automatic aiming of shooting game, it is applied to the mobile terminal with touch-screen, comprises as lower module:

Supplementary module, for when mobile terminal is in interface, when detect touch-screen has pressing operation time, drive virtual video camera to rotate a certain angle according to the control signal that pressing place produces, and make the position corresponding to described pressing place within sweep of the eye of virtual video camera form an auxiliary circle;

Automatic aiming module, for when target part or when being all positioned at auxiliary circle, then the primary importance of the foresight run-home of virtual video camera;

Fine sight module, for when detecting that mobile terminal rocks, being obtained by the sensor of described mobile terminal and rocking angle accordingly, and to make the current anglec of rotation of described virtual video camera rock angle automatching with described, thus aligning championship is put and adjusted.

Preferably, also comprise with lower module after fine sight module,

Return module, for when after execution firing operation, then return automatic aiming module.

For a person skilled in the art, according to technical scheme described above and design, other various corresponding change and distortion can be made, and all these change and distortion all should belong within the protection domain of the claims in the present invention.

Claims (8)

1. a method for the automatic aiming of shooting game, it is applied to the mobile terminal with touch-screen, it is characterized in that, comprises the steps:
Step 1, when mobile terminal is in interface, when detect touch-screen has pressing operation time, drive virtual video camera to rotate a certain angle according to the control signal that pressing place produces, and make the position corresponding to described pressing place within sweep of the eye of virtual video camera form an auxiliary circle;
Step 2, when target part or when being all positioned at auxiliary circle, then the primary importance of the foresight run-home of virtual video camera;
Step 3, when detecting that mobile terminal rocks, being obtained rock angle accordingly by the sensor of described mobile terminal, to make the current anglec of rotation of described virtual video camera rock angle automatching with described, thus aligning championship is put and is adjusted.
2. the method for the automatic aiming of shooting game as claimed in claim 1, is characterized in that, further comprising the steps of after described step 3,
Step 4, when execution firing operation after, then return step 2.
3. the method for the automatic aiming of shooting game as claimed in claim 1, it is characterized in that, the sensor in step 3 is gyroscope.
4. the method for the automatic aiming of shooting game as claimed in claim 1, it is characterized in that, auxiliary circle is visible auxiliary circle or invisible auxiliary circle.
5. the method for the automatic aiming of shooting game as claimed in claim 1, is characterized in that, the shape of auxiliary circle is circular, square and one in triangle.
6. the method for the automatic aiming of shooting game as claimed in claim 1, it is characterized in that, the primary importance of target is the one in the chest of target, leg, foot and arm.
7. a device for the automatic aiming of shooting game, it is applied to the mobile terminal with touch-screen, it is characterized in that, comprises as lower module:
Supplementary module, for when mobile terminal is in interface, when detect touch-screen has pressing operation time, drive virtual video camera to rotate a certain angle according to the control signal that pressing place produces, and make the position corresponding to described pressing place within sweep of the eye of virtual video camera form an auxiliary circle;
Automatic aiming module, for when target part or when being all positioned at auxiliary circle, then the primary importance of the foresight run-home of virtual video camera;
Fine sight module, for when detecting that mobile terminal rocks, being obtained by the sensor of described mobile terminal and rocking angle accordingly, and to make the current anglec of rotation of described virtual video camera rock angle automatching with described, thus aligning championship is put and adjusted.
8. the device of the automatic aiming of shooting game as claimed in claim 7, is characterized in that, also comprise with lower module after fine sight module,
Return module, for when after execution firing operation, then return automatic aiming module.
CN201510543855.3A 2015-08-28 2015-08-28 Method and device for automatic aiming of shooting games CN105148520A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510543855.3A CN105148520A (en) 2015-08-28 2015-08-28 Method and device for automatic aiming of shooting games

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510543855.3A CN105148520A (en) 2015-08-28 2015-08-28 Method and device for automatic aiming of shooting games

Publications (1)

Publication Number Publication Date
CN105148520A true CN105148520A (en) 2015-12-16

Family

ID=54789758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510543855.3A CN105148520A (en) 2015-08-28 2015-08-28 Method and device for automatic aiming of shooting games

Country Status (1)

Country Link
CN (1) CN105148520A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105688409A (en) * 2016-01-27 2016-06-22 网易(杭州)网络有限公司 Game control method and device
CN105760076A (en) * 2016-02-03 2016-07-13 网易(杭州)网络有限公司 Game control method and device
CN107029425A (en) * 2016-02-04 2017-08-11 网易(杭州)网络有限公司 A kind of control system of shooting game, method and terminal
CN107029428A (en) * 2016-02-04 2017-08-11 网易(杭州)网络有限公司 A kind of control system of shooting game, method and terminal
CN107158701A (en) * 2017-05-16 2017-09-15 广州四三九九信息科技有限公司 The reminding method and device of outgoing dynamics
CN107506122A (en) * 2017-08-18 2017-12-22 网易(杭州)网络有限公司 The method, apparatus and electronic equipment of virtual objects regulation and control
CN107913515A (en) * 2017-10-25 2018-04-17 网易(杭州)网络有限公司 Information processing method and device, storage medium, electronic equipment
CN108057244A (en) * 2017-12-11 2018-05-22 深圳市火花幻境互动娱乐有限公司 A kind of method and system for controlling interactive operation scope direction
CN108905212A (en) * 2017-03-27 2018-11-30 网易(杭州)网络有限公司 Display control method and device, storage medium, the electronic equipment of game picture
WO2019141055A1 (en) * 2018-01-19 2019-07-25 腾讯科技(深圳)有限公司 Viewing angle adjustment method and apparatus, storage medium, and electronic apparatus
CN107029428B (en) * 2016-02-04 2020-06-19 网易(杭州)网络有限公司 Control system, method and terminal for shooting game

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101053695A (en) * 2006-03-30 2007-10-17 三星电子株式会社 Mobile handset video game system and method
US20070270215A1 (en) * 2006-05-08 2007-11-22 Shigeru Miyamoto Method and apparatus for enhanced virtual camera control within 3d video games or other computer graphics presentations providing intelligent automatic 3d-assist for third person viewpoints
US20140342788A1 (en) * 2013-05-15 2014-11-20 Sin Woo Kim Method of applying multiple crosshairs and recording medium having stored thereon program for executing the same
US8944914B2 (en) * 2012-12-11 2015-02-03 PNI Sensor Corporation Control of translational movement and field of view of a character within a virtual world as rendered on a display
CN104548596A (en) * 2015-02-02 2015-04-29 陈荣 Aiming method and device of shooting games

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101053695A (en) * 2006-03-30 2007-10-17 三星电子株式会社 Mobile handset video game system and method
US20070270215A1 (en) * 2006-05-08 2007-11-22 Shigeru Miyamoto Method and apparatus for enhanced virtual camera control within 3d video games or other computer graphics presentations providing intelligent automatic 3d-assist for third person viewpoints
US8944914B2 (en) * 2012-12-11 2015-02-03 PNI Sensor Corporation Control of translational movement and field of view of a character within a virtual world as rendered on a display
US20140342788A1 (en) * 2013-05-15 2014-11-20 Sin Woo Kim Method of applying multiple crosshairs and recording medium having stored thereon program for executing the same
CN104548596A (en) * 2015-02-02 2015-04-29 陈荣 Aiming method and device of shooting games

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105688409A (en) * 2016-01-27 2016-06-22 网易(杭州)网络有限公司 Game control method and device
CN105760076B (en) * 2016-02-03 2018-09-04 网易(杭州)网络有限公司 game control method and device
CN105760076A (en) * 2016-02-03 2016-07-13 网易(杭州)网络有限公司 Game control method and device
CN107029428A (en) * 2016-02-04 2017-08-11 网易(杭州)网络有限公司 A kind of control system of shooting game, method and terminal
CN107029425B (en) * 2016-02-04 2020-06-19 网易(杭州)网络有限公司 Control system, method and terminal for shooting game
CN107029428B (en) * 2016-02-04 2020-06-19 网易(杭州)网络有限公司 Control system, method and terminal for shooting game
CN107029425A (en) * 2016-02-04 2017-08-11 网易(杭州)网络有限公司 A kind of control system of shooting game, method and terminal
CN108905212A (en) * 2017-03-27 2018-11-30 网易(杭州)网络有限公司 Display control method and device, storage medium, the electronic equipment of game picture
CN107158701A (en) * 2017-05-16 2017-09-15 广州四三九九信息科技有限公司 The reminding method and device of outgoing dynamics
CN107158701B (en) * 2017-05-16 2018-08-31 广州四三九九信息科技有限公司 The reminding method and device of outgoing dynamics
CN107506122B (en) * 2017-08-18 2019-12-17 网易(杭州)网络有限公司 virtual object regulation and control method and device and electronic equipment
CN107506122A (en) * 2017-08-18 2017-12-22 网易(杭州)网络有限公司 The method, apparatus and electronic equipment of virtual objects regulation and control
CN107913515A (en) * 2017-10-25 2018-04-17 网易(杭州)网络有限公司 Information processing method and device, storage medium, electronic equipment
US10702776B2 (en) 2017-10-25 2020-07-07 Netease (Hangzhou) Network Co., Ltd. Information processing method, storage medium and electronic device
CN108057244A (en) * 2017-12-11 2018-05-22 深圳市火花幻境互动娱乐有限公司 A kind of method and system for controlling interactive operation scope direction
WO2019141055A1 (en) * 2018-01-19 2019-07-25 腾讯科技(深圳)有限公司 Viewing angle adjustment method and apparatus, storage medium, and electronic apparatus

Similar Documents

Publication Publication Date Title
US10238967B2 (en) Augmented reality gaming systems and methods
US20140300565A1 (en) Virtual links between different displays to present a single virtual object
US8385596B2 (en) First person shooter control with virtual skeleton
US10035064B2 (en) Game aim assist
US9335120B2 (en) Display indicating aiming point relative to target size indicator
JP5161256B2 (en) Program, information storage medium, and image generation apparatus
US9180365B2 (en) Polymorphic firearm controller
CN203029974U (en) Real-time remote control battle game equipment
KR101325541B1 (en) Method of processing a mobile baseball game with changeable game mode
US20130288790A1 (en) Interactive game controlling method for use in touch panel device medium
US8535154B2 (en) Information storage medium and image generation device
US6672962B1 (en) Gun-shaped controller and game device
JP5669336B2 (en) 3D viewpoint and object designation control method and apparatus using pointing input
US8827804B2 (en) Target interface
EP1435258A2 (en) An apparatus and a method for more realistic shooting video games on computers or similar devices using visible or invisible light
JP5296338B2 (en) Game program and game device
US9222754B2 (en) Precision guided firearm with hybrid sensor fire control
JP2009240498A (en) Program, information memory media and game system
US20060246968A1 (en) Storage medium having game program stored therein and game apparatus
US20150123346A1 (en) Mason Target System
US20120046100A1 (en) Display, Device, Method, and Computer Program for Indicating a Clear Shot
KR101298030B1 (en) Computer readable medium recording a shooting game
US9802117B2 (en) Game device, game control program, and method for controlling golf game
JP5520457B2 (en) Game device and game program
US8777708B2 (en) Targeting control in a simulated environment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151216