CN106110653B - Light gun game localization method and game terminal - Google Patents

Light gun game localization method and game terminal Download PDF

Info

Publication number
CN106110653B
CN106110653B CN201610408882.4A CN201610408882A CN106110653B CN 106110653 B CN106110653 B CN 106110653B CN 201610408882 A CN201610408882 A CN 201610408882A CN 106110653 B CN106110653 B CN 106110653B
Authority
CN
China
Prior art keywords
identification
identification information
light gun
information
region
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.)
Active
Application number
CN201610408882.4A
Other languages
Chinese (zh)
Other versions
CN106110653A (en
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.)
Qingdao Hisense Media Network Technology Co Ltd
Original Assignee
Qingdao Hisense Media Network Technology 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 Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN201610408882.4A priority Critical patent/CN106110653B/en
Publication of CN106110653A publication Critical patent/CN106110653A/en
Application granted granted Critical
Publication of CN106110653B publication Critical patent/CN106110653B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/219Input arrangements for video game devices characterised by their sensors, purposes or types for aiming at specific areas on the display, e.g. light-guns
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/837Shooting of targets

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Position Input By Displaying (AREA)

Abstract

The embodiment of the present invention provides a kind of light gun game localization method and game terminal, this method comprises: receiving light gun sends transmitting information, it include the target identification information that light gun is read on the screen in transmitting information;Obtain the identification information shown in multiple identification regions of screen by black light;According to the identification information shown on target identification information and each identification region, the corresponding screen coordinate of transmitting information is determined.For reducing the cost of light gun game.

Description

