CN112516583A - Data processing method and device in game and electronic terminal - Google Patents

Data processing method and device in game and electronic terminal Download PDF

Info

Publication number
CN112516583A
CN112516583A CN202011468875.6A CN202011468875A CN112516583A CN 112516583 A CN112516583 A CN 112516583A CN 202011468875 A CN202011468875 A CN 202011468875A CN 112516583 A CN112516583 A CN 112516583A
Authority
CN
China
Prior art keywords
virtual
amount
target
discarding
backpack
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011468875.6A
Other languages
Chinese (zh)
Inventor
王泽�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202011468875.6A priority Critical patent/CN112516583A/en
Publication of CN112516583A publication Critical patent/CN112516583A/en
Pending legal-status Critical Current

Links

Images

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/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/10Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
    • A63F2300/1068Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad
    • A63F2300/1075Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad using a touch screen

Abstract

The application provides a data processing method and device in a game and an electronic terminal, relates to the technical field of games, and solves the technical problem that the convenience degree of the whole operation process of discarding a virtual prop is low. The method comprises the following steps: responding to the fact that the total amount of the virtual props in the virtual backpack reaches a preset condition, and displaying a prompt icon of the target virtual prop on a graphical user interface; the target virtual prop is one of the virtual props; in response to a specified operation for the prompt icon, displaying a discarded amount control of the target virtual item on a graphical user interface; in response to the selection operation aiming at the discarding quantity control, determining a target discarding quantity of the target virtual prop; and discarding the target virtual prop of the target discarding amount in the virtual backpack.

Description

