[go: up one dir, main page]

CN106709229B - The method and device of NPC object priority response in a kind of game system - Google Patents

The method and device of NPC object priority response in a kind of game system Download PDF

Info

Publication number
CN106709229B
CN106709229B CN201510772677.1A CN201510772677A CN106709229B CN 106709229 B CN106709229 B CN 106709229B CN 201510772677 A CN201510772677 A CN 201510772677A CN 106709229 B CN106709229 B CN 106709229B
Authority
CN
China
Prior art keywords
npc
subobject
response
npc object
request operation
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
CN201510772677.1A
Other languages
Chinese (zh)
Other versions
CN106709229A (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201510772677.1A priority Critical patent/CN106709229B/en
Publication of CN106709229A publication Critical patent/CN106709229A/en
Application granted granted Critical
Publication of CN106709229B publication Critical patent/CN106709229B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16ZINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS, NOT OTHERWISE PROVIDED FOR
    • G16Z99/00Subject matter not provided for in other main groups of this subclass

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses the method and devices that NPC object priority in a kind of game system responds, wherein method includes: to respond subobject to the NPC Object Creation, the response subobject and the corresponding NPC object are interrelated, the response subobject is overlapped with the coordinate position of the corresponding NPC object, and the level of the response subobject is higher than the level of other objects in game system;Request operation of the monitoring users in the profile of the NPC object;The response subobject corresponding with the NPC object receives the request operation;The NPC object responds request operation.The method and device that NPC object priority responds in game system provided by the invention, in the case where not upsetting original object traversal and response logic, user, which is not required to operation bidirectional, can make NPC object that can operate with the request of preferential answering user.

Description

The method and device of NPC object priority response in a kind of game system
Technical field
The present invention relates to the method and devices that NPC object priority in field of play more particularly to a kind of game system responds.
Background technique
With the development of network technology, online game is gradually at critically important entertainment way, in game system, usually Interaction equipped with player and non-player's control role (Non Player Character, abbreviation NPC) is to enhance the amusement of game Property, but often will appear a large amount of players in some scene of game flocks together, and player, NPC etc. are swum in gaming world Play object is all to carry out front and back hierarchical ranking formation front and back according to certain rule to block display, the equally request in response player It is also successively to be responded according to the sequence of this level from top to bottom when operation;But the NPC object in game system is not It is always at the top layer of display, thus will appear the problem of NPC object is blocked by player or other game objects, and Mainly by clicking NPC Object Operations come what is interacted, NPC object will after being blocked for the interaction of player and NPC object Influence the experience of player's normal game.
In existing game system, after NPC object is blocked, the request if necessary to NPC object response player is operated, According to existing response logic, it is necessary to according to hierarchical sequence from top to bottom, traverse all objects, pair of first response one by one It after obtaining, if the object is not NPC object, continues to traverse, and records the object of first response, until finding one Object of the NPC object as request response, then returns, and if traversal terminates all to can not find a NPC object, note will be used Object of the object of first response of record as request response, in this case, if had at NPC object present position multiple non- NPC object requests the efficiency of response will be very low.In order to which player can more quickly interact with NPC object, existing skill There are two types of solutions for art, are respectively:
First, Objects hide interface is added in game system, and Objects hide or display are realized according to the type of object, when When player needs to interact with NPC object, manually opened non-NPC Objects hide function, all by the non-NPC object of other players After hiding, NPC object can just not be blocked again, and player can interact operation by clicking NPC object.Pass through non-NPC Although Objects hide function solves the problems, such as player and NPC object interaction, but hiding other players couple such as non-NPC object As that later, will be impacted to the atmosphere of online game, originally lively game environment atmosphere will similar single-play game, and If player forgets to cancel non-NPC Objects hide function after carrying out NPC object interaction, will weaken significantly between the player of game Interactivity, it is unfavorable to game developments to go down for a long time.
Second, when player needs to interact with NPC object, by some special operations, such as pin keyboard CTRL Key or other operations etc. traverse all objects in game system, and test all objects and current player mouse or click Whether position is overlapped, and is recorded as the object that can be responded if being overlapped, then the object that these can be responded is shown in the form of a list Show and carries out selection interactive operation to player.The program requires to carry out additional operation when opening the function every time, later time It goes through all objects in current scene to carry out being overlapped detection, inefficiency with the position of player's mouse or click, and if meets There are many object of condition, and the effect of list display will also have a greatly reduced quality, also not simple enough side when last player selects interactive object Just, cause to be easy error.
Summary of the invention
In order to solve the above technical problems, the present invention provides the method and dress of NPC object priority response in a kind of game system It sets, in the case where not upsetting original object traversal and response logic, user, which is not required to operation bidirectional, can make NPC object can It is operated with the request of preferential answering user.
In order to achieve the above objectives, the invention adopts the following technical scheme:
The invention discloses the methods that NPC object priority in a kind of game system responds, comprising:
Subobject is responded to the NPC Object Creation, the response subobject is mutually closed with the corresponding NPC object Connection, the response subobject are overlapped with the coordinate position of the corresponding NPC object, and the level of the response subobject is higher than trip The level of other objects in play system;
Request operation of the monitoring users in the profile of the NPC object;
The response subobject corresponding with the NPC object receives the request operation;
The NPC object responds request operation.
Preferably, the request operation is mouse clicking operation or contact action.
Preferably, the response subobject is the empty object without rendering.
Preferably, this method further include: the response subobject is with contour line identical with the corresponding NPC object And/or identical with corresponding NPC object image is shown.
Preferably, the response subobject is translucent display.
Preferably, this method further include: operated when listening to request of the user in the profile of the NPC object Afterwards, the responsive state that First look reference identification observes the NPC object for user is provided.
The invention also discloses the devices that NPC object priority in a kind of game system responds, comprising:
Creation module, for the NPC Object Creation respond subobject, the response subobject with it is corresponding described NPC object is interrelated, and the response subobject is overlapped with the coordinate position of the corresponding NPC object, and response is right The level of elephant is higher than the level of other objects in game system;
Module is monitored, for request operation of the monitoring users in the profile of the NPC object;
Receiving module, for making the response subobject corresponding with the NPC object receive the request operation;
Respond module, for responding the NPC object to request operation.
Preferably, which further includes the first display module, for showing the response subobject, wherein the response is sub Object be come with and the identical contour line of the corresponding NPC object and/or image identical with the corresponding NPC object into Row display.
Preferably, the response subobject is translucent display.
Preferably, which further includes the second display module, listens to user in the profile model of the NPC object for working as After request operation in enclosing, the responsive state that First look reference identification observes the NPC object for user is provided.
Compared with prior art, the beneficial effects of the present invention are: will not upset in game system in method of the invention Original object traversal and response logic, nor need to hide non-NPC object or operation bidirectional traverse it is multiple can be with The object of response generates list, but by responding subobject to NPC Object Creation, and set the level for responding subobject to Highest level, when user is when needing with NPC object interaction, by making requests operation in the profile of NPC object, sound It answers subobject to receive the operation, that is, may make that NPC object priority is responded, so that user be allowed not need additionally to be grasped Make, so that it may quickly respond NPC object priority, relative to other existing schemes, efficiency of the invention is greatly promoted, from And greatly improve the game experiencing effect of user.
In the preferred scheme in part, response subobject may include contour line identical with corresponding NPC object and/or Translucent image identical with NPC object, so that while not influencing normal level and blocking display effect, Yong Huke With more efficiently and rapidly determine NPC object position with by response subobject request be operated such that NPC object into Row response;In the preferred scheme of another part, response subobject can also be the empty object without rendering, so not only not shadow It rings normal level and blocks display effect, and allow for NPC in the case where not will increase any rendering burden of game system Object can be responded preferentially.
In the more preferred scheme in part, user is being listened to after the request operation in the profile of NPC object, The responsive state that First look reference identification can observe NPC object for user is provided, accurate judgement is enabled a user to The response condition of NPC object.
Detailed description of the invention
Fig. 1 is the method flow diagram that NPC object priority responds in the game system of the embodiment of the present invention.
Specific embodiment
Below against attached drawing and in conjunction with preferred embodiment, the invention will be further described.
As shown in Figure 1, embodiment of the invention discloses the method that NPC object priority in a kind of game system responds, packet It includes:
Subobject is responded to NPC Object Creation, subobject is responded and corresponding NPC object is interrelated, respond subobject It is overlapped with the coordinate position of corresponding NPC object, the level for responding subobject is higher than the level of other objects in game system;
Request operation of the monitoring users in the profile of NPC object;
Response subobject corresponding with NPC object receives request operation;
NPC object responds request operation.
Further, request operation is mouse clicking operation or contact action.
In some embodiments, response subobject be comprising without rendering empty object or be with include with it is corresponding What the identical contour line of NPC object and/or image identical with corresponding NPC object were shown (preferably can be translucent Display).
In a preferred embodiment, after listening to request operation of the user in the profile of NPC object, the is provided One visual reference mark observes the responsive state of NPC object for user.
The embodiment of the present invention also discloses a kind of device of NPC object priority response in game system, comprising:
Creation module, for responding subobject to NPC Object Creation, response subobject is mutually closed with corresponding NPC object The coordinate position of connection, response subobject and corresponding NPC object is overlapped, and responds the level of subobject higher than its in game system The level of his role;
Module is monitored, for request operation of the monitoring users in the profile of NPC object;
Receiving module, for making response subobject corresponding with NPC object receive request operation;
Respond module, for responding NPC object to request operation.
Further, which further includes the first display module, for showing response subobject, wherein response subobject is With and the identical contour line of corresponding NPC object and/or image identical with corresponding NPC object shown, preferably Scheme in, response subobject be translucent display.
Further, which further includes the second display module, listens to user in the profile model of NPC object for working as After request operation in enclosing, the responsive state that First look reference identification observes NPC object for user is provided.
It is following first to be responded in conjunction with realization NPC object priority in the online game A of terminal in example one to make into one Walk explanation.In online game A, multiple NPC objects are provided with, while the non-NPC object controlled in player enters the game When middle, the non-NPC object for also having other multiple players to be controlled is in game system while carrying out game, NPC object therein It may be blocked by multiple non-NPC objects, in the present invention, to one corresponding response subobject of each NPC Object Creation, respectively A response subobject and corresponding NPC object are interrelated, and each response subobject share corresponding NPC object except layer Number outer all data accordingly, while the level for other objects that one is higher than in game A is set to each response subobject Data so that each response subobject according to block hierarchical sequence can be with preferential answering mouse clicking operation;When response subobject The corresponding NPC object being associated response mouse clicking operation is allowed for when capturing mouse clicking operation.
Level display effect is blocked in order to not influence each object in game A, is set when rendering each response subobject A transparency parameter is set, renders each response subobject using translucent render mode, both will not influence so normal Level display effect is blocked in game system, but also can more efficiently and rapidly realize that NPC object priority responds mouse The function of clicking operation.
When response subobject receives mouse clicking operation, a special mouse gestures can also be set (such as Small dialog box, circle etc.), while color or printed words that the name of NPC object can be also different to the name of other objects are (such as Red or overstriking italic) display, when with more prominent mouse clicking operation, response subobject receives request operation, NPC object Interface when responding to request operation, allows user that can be more clearly observed the responsive state situation of NPC object.
In the example, the response subobject in online game A is aobvious using the image rendering of translucent corresponding NPC object The mode shown can allow user more easily to interact with NPC object, at the same keep the display of NPC object more intuitive and It is easy to be found especially when the figure of NPC object is smaller, and have the biggish non-NPC object gear of figure before NPC object by player When, show that translucent NPC image is just more advantageous to user and interacts with NPC object on the level for being higher than other players.
When user is when needing with NPC object interaction in the example, high-level response subobject will preferentially obtain mouse Message, and carry out position with current mouse position using the profile of NPC object associated by response subobject and be overlapped calculating To determine the need for message response, however, it is determined that response subobject needs mouse information to respond, i.e., the position of mouse click is in NPC In the profile of object, then mouse response operation corresponding with the associated NPC object of the response subobject is triggered, that is, may make NPC object priority carries out mouse information response, so that user be allowed not need to carry out operation bidirectional, so that it may quickly keep NPC object excellent Mouse information response is first carried out, relative to other existing schemes, program improved efficiency clearly, and is greatlyd improve The game experiencing effect of user.
Realize the response of NPC object priority to make furtherly in following combination examples two in the online game B of mobile phone terminal It is bright.In online game B, multiple NPC objects are provided with, while when the non-NPC object that player is controlled enters in the game, Also the non-NPC object for having other multiple players to be controlled is in game system while carrying out game, and wherein NPC object may be more A non-NPC object is blocked, in the present invention, to one corresponding response subobject of each NPC Object Creation, each response Object and corresponding NPC object are interrelated, and each response subobject is multiplexed the coordinate position and wheel of its corresponding NPC object Wide range data, while one hierarchical data higher than other objects in game A is set to each response subobject, so that respectively A response subobject according to block hierarchical sequence can be with preferential answering user's contact action;When response subobject is in corresponding NPC The contact action of NPC object response user is allowed for when capturing contact action in the profile of object.
In this example, setting response subobject is the empty object without rendering, is not rendered in the interface of game B It has been shown that, when user carries out contact action in the profile for responding NPC object corresponding to subobject, response subobject is caught The contact action is grasped, so that the NPC object that is associated responds the contact action.Response in the example is right As for empty object, the system that do not need, which increases additional rendering, can realize the request operation of NPC object priority response user, especially It is suitable for situation of the quantity of the NPC object in game system when more, mitigate the rendering burden of system significantly.
When response subobject receives contact action, it can to respond subobject according to the figure of corresponding NPC object As resource renders the highlighted translucent NPC object in an edge, to prompt the operation object of the currently practical interaction of user.
In some embodiments, response subobject can also be only render the contour line of corresponding NPC object so as to The position of user's identification NPC object.In game system design process, can be selected how to set according to the quantity of NPC object The rendering mode for setting response subobject, can be the image for only rendering translucent NPC object, or only render corresponding NPC The contour line of object, or only empty object and without rendering or the combination of first two.It wherein only renders translucent The image of NPC object or only render the contour line of corresponding NPC object suitable for game system the negligible amounts of NPC object, The lesser situation of the figure of NPC object, the quantity without render to response subobject the NPC object suitable for game system It is more, the larger situation of the figure of NPC object.
In other embodiments, if there is the profile of multiple NPC objects is partly or entirely overlapped, then multiple The hierarchical sequence of the response subobject of NPC object is also laminated according to the hierarchical sequence of multiple NPC objects, and each response is right As the response sequence of the request operation to lap is then successively responded according to corresponding hierarchical sequence.
Original object traversal and response logic in game system will not be upset in method of the invention, nor needed Non- NPC object or operation bidirectional are hidden to traverse multiple objects that can be responded and generate list, but by being created to NPC object Response subobject is built, and sets highest level for the level for responding subobject, when user is when needing with NPC object interaction, By making requests operation in the profile of NPC object, response subobject receives the operation, that is, may make NPC object It is preferentially responded, so that user be allowed not need to carry out operation bidirectional, so that it may quickly respond NPC object priority, not only Whether it is overlapped without the position for successively traversing all objects with request operates and reduces game running system consumption, and is mentioned significantly The game experiencing effect of high user.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that Specific implementation of the invention is only limited to these instructions.For those skilled in the art to which the present invention belongs, it is not taking off Under the premise of from present inventive concept, several equivalent substitute or obvious modifications can also be made, and performance or use is identical, all answered When being considered as belonging to protection scope of the present invention.

Claims (7)

1. a kind of method that NPC object priority responds in game system characterized by comprising
Subobject is responded to the NPC Object Creation, the response subobject and the corresponding NPC object are interrelated, institute It states response subobject to be overlapped with the coordinate position of the corresponding NPC object, the level of the response subobject is higher than game system The level of non-NPC object is so that the response subobject is capable of the request operation of preferential answering user in system;
Request operation of the monitoring users in the profile of the NPC object;
The response subobject corresponding with the NPC object receives the request operation;
The NPC object responds request operation;
Wherein, the response subobject be with and the identical contour line of the corresponding NPC object and/or with it is corresponding described The identical image of NPC object shown, or without the empty object of rendering.
2. the method according to claim 1, wherein request operation is mouse clicking operation or touch screen behaviour Make.
3. the method according to claim 1, wherein the response subobject is translucent display.
4. method according to any one of claims 1 to 3, which is characterized in that further include: when listening to user described After request operation in the profile of NPC object, the sound that First look reference identification observes the NPC object for user is provided Answer state.
5. the device that NPC object priority responds in a kind of game system characterized by comprising
Creation module, for the NPC Object Creation respond subobject, the response subobject with corresponding described NPC pairs As interrelated, the response subobject is overlapped with the coordinate position of the corresponding NPC object, the layer of the response subobject The secondary level higher than non-NPC object in game system is so that the response subobject is capable of the request behaviour of preferential answering user Make;
First display module, for showing the response subobject, wherein the response subobject be with the corresponding NPC The identical contour line of object and/or image identical with the corresponding NPC object are shown;
Module is monitored, for request operation of the monitoring users in the profile of the NPC object;
Receiving module, for making the response subobject corresponding with the NPC object receive the request operation;
Respond module, for responding the NPC object to request operation.
6. device according to claim 5, which is characterized in that the response subobject is translucent display.
7. device according to claim 5 or 6, which is characterized in that further include the second display module, listen to use for working as Family provides First look reference identification for user and observes the NPC after the request operation in the profile of the NPC object The responsive state of object.
CN201510772677.1A 2015-11-12 2015-11-12 The method and device of NPC object priority response in a kind of game system Active CN106709229B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510772677.1A CN106709229B (en) 2015-11-12 2015-11-12 The method and device of NPC object priority response in a kind of game system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510772677.1A CN106709229B (en) 2015-11-12 2015-11-12 The method and device of NPC object priority response in a kind of game system

Publications (2)

Publication Number Publication Date
CN106709229A CN106709229A (en) 2017-05-24
CN106709229B true CN106709229B (en) 2019-07-12

Family

ID=58918901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510772677.1A Active CN106709229B (en) 2015-11-12 2015-11-12 The method and device of NPC object priority response in a kind of game system

Country Status (1)

Country Link
CN (1) CN106709229B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107308641B (en) * 2017-06-07 2020-07-07 北京凯罗天下科技有限公司 Game object management method and device and mobile terminal
CN107433036B (en) * 2017-06-21 2020-09-08 网易(杭州)网络有限公司 Method and device for selecting objects in game
US10668382B2 (en) * 2017-09-29 2020-06-02 Sony Interactive Entertainment America Llc Augmenting virtual reality video games with friend avatars
CN110652729B (en) * 2018-06-28 2023-09-08 腾讯科技(上海)有限公司 Control method and device for non-user control object and electronic equipment
CN109976849B (en) * 2019-03-12 2022-08-23 深圳点猫科技有限公司 Method and electronic device for suspending web component on desktop based on programming language
CN115591231A (en) * 2022-08-31 2023-01-13 网易(杭州)网络有限公司(Cn) Interactive control method, device and electronic device in game

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101802765A (en) * 2007-09-14 2010-08-11 国际商业机器公司 Method, apparatus and program for facilitating object selection on display screen
CN202516288U (en) * 2011-03-30 2012-11-07 株式会社万代南梦宫游戏 Game system
CN103679793A (en) * 2013-12-31 2014-03-26 广州博冠信息科技有限公司 Rendering method and equipment
CN104784931A (en) * 2015-04-21 2015-07-22 广州多益网络科技有限公司 Identification and selection method and device for game object
CN104978739A (en) * 2015-04-29 2015-10-14 腾讯科技(深圳)有限公司 Image object selection method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101802765A (en) * 2007-09-14 2010-08-11 国际商业机器公司 Method, apparatus and program for facilitating object selection on display screen
CN202516288U (en) * 2011-03-30 2012-11-07 株式会社万代南梦宫游戏 Game system
CN103679793A (en) * 2013-12-31 2014-03-26 广州博冠信息科技有限公司 Rendering method and equipment
CN104784931A (en) * 2015-04-21 2015-07-22 广州多益网络科技有限公司 Identification and selection method and device for game object
CN104978739A (en) * 2015-04-29 2015-10-14 腾讯科技(深圳)有限公司 Image object selection method and apparatus

Also Published As

Publication number Publication date
CN106709229A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
CN106709229B (en) The method and device of NPC object priority response in a kind of game system
CN111760267B (en) Information sending method and device in game, storage medium and electronic equipment
CN104133666B (en) Determine the method, apparatus and artificial intelligence servers of artificial intelligence behavior
CN109275040A (en) Exchange method, device and system based on game live streaming
CN107741819A (en) Information processing method, device, electronic equipment and storage medium
CN105589747B (en) The control method and system that application program is opened more
CN107551537A (en) The control method and device of virtual role, storage medium, electronic equipment in a kind of game
CN110302530A (en) Virtual unit control method, device, electronic equipment and storage medium
CN107656671A (en) Suspend small window control method and device, terminal installation and computer-readable recording medium
CN112169310B (en) Game resource loading method and device, computer equipment and storage medium
CN105468358A (en) Mobile game data processing method and device
US11663621B2 (en) Reward giving method, computer-readable recording medium, server device, and game system
CN106775193A (en) Application program interface display method and device
CN113332720B (en) A game map display method, device, computer equipment and storage medium
US10438443B2 (en) Game system, and control method and storage medium used in same
CN110505528A (en) The matched method, apparatus of game, equipment and readable storage medium storing program for executing in live streaming
CN114367109A (en) Virtual object control method, device, computer equipment and storage medium
CN107832000A (en) Information processing method, device, electronic equipment and storage medium
CN111198629B (en) Method for processing touch operation of mobile terminal and mobile terminal
CN112516591A (en) Information interaction method and device in game, electronic equipment and storage medium
CN107357481A (en) Message display method and message display device
WO2024007655A1 (en) Social processing method and related device
CN114189731B (en) Feedback method, device, equipment and storage medium after giving virtual gift
CN118320417A (en) Information display method, device, equipment and storage medium
CN118467067A (en) Interface display method and device, electronic equipment and readable storage medium

Legal Events

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