Light gun game localization method and game terminal
Technical field
The present embodiments relate to field of computer technology more particularly to a kind of light gun game localization method and game are whole End.
Background technique
In light gun shooting game (game of abbreviation light gun), user can be aimed on the screen of game terminal by light gun Object, and operation is shot at etc. to object.
In the prior art, it generallys use infrared induction technology and determines the position that light gun aims on the screen, specifically, In Before carrying out light gun game, infrared induction item first is installed in screen the upper side and lower side of game terminal, in light gun on screen When object is aimed at, game terminal passes through the infrared inductor and screen the upper side and lower side infrared induction item determined on light gun Distance, determine the homing position of light gun on the screen, and operate to the corresponding object of coordinate is aimed at.
However, in the prior art, when user needs to carry out light gun game on game terminal, it is necessary in game terminal Upper installation infrared induction item, and then increase the cost of light gun game.
Summary of the invention
The embodiment of the present invention provides a kind of light gun game localization method and game terminal, for reducing light gun game at This.
In a first aspect, the embodiment of the present invention provides a kind of light gun game localization method, it is applied to game terminal, the method Include:
It receives light gun and sends transmitting information, include the target identification that the light gun is read on the screen in the transmitting information Information;
Obtain the identification information shown in multiple identification regions of the screen by black light;
According to the identification information shown on the target identification information and each identification region, the transmitting is determined The corresponding screen coordinate of information.
In a kind of possible embodiment, before the reception light gun sends transmitting information, further includes:
The light gun game enabled instruction of user's input is received, the light gun game enabled instruction is used to indicate starting light gun trip Play;
The multiple identification regions for determining that the light gun game is corresponding, being divided on the screen;
Show that identification information, each identification region are corresponding by black light in the multiple identification region respectively Identification information is different.
In alternatively possible embodiment, the determination light gun game is corresponding, divides on the screen Multiple identification regions, comprising:
Obtain the corresponding aiming accuracy of the light gun game;
According to the corresponding aiming accuracy of the light gun game, the ruler of the corresponding identification region of the light gun game is determined It is very little;
According to the size of the size of the corresponding identification region of the light gun game and the screen, determine on the screen The multiple identification regions divided.
It is described according to the target identification information and each identification region in alternatively possible embodiment The identification information of upper display determines the corresponding screen coordinate of the transmitting information, comprising:
According to the identification information shown on the target identification information and each identification region, the transmitting is determined The corresponding target identification region of information;
Obtain the centre coordinate in the target identification region;
According to the centre coordinate in the target identification region, the corresponding screen coordinate of the transmitting information is determined.
In alternatively possible embodiment, shown according on the target identification information and each identification region The identification information shown determines the target identification region that the light gun aims at, comprising:
The target identification information is matched with each identification information respectively, obtains each identification information and institute State the similarity of target identification information;
According to the similarity of each identification information and the target identification information, obtained in the multiple identification information The similarity of at least one identification information to be selected, each identification information to be selected and the target identification information is greater than default threshold Value;
The corresponding identification region of each identification information to be selected is determined as target identification region.
In alternatively possible embodiment, if the number in the target identification region is equal to 1, known according to the target The centre coordinate in other region determines the corresponding screen coordinate of the transmitting information, comprising:
The centre coordinate in the target identification region is determined as the corresponding screen coordinate of the transmitting information;
If the number in the target identification region is greater than 1, according to the centre coordinate in the target identification region, determine described in The corresponding screen coordinate of transmitting information, comprising:
The centre coordinate for obtaining each target area determines the hair according to the centre coordinate of each target area Penetrate the corresponding screen coordinate of information.
In alternatively possible embodiment, the identification information includes two dimensional code, bar code, character string.
Second aspect, the embodiment of the present invention provide a kind of game terminal, comprising:
First receiving module sends transmitting information for receiving light gun, includes that the light gun is shielding in the transmitting information The target identification information read on curtain;
Module is obtained, is believed in multiple identification regions of the screen by the identification that black light is shown for obtaining Breath;
First determining module, for according to the identification shown on the target identification information and each identification region Information determines the corresponding screen coordinate of the transmitting information.
In a kind of possible embodiment, the terminal further includes the second receiving module, the second determining module and display Module, wherein
Second receiving module is used for, before the reception light gun described in first receiving module sends transmitting information, The light gun game enabled instruction of user's input is received, the light gun game enabled instruction is used to indicate starting light gun game;
Second determining module is used for, the multiple identifications for determining that the light gun game is corresponding, dividing on the screen Region;
The display module is used for, and shows identification information by black light in the multiple identification region respectively, respectively The corresponding identification information of the identification region is different.
In alternatively possible embodiment, second determining module is specifically used for:
Obtain the corresponding aiming accuracy of the light gun game;
According to the corresponding aiming accuracy of the light gun game, the ruler of the corresponding identification region of the light gun game is determined It is very little;
According to the size of the size of the corresponding identification region of the light gun game and the screen, determine on the screen The multiple identification regions divided.
In alternatively possible embodiment, first determining module include the first determination unit, acquiring unit, with And second determination unit, wherein
First determination unit is used for, according to what is shown on the target identification information and each identification region Identification information determines the corresponding target identification region of the transmitting information;
The acquiring unit is used for, and obtains the centre coordinate in the target identification region;
Second determination unit is used for, and according to the centre coordinate in the target identification region, determines the transmitting information Corresponding screen coordinate.
In alternatively possible embodiment, first determination unit is specifically used for:
The target identification information is matched with each identification information respectively, obtains each identification information and institute State the similarity of target identification information;
According to the similarity of each identification information and the target identification information, obtained in the multiple identification information The similarity of at least one identification information to be selected, each identification information to be selected and the target identification information is greater than default threshold Value;
The corresponding identification region of each identification information to be selected is determined as target identification region.
In alternatively possible embodiment, if the number in the target identification region is equal to 1, described first determines mould Block is used for, and the centre coordinate in the target identification region is determined as the corresponding screen coordinate of the transmitting information;
If the number in the target identification region is greater than 1, first determining module is used for, and obtains each target area Centre coordinate the corresponding screen coordinate of the transmitting information is determined according to the centre coordinate of each target area.
In alternatively possible embodiment, the identification information includes two dimensional code, bar code, character string.
Light gun game localization method and game terminal provided in an embodiment of the present invention start light gun game in game terminal Later, the identification information shown in multiple identification regions of the screen of game terminal by black light, in this way, light gun to When game terminal sends transmitting information, light gun can read the target identification information on screen, and carry and read in transmitting information The target identification information got, so that game terminal can be according to the knowledge shown on target identification information and each identification region Other information determines the corresponding screen coordinate of transmitting information, in this process, without installing infrared induction item on game terminal, And then reduce the cost of light gun game.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is the application scenarios schematic diagram of light gun game provided by the invention positioning;
Fig. 2 is the flow diagram of light gun game localization method provided by the invention;
Fig. 3 is terminal interface schematic diagram provided by the invention;
Fig. 4 is the flow diagram provided by the invention for showing identification information method on the screen;
Fig. 5 is the flow diagram of determining screen coordinate method provided by the invention;
Fig. 6 is the structural schematic diagram one in region shared by target identification information provided by the invention;
Fig. 7 is the structural schematic diagram two in region shared by target identification information provided by the invention;
Fig. 8 is the structural schematic diagram three in region shared by target identification information provided by the invention;
Fig. 9 is the structural schematic diagram one of game terminal provided by the invention;
Figure 10 is the structural schematic diagram two of game terminal provided by the invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is the application scenarios schematic diagram of light gun game provided by the invention positioning, referring to Figure 1, including game terminal 101 and light gun 102, user can aim at the object in the screen of game terminal 101 by light gun 102, and to object into The operations such as row shooting;In this application, after game terminal starts a light gun game, in the difference of the screen of game terminal Different identification informations is shown on region by black light, user can not see the identification information on the screen, but light gun can To read the identification information shown on screen, and in this application, user is not necessarily to when carrying out light gun game on game terminal Infrared induction item is installed on game terminal, and then reduces the cost of light gun game.In the following, by specific embodiment to the application institute The technical solution shown is described in detail.
It should be noted that these specific embodiments can be combined with each other below, for the same or similar concept Or process may repeat no more in certain embodiments.
Fig. 2 is the flow diagram of light gun game localization method provided by the invention, and the executing subject of this method is game Terminal, refers to Fig. 2, and this method may include:
S201, light gun transmission transmitting information is received, includes the target identification letter that light gun is read on the screen in transmitting information Breath;
The identification information that S202, acquisition are shown in multiple identification regions of screen by black light;
S203, according to the identification information shown on target identification information and each identification region, determine that transmitting information is corresponding Screen coordinate.
In embodiments of the present invention, after starting light gun game on game terminal, in the screen of game terminal Different identification informations is shown in different identification regions by black light, wherein the black light is that human eye is unrecognized Light, and the light that light gun can identify, optionally, the black light can be infrared ray etc., and identification information can be two Code, bar code, character string etc. are tieed up, can show each identification information in the form of picture in each identification region of screen, Optionally, the screen of game terminal can be divided into multiple grids, the corresponding identification region of each grid, each cog region The identification information shown on domain is different;Information reading mechanism is provided on light gun, which can only identify very little Information in range, optionally, the range of each identification region are greater than or equal to the identifiable range of information reading mechanism, so that Light gun is typically only capable to read the identification information in an identification region on the screen of game terminal.
In actual application, during user carries out light gun game, when user needs through light gun to game When object on the screen of terminal such as is shot at the operation, user aims at object by light gun, and on light gun Firing button carry out trigger action, after the trigger action that light gun receives that user carries out firing button, light gun passes through The identification information on screen that information reading mechanism aims at it is read out, and optionally, the information reading mechanism on light gun can Think picture pick-up device, correspondingly, the identification information on the screen that light gun can aim at it by the picture pick-up device is taken pictures, The target identification information is picture format, and after light gun acquires target identification information, light gun sends to game terminal and sends out Information is penetrated, includes the target identification information that light gun is read on the screen in the transmitting information.
After the transmitting information that game terminal receives light gun transmission, game terminal, which obtains the target in transmitting information, to be known Other information, and the identification information shown in each identification region of screen by black light is obtained, then respectively by each area Identification information on domain is matched with target identification information, obtains and target identification information is to matched identification information, and obtain It takes with target identification information to the corresponding target identification region of matched identification information, according to target identification region in screen Coordinate determines the corresponding screen coordinate of transmitting information.
In the following, terminal interface schematic diagram as shown in connection with fig. 3, by specific example to method shown in Fig. 2 embodiment into Row is described in detail.
Fig. 3 is terminal interface schematic diagram provided by the invention, refers to Fig. 3, screen 301 and light gun including game terminal 302, wherein
After game terminal starts light gun game, by invisible in each identification region of the screen of game terminal Light shows that identification information, the identification information shown in each identification region are different.
When user needs to carry out aimed fire to the object on screen 301, user first passes through light gun 302 and aims at screen Object on 301, and on light gun 302 firing button carry out trigger action, light gun 302 receive user to transmitting by After the trigger action of button, light gun 302 reads the identification information on screen by the information reading mechanism at muzzle, it is assumed that light gun Identification information in 302 identification regions aimed at is identification information 34, then light gun 302 reads identification information 34, and identification is believed Breath 34 is determined as target identification information, and sends the transmitting information including identification information 34 to game terminal.
After game terminal receives transmitting information, game terminal, which obtains the target identification information in transmitting information, (to be known Other information 34), and (identification information 11- identification is believed by the identification information in identification information 34 and each identification region of screen 301 45) breath is matched, determine that identification information 34 is the identification information to match with target identification information, and obtain identification information 34 Corresponding identification region determines transmitting information pair according to screen coordinate of the corresponding identification region of identification information 34 in screen The centre coordinate of the corresponding identification region of identification information 34 optionally can be determined that transmitting information is corresponding by the screen coordinate answered Screen coordinate.
Light gun game localization method provided in an embodiment of the present invention is being swum after starting light gun game in game terminal The identification information that is shown by black light in multiple identification regions of the screen for terminal of playing, in this way, in light gun to game terminal When sending transmitting information, light gun can read the target identification information on screen, and the mesh read is carried in transmitting information Identification information, so that game terminal can be according to the identification information shown on target identification information and each identification region, really Determine the corresponding screen coordinate of transmitting information, in this process, without installing infrared induction item on game terminal, and then reduces light The cost of rifle game.
Before executing embodiment illustrated in fig. 2, need first to show knowledge in multiple identification regions of the screen of game terminal Other information, in the following, identifying letter to showing in multiple identification regions of the screen in game terminal by embodiment shown in Fig. 4 The process of breath is described in detail.
Fig. 4 is the flow diagram provided by the invention for showing identification information method on the screen, refers to Fig. 4, the party Method may include:
S401, the light gun game enabled instruction for receiving user's input, light gun game enabled instruction are used to indicate starting light gun Game;
S402, the multiple identification regions for determining that light gun game is corresponding, being divided on screen;
S403, identification information, the corresponding knowledge of each identification region are shown by black light in multiple identification regions respectively Other information is different.
When user needs to start light gun game, user sends light gun game enabled instruction to game terminal, optionally, uses Family can carry out clicking operation to the shortcut icon of the light gun game, to realize that sending light gun game starting to game terminal refers to It enables.
After game terminal receives light gun game enabled instruction, game terminal determine the light gun game it is corresponding, The multiple identification regions divided on screen, in actual application, the corresponding accuracy of different light gun game are different, work as light When the corresponding accuracy difference of rifle game, the size of the corresponding identification region of light gun game is different, specifically, light gun game is corresponding Accuracy it is higher, the size of the corresponding identification region of light gun game is smaller, optionally, can be arranged in game terminal accurate The corresponding relationship of degree and the size of identification region, so that when game terminal needs to determine light gun according to the accuracy of light gun game When the size of the corresponding identification region of game, the ruler of the corresponding identification region of light gun game can be determined according to the corresponding relationship It is very little;For example, if light gun game is higher to the precise requirements of firing operation, the size of the corresponding identification region of light gun game It can be 1cm*1cm, if light gun game is lower to the precise requirements of firing operation, the corresponding identification region of light gun game Size can be 5cm*5cm.
After the size that game terminal acquires the corresponding identification region of light gun game, game terminal obtains screen Size, and according to the size of the size of identification region and screen, determine the multiple identification regions divided on the screen, and each Identification information is shown in identification region, and the identification information in different identification regions is different.
In actual application, when the corresponding accuracy of light gun game is higher, and the size of identification region is too big, make The error of screen coordinate that aims at of the determining corresponding screen coordinate of transmitting information and practical light gun is too big, lead to the screen of determination The accuracy of curtain coordinate is too low;When the size of identification region is too small, the longer duration of game terminal needs could obtain and target The matched identification information of identification information, so that game terminal needs longer duration just to can determine that the corresponding screen of transmitting information Coordinate causes to determine that the efficiency of the corresponding screen coordinate of transmitting information is too low;And pass through the application embodiment shown in Fig. 4, trip Terminal of playing determines the size of the identification region divided on the screen according to the corresponding accuracy of light gun game, is guaranteeing determination On the basis of the accuracy of screen coordinate is higher, it can also be ensured that determine that the efficiency of the corresponding screen coordinate of transmitting information is higher.
In the following, method shown in Fig. 4 embodiment is described in detail by specific example.
Illustratively, when user needs to start light gun game 1 on game terminal, user passes through to light gun game 1 Shortcut icon carries out clicking operation, sends light gun game enabled instruction to realize to game terminal, to indicate on game terminal Start light gun chivalrous person 1.
After the light gun game enabled instruction that game terminal receives user's input, game terminal obtains light gun game 1 Corresponding accuracy, it is assumed that be according to the size of the corresponding identification region of light gun game 1 that the accuracy of light gun game 1 determines 2cm*2cm, game terminal obtain the size of the screen of game terminal again, it is assumed that the size of screen is 100cm*80cm, it is determined that (100*80)/(2*2)=2000 identification region is divided on the screen, and the length of each identification region is 2cm, width 2cm.
After game terminal determines to obtain 1 corresponding 2000 identification region of light gun game, game terminal is in each knowledge Different identification informations is shown by black light on other region.
On the basis of any one above-mentioned embodiment, it can be believed by following feasible implementation according to target identification The identification information that shows on breath and each identification region, determine the corresponding screen coordinate of transmitting information (embodiment illustrated in fig. 2 S203), specifically, embodiment shown in Figure 5.
Fig. 5 is the flow diagram of determining screen coordinate method provided by the invention, refers to Fig. 5, this method can wrap It includes:
S501, according to the identification information shown on target identification information and each identification region, determine that transmitting information is corresponding Target identification region;
S502, the centre coordinate for obtaining target identification region;
S503, according to the centre coordinate in target identification region, determine the corresponding screen coordinate of transmitting information.
In the embodiment shown in fig. 5, after game terminal gets target identification information in transmitting information, work as trip Terminal of playing is it needs to be determined that when the corresponding screen coordinate of transmitting information, and optionally, game terminal can first respectively believe target identification Breath is matched with each identification information, the similarity of each identification information and target identification information is obtained, when identification information and target When identification information is picture format, target identification information and content identical in identification information are more, then target identification information It is higher with the similarity of the identification information, wherein the value of similarity is the arbitrary value in 0 to 1, and optionally, which can be with For identical content ratio shared in target identification information, for example, thering is 20% content and identification to believe in target identification information Manner of breathing is same, then the similarity of target identification information and the identification information is 0.2.
After the similarity that game terminal obtains each identification information and target identification information, game terminal is according to each identification The similarity of information and target identification information obtains at least one identification information to be selected, each knowledge to be selected in multiple identification informations Other information and the similarity of target identification information are greater than preset threshold, and will the corresponding identification region determination of each identification information to be selected For target identification region, in actual application, can the preset threshold determine according to actual needs, optionally, this is default Threshold value can be 0.25.
Game terminal determines that the number in obtained target identification region may be 1 by the above process, it is also possible to it is greater than 1, Since the identifiable range of information reading mechanism of light gun is typically less than or equal to the range of each identification region, target The number of identification region minimum 1, is up to 4, when the number difference of identification region, is sat according to the center in target identification region It marks and determines that the process of the corresponding screen coordinate of transmitting information is not also identical, specifically, referring to the feasible realization side of the following two kinds Formula:
A kind of feasible implementation: the number in target identification region is equal to 1;
It, can be by target identification region since the number in target identification region is 1 in this kind of feasible implementation Centre coordinate is determined as the corresponding screen coordinate of transmitting information.
Another feasible implementation: the number in target identification region is greater than 1;
In this kind of feasible implementation, the centre coordinate of each target area is obtained, according to the center of each target area Coordinate determines the corresponding screen coordinate of transmitting information, in the following, by specific example, dividing in conjunction with Fig. 6-embodiment shown in Fig. 8 Not Wei the number in target identification region when being 2,3 and 4, determine the process of the corresponding screen coordinate of transmitting information into Row is described in detail.
Fig. 6 is the structural schematic diagram one in region shared by target identification information provided by the invention, refers to Fig. 6, specific:
In the screen 601 of game terminal include multiple identification regions, light gun read target identification information as shown in M, In that case, the number in the corresponding target identification region of transmitting information is two, respectively identification region 16 and cog region Domain 26, then the centre coordinate A of the available identification region 16 of the game terminal and centre coordinate B of identification region 26, and obtain The midpoint coordinates C of centre coordinate A and centre coordinate B, and coordinate C is determined as the corresponding screen coordinate of transmitting information, it is assumed that it sits It is (60,20) that mark A, which is (60,10) coordinate B, then coordinate C is (60,15).
Fig. 7 is the structural schematic diagram two in region shared by target identification information provided by the invention, refers to Fig. 7, specific:
In the screen 701 of game terminal include multiple identification regions, light gun read target identification information as shown in M, In that case, the number in the corresponding target identification region of transmitting information is three, respectively identification region 16, identification region 25 and identification region 26, then the centre coordinate A of the available identification region 16 of game terminal, identification region 26 center sit The centre coordinate C of B and identification region 25 is marked, and is obtained using coordinate A, coordinate B, coordinate C as barycenter oftriangle D, and will be sat Mark D is determined as the corresponding screen coordinate of transmitting information.
Fig. 8 is the structural schematic diagram three in region shared by target identification information provided by the invention, refers to Fig. 8, specific:
In the screen 801 of game terminal include multiple identification regions, light gun read target identification information as shown in M, In that case, the number in the corresponding target identification region of transmitting information is four, respectively identification region 15, identification region 16, identification region 25 and identification region 26, then the centre coordinate A of the available identification region 15 of game terminal, identification region The barycentric coodinates D of 16 centre coordinate B, the centre coordinate C of identification region 25 and identification region 26, and obtain with coordinate A, Coordinate B, coordinate C, coordinate D are the center E of rectangle, and coordinate E is determined as the corresponding screen coordinate of transmitting information, it is assumed that coordinate A is (50,10), coordinate B is (60,10), coordinate C is (50,20), coordinate D is (60.20), then coordinate E is (55,15).
Fig. 9 is the structural schematic diagram one of game terminal provided by the invention, refers to Fig. 9, which may include:
First receiving module 901 sends transmitting information for receiving light gun, includes that the light gun exists in the transmitting information The target identification information read on screen;
Module 902 is obtained, for obtaining the identification shown in multiple identification regions of the screen by black light Information;
First determining module 903, for according to the knowledge shown on the target identification information and each identification region Other information determines the corresponding screen coordinate of the transmitting information.
Game terminal shown in the embodiment of the present invention can execute technical solution shown in above method embodiment, realize Principle and beneficial effect are similar, are no longer repeated herein.
Figure 10 is the structural schematic diagram two of game terminal provided by the invention, on the basis of embodiment shown in Fig. 9, please be joined See Figure 10, which can also include the second receiving module 904, the second determining module 905 and display module 906, wherein
Second receiving module 904 is used for, described in first receiving module reception light gun send transmitting information it Before, the light gun game enabled instruction of user's input is received, the light gun game enabled instruction is used to indicate starting light gun game;
Second determining module 905 is used for, the multiple knowledges for determining that the light gun game is corresponding, dividing on the screen Other region;
The display module 906 is used for, and shows identification information by black light in the multiple identification region respectively, The corresponding identification information of each identification region is different.
In actual application, optionally, second determining module 905 specifically can be used for:
Obtain the corresponding aiming accuracy of the light gun game;
According to the corresponding aiming accuracy of the light gun game, the ruler of the corresponding identification region of the light gun game is determined It is very little;
According to the size of the size of the corresponding identification region of the light gun game and the screen, determine on the screen The multiple identification regions divided.
Optionally, first determining module 903 may include the first determination unit 9031, acquiring unit 9032 and Second determination unit 9033, wherein
First determination unit 9031 is used for, and is shown according on the target identification information and each identification region The identification information shown determines the corresponding target identification region of the transmitting information;
The acquiring unit 9032 is used for, and obtains the centre coordinate in the target identification region;
Second determination unit 9033 is used for, and according to the centre coordinate in the target identification region, determines the transmitting The corresponding screen coordinate of information.
Optionally, first determination unit 9031 specifically can be used for:
The target identification information is matched with each identification information respectively, obtains each identification information and institute State the similarity of target identification information;
According to the similarity of each identification information and the target identification information, obtained in the multiple identification information The similarity of at least one identification information to be selected, each identification information to be selected and the target identification information is greater than default threshold Value;
The corresponding identification region of each identification information to be selected is determined as target identification region.
In actual application, if the number in the target identification region is equal to 1, first determining module 903 It can be used for, the centre coordinate in the target identification region is determined as the corresponding screen coordinate of the transmitting information;
If the number in the target identification region is greater than 1, first determining module 903 can be used for, and obtain each institute The centre coordinate for stating target area determines the corresponding screen of the transmitting information according to the centre coordinate of each target area Coordinate.
Optionally, the identification information includes two dimensional code, bar code, character string.
Game terminal shown in the embodiment of the present invention can execute technical solution shown in above method embodiment, realize Principle and beneficial effect are similar, are no longer repeated herein.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (6)