Data processing method and device in game and electronic terminal
Technical Field
The present application relates to the field of game technologies, and in particular, to a data processing method and apparatus in a game, and an electronic terminal.
Background
At present, in many games, a player can acquire virtual props such as articles in a game scene in a picking-up mode, a fighting mode and the like, and can also place the acquired virtual props into a backpack. However, if the backpack is fully loaded, it is not possible to continue to load more virtual props. If the player wants to discard the acquired virtual prop, the player needs to open the backpack and then discard the backpack.
Therefore, the convenient degree of the whole operation process of discarding the virtual prop in the game is low, and the operation is inconvenient when the backpack is fully loaded, thereby influencing the game experience of the player.
Disclosure of Invention
The application aims to provide a data processing method and device in a game and an electronic terminal so as to relieve the technical problem of low convenience degree of the whole operation process of discarding a virtual prop.
In a first aspect, an embodiment of the present application provides a data processing method in a game, where a terminal provides a graphical user interface, the graphical user interface includes a backpack entrance control, the backpack entrance control is configured to respond to a backpack trigger operation to display a virtual backpack, and the virtual backpack is a virtual space that accommodates virtual props; the method comprises the following steps:
responding to the fact that the total amount of the virtual props in the virtual backpack reaches a preset condition, and displaying a prompt icon of a target virtual prop on the graphical user interface; the target virtual prop is one of the virtual props;
in response to a specified operation for the prompt icon, displaying a discard amount control of the target virtual item on the graphical user interface;
determining a target discarding amount of the target virtual item in response to a selection operation for the discarding amount control;
discarding the target discarded amount of the target virtual prop in the virtual backpack.
In one possible implementation, the specified operation includes any one or more of:
dragging operation, single-click operation, double-click operation, operation in which the touch duration exceeds a preset duration, and sliding operation.
In one possible implementation, the specified operation is a drag operation;
the dragging operation is an operation of dragging the prompt icon to a designated area.
In one possible implementation, the designated area comprises a discard area; the distance between the prompt icon and the backpack entrance control is smaller than a preset distance; the method further comprises the following steps:
in response to the touch operation aiming at the prompt icon, the area where the backpack entrance control is located is changed to display the discarding area.
In one possible implementation, the step of determining a target discarding amount of the target virtual item in response to the selection operation for the discarding amount control includes:
in response to a sliding operation for the discarded amount control, displaying the discarded amount corresponding to the touch point of the sliding operation or the remaining amount of the target virtual item corresponding to the discarded amount on the graphical user interface;
and determining a target discarding amount of the target virtual item in response to the touch termination of the sliding operation at the discarding amount control, and exiting the discarding mode after the discarding is completed.
In one possible implementation, the method further includes:
performing change feedback of the discarding amount in response to a sliding operation for the discarding amount control;
the feedback mode of the change feedback comprises any one or more of the following modes:
a vibration, a color change of the discard amount control, a shape change of the discard amount control.
In one possible implementation, the discard amount control is a bar structure;
the sliding operation is sliding along a length direction of the bar structure.
In one possible implementation, the method further includes:
determining to abandon the abandoning of the target virtual item in response to the touch of the sliding operation at a position except the abandoning amount control piece being ended;
and displaying the total amount of the virtual prop on the graphical user interface.
In one possible implementation, the total amount is a total weight or a total amount;
the discarded amount is a discarded weight or a discarded number;
the remaining amount is a remaining weight or a remaining amount.
In one possible implementation, the preset condition includes any one or more of the following:
the total number of the virtual props exceeds a preset number; the total weight of the virtual prop exceeds a preset weight; the occupation ratio of the total amount of the virtual prop in the virtual storage device exceeds a preset occupation ratio.
In one possible implementation, the target virtual item is any one or more of the following in the virtual item:
the maximum one in the virtual space, the user-defined one, the total amount in all the virtual props is the maximum one, the total amount is the maximum one, the total weight is the maximum one, and the single weight is the maximum one.
In one possible implementation, the virtual prop includes any one or more of:
virtual equipment, virtual weaponry, virtual tools, virtual drugs, and virtual food.
The second aspect provides a data processing device in a game, which provides a graphical user interface through a terminal, wherein the graphical user interface comprises a backpack entrance control, the backpack entrance control is used for responding to backpack triggering operation to display a virtual backpack, and the virtual backpack is a virtual space for accommodating virtual props; the device comprises:
the first display module is used for responding to the fact that the total amount of the virtual props in the virtual backpack reaches a preset condition, and displaying a prompt icon of the target virtual prop on the graphical user interface; the target virtual prop is one of the virtual props;
a second display module, configured to display, on the graphical user interface, a discard amount control of the target virtual item in response to a specified operation for the prompt icon;
and the determining module is used for responding to the selection operation aiming at the discarding quantity control, determining the target discarding quantity of the target virtual prop, and discarding the target virtual prop with the target discarding quantity in the virtual backpack.
In a third aspect, an embodiment of the present application further provides an electronic terminal, which includes a memory and a processor, where the memory stores a computer program that is executable on the processor, and the processor executes the computer program to implement the method in the first aspect.
In a fourth aspect, this embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, which, when invoked and executed by a processor, cause the processor to perform the method of the first aspect.
The embodiment of the application brings the following beneficial effects:
the data processing method, the device and the electronic terminal in the game provided by the embodiment of the application can respond that the total amount of the virtual props in the virtual backpack reaches the preset condition, display a prompt icon of one target virtual prop in the virtual props on a graphical user interface, then respond to the specified operation aiming at the prompt icon, display a discarded amount control of the target virtual prop on the graphical user interface, then respond to the selection operation aiming at the discarded amount control, determine the target discarded amount of the target virtual prop, and discard the target virtual prop with the target discarded amount in the virtual backpack, in the scheme, when the total amount of the virtual props in the virtual backpack reaches the preset condition, a player can be timely prompted on the interface, and the discarded amount control for discarding the target virtual prop is directly provided on the interface based on the specified operation aiming at the prompt icon, so that the player can directly select the discarded amount in the interface and determine the discarded amount without opening the virtual backpack, the virtual backpack is convenient to discard and operate, and the game experience of players can be improved when the virtual backpack is fully loaded.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the detailed description of the present application or the technical solutions in the prior art, the drawings needed to be used in the detailed description of the present application or the prior art description will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 shows a schematic view of an electronic terminal of a present discarded item interface;
FIG. 2 is a schematic diagram illustrating an application scenario provided by an embodiment of the present application;
fig. 3 shows a schematic structural diagram of a mobile phone provided in an embodiment of the present application;
fig. 4 is a schematic view illustrating a usage scenario of an electronic terminal according to an embodiment of the present application;
FIG. 5 is a schematic flow chart illustrating a data processing method in a game according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of an electronic terminal of a display interface when the backpack is fully loaded according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of an electronic terminal displaying an interface of a discard amount control according to an embodiment of the present application;
FIG. 8 is a schematic diagram of an electronic terminal displaying an interface when a backpack icon is changed into a discard area according to an embodiment of the present disclosure;
FIG. 9 is a schematic diagram of an electronic terminal displaying an interface of a discarded quantity control bar according to an embodiment of the present disclosure;
fig. 10 is a schematic view of an electronic terminal of an interface for displaying the remaining amount of an article according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a data processing device in a game according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "comprising" and "having," and any variations thereof, as referred to in the embodiments of the present application, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
At present, in a hand trip like "wilderness action", a player cannot continuously pick up an article after a backpack is fully loaded, if the player wants to discard some article of the player but does not want to discard all articles, the player needs to open the backpack and then select the article in the backpack, as shown in fig. 1, and then click "split discard" to discard part of the articles.
Therefore, the whole operation of discarding the articles in the game is more complicated, the convenience degree is lower, the game experience is not facilitated, and the resource utilization degree of the space is lower.
Based on this, the embodiment of the application provides a data processing method and device in a game and an electronic terminal, and the technical problem of low convenience degree of the whole operation process of discarding a virtual prop can be solved through the method.
The data processing method in the game in the embodiment of the application can be applied to various types of electronic terminals, such as a touch terminal and a non-touch terminal. The touch terminal can comprise a touch screen and a processor, wherein the touch screen is used for presenting a graphical user interface and receiving operation aiming at the graphical user interface.
In some embodiments, when the electronic terminal operates the graphical user interface, the graphical user interface may be used to operate content local to the electronic terminal, and may also be used to operate content of the peer server.
For example, as shown in fig. 2, fig. 2 is a schematic view of an application scenario provided in the embodiment of the present application. The application scenario may include an electronic terminal (e.g., a cell phone 202, a computer, a tablet computer, etc.) and a server 201, and the electronic terminal may communicate with the server 201 through a wired network or a wireless network. The electronic terminal is used for running a virtual desktop, and can interact with the server 201 through the virtual desktop to operate the content in the server 201.
The electronic terminal of the present embodiment is described by taking the mobile phone 202 as an example. The handset 202 includes a Radio Frequency (RF) circuit 210, a memory 220, a touch screen 230, a processor 240, and the like. Those skilled in the art will appreciate that the handset configuration shown in fig. 3 is not intended to be limiting and may include more or fewer components than those shown, or may combine certain components, or split certain components, or arranged in different components. Those skilled in the art will appreciate that the touch screen 230 belongs to a User Interface (UI) and that the cell phone 202 may include fewer or more User interfaces than shown.
The RF circuitry 210 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 220 may be used for storing software programs and modules, and the processor 240 executes various functional applications and data processing of the mobile phone 202 by operating the software programs and modules stored in the memory 220. The memory 220 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the cellular phone 202, and the like. Further, the memory 220 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The touch screen 230 may be used to display a graphical user interface and receive user operations with respect to the graphical user interface. A particular touch screen 230 may include a display panel and a touch panel. The Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may collect contact or non-contact operations of a user on or near the touch panel (for example, as shown in fig. 4, operations of the user on or near the touch panel using any suitable object or accessory such as a finger 403, a stylus pen, etc.), and generate preset operation instructions. In addition, the touch panel may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction and gesture of a user, detects signals brought by touch operation and transmits the signals to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into information that can be processed by the processor, sends the information to the processor 240, and receives and executes commands sent from the processor 240. In addition, the touch panel may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, a surface acoustic wave, and the like, and may also be implemented by any technology developed in the future. Further, the touch panel may cover the display panel, a user may operate on or near the touch panel covered on the display panel according to a graphical user interface displayed by the display panel, the touch panel detects an operation thereon or nearby and transmits the operation to the processor 240 to determine a user input, and the processor 240 provides a corresponding visual output on the display panel in response to the user input. In addition, the touch panel and the display panel can be realized as two independent components or can be integrated.
The processor 240 is a control center of the mobile phone 202, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone 202 and processes data by operating or executing software programs and/or modules stored in the memory 220 and calling data stored in the memory 220, thereby performing overall monitoring of the mobile phone.
Embodiments of the present application are further described below with reference to the accompanying drawings.
Fig. 5 is a schematic flowchart of a data processing method in a game according to an embodiment of the present application. The method is applied to an electronic terminal (for example, a mobile phone 202 shown in fig. 3) capable of presenting a graphical user interface, the graphical user interface is provided through the terminal, the graphical user interface comprises a backpack entrance control, the backpack entrance control is used for responding to a backpack triggering operation to display a virtual backpack, and the virtual backpack is a virtual space for accommodating virtual props. As shown in fig. 5, the method includes:
step S510, in response to that the total amount of the virtual items in the virtual backpack reaches a preset condition, displaying a prompt icon of the target virtual item on the graphical user interface.
It should be noted that the total amount in the embodiments of the present application may refer to the total weight or the total amount, the discarded amount may refer to the discarded weight or the discarded amount, and the remaining amount may refer to the remaining weight or the remaining amount.
The preset conditions in this step may include a plurality of conditions, for example, the preset conditions include any one or more of the following: the total number of the virtual props exceeds the preset number; the total weight of the virtual prop exceeds the preset weight; the occupation ratio of the total amount of the virtual prop in the virtual storage device exceeds a preset occupation ratio.
The virtual prop in the embodiment of the present application may include multiple virtual articles, for example, the virtual prop may include any one or more of the following: virtual equipment, virtual weaponry, virtual tools, virtual drugs, and virtual food.
The target virtual prop is one of the virtual props. Illustratively, the target virtual item is any one or more of the following in the virtual item: the method comprises the steps of occupying the largest one in the virtual space, defining one, occupying the largest one in all the virtual props, having the largest total amount, having the largest total weight and having the largest single weight. For example, as shown in fig. 6, when the backpack load in the game is fully loaded, the electronic terminal displays a prompt icon 601 of the virtual prop which occupies the largest load in the backpack in the graphical user interface.
And step S520, responding to the specified operation aiming at the prompt icon, and displaying a discarded amount control of the target virtual item on the graphical user interface.
Wherein the specified operation may include a plurality of operation modes. As an example, the specified operation includes any one or more of: dragging operation, single-click operation, double-click operation, operation in which the touch duration exceeds a preset duration, and sliding operation. For example, the specified operation may be a sliding operation from a prompt icon of the target virtual prop to a backpack entry control. For example, when the player slides from the prompt icon of the target virtual item to the backpack entrance control, as shown in fig. 7, the electronic terminal is triggered to display a discard amount control 701 of the target virtual item in the graphical user interface.
Step S530, in response to the selection operation for the discard amount control, determining a target discard amount for the target virtual item.
In practical applications, the touch point designated for operation in step S520 and the touch point selected for operation in step S530 may be the same touch point or different touch points. For example, after the player performs a designated operation on the prompt icon, the fingers of the player can directly perform a selection operation on the displayed discarded quantity control element without leaving the mobile phone screen; of course, the fingers of the player may leave the mobile phone screen after performing the designation operation on the prompt icon, and then perform the selection operation on the discarded quantity control component.
And step S540, discarding the target virtual props in the target discarding amount in the virtual backpack.
After the target discarding amount of the target virtual item is determined, the target virtual item in the virtual backpack can be directly discarded according to the target discarding amount. After the discarding execution is completed, the remaining amount of the virtual item can be displayed in the graphical user interface, and the remaining amount is the total amount of the virtual item after the target virtual item is discarded according to the target discarded amount.
In the embodiment of the application, the player can be timely prompted at the interface when the total amount of the virtual props in the virtual backpack reaches the preset condition, and the discarding amount control for discarding the target virtual props is directly provided at the interface based on the specified operation on the prompting icon, so that the player can directly select the discarding amount and determine to discard in the interface under the condition of not opening the virtual backpack, the discarding operation convenience degree of the virtual props in the virtual backpack is improved, and the game experience of the player can also be improved when the virtual backpack is fully loaded. For example, by the method of the embodiment of the application, the function of discarding heavy-load articles in the backpack by using another interactive operation except opening the backpack is triggered, so that the operation of triggering the function of discarding articles is quicker and more convenient.
The above steps are described in detail below.
In some embodiments, the player may trigger the display of the discard amount control in step S520 by dragging the prompt icon to a certain area. As one example, the specified operation is a drag operation; the drag operation is an operation of dragging the prompt icon to a designated area.
In practical applications, the prompt icon may be dragged. For example, when the player drags the prompt icon outside the area where the original position of the prompt icon is located, a discard amount control for the item to be discarded is displayed in the image user interface.
By dragging the prompt icon to the designated area, the operation of selecting the article to be discarded by the player can be confirmed more clearly, and the article is prevented from being discarded by mistake due to misoperation of the player.
Based on this, the player may trigger the display of the discard amount control in step S520 by dragging the prompt icon to the position of the original backpack entry control. As one example, the designated area includes a discard area; the distance between the prompt icon and the backpack inlet control is smaller than a preset distance; the method may further comprise the steps of:
step a), responding to the touch operation aiming at the prompt icon, and changing the area where the backpack entrance control is located into a display discarding area.
Illustratively, as shown in fig. 6, a prompt icon 601 of the virtual prop with the largest load in the backpack is displayed near a backpack icon 602 (backpack entrance control). When the player's finger touches the prompt icon 601, the backpack icon 602 becomes a discard area as shown in FIG. 8. When the player drags the target prop to prompt the abandoning area (the position area of the original knapsack entrance control), the abandoning amount control of the target prop is displayed in the graphical user interface.
The prompt icon is dragged to the position of the original backpack inlet control to trigger the display of the discarded quantity control, so that the backpack inlet control has more functions, and the utilization rate of interface space resources is improved.
In some embodiments, the player may adjust the discard amount selected by sliding the discard amount control. As an example, the step S530 may include the following steps:
step b), in response to the sliding operation aiming at the discarded quantity control, displaying the discarded quantity corresponding to the touch point of the sliding operation or the residual quantity of the target virtual prop corresponding to the discarded quantity on the graphical user interface;
and c), determining the target discarding amount of the target virtual item in response to the touch termination of the sliding operation at the discarding amount control, and exiting the discarding mode after the discarding is finished.
For example, as shown in fig. 9, a discard amount (which may also be a remaining amount) selected in real time may be displayed near a control point on the discard amount control, and the discard amount selected in real time is adjusted by sliding the discard amount control, so that the currently selected discard amount can be made more clear to the player, and the selection of an incorrect discard amount due to an incorrect operation by the player is avoided.
In order to facilitate the sliding operation of the discard amount control by the player, the discard amount control may be a bar-shaped structure, and the sliding operation is sliding along the length direction of the bar-shaped structure. For example, as shown in fig. 9, the player can adjust the discard amount by dragging up and down a control point 902 in a discard amount bar 901. Of course, when initially the player has not slid the discard volume bar, the player's finger may default to a position where the volume bar is discarded, such as 50% of the position where the volume bar is discarded.
When the fingers of the player leave the image user interface at the discarding amount control part, the discarding action of the target virtual item according to the target discarding amount can be completed, and the discarding operation mode is exited. As shown in fig. 10, the remaining amount of all virtual items after the target virtual item is discarded may be displayed in the image user interface (e.g. at the position of the backpack icon 602), so as to facilitate the player to clearly discard the total amount of the virtual items after the operation is completed.
Based on the step b) and the step c), in the process of sliding the discard amount control by the player, the electronic terminal can also perform real-time feedback on the adjustment process of the discard amount. As an example, the method may further comprise the steps of:
and d), responding to the sliding operation of the discarding quantity control, and feeding back the change of the discarding quantity.
Wherein the feedback mode for changing the feedback comprises any one or more of the following items: shock, a change in color of the discard amount control, a change in shape of the discard amount control.
For example, the color on the discard amount bar may show different colors as the player adjustment amount changes. For example, red is displayed when the remaining amount is small, green is displayed when the remaining amount is large, and the like. In addition, when the player drags the control point up and down, feedback such as mobile phone vibration can be set to prompt the player that the discarded amount changes, and the discarded amount misoperation is avoided.
By feeding back the adjustment process of the discarding quantity in real time, the change condition of the currently selected discarding quantity can be timely determined by the player, and the player is prevented from finally selecting the wrong discarding quantity.
Based on the above steps b) and c), if the finger of the player leaves the screen at a position other than the discard amount control, the execution of the discard task is abandoned by default. As an example, the method may further comprise the steps of:
step e), in response to the touch of the sliding operation at the position except the discarded amount control piece is finished, determining to abandon the discarding of the target virtual item;
and f), displaying the total amount of the virtual props on a graphical user interface.
For example, if the player's finger slips to a position outside the discard amount bar and releases his hand, the discard operation is cancelled. As shown in fig. 10, the total amount of virtual items for which discarding is not performed is displayed on the graphical user interface.
By canceling the discarding task when the touch control is finished at a position other than the discarding amount control, the selection operation of whether the player discards or not can be more freely and flexibly performed, and the game operation experience of the player is improved.
Fig. 11 provides a schematic diagram of the structure of a data processing device in a game. The device can be applied to an electronic terminal (for example, a mobile phone 202 shown in fig. 3) capable of presenting a graphical user interface, the graphical user interface is provided through the terminal, the graphical user interface comprises a backpack entrance control, the backpack entrance control is used for responding to a backpack triggering operation to display a virtual backpack, and the virtual backpack is a virtual space for accommodating virtual props. As shown in fig. 11, the in-game data processing apparatus 1100 includes:
a first display module 1101, configured to display, on the graphical user interface, a prompt icon of a target virtual item in response to that the total amount of the virtual items in the virtual backpack reaches a preset condition; the target virtual prop is one of the virtual props;
a second display module 1102, configured to display, in response to a specified operation for the prompt icon, a discarded amount control of the target virtual item on the graphical user interface;
a first determining module 1103, configured to determine, in response to a selection operation for the discard amount control, a target discard amount for the target virtual item, and discard the target virtual item of the target discard amount in the virtual backpack.
In some embodiments, the specified operation comprises any one or more of:
dragging operation, single-click operation, double-click operation, operation in which the touch duration exceeds a preset duration, and sliding operation.
In some embodiments, the specified operation is a drag operation;
the dragging operation is an operation of dragging the prompt icon to a designated area.
In some embodiments, the designated area comprises a discard area; the distance between the prompt icon and the backpack entrance control displayed in the graphical user interface is smaller than a preset distance; the device also includes:
and the change module is used for responding to the touch operation aiming at the prompt icon, and changing the area where the backpack entrance control is located into the display of the discarding area.
In some embodiments, the first determining module 1103 is specifically configured to:
responding to the sliding operation aiming at the discarded amount control, and displaying the discarded amount corresponding to the touch point of the sliding operation or the residual amount of the target virtual item corresponding to the discarded amount on the graphical user interface;
and determining a target discarding amount of the target virtual item in response to the touch termination of the sliding operation at the discarding amount control, and exiting the discarding mode after the discarding is completed.
In some embodiments, the apparatus further comprises:
a feedback module, configured to perform change feedback of the discard amount in response to a sliding operation for the discard amount control;
the feedback mode of the change feedback comprises any one or more of the following modes:
a shock, a color change of the discard amount control, a shape change of the discard amount control.
In some embodiments, the discard amount control is a bar structure;
the sliding operation is sliding along a length direction of the bar structure.
In some embodiments, the apparatus further comprises:
a second determining module, configured to determine to abandon discarding of the target virtual item in response to an end of touch of the sliding operation at a position other than the discarded amount control;
and the third display module is used for displaying the total amount of the virtual prop on the graphical user interface.
In some embodiments, the total amount is total weight or total amount;
the discarded amount is a discarded weight or a discarded number;
the remaining amount is a remaining weight or a remaining amount.
In some embodiments, the preset conditions include any one or more of:
the total number of the virtual props exceeds a preset number; the total weight of the virtual prop exceeds a preset weight; the occupation ratio of the total amount of the virtual prop in the virtual storage device exceeds a preset occupation ratio.
In some embodiments, the target virtual item is any one or more of the following in the virtual item:
the maximum one in the virtual space, the user-defined one, the total amount in all the virtual props is the maximum one, the total amount is the maximum one, the total weight is the maximum one, and the single weight is the maximum one.
In some embodiments, the virtual prop comprises any one or more of:
virtual equipment, virtual weaponry, virtual tools, virtual drugs, and virtual food.
The data processing device in the game provided by the embodiment of the application has the same technical characteristics as the data processing method in the game provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
Corresponding to the data processing method in the game, the embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores computer executable instructions, and when the computer executable instructions are called and executed by a processor, the computer executable instructions cause the processor to execute the steps of the data processing method in the game.
The data processing device in the game provided by the embodiment of the application can be specific hardware on the device, or software or firmware installed on the device, and the like. The device provided by the embodiment of the present application has the same implementation principle and technical effect as the foregoing method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the foregoing method embodiments where no part of the device embodiments is mentioned. It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the foregoing systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
For another example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the data processing method in the game according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the scope of the embodiments of the present application. Are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (15)