1. a kind of light gun game localization method, which is characterized in that be applied to game terminal, which comprises
The light gun game enabled instruction of user's input is received, the light gun game enabled instruction is used to indicate starting light gun game;
The corresponding aiming accuracy of the light gun game is obtained, according to the corresponding aiming accuracy of the light gun game, determines institute The size for stating the corresponding identification region of light gun game, according to the ruler of the size of the corresponding identification region of the light gun game and screen It is very little, determine the multiple identification regions divided on the screen;
Identification information is shown by black light in the multiple identification region respectively, the corresponding identification of each identification region Information is different;
It receives light gun and sends transmitting information, include the target identification letter that the light gun is read on the screen in the transmitting information Breath;
The identification information shown in multiple identification regions of the screen by black light is obtained, and is known according to the target The identification information shown in other information and each identification region, determines the corresponding screen coordinate of the transmitting information.
2. the method according to claim 1, wherein described according to the target identification information and each described The identification information shown in identification region determines the corresponding screen coordinate of the transmitting information, comprising:
According to the identification information shown on the target identification information and each identification region, the transmitting information is determined Corresponding target identification region;
Obtain the centre coordinate in the target identification region;
According to the centre coordinate in the target identification region, the corresponding screen coordinate of the transmitting information is determined.
3. according to the method described in claim 2, it is characterized in that, according to the target identification information and each identification The identification information shown on region determines the target identification region that the light gun aims at, comprising:
The target identification information is matched with each identification information respectively, obtains each identification information and the mesh The similarity of identification information;
According to the similarity of each identification information and the target identification information, obtained at least in the multiple identification information The similarity of one identification information to be selected, each identification information to be selected and the target identification information is greater than preset threshold;
The corresponding identification region of each identification information to be selected is determined as target identification region.
4. according to the method described in claim 3, it is characterized in that,
If the number in the target identification region is equal to 1, according to the centre coordinate in the target identification region, the transmitting is determined The corresponding screen coordinate of information, comprising:
The centre coordinate in the target identification region is determined as the corresponding screen coordinate of the transmitting information;
If the number in the target identification region is greater than 1, according to the centre coordinate in the target identification region, the transmitting is determined The corresponding screen coordinate of information, comprising:
The centre coordinate for obtaining each target area determines the transmitting letter according to the centre coordinate of each target area Cease corresponding screen coordinate.
5. method according to claim 1-4, which is characterized in that the identification information includes two dimensional code, bar shaped Code, character string.
6. a kind of game terminal characterized by comprising
Second receiving module is used for, and receives the light gun game enabled instruction of user's input, and the light gun game enabled instruction is used for Instruction starting light gun game;
Second determining module is used for, and obtains the corresponding aiming accuracy of the light gun game, corresponding according to the light gun game Accuracy is aimed at, the size of the corresponding identification region of the light gun game is determined, according to the corresponding cog region of the light gun game The size in domain and the size of screen determine the multiple identification regions divided on the screen;
Display module is used for, and shows identification information, each identification by black light in the multiple identification region respectively The corresponding identification information in region is different;
First receiving module sends transmitting information for receiving light gun, include in the transmitting information light gun on the screen The target identification information of reading;
Module is obtained, for obtaining the identification information shown in multiple identification regions of the screen by black light;
First determining module, for according to the identification information shown on the target identification information and each identification region, Determine the corresponding screen coordinate of the transmitting information.
CN201610408882.4A 2016-06-07 2016-06-07 Light gun game localization method and game terminal Active CN106110653B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610408882.4A CN106110653B (en) 2016-06-07 2016-06-07 Light gun game localization method and game terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610408882.4A CN106110653B (en) 2016-06-07 2016-06-07 Light gun game localization method and game terminal

Publications (2)

Publication Number Publication Date
CN106110653A CN106110653A (en) 2016-11-16
CN106110653B true CN106110653B (en) 2019-12-03

Family

ID=57270907

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610408882.4A Active CN106110653B (en) 2016-06-07 2016-06-07 Light gun game localization method and game terminal

Country Status (1)

Country Link
CN (1) CN106110653B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107823883B (en) * 2017-11-21 2020-12-29 河南黄烨科技有限公司 Aiming point screen coordinate obtaining method based on image recognition and laser positioning

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103768792A (en) * 2014-02-25 2014-05-07 中山市金马科技娱乐设备有限公司 Partitioning and recognition method applied to wide-range video space object positioning system
CN103793185A (en) * 2012-10-30 2014-05-14 孕龙科技股份有限公司 Pointer positioning system
CN103949054A (en) * 2014-05-09 2014-07-30 深圳市普乐方文化科技有限公司 Infrared light gun positioning method and system
CN105126338A (en) * 2015-08-18 2015-12-09 中山市金马科技娱乐设备股份有限公司 Video positioning system applicable to light gun shooting games
CN105469089A (en) * 2015-11-19 2016-04-06 广州玖的数码科技有限公司 Multi-person light gun positioning method and multi-person light gun positioning device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103793185A (en) * 2012-10-30 2014-05-14 孕龙科技股份有限公司 Pointer positioning system
CN103768792A (en) * 2014-02-25 2014-05-07 中山市金马科技娱乐设备有限公司 Partitioning and recognition method applied to wide-range video space object positioning system
CN103949054A (en) * 2014-05-09 2014-07-30 深圳市普乐方文化科技有限公司 Infrared light gun positioning method and system
CN105126338A (en) * 2015-08-18 2015-12-09 中山市金马科技娱乐设备股份有限公司 Video positioning system applicable to light gun shooting games
CN105469089A (en) * 2015-11-19 2016-04-06 广州玖的数码科技有限公司 Multi-person light gun positioning method and multi-person light gun positioning device