1. A data processing method in a game is characterized in that a graphical user interface is provided through a terminal, the graphical user interface comprises a knapsack entrance control, the knapsack entrance control is used for responding to knapsack triggering operation to display a virtual knapsack, and the virtual knapsack is a virtual space for containing virtual props; the method comprises the following steps:
responding to the fact that the total amount of the virtual props in the virtual backpack reaches a preset condition, and displaying a prompt icon of a target virtual prop on the graphical user interface; the target virtual prop is one of the virtual props;
in response to a specified operation for the prompt icon, displaying a discard amount control of the target virtual item on the graphical user interface;
determining a target discarding amount of the target virtual item in response to a selection operation for the discarding amount control;
discarding the target discarded amount of the target virtual prop in the virtual backpack.
2. The method of claim 1, wherein the specified operation comprises any one or more of:
dragging operation, single-click operation, double-click operation, operation in which the touch duration exceeds a preset duration, and sliding operation.
3. The method of claim 1, wherein the specified operation is a drag operation;
the dragging operation is an operation of dragging the prompt icon to a designated area.
4. The method of claim 3, wherein the designated area comprises a discard area; the distance between the prompt icon and the backpack entrance control is smaller than a preset distance; the method further comprises the following steps:
in response to the touch operation aiming at the prompt icon, the area where the backpack entrance control is located is changed to display the discarding area.
5. The method of claim 1, wherein the step of determining a target discard amount for the target virtual prop in response to the selection operation for the discard amount control comprises:
in response to a sliding operation for the discarded amount control, displaying the discarded amount corresponding to the touch point of the sliding operation or the remaining amount of the target virtual item corresponding to the discarded amount on the graphical user interface;
and determining a target discarding amount of the target virtual item in response to the touch termination of the sliding operation at the discarding amount control, and exiting the discarding mode after the discarding is completed.
6. The method of claim 5, further comprising:
performing change feedback of the discarding amount in response to a sliding operation for the discarding amount control;
the feedback mode of the change feedback comprises any one or more of the following modes:
a vibration, a color change of the discard amount control, a shape change of the discard amount control.
7. The method of claim 5, wherein the discard amount control is a bar structure;
the sliding operation is sliding along a length direction of the bar structure.
8. The method of claim 5, further comprising:
determining to abandon the abandoning of the target virtual item in response to the touch of the sliding operation at a position except the abandoning amount control piece being ended;
and displaying the total amount of the virtual prop on the graphical user interface.
9. The method according to any one of claims 1 to 8, wherein the total amount is the total weight or the total amount;
the discard amount is a discard weight or a discard number.
10. The method according to any one of claims 1 to 8, wherein the preset conditions include any one or more of:
the total number of the virtual props exceeds a preset number; the total weight of the virtual prop exceeds a preset weight; the occupation ratio of the total amount of the virtual prop in the virtual storage device exceeds a preset occupation ratio.
11. The method of any one of claims 1-8, wherein the target virtual item is any one or more of the following in the virtual item:
the maximum one in the virtual space, the user-defined one, the total amount in all the virtual props is the maximum one, the total amount is the maximum one, the total weight is the maximum one, and the single weight is the maximum one.
12. The method of any one of claims 1 to 8, wherein the virtual prop comprises any one or more of:
virtual equipment, virtual weaponry, virtual tools, virtual drugs, and virtual food.
13. A data processing device in a game is characterized in that a terminal provides a graphical user interface, the graphical user interface comprises a backpack entrance control, the backpack entrance control is used for responding to backpack triggering operation to display a virtual backpack, and the virtual backpack is a virtual space for accommodating virtual props; the device comprises:
the first display module is used for responding to the fact that the total amount of the virtual props in the virtual backpack reaches a preset condition, and displaying a prompt icon of the target virtual prop on the graphical user interface; the target virtual prop is one of the virtual props;
a second display module, configured to display, on the graphical user interface, a discard amount control of the target virtual item in response to a specified operation for the prompt icon;
and the determining module is used for responding to the selection operation aiming at the discarding quantity control, determining the target discarding quantity of the target virtual prop, and discarding the target virtual prop with the target discarding quantity in the virtual backpack.
14. An electronic terminal comprising a memory and a processor, the memory having stored thereon a computer program operable on the processor, wherein the processor, when executing the computer program, performs the steps of the method of any of claims 1 to 12.
15. A computer readable storage medium having stored thereon computer executable instructions which, when invoked and executed by a processor, cause the processor to execute the method of any of claims 1 to 12.
CN202011468875.6A 2020-12-11 2020-12-11 Data processing method and device in game and electronic terminal Pending CN112516583A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011468875.6A CN112516583A (en) 2020-12-11 2020-12-11 Data processing method and device in game and electronic terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011468875.6A CN112516583A (en) 2020-12-11 2020-12-11 Data processing method and device in game and electronic terminal

Publications (1)

Publication Number Publication Date
CN112516583A true CN112516583A (en) 2021-03-19

Family

ID=74999654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011468875.6A Pending CN112516583A (en) 2020-12-11 2020-12-11 Data processing method and device in game and electronic terminal

Country Status (1)

Country Link
CN (1) CN112516583A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113413599A (en) * 2021-07-01 2021-09-21 网易(杭州)网络有限公司 Virtual article management method, device, terminal and storage medium
CN113476824A (en) * 2021-07-19 2021-10-08 网易(杭州)网络有限公司 Method for operating props in game, touch terminal, electronic equipment and storage medium
CN113546425A (en) * 2021-07-27 2021-10-26 网易(杭州)网络有限公司 Method, device, terminal and storage medium for processing virtual article in game
CN113559507A (en) * 2021-04-28 2021-10-29 网易(杭州)网络有限公司 Information processing method, information processing apparatus, storage medium, and electronic device
CN113633977A (en) * 2021-08-09 2021-11-12 北京字跳网络技术有限公司 Virtual article processing method, device, equipment and storage medium
WO2022252748A1 (en) * 2021-06-03 2022-12-08 网易(杭州)网络有限公司 Method and apparatus for processing virtual object, and device and storage medium
WO2023138141A1 (en) * 2022-01-21 2023-07-27 腾讯科技(深圳)有限公司 Virtual article processing method and apparatus, electronic device, computer readable storage medium and computer program product
WO2024037156A1 (en) * 2022-08-18 2024-02-22 腾讯科技(深圳)有限公司 Virtual consumable requesting and discarding method and apparatus, terminal, and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110201403A (en) * 2019-06-05 2019-09-06 腾讯科技(深圳)有限公司 The method, apparatus and medium that control virtual objects abandon virtual objects
JP2020000848A (en) * 2019-03-22 2020-01-09 株式会社コロプラ Game program, method, and information processing device
WO2020114275A1 (en) * 2018-12-07 2020-06-11 腾讯科技(深圳)有限公司 Virtual prop transfer method and apparatus, and electronic device and computer storage medium
CN111298437A (en) * 2020-02-11 2020-06-19 腾讯科技(深圳)有限公司 Control method and device for virtual attack prop
CN111298442A (en) * 2020-02-24 2020-06-19 腾讯科技(深圳)有限公司 Control method and device of virtual prop, storage medium and electronic device
CN111589126A (en) * 2020-04-23 2020-08-28 腾讯科技(深圳)有限公司 Virtual object control method, device, equipment and storage medium
CN111589148A (en) * 2020-05-15 2020-08-28 腾讯科技(深圳)有限公司 User interface display method, device, terminal and storage medium
CN111744175A (en) * 2020-06-29 2020-10-09 网易(杭州)网络有限公司 Method and device for operating and controlling in-game and out-game properties
CN111803933A (en) * 2020-07-22 2020-10-23 网易(杭州)网络有限公司 Property control method in game, terminal, electronic device and readable storage medium
CN112023392A (en) * 2020-09-17 2020-12-04 网易(杭州)网络有限公司 Virtual article processing method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020114275A1 (en) * 2018-12-07 2020-06-11 腾讯科技(深圳)有限公司 Virtual prop transfer method and apparatus, and electronic device and computer storage medium
JP2020000848A (en) * 2019-03-22 2020-01-09 株式会社コロプラ Game program, method, and information processing device
CN110201403A (en) * 2019-06-05 2019-09-06 腾讯科技(深圳)有限公司 The method, apparatus and medium that control virtual objects abandon virtual objects
CN111298437A (en) * 2020-02-11 2020-06-19 腾讯科技(深圳)有限公司 Control method and device for virtual attack prop
CN111298442A (en) * 2020-02-24 2020-06-19 腾讯科技(深圳)有限公司 Control method and device of virtual prop, storage medium and electronic device
CN111589126A (en) * 2020-04-23 2020-08-28 腾讯科技(深圳)有限公司 Virtual object control method, device, equipment and storage medium
CN111589148A (en) * 2020-05-15 2020-08-28 腾讯科技(深圳)有限公司 User interface display method, device, terminal and storage medium
CN111744175A (en) * 2020-06-29 2020-10-09 网易(杭州)网络有限公司 Method and device for operating and controlling in-game and out-game properties
CN111803933A (en) * 2020-07-22 2020-10-23 网易(杭州)网络有限公司 Property control method in game, terminal, electronic device and readable storage medium
CN112023392A (en) * 2020-09-17 2020-12-04 网易(杭州)网络有限公司 Virtual article processing method and device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113559507A (en) * 2021-04-28 2021-10-29 网易(杭州)网络有限公司 Information processing method, information processing apparatus, storage medium, and electronic device
CN113559507B (en) * 2021-04-28 2024-02-13 网易(杭州)网络有限公司 Information processing method, information processing device, storage medium and electronic equipment
WO2022252748A1 (en) * 2021-06-03 2022-12-08 网易(杭州)网络有限公司 Method and apparatus for processing virtual object, and device and storage medium
CN113413599A (en) * 2021-07-01 2021-09-21 网易(杭州)网络有限公司 Virtual article management method, device, terminal and storage medium
CN113476824A (en) * 2021-07-19 2021-10-08 网易(杭州)网络有限公司 Method for operating props in game, touch terminal, electronic equipment and storage medium
CN113546425A (en) * 2021-07-27 2021-10-26 网易(杭州)网络有限公司 Method, device, terminal and storage medium for processing virtual article in game
CN113546425B (en) * 2021-07-27 2024-03-01 网易(杭州)网络有限公司 Method, device, terminal and storage medium for processing virtual article in game
CN113633977A (en) * 2021-08-09 2021-11-12 北京字跳网络技术有限公司 Virtual article processing method, device, equipment and storage medium
CN113633977B (en) * 2021-08-09 2023-10-24 北京字跳网络技术有限公司 Virtual article processing method, device, equipment and storage medium
WO2023138141A1 (en) * 2022-01-21 2023-07-27 腾讯科技(深圳)有限公司 Virtual article processing method and apparatus, electronic device, computer readable storage medium and computer program product
WO2024037156A1 (en) * 2022-08-18 2024-02-22 腾讯科技(深圳)有限公司 Virtual consumable requesting and discarding method and apparatus, terminal, and storage medium

Similar Documents

Publication Publication Date Title
CN112516583A (en) Data processing method and device in game and electronic terminal
CN110955370B (en) Switching method and device of skill control in game and touch terminal
CN109513208B (en) Object display method and device, storage medium and electronic device
CN107930122B (en) Information processing method, device and storage medium
CN110251937B (en) Game object control method and device
CN106547451B (en) Multi-open application program method, multi-open application program device and terminal
CN106990883B (en) Icon moving method, icon moving system and terminal
CN111840988B (en) Game skill triggering method, game skill triggering device, game client and medium
US11347264B2 (en) Device for handheld operation and method thereof
CN111773711A (en) Game visual angle control method and device, storage medium and electronic device
CN110362257B (en) Data processing method, display method and client
WO2023046130A1 (en) Application icon display method and apparatus, and electronic device and storage medium
CN107797723B (en) Display style switching method and terminal
CN112256187B (en) Data processing method and device in game and computer equipment
EP3528103A1 (en) Screen locking method, terminal and screen locking device
CN113171611B (en) Method and device for controlling published information in game and electronic terminal
CN113457157A (en) Method and device for switching virtual props in game and touch terminal
CN112099682B (en) Icon display method and device and electronic equipment
CN112764625A (en) Notification message display method and device
CN105549807B (en) A kind of desktop icons processing method and system
CN115645924A (en) Virtual article processing method and device and electronic terminal
CN111083287B (en) Visual list sorting method and device
CN112516582A (en) Method and device for switching states in game
CN115779428A (en) Method and device for processing virtual article in game and electronic terminal
CN113805756A (en) Interface display method and device, electronic equipment and storage medium

Legal Events

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