Also Published As

Publication number Publication date
CN106110653A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
WO2020238592A1 (en) Method and apparatus for generating mark information in virtual environment, electronic device, and storage medium
US11980814B2 (en) Method and apparatus for controlling virtual object to mark virtual item and medium
JP6710249B2 (en) Information processing method, device, computer program, and computer-readable storage medium
US10589180B2 (en) Method and apparatus for providing online shooting game
CN111803933B (en) Prop control method in game, terminal, electronic device and readable storage medium
CN109529327B (en) Target positioning method and device in virtual interaction scene and electronic equipment
US11971494B2 (en) Sound source determining method and apparatus, and storage medium
US20190391676A1 (en) Information processing method, terminal, and computer storage medium
US20210146248A1 (en) Virtual character processing method, virtual character processing device, electronic apparatus and storage medium
CN107899241A (en) Information processing method and device, storage medium, electronic equipment
CN107773987A (en) Virtual shooting main body control method, apparatus, electronic equipment and storage medium
CN110639203B (en) Control response method and device in game
US20160236085A1 (en) System and method for presenting a virtual counterpart of an action figure based on action figure state information
CN112870715B (en) Virtual item putting method, device, terminal and storage medium
WO2022252927A1 (en) Virtual object location prompting method and apparatus, terminal, and storage medium
US20190388776A1 (en) Game Systems And Methods
JP2013183429A5 (en)
CN111097171A (en) Processing method and device of virtual mark, storage medium and electronic device
CN106110653B (en) Light gun game localization method and game terminal
CN110147159B (en) Target positioning method and device in virtual interaction scene and electronic equipment
WO2022068573A1 (en) Operation prompt method and device, terminal, and storage medium
WO2015132982A1 (en) Authentication device, authentication system, program, storage medium and authentication method
CN108883340A (en) improved laser game system
CN110141861A (en) Control method, device and terminal
KR20210009941A (en) Method of multiple selection and deselection of targets and other objects using the trackball for tactical screen of naval combat system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant