CN113476824A - Method for operating props in game, touch terminal, electronic equipment and storage medium - Google Patents

Method for operating props in game, touch terminal, electronic equipment and storage medium Download PDF

Info

Publication number
CN113476824A
CN113476824A CN202110815452.5A CN202110815452A CN113476824A CN 113476824 A CN113476824 A CN 113476824A CN 202110815452 A CN202110815452 A CN 202110815452A CN 113476824 A CN113476824 A CN 113476824A
Authority
CN
China
Prior art keywords
target
prop
props
preset
touch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110815452.5A
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 CN202110815452.5A priority Critical patent/CN113476824A/en
Publication of CN113476824A publication Critical patent/CN113476824A/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
    • 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/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • 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
    • 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/30Features 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 output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides an operation method of props in a game, a touch terminal, electronic equipment and a storage medium, wherein the operation method comprises the steps of responding to a preset touch event acting on a preset area of a graphical user interface under the condition that a first target prop icon in at least one prop column is selected by first touch operation, and adjusting the residual quantity of first target props in the prop column and the selected quantity of the selected first target props according to the preset touch event; and the sum of the remaining quantity and the selected quantity is the original quantity of the first target prop in the props. Like this, the player can carry out convenient exchange with the stage property in the stage property fence with the stage property of selecting to realize the convenient operation of complicated stage property arrangement, make the operation process of stage property accelerate, help improving the operating efficiency of stage property, then do not influence the game process.

Description

Method for operating props in game, touch terminal, electronic equipment and storage medium
Technical Field
The application relates to the technical field of games, in particular to an operation method of a prop in a game, a touch terminal, electronic equipment and a storage medium.
Background
With the development of mobile intelligent terminals and the game industry, the hand games with different subjects are rapidly developed. In some games, such as various shooting game applications, props such as combat weapons can be arranged during the game.
At present, on the PC, a player can implement a fast property arrangement operation by means of a shortcut key + a mouse, for example, Ctrl + left key is to pick up 1 property from a property bar. However, on the touch terminal, due to the relationship of touch screen operation, complicated property arrangement operation cannot be realized in a shortcut key plus mouse mode, and it is inconvenient to exchange the property in the hand with the property in the property column, so that the property arrangement efficiency is low, and the game progress is affected.
Disclosure of Invention
In view of this, an object of the present application is to provide an operation method of a property in a game, a touch terminal, an electronic device, and a storage medium, so that when the property in a property bar is selected and activated by a first touch operation, the remaining number of the property in the property bar and the selected number of the selected property can be adjusted through a preset touch event, thereby implementing a convenient operation of complex property arrangement, accelerating an operation process of the property, and contributing to improving the operation efficiency of the property without affecting a game process.
In a first aspect, an embodiment of the present application provides an operation method of a property in a game, which is applied to a touch terminal capable of presenting a graphical user interface, where at least one property bar is displayed in the graphical user interface of the touch terminal, and a property icon of a property is displayed in the property bar, where the operation method includes:
under the condition that a first target prop icon in the at least one prop bar is selected through first touch operation, responding to a preset touch event acting on a preset area of the graphical user interface, and adjusting the remaining quantity of the first target props in the prop bar and the selected quantity of the selected first target props according to the preset touch event; and the sum of the remaining quantity and the selected quantity is the original quantity of the first target prop in the props.
Optionally, the preset touch event includes a sliding operation, a long-time pressing operation, or a clicking operation.
Optionally, when the preset touch event is a sliding operation, in a case that a first target prop icon in the at least one prop bar is selected by a first touch operation, in response to the preset touch event acting on a preset area of the graphical user interface, adjusting the remaining number of the first target props in the prop bar and the selected number of the selected first target props according to the preset touch event, including:
responding to a first touch operation aiming at a first target prop icon in at least one prop column, responding to a sliding operation acted on a preset area of the graphical user interface if a touch point of the first touch operation is located in a first preset direction of the first target prop icon, and increasing or decreasing the selected number of the selected first target props and simultaneously decreasing or increasing the remaining number of the first target props in the prop columns when the sliding direction of the sliding operation is the same as or opposite to the first preset direction.
Optionally, increasing or decreasing the selected number of selected first target items, while decreasing or increasing the remaining number of first target items in the item bar, by:
and when the sliding direction of the sliding operation is the same as or opposite to the first preset direction, and the sliding distance of the sliding operation is greater than a first preset distance threshold value, increasing or decreasing a selected first target prop, and simultaneously decreasing or increasing the remaining number of the first target props in one prop fence.
Optionally, increasing or decreasing the selected number of selected first target items, while decreasing or increasing the remaining number of first target items in the item bar, by:
when the sliding direction of the sliding operation is the same as or opposite to the first preset direction, and the sliding operation keeps a long press state after the sliding distance exceeds a first preset distance threshold, in the process of keeping the long press state, the selected number of the selected first target props is continuously increased or reduced, and meanwhile, the remaining number of the first target props in the props is reduced or increased.
Optionally, the step of continuously increasing or decreasing the selected number of the selected first target items, and simultaneously decreasing or increasing the remaining number of the first target items in the item bar, includes:
determining a first speed for increasing or decreasing the selected number of the first target props according to the number of props in the props corresponding to the first target prop icon and the long press duration for keeping the long press state;
and continuously increasing or decreasing the selected number of the selected first target props according to the first speed, and simultaneously decreasing or increasing the remaining number of the first target props in the props.
Optionally, increasing or decreasing the selected number of selected first target items, while decreasing or increasing the remaining number of first target items in the item bar, by:
if the long press time kept in the long press state is larger than a preset long press time threshold value, continuing the sliding operation after the long press state is ended, increasing or decreasing the selected number of the selected first target props according to the sliding operation, and simultaneously decreasing or increasing the remaining number of the first target props in the props.
Optionally, increasing or decreasing the selected number of selected first target items, while decreasing or increasing the remaining number of first target items in the item bar, by:
determining a second speed at which the selected number of the first target props is increased or decreased according to the sliding distance of the sliding operation in the direction which is the same as or opposite to the first preset direction;
and under the condition that the first speed is finished, continuously increasing or decreasing the selected number of the selected first target props according to the second speed, and simultaneously decreasing or increasing the remaining number of the first target props in the props, wherein the first speed is used for indicating the speed of continuously increasing or decreasing the selected number of the selected first target props in the process that the sliding operation keeps the long-press state after the sliding distance exceeds a first preset distance threshold value.
Optionally, the step of adjusting the remaining number of the first target props in the props and the selected number of the selected first target props according to the preset touch event includes:
when the sliding direction of the sliding operation is the same as or opposite to the first preset direction, and the sliding distance of the sliding operation is greater than a second preset distance threshold, increasing the selected number of the selected first target props to the original number and reducing the remaining number of the first target props in the props to zero, or reducing the selected number of the selected first target props to zero and increasing the remaining number of the first target props in the props to the original number.
Optionally, when the preset touch event is a sliding operation, in a case that a first target prop icon in the at least one prop bar is selected by a first touch operation, in response to the preset touch event acting on a preset area of the graphical user interface, adjusting the remaining number of the first target props in the prop bar and the selected number of the selected first target props according to the preset touch event, including:
responding to a first touch operation aiming at a first target prop icon in at least one prop column, responding to a sliding operation acted on a preset area of the graphical user interface if a touch point of the first touch operation is located in a first preset direction of the first target prop icon, and adjusting the remaining quantity of the first target props in the prop column and the selected quantity of the selected first target props according to an angle between the sliding direction of the sliding operation and the first preset direction.
Optionally, when the preset touch event is a sliding operation, in a case that a first target prop icon in the at least one prop bar is selected by a first touch operation, in response to the preset touch event acting on a preset area of the graphical user interface, adjusting the remaining number of the first target props in the prop bar and the selected number of the selected first target props according to the preset touch event, including:
responding to a first touch operation aiming at a first target prop icon in at least one prop column, wherein a touch point of the first touch operation is located in a second preset direction of the first target prop icon, the sliding direction of the sliding operation is the same as or opposite to the second preset direction, responding to the sliding operation acting on a preset area of the graphical user interface, if the sliding distance of the sliding operation is greater than a third preset distance threshold value, increasing or decreasing a preset number of selected first target props, and simultaneously decreasing or increasing the remaining number of the first target props in the preset number of prop columns.
Optionally, when the preset touch event is a long press operation, in a case that a first target prop icon in the at least one prop bar is selected by a first touch operation, responding to the preset touch event acting on a preset area of the graphical user interface, and adjusting the remaining number of the first target props in the prop bar and the selected number of the selected first target props according to the preset touch event, the step includes:
responding to a first touch operation aiming at a first target prop icon in at least one prop column, and responding to a long press operation acting on a preset area of the graphical user interface if a touch point of the first touch operation is located in a first touch area of the first target prop icon, and adjusting the remaining quantity of the first target props in the prop column and the selected quantity of the selected first target props according to the long press operation time.
Optionally, when the preset touch event is a click operation, in a case that a first target prop icon in the at least one prop bar is selected by the first touch operation, in response to the preset touch event acting on a preset area of the graphical user interface, adjusting the remaining number of the first target props in the prop bar and the selected number of the selected first target props according to the preset touch event, including:
responding to a first touch operation aiming at a first target prop icon in at least one prop column, responding to a click operation acting on a preset area of the graphical user interface if a touch point of the first touch operation is located in a second touch area of the first target prop icon, and adjusting the remaining quantity of the first target props in the prop column and the selected quantity of the selected first target props according to the number of times of click of the click operation.
Optionally, the operating method further comprises:
responding to the end condition of the preset touch event, and obtaining the end position of the preset touch event on a graphical user interface;
if the ending position is at a position where no prop fence is arranged or at a position where the selected first target prop belongs to a second non-empty prop fence of a different type, adjusting the residual quantity of the first target prop in the prop fence corresponding to the first target prop icon to be increased to the original quantity;
or if the ending position is at the position of a first non-empty track fence which belongs to the same type as the selected first target prop, adjusting the number of props superposed in the same type of fence according to the selected number;
or if the end position is at the position of the empty way fence, adjusting the number of the props added to the empty way fence according to the selected number.
Optionally, the operating method further comprises:
responding to the use operation aiming at the first target prop, and using the selected first target prop; wherein the using operation comprises any one of releasing, abandoning, prop exchanging and prop transferring.
In a second aspect, an embodiment of the present application further provides an operation method of a prop in a game, which is applied to a touch terminal capable of presenting a graphical user interface, where at least one prop bar is displayed in the graphical user interface of the touch terminal, and a prop icon of a prop is displayed in the prop bar, where the operation method includes:
under the condition that a first target prop icon in the at least one prop fence is selected by a second touch operation and in the moving process of the selected first target prop, responding to a preset point control event acting in a touch area of the first target prop, and adjusting the prop quantity of the first target prop in the at least one target prop fence and the prop quantity of the selected first target prop according to the preset point control event; and the target prop fence is a prop fence, and the distance between the target prop fence and the selected first target prop is smaller than a preset distance threshold when the target prop fence responds to a preset point control event acting on the first target prop.
Optionally, the preset point control event is a click operation.
Optionally, the prop quantity of the first target prop in the at least one target prop fence and the prop quantity of the selected first target prop are adjusted by the following steps:
responding to a click operation acting in a touch area of the first target prop in the moving process of the selected first target prop, and if the click position of the click operation is in the touch area of the first target prop, adjusting the prop quantity of the first target prop in at least one target prop column and the prop quantity of the selected first target prop according to the type of the target prop column and/or the click frequency of the click operation.
Optionally, the types of the target props include empty props, first non-empty props belonging to the same type as the first target props, and second non-empty props belonging to different types from the first target props.
Optionally, the prop quantity of the first target prop in the at least one target prop fence and the prop quantity of the selected first target prop are adjusted by the following steps:
responding to a click operation acting in the touch area of the first non-empty track fence in the process that the selected first target prop moves to the touch area of the first non-empty track fence;
and if the clicking times of the clicking operation is one time, exchanging the prop quantity of the first non-empty prop and the selected first target prop.
Optionally, the prop quantity of the first target prop in the at least one target prop fence and the prop quantity of the selected first target prop are adjusted by the following steps:
responding to a click operation acted in a touch area of at least one empty prop in the process that the selected first target prop moves to the touch area of the at least one empty prop;
and aiming at each empty prop column, determining the number of props added to the empty prop column by the selected first target prop according to the click times of the click operation.
Optionally, the prop quantity of the first target prop in the at least one target prop fence and the prop quantity of the selected first target prop are adjusted by the following steps:
and in the process that the selected first target prop moves to the touch area of the second non-empty way fence, responding to a click operation acted in the touch area of the second non-empty way fence, and adding the prop quantity of the selected first target prop to the prop quantity of the first target prop in the prop fence of the selected first target prop.
In a third aspect, an embodiment of the present application further provides a touch terminal, where at least one prop fence is displayed in a graphical user interface of the touch terminal, and a prop icon of a prop is displayed in the prop fence, where the touch terminal includes:
the first prop adjusting module is used for responding to a preset touch event acting on a preset area of the graphical user interface under the condition that a first target prop icon in the at least one prop fence is selected by a first touch operation, and adjusting the remaining quantity of the first target props in the prop fence and the selected quantity of the selected first target props according to the preset touch event; and the sum of the remaining quantity and the selected quantity is the original quantity of the first target prop in the props.
In a fourth aspect, an embodiment of the present application further provides a touch terminal, where at least one prop bar is displayed in a graphical user interface of the touch terminal, and a prop icon of a prop is displayed in the prop bar, where the touch terminal includes:
the second prop adjusting module is used for responding to a preset point control event acting in a touch control area of the first target prop under the condition that a first target prop icon in the at least one prop fence is selected by a second touch control operation and in the moving process of the selected first target prop, and adjusting the prop number of the first target prop in the at least one target prop fence and the prop number of the selected first target prop according to the preset point control event; and the target prop fence is a prop fence, and the distance between the target prop fence and the selected first target prop is smaller than a preset distance threshold when the target prop fence responds to a preset point control event acting on the first target prop.
In a fifth aspect, an embodiment of the present application further provides an electronic device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the method of operating a prop in a game as described above.
In a sixth aspect, the present application further provides a computer-readable storage medium, where the storage medium stores a computer program, and the computer program is executed by a processor to perform the steps of the method for operating a prop in a game.
The embodiment of the application provides an operation method of props in a game, a touch terminal, electronic equipment and a storage medium, wherein the operation method comprises the steps of responding to a preset touch event acted on a preset area of a graphical user interface under the condition that a first target prop icon in at least one prop fence is selected by first touch operation, and adjusting the remaining quantity of first target props in the prop fence and the selected quantity of the selected first target props according to the preset touch event; and the sum of the remaining quantity and the selected quantity is the original quantity of the first target prop in the props.
Therefore, the player can select and activate the property in the property fence by the first touch control operation in the process of property arrangement operation, and can conveniently exchange the property in the property fence and the selected property by presetting the remaining quantity of the property in the property fence and the selected quantity of the selected property in the touch control event adjustment process, so that the convenient operation of complex property arrangement is realized, the operation process of the property is accelerated, the operation efficiency of the property is improved, and the game process is not influenced.
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 technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments are briefly described below, it should be understood that the following drawings are only some embodiments of the present application, and therefore should not be considered as limiting the scope, and it is obvious for those skilled in the art that other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a flow chart of a method for operating props in a game according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart of a first selected prop provided in the embodiments of the present application;
FIG. 3 is a schematic flow chart of a second selected prop provided in the embodiments of the present application;
FIG. 4 is a schematic flow chart of a third selected prop provided in the embodiments of the present application;
FIG. 5 is a flow chart of another method of operating a prop in a game provided in an embodiment of the present application;
fig. 6 is a schematic flow chart illustrating the exchange of props according to an embodiment of the present disclosure;
fig. 7 is a schematic flow chart illustrating a process of placing a prop in a prop fence according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a touch terminal according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of another touch terminal provided in the embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. Every other embodiment that can be obtained by a person skilled in the art without making creative efforts based on the embodiments of the present application falls within the protection scope of the present application.
With the development of mobile communication technology, more and more mobile terminal games emerge, and the mobile terminal games are portable and individual games with mobile terminals such as mobile phones and tablet computers as carriers, servers of operators and mobile phones and tablet computers of users as processing terminals, and game client software as an information interaction window, so that players can play games anytime and anywhere. Specifically, a game program based on a touch screen mode is run in a smart phone, wherein a user can control each game scene and game action of the game program by performing touch screen operation.
When the mobile terminal is used for playing games, the operation cannot be controlled by using a keyboard and a mouse on a computer terminal, the game can not be effectively controlled by a game handle or a remote controller of the smart television, and the game action can only be controlled according to the hardware condition of the mobile terminal. Specifically, the mobile terminal may respond to the operation of the player through the touch screen in the game, so as to complete the interaction between the game and the player, and the game running on the mobile terminal is basically performed by dragging, clicking, sliding, and the like on the screen at present.
Therefore, most operation modes in the traditional PC side game cannot be transplanted to the mobile terminal game due to the limitation of the hardware condition and the interaction mode of the mobile terminal game. In the application like various shooting type games, on the PC end, the player can realize swift stage property arrangement operation through the mode of shortcut key + mouse, for example Ctrl + left key picks up 1 stage property from the stage property fence, but on the mobile terminal, because of the relation of touch screen operation, can't adopt the stage property arrangement operation the same as PC end, it is comparatively inconvenient when picking up stage property in hand and stage property in the stage property fence to exchange simultaneously, lead to the operating efficiency of stage property low so easily, and then influence the game process.
In addition, in the existing mobile terminal game, the display of screened properties still has some disadvantages: on the one hand, only three basic functions of discarding, picking and using the virtual props are available, and the virtual props are either discarded completely or picked completely and lack of accurate control in quantity, so that the screening and sorting efficiency of the object props is low.
Based on this, in order to enable a player to quickly arrange props in props, or quickly move props between different props, embodiments of the present application provide an operation method of props in a game, a touch terminal, an electronic device, and a storage medium, where the player can simultaneously adjust the remaining number of props in the props and the selected number of the selected props by a preset touch event when the props in the props are selected and activated by a first touch operation, or adjust the number of props of a first target prop and the number of props of the selected first target prop in at least one target props according to a preset point control event in a process that the props in the props are selected and moved by a second touch operation,
like this, can realize the convenient operation of complicated stage property arrangement for the arrangement operation process of stage property is accelerated, and then does not influence the game process, and, sets up the swift operation mode of some stage property arrangement operations, can be accurate to the control in the aspect of stage property quantity through swift operation mode, and the player of being convenient for is quick migration stage property between the stage property fence of difference, helps improving the operating efficiency of stage property, thereby improves human-computer interaction efficiency.
To facilitate understanding of the embodiment, the following describes in detail an operation method, an apparatus, an electronic device, and a storage medium of an item in a game provided in the embodiment of the present application.
As shown in fig. 1, the method for operating a prop in a game provided by the embodiment of the present application is applied to a touch terminal capable of presenting a graphical user interface, where at least one prop bar is displayed in the graphical user interface of the touch terminal, and a prop icon of a prop is displayed in the prop bar, and the method includes:
s110, under the condition that a first target prop icon in at least one prop fence is selected through first touch operation, responding to a preset touch event acting on a preset area of a graphical user interface, and adjusting the remaining quantity of first target props in the prop fence and the selected quantity of the selected first target props according to the preset touch event; and the sum of the remaining quantity and the selected quantity is the original quantity of the first target prop in the props.
The touch terminal in the embodiment of the present application mainly refers to an intelligent device with a touch screen, which is used for providing a graphical user interface and can control and operate a virtual role, and the touch terminal may include, but is not limited to, any one of the following devices: smart phones, tablet computers, portable computers, desktop computers, game machines, MP4 players (Moving Picture Experts Group Audio Layer IV, motion Picture Experts Group Audio Layer 4), Personal Digital Assistants (PDAs), e-book readers, and the like. The touch terminal is installed and operated with an application program supporting a game, such as an application program supporting a three-dimensional game or a two-dimensional game. In the embodiment of the present application, an application program is described as a game application, and optionally, the application program may be a standalone application program, such as a standalone 3D game program, or an online application program.
The graphic user interface is an interface display format for human-computer communication, which allows a user to manipulate icons or menu options on a screen using an input device such as a mouse, and also allows a user to manipulate icons or menu options on a screen by performing a touch operation on a touch screen of a touch terminal to select a command, start a program, perform some other task, and the like. The graphical user interface may present a game scene in which at least one property bar is presented.
The game scene refers to a virtual environment displayed (or provided) when the application program runs on the touch terminal, that is, a scene used in a normal game playing process. That is, the game scene is a virtual game space that carries virtual characters during the game, and the virtual characters can perform actions such as movement and skill release under the control of operation commands issued by users (i.e., players) to the touch terminals in the game scene. The game scene can be a simulated world of a real world, can also be a semi-simulated semi-fictional three-dimensional world, and can also be a purely fictional three-dimensional world. The game scene may be any one of a two-dimensional virtual environment, a 2.5-dimensional virtual environment, and a three-dimensional virtual environment. Optionally, the game scenario may also be used for virtual environment engagement between at least two virtual characters, with virtual resources available for use by the at least two virtual characters in the game scenario. Illustratively, a game scene may include any one or more of the following elements: game background elements, game virtual character elements, game prop elements, and the like.
A large number of virtual characters controlled by different users may exist in the game scene, for example, the game scene may include virtual characters operated by users of the touch terminals, and may also include virtual characters operated by users of other touch terminals. Here, the virtual character may refer to an active object in a game scene including, but not limited to, at least one of a virtual character, a virtual animal, and an animation character. Alternatively, when the game scene is a three-dimensional virtual environment, the virtual characters may be three-dimensional virtual models, each virtual character having its own shape and volume in the three-dimensional virtual environment and occupying a part of the space in the three-dimensional virtual environment. Optionally, the virtual character is a three-dimensional character constructed based on three-dimensional human skeletal technology, which realizes different external appearances by wearing different skins and/or equipment. In some implementations, the virtual role can also be implemented by using a 2.5-dimensional or 2-dimensional model, which is not limited in this application.
An item in a game may refer to an item that provides convenience to a player, for example, an item may include, but is not limited to, at least one of: consumables, equipment, task items. By way of example, consumables may include, but are not limited to, food, medicine, ingredients, cameras, and the like, equipment may include, but is not limited to, weapons, helmets, armor, belts, boots, jewelry, and the like, and mission may include, but is not limited to, drama props, group goods, letters, banners, infobooks, wanted lists, and the like.
In order to improve the game experience of the player, the game operator usually sets a property management system in the game, for example, the game operator usually randomly allocates a certain number of properties to a virtual character controlled by the player when the virtual character initially enters the game, the properties held by the virtual character are displayed in the property column, and the player can control the virtual character to select to use the properties or discard the properties. For example, after the items held by the virtual character are discarded in the game, the discarded items may be displayed in the game scene, and at this time, the discarded items displayed in the game scene may be picked up again by the virtual character operated by the player, or may be picked up by virtual characters operated by other players in the same game. In addition, game operators can refresh props at different positions in a game scene, and each player can control the virtual character to reach the refreshing position to pick up the corresponding props. In addition, the application program can also refresh the prop which is not picked up in the game scene at regular time, and the abandoned prop in the game scene disappears after refreshing.
Game operators usually set up props (or backpacks) in the game to store the props held by the virtual characters operated by the players. For example, the graphical user interface in the embodiment of the present application may refer to an interface that displays a game screen on a display screen of the touch terminal, and at least one property bar is displayed on the graphical user interface. During the game, the player may need to sort the items stored in the items, for example, move the item stored in one of the items to another item for storage. In addition, the player may also need to sort the props used by the controlled virtual character, for example, the controlled virtual character uses the props stored in the props column, or exchanges the props currently used by the virtual character with the props in the props column, or places the props currently used by the virtual character into the props column for storage.
Here, at least one property bar may be displayed at any position in the graphical user interface, for example, to not affect the game operation of the player, at least one property bar may be displayed at one side of the graphical user interface, for example, at a position close to an edge of the screen at one side of the graphical user interface, at this time, the property type and the corresponding function in the game may be displayed for the player by occupying a smaller display area on the screen of the touch terminal. For example, taking the game as a shooting game, the property in the at least one property bar displayed on one side of the graphical user interface may be a shooting property, a medical appliance, a combat suit, a combat tank, and the like.
For example, at least one prop bar displayed in the graphical user interface may be used to store different types of props, for example, one prop bar may store one type of prop, and each prop bar may store the same or different types of props. When no property is stored in the property fence, the property fence is a blank property fence, at this time, no content is displayed in the property fence, and when a property is stored in the property fence, a property icon corresponding to the type of the stored property can be displayed in the property fence.
The property icon may be used to simply present the function and type of the property, in an example, when a property is stored in the property bar, a property icon may be displayed in the property bar to represent the function and type of the property stored in the property bar, and preferably, a quantity mark may be displayed on the peripheral side of the property bar or in the property bar (e.g., on the property icon or in an area of the property bar other than a display area occupied by the property icon), and the quantity mark is used to indicate the quantity of the property stored in the property bar. The method and the device aim at the condition that the property fence is a blank property fence, namely, the property fence is not provided with a property, the property fence can not display a property icon and the quantity of the properties, but the method and the device are not limited to the condition, and the property icon can also not be displayed, but the quantity of the properties is displayed (if the quantity of the properties is zero).
The above exemplary steps provided by the embodiments of the present application are described below with the above method applied to a touch terminal as an example.
In step S110, a first touch operation applied to a first target prop icon in at least one prop bar is responded, so that the first target prop icon is selected, and meanwhile, a preset touch event applied to a preset area of the graphical user interface is responded, and a remaining number of the first target props in the prop bar and a selected number of the selected first target props are adjusted according to the preset touch event, where a sum of the remaining number and the selected number is an original number of the first target props in the prop bar.
Here, each prop icon corresponds to a type of prop, and in the above example, the first target prop icon corresponds to the first target prop.
For example, the first touch operation in this embodiment of the application may refer to a touch operation performed on a graphical user interface to select a first target prop icon from at least one prop, where the touch operation may include a touch operation for a display area where the first target prop icon is located, or may include a touch operation performed within a target selection range of the first target prop icon. For example, a circular range centered on the first target prop icon and having a radius of a predetermined length (or a rectangular range centered on the first target prop icon) may be determined as the target selection range. It should be understood that the values of the predetermined range and the predetermined length can be selected according to actual requirements, and the embodiment of the present application does not limit this. As an example, the first touch operation may include, but is not limited to, a long press operation.
In this embodiment, "at least one" of "first target prop icon in at least one prop bar" means that the prop corresponding to the first target prop icon is selected at least one, that is, the prop corresponding to the first target prop icon may be selected one or more.
In this embodiment of the application, the "selected first target prop" refers to a first target prop picked up by a virtual character operated by a player, and is a first target prop corresponding to a first target prop icon generated at a position of a first touch operation after the first target prop icon is selected, where the "selected first target prop" may also be referred to as a "picked-up prop" or a "prop in a dragging state", and at this time, the prop is in an activated state and can slide in a graphical user interface along with a sliding operation; "number selected" refers to the number of picks by the virtual character manipulated by the player to pick up the first target item.
For example, the preset touch event may refer to a touch operation performed on the graphical user interface to adjust the remaining number of the first target items in the item bar and the selected number of the selected first target items. The preset touch event comprises a sliding operation, a long-time pressing operation or a clicking operation.
Firstly, when the preset touch event is a sliding operation, the remaining quantity of the first target props in the props and the selected quantity of the selected first target props are adjusted according to the sliding operation, and the specific introduction process is as follows:
when the preset touch event is a sliding operation, the sliding operation in the embodiment of the present application may refer to a multi-point continuous sliding operation, where the sliding operation is an uninterrupted action on the graphical user interface, and once the sliding operation is interrupted on the graphical user interface, the sliding operation is terminated. For example, the user performs the above-mentioned sliding operation on a graphical user interface displayed in a touch screen of the touch terminal by means of a finger, and when it is detected that the finger leaves the touch screen, it is determined that the sliding operation is interrupted, and at this time, the sliding operation is considered to be ended.
The first touch operation executed aiming at the first target prop icon and the sliding operation executed on the preset area of the graphical user interface are different operations.
In this case, the first touch operation and the sliding operation are two independent operations performed on the graphical user interface. Namely, one operation is a first touch operation performed on the graphical user interface to select the first target prop icon, and one operation is a sliding operation performed on a preset area of the graphical user interface to adjust the remaining number of the first target props in the props and the selected number of the selected first target props.
In the embodiment of the present application, the user may perform the two independent operations on the graphical user interface by using different fingers of the same hand, or the user may perform the two independent operations on the graphical user interface by using fingers of different hands.
Currently, when a user plays a game through a touch terminal, the user usually holds the touch terminal with both hands, and through the above-mentioned situation of performing an operation with different fingers of the same hand, one hand of the user can be released, so that the user can perform other operation actions. Through the condition that the finger of above-mentioned different hands of utilization carries out the operation, for example, utilize the both hands cooperation operation that grips, can promote operating speed when promoting the simple operation nature, in addition, utilize different hands to carry out the operation can also make full use of touch terminal's screen to reduce misoperation.
In a preferred embodiment, step S110 includes: responding to a first touch operation aiming at a first target prop icon in at least one prop column, responding to a sliding operation acted on a preset area of the graphical user interface if a touch point of the first touch operation is located in a first preset direction of the first target prop icon, increasing or reducing the selected number of the selected first target props when the sliding direction of the sliding operation is the same as or opposite to the first preset direction, and simultaneously reducing or increasing the residual number of the first target props in the prop column.
For example, the first preset direction may be set to a direction in which the first target prop icon points to the touch point; the first preset direction may be a vertical direction, a horizontal direction, or any one of directions in a circumferential direction, for example, a direction forming an included angle of 45 degrees with the horizontal direction. It should be noted that the horizontal direction may be a direction parallel to a long side of the graphical user interface, and the vertical direction may be a direction parallel to a short side of the graphical user interface.
When the sliding direction of the sliding operation is the same as the first preset direction, increasing the selected number of the selected first target props, and simultaneously reducing the remaining number of the first target props in the props fence, wherein the selected number of the props is the same as the reduced number of the props in the props fence (the reduced number of the props is compared with the original number in the props fence), namely the sum of the selected number and the remaining number of the first target props in the props fence is the original number of the first target props in the props fence; similarly, when the sliding direction of the sliding operation is opposite to the first preset direction, the selected number of the selected first target props is reduced, and meanwhile, the remaining number of the first target props in the props fence is increased, but the sum of the remaining number and the selected number of the first target props in the props fence is always kept to be the original number of the first target props in the props fence.
For example, the remaining number of first target props in the props and the selected number of selected first target props may be adjusted according to any one or any several of a sliding direction, a sliding time, a sliding distance, and a sliding trajectory of a sliding operation performed on the graphical user interface.
In a preferred embodiment, after the first target prop icon is selected in response to a first touch operation on the first target prop icon, in response to a sliding operation on a preset area of the graphical user interface, the first target prop icon may be generated at a position of the first touch operation (i.e., at a position touched by a finger) to indicate that the first target prop corresponding to the first target prop icon is picked up by a virtual character operated by a player, and a selected number of the first target props determined according to the sliding operation is marked on the generated first target prop icon. At this time, the selected number of the first target prop can be determined according to the change of the number of the props marked on the generated first target prop icon.
For example, a corresponding relationship between any one of the information of the sliding operation and the selected number of the first target props selected may be preset, so as to quickly pick up the first target props corresponding to the selected number based on the sliding operation. For example, in response to a sliding operation along a sliding direction on the gui, a first target prop may be picked up from the prop bar, and at this time, the number of props marked on the generated first target prop icon is increased by one, and accordingly, the remaining number of first target props in the prop bar is decreased by one; in response to a sliding operation in another sliding direction on the graphical user interface, a first target prop may be placed into the prop bar, at which time the number of props marked on the generated first target prop icon is reduced by one (if the number of props marked on the generated first target prop icon is zero, the number of props is not reduced, at which time the number of first target props in the prop bar becomes the original number).
In addition to the above manner, a plurality of first target props may be picked up from the props in response to one sliding operation in a certain sliding direction acting on the gui, and accordingly, the number of first target props picked up in the props is correspondingly reduced. As an example, the plurality of first target items picked up here may refer to the total number of first target items currently stored in the item or half the number of first target items currently stored in the item. It should be understood that the above listed numerical values are only examples, and the application is not limited thereto, and those skilled in the art can set the corresponding relationship between the sliding operation and the selected prop quantity according to actual requirements.
In the embodiment of the application, in addition to the above-mentioned adjusting the selected number of the selected first target props and the remaining number of the first target props in the props according to the direction information of the sliding operation and the like, the change speed of the selected number when the selected number and the remaining number are adjusted may be determined according to other information of the sliding operation, for example, the change speed of the selected number of the selected first target props marked on the first target props icon generated at the position of the first touch operation is determined according to the sliding time or the sliding distance of the sliding operation, for example, the longer the sliding time of the sliding operation is, the faster the change speed of the selected number of the marked first target props is, the shorter the sliding time of the sliding operation is, the slower the change speed of the selected number of the marked first target props is, or the longer the sliding distance of the sliding operation is, the faster the change speed of the selected number of the marked first target props is selected, and the shorter the sliding distance of the sliding operation is, the slower the change speed of the selected number of the marked first target props is selected. That is to say, the change speed of the selected number of the selected first target props marked on the first target prop icon generated at the position of the first touch operation is positively correlated with the sliding time or the sliding distance of the sliding operation.
The following describes a specific embodiment, which can adjust the remaining number of first target items in the item rack and the selected number of selected first target items according to the sliding operation:
the following description will be given by taking the example of determining the selected number of the selected first target props according to the sliding direction: the sliding direction represents the track moving direction of the sliding operation, and in the convenient operation, the selected number of the selected first target props can be directly determined according to the sliding direction, and the selected number can be a certain specific numerical value. If the sliding direction of the sliding operation is upward sliding, determining to select (i.e. pick up) 1 first target prop from the props; if the sliding direction of the sliding operation is downward sliding, determining to place 1 first target prop in the prop fence; if the sliding direction of the sliding operation is leftward sliding, determining half of the number of first target props stored in a track tool bar in the property bars; and if the sliding direction of the sliding operation is rightward sliding, determining that half of the number of the selected first target props is placed into the props. Or as follows: responding to a first touch operation aiming at a first target prop icon in at least one prop column, responding to a sliding operation acted on a preset area of a graphical user interface if a touch point of the first touch operation is located in a first preset direction of the first target prop icon, and adjusting the remaining quantity of the first target props in the prop column and the selected quantity of the selected first target props according to an angle between the sliding direction of the sliding operation and the first preset direction; specifically, the remaining number of the first target props and the selected number of the selected first target props in the props are adjusted according to an angle between the sliding direction of the sliding operation and a first preset direction, here, 360 degrees may be divided into a plurality of sub-regions, and a correspondence between the plurality of sub-regions and the plurality of selected numbers is preset, and after the sub-region corresponding to the sliding direction of the sliding operation is determined, the number corresponding to the determined sub-region is determined as the selected number of the selected first target props based on the correspondence.
Taking the example of adjusting the remaining number of first target props in the props and the selected number of selected first target props according to the sliding time alone as an example, the following steps are performed: the sliding time represents the track moving time of the sliding operation, namely the time corresponding to the track starting point to the track end point of the sliding operation executed on the graphical user interface. After the first target prop icon is selected, timing is started when the situation that continuous sliding of a finger of a player on the graphical user interface exists is detected, and the selected number of the selected first target props is changed continuously along with the increase of the sliding time. The selection quantity of the first target props can be determined according to the sliding time, the change speed of the selection quantity of the selected first target props can also be determined according to the sliding time, so that the first target props are selected according to the selection quantity determined according to the change speed corresponding to the sliding time, and correspondingly, the residual quantity of the first target props in the props can be determined.
In one exampleThe selected number of the selected first target props can also be determined according to the sliding direction and the sliding time, and the method specifically includes the following steps: if, a sliding time threshold is preset, when the sliding time of the sliding operation is less than the sliding time threshold, 1 first target prop can be selected by sliding in the same direction as the first preset direction, 1 first target prop can be placed in the prop fence by sliding in the direction opposite to the first preset direction, and as the sliding time increases, when the sliding time of the sliding operation is greater than or equal to the sliding time threshold, the selected number of the first target props selected from the prop fences or the number of the first target props placed in the prop fences continuously changes along with the sliding time, for example, the change speed of the selected or placed number of the first target props continuously changes along with the sliding time
Figure BDA0003169981800000211
Figure BDA0003169981800000212
The upper limit value of the number of the props stored in the props fence is N, and the sliding time is T.
Taking the example of adjusting the remaining number of first target props in the props and the selected number of selected first target props according to the sliding distance alone as an example, the following steps are performed: the sliding distance represents the track length of the sliding operation, and the selected number of the selected first target props can be determined according to the sliding distance, and meanwhile, the remaining number of the first target props in the props is determined. In addition, the change speed of the selected number of the selected first target props can be determined according to the length of the sliding distance, for example, the longer the sliding distance is, the faster the speed of the selected number of the selected first target props is increased. The sliding triggers the operation of picking up or placing the prop, a first preset distance threshold D is preset, the first preset distance threshold D is determined by a game designer according to the game features or the size of the screen of the touch terminal, and the first preset distance threshold D may be 5 pixels, for example. Suppose that in a game, when the sliding distance D1 of the sliding operation is larger than a first preset distance threshold value D, 1 first target prop is picked or placed, and when the picking is triggeredOr after the placement operation, the player slides continuously in the same direction as the previous sliding direction, 1 prop is picked up or placed according to the sliding distance of the continuous sliding, and the like, when the sliding distance D1 of the sliding operation is detected to be greater than a first preset distance threshold D, the number of the props starts to be increased or reduced, the initial speed is set to be S0, and the change speed of the number of the props is increased along with the increase of the sliding distance D1
Figure BDA0003169981800000221
The upper limit value of the number of the props stored in the props fence is N, the sliding distance is D1, and the first preset distance threshold is D. Here, the sliding distance is greater than a first preset distance threshold and less than a second preset distance threshold.
When the sliding distance is greater than a second preset distance threshold value, when the sliding direction of the sliding operation is the same as the first preset direction, increasing the selected number of the selected first target props to the original number, and reducing the residual number of the first target props in the props to zero; when the sliding direction of the sliding operation is opposite to the first preset direction, the selected number of the selected first target props is reduced to zero, and the residual number of the first target props in the props is increased to the original number.
Taking the example of adjusting the remaining number of first target props in the props and the selected number of selected first target props according to the sliding track alone as an example, the following steps are performed: the sliding track represents a sliding path of the sliding operation, and the selected number of the selected first target props can be determined according to the sliding track. For example, different sliding tracks corresponding to the selected number of different first target props may be preset, when a first target prop icon in the prop fence is selected, if the sliding track is a circle, half of the number of the first target props in the selected prop fence may be considered, and if the sliding track is a square, all the first target props in the selected prop fence may be considered; if the sliding track is a lower case letter a, one first target prop in the prop column can be considered to be selected, if the sliding track is a lower case letter b, two first target props in the prop column can be considered to be selected, and so on, three first target props are correspondingly selected by a lower case letter c, four first target props are correspondingly selected by a lower case letter d, and the like.
In addition, on the basis of controlling the sliding direction, the sliding time and the sliding distance may be combined to adjust the remaining number of the first target items in the item fields and the selected number of the selected first target items, for example: under the condition that the sliding direction of the sliding operation is not changed and the sliding operation is not stopped all the time, the sliding time and the sliding distance of the sliding operation jointly influence the change speed of the selected number or the residual number, wherein the change speed of the selected number or the residual number is
Figure BDA0003169981800000231
Figure BDA0003169981800000232
Furthermore, when the sliding distance D1 is greater than the first preset distance threshold D, the selected number or the remaining number is changed at the changing speed S as the sliding time T and the sliding distance D1 continuously increase; illustratively, when the sliding direction of the sliding operation is the same as the first preset direction, the change speed of the selected number is gradually increased, and further, the selected number of the selected first target props is gradually increased until the selected number is equal to the original number of the first target props in the props fence; when the sliding direction of the sliding operation is opposite to the first preset direction, the change speed of the remaining quantity is gradually increased, and further, the remaining quantity of the first target prop in the prop fence is gradually increased until the remaining quantity of the first target prop in the prop fence is equal to the original quantity of the first target prop in the prop fence.
In the embodiment of the present application, as a preferred embodiment, step S110 may further include: when the sliding direction of the sliding operation is the same as or opposite to the first preset direction, and the sliding distance of the sliding operation is greater than the first preset distance threshold value, increasing or decreasing a selected first target prop, and simultaneously decreasing or increasing the remaining number of the first target props in a prop fence.
Specifically, when the sliding direction of the sliding operation is the same as the first preset direction and the sliding distance of the sliding operation is greater than the first preset distance threshold, increasing a selected first target prop and reducing the remaining number of the first target props in a prop fence; when the sliding direction of the sliding operation is opposite to the first preset direction, and the sliding distance of the sliding operation is greater than the first preset distance threshold value, reducing the selected first target prop, and increasing the residual quantity of the first target props in one prop fence.
Here, a convenient operation mode is provided, that is, as long as the sliding direction is the same as the first preset direction and the sliding distance of the sliding operation is greater than the first preset distance threshold, a first target prop may be selected, and conversely, as long as the sliding direction is opposite to the first preset direction and the sliding distance of the sliding operation is greater than the first preset distance threshold, a first target prop may be placed in the prop bar.
In the embodiment of the present application, as a preferred embodiment, step S110 may further include: when the sliding direction of the sliding operation is the same as or opposite to the first preset direction, and the sliding operation keeps the long press state after the sliding distance exceeds the first preset distance threshold value, in the process of keeping the long press state, the selected number of the selected first target props is continuously increased or decreased, meanwhile, the remaining number of the first target props in the props is decreased or increased, and the selected number and the remaining number are displayed on the graphical user interface in real time.
Here, it may also be defined that the sliding operation is kept in the long press state after the sliding distance exceeds the first preset distance threshold and does not exceed the second preset distance threshold, and after the sliding distance exceeds the second preset distance threshold, all of the props in the props column may be picked up, or all of the props in the hands may be placed in the props column.
Specifically, when the sliding direction of the sliding operation is the same as the first preset direction, and the sliding operation is kept in the long press state after the sliding distance exceeds the first preset distance threshold, in the process of keeping the long press state, the selected number of the selected first target props is continuously increased, and meanwhile, the remaining number of the first target props in the props is reduced; when the sliding direction of the sliding operation is opposite to the first preset direction, and the sliding operation keeps a long press state after the sliding distance exceeds the first preset distance threshold, in the process of keeping the long press state, the selected number of the selected first target props is continuously reduced, and meanwhile, the residual number of the first target props in the props is increased.
Preferably, the selected number of the selected first target props is continuously increased or decreased according to a first speed, and the remaining number of the first target props in the props is decreased or increased at the same time, wherein the first speed for increasing or decreasing the selected number of the first target props is determined according to the number of props in the props corresponding to the first target prop icon and the long press duration of the long press state. Here, the prop quantity in the prop bar corresponding to the first target prop icon is the prop quantity of the first target prop at the current time, and at the initial time, the prop quantity is the original quantity of the first target prop in the prop bar, and the original quantity is the upper limit quantity of the prop bar.
For example, if the long press duration for maintaining the long press state is T and the number of props is N, the first speed is
Figure BDA0003169981800000251
In the embodiment of the present application, as a preferred embodiment, step S110 may further include: if the long press time length in the long press state is larger than the preset long press time length threshold value, continuing the sliding operation after the long press state is ended, increasing or decreasing the selected number of the selected first target props according to the sliding operation, and simultaneously decreasing or increasing the remaining number of the first target props in the props. Here, the selected number of the selected first target props is increased according to the sliding operation, and the remaining number of the first target props in the props is reduced; or the selected number of the selected first target props is reduced according to the sliding operation, and the remaining number of the first target props in the props is increased at the same time.
When the length on-time length in the long-press state is greater than the preset length on-time length threshold, the first target prop starts to automatically increase or automatically decrease, further, the sliding operation is continued after the long-press state is finished, the second speed can be obtained according to the sliding distance of the sliding operation, the first target prop is enabled to continuously increase or decrease the selected number of the selected first target props according to the second speed, and meanwhile, the remaining number of the first target props in the prop fence is decreased or increased.
Preferably, under the condition that the first speed is ended, continuously increasing or decreasing the selected number of the selected first target props according to the second speed, and simultaneously decreasing or increasing the remaining number of the first target props in the props; and determining a second speed for increasing or decreasing the selected number of the first target props according to the sliding distance of the sliding operation in the direction which is the same as or opposite to the first preset direction, wherein the first speed is used for indicating the speed for continuously increasing or decreasing the selected number of the selected first target props in the process that the sliding operation is kept in the long press state after the sliding distance exceeds a first preset distance threshold value.
Here, the second speed is determined based on the sliding distance in which the sliding operation is continued, and the second speed may be determined based on the speed corresponding to the end of the first speed or the speed corresponding to the time length in the hold time state being longer than a preset time length threshold value.
For example, when the selected number of the first target props starts to continuously increase or decrease, the right finger is released to stop increasing or decreasing, or the right finger continues to slide in the same direction or the opposite direction to the first preset direction, and the sliding distance of the continuous sliding is set to be D, that is, the lifting speed can be increased on the basis of the basic speed S, and the longer the sliding distance D is, the faster the lifting speed is. For example, the speed of lifting S1 ═ S (1+ D).
In order to provide a better game experience for the player, the selected number or the remaining number can be displayed on the graphical user interface in real time, so that the player can know the selected number of the first target item and the remaining number of the first target item in the item bar in real time.
For example, as shown in fig. 2, the method is specifically applied to the operation of picking up and placing a game item, as shown in fig. 2, a item bar 210 is displayed on the image user interface, an item icon 220 and the number of items, such as "5" and "4", are displayed in the item bar 210, in this example, the item icon 220 is taken as a "book", the left finger 230 presses the position of the item bar 210 upwards relative to the center position of the item bar 210, the sliding direction of the right finger 240 slides upwards to pick up the item, and slides downwards to place the item. Specifically, after the left finger 230 presses the property fence 210 for a long time, the right finger 240 slides up 1 time relative to the left finger 230, and can pick up 1 property 251 to the hand, at this time, there are 4 properties in the property fence, and the right finger 240 slides down 1 time, and can put the property 252 on the hand into the property fence 210, at this time, there are 5 properties in the property fence. Wherein, the prop in hand is the prop selected in the previous step according to the same picking step. When the sliding operation is stationary, i.e., the sliding operation remains in the long press state (i.e., the press is held stationary), the props may be continuously picked up or placed while the long press state is maintained, i.e., the selected number of props may be determined based on the long press length in which the long press state is maintained.
In the embodiment of the present application, as a preferred embodiment, the step S110 includes: when the sliding direction of the sliding operation is the same as or opposite to the first preset direction, and the sliding distance of the sliding operation is greater than a second preset distance threshold, increasing the selected number of the selected first target props to the original number and reducing the residual number of the first target props in the props fence to zero, or reducing the selected number of the selected first target props to zero and increasing the residual number of the first target props in the props fence to the original number.
Here, under the condition that the sliding distance of the sliding operation is greater than a second preset distance threshold (the second preset distance threshold is greater than the first preset distance threshold), if the sliding direction of the sliding operation is the same as the first preset direction, increasing the selected number of the selected first target props to the original number and reducing the remaining number of the first target props in the props to zero, that is, picking up all the first target props in the props to hands; if the sliding direction of the sliding operation is opposite to the first preset direction, the selected number of the selected first target props is reduced to zero, and the remaining number of the first target props in the props is increased to the original number.
For example, as shown in fig. 3, when there is no prop in the left finger 230, the left finger 230 presses a prop bar 210 for a long time, and then presses and slides out a preset distance for a long time, so that all the props in the prop bar can be held on the hand.
The preset distance can be determined according to whether the preset distance exceeds the trigger area of the property fence or not, namely, the operation can be triggered when the finger leaves the trigger area of the property fence, and at the moment, only one finger is required to move.
Here, the first touch operation performed on the first target prop icon and the sliding operation performed on the graphical user interface are the same operation. In this case, the first touch operation and the sliding operation are one operation performed on the graphical user interface without interruption. For example, taking the first touch control operation as a long-press operation as an example, the first target prop is selected in response to the long-press operation applied to the first target prop icon, at this time, the finger is not released, and the sliding operation is directly performed on the graphical user interface, so that the selected number of the first target props or the remaining number of the first target props in the props is determined based on the sliding distance of the sliding operation.
In the embodiment of the present application, as a preferred embodiment, step S110 may further include: responding to a first touch operation aiming at a first target prop icon in at least one prop fence, and if a touch point of the first touch operation is located in a first preset direction of the first target prop icon, adjusting the remaining quantity of the first target props in the prop fence and the selected quantity of the selected first target props according to an angle between a sliding direction of the sliding operation and the first preset direction.
Here, when the angle between the sliding direction of the sliding operation and the first preset direction is preset to be within the first angle range, the selected number of the selected first target props is increased, and meanwhile, the remaining number of the first target props in the props is reduced; and when the angle between the sliding direction of the sliding operation and the first preset direction is within a second angle range, reducing the selected number of the selected first target props, and increasing the residual number of the first target props in the props fence.
For example, 360 degrees may be divided into a plurality of sub-regions by taking a starting point of a trajectory of the sliding operation as a center of a circle, a corresponding relationship between the plurality of sub-regions and a plurality of numbers is preset, a sub-region corresponding to a sliding direction of the sliding operation is determined in response to the sliding operation acting on the graphical user interface, and based on the corresponding relationship, the number corresponding to the determined sub-region is determined as the selected number of the first target props at the current time and the remaining number of the first target props in the props. For example, 360 degrees are divided into 4 sub-areas, namely a first sub-area, a second sub-area, a third sub-area and a fourth sub-area, each sub-area is a sector, the number of circle center angle arcs of each sector is 90 degrees, and when the sliding direction faces to the first sub-area, 1 first target prop is selected from the props; when the sliding direction faces to a second sub-area, 1 first target prop is placed in the prop fence; when the sliding direction is towards a third sub-area, selecting half of the first target prop stored in the props; and when the sliding direction is towards the fourth sub area, placing half of the selected first target prop into the prop bar.
In the embodiment of the present application, as a preferred embodiment, the step S110 further includes: responding to a first touch operation aiming at a first target prop icon in at least one prop column, wherein a touch point of the first touch operation is located in a second preset direction of the first target prop icon, the sliding direction of the sliding operation is the same as or opposite to the second preset direction, if the sliding distance of the sliding operation is larger than a third preset distance threshold value, increasing or decreasing a preset number of selected first target props, and simultaneously decreasing or increasing the remaining number of the first target props in the preset number of prop columns.
Here, the second preset direction is perpendicular to the first preset direction, and the second preset direction may refer to a position where the middle position of the first target prop icon points to the selected position of the first target prop icon.
Specifically, the sliding direction of the sliding operation is the same as the second preset direction, and if the sliding distance of the sliding operation is greater than a third preset distance threshold, a predetermined number of selected first target props are increased, and the remaining number of the first target props in the predetermined number of prop columns is reduced; and if the sliding distance of the sliding operation is greater than a third preset distance threshold value, reducing the first target props selected by a preset number of props, and increasing the residual number of the first target props in the props columns of the preset number.
The preset number is determined according to the number of props in the props corresponding to the first target prop icon, the preset number can be preset and can be half, one third or one fourth of the number of props of the first target props in the props, and the specific number can be set according to an actual game scene.
For example, the method for operating the props in the game provided by the embodiment of the application is applied to an application scene for picking up and placing a certain number of props, and then the sliding direction of the sliding operation determines whether to pick up the props on the hands or place the props in the props columns. Whether the sliding direction of the sliding operation is picking or placing depends on the relative position direction of the props in the hands and the props bar icons. If the prop in the hand is on the upper side of the prop fence, the prop slides upwards to correspond to the picking operation and slides downwards to correspond to the placing operation; and if the prop in the hand is positioned at the lower side of the prop fence, the prop slides upwards to correspond to the placing operation, and slides downwards to correspond to the picking operation.
When the prop is held on the hand, the prop is in a dragging state and moves along with the touch position, and meanwhile, the number of the props on the hand is displayed above the prop. If the hands are loosened on the blank prop fence in the dragging process, the props on the hands can be placed in the blank prop fence.
When a player presses a blank property fence for a long time, the right finger slides towards the direction of picking up the property, so that any property cannot be picked up, and similarly, when the player presses the property fence for a long time and has no property on hand, the property cannot be placed into the property fence.
For example, referring to fig. 4, the operation is specifically applied to the operation of picking up and placing a game item, as shown in fig. 3, if the left finger 230 presses the item location to the right relative to the center location of the item 210, the right finger 240 slides to the right to pick up the item, and slides to the left to place the item. Specifically, after the left finger 230 presses the touch area of the property bar 210 for a long time, the right finger 240 slides to the left, and then the property 252 of one half of the hand can be placed in the property bar 210; after the left finger 230 presses the touch area of a certain property bar 210 for a long time, the right finger 240 slides to the right, and half of the property 251 in the property bar 210 can be picked up to the hand.
Exemplarily, the relative position directions (up, down, left and right) of the touch point of the first touch operation and the first target prop icon are specifically defined, and the relationship between the sliding direction of the sliding operation and the prop picking or placing is determined according to the actual relative position direction. Specifically, a first touch operation is operated in response to the selection of the first target prop icon, and if a touch point of the first touch operation is located above the first target prop icon and the sliding direction of the sliding operation is upward, a first preset number of first target props are selected from the prop columns; if the touch point of the first touch operation is located below the first target prop icon and the sliding direction of the sliding operation is downward, selecting a first preset number of first target props from the props; if the touch point of the first touch operation is located above the first target prop icon and the sliding direction of the sliding operation is downward, placing the selected first preset number of first target props into the props; and if the touch point of the first touch operation is positioned below the first target prop icon and the sliding direction of the sliding operation is upward, placing the selected first preset number of first target props into the props.
Similarly, responding to a first touch operation aiming at the first target prop icon, and if a touch point of the first touch operation is positioned at the left side of the first target prop icon and the sliding direction of the sliding operation is leftward, selecting a second preset number of first target props from the prop columns; if the touch point of the first touch operation is positioned at the right side of the first target prop icon and the sliding direction of the sliding operation is right, selecting a second preset number of first target props from the props; if the touch point of the first touch operation is positioned on the right side of the first target prop icon and the sliding direction of the sliding operation is leftward, placing the selected second preset number of props into the props; and if the touch point of the first touch operation is positioned at the left side of the first target prop icon and the sliding direction of the sliding operation is right, placing the selected second preset number of props into the props.
The first preset quantity and the second preset quantity are related to the quantity of the props in the props columns, can be preset according to actual conditions, and can be in direct proportion relation with the quantity of the props in the props columns, such as one-half, one-third, one-fourth and the like.
Secondly, when the preset touch event is a long press operation, the remaining number of the first target props in the props and the selected number of the selected first target props are adjusted according to the long press operation, and the specific introduction process is as follows:
when the preset touch event is a long press operation, step S110 includes: responding to a first touch operation aiming at a first target prop icon in at least one prop column, and if a touch point of the first touch operation is located in a first touch area of the first target prop icon, adjusting the remaining quantity of the first target props in the prop column and the selected quantity of the selected first target props according to the long press time of the long press operation.
Here, if the touch point of the first touch operation is located in the first touch area of the first target item icon, as the long pressing operation time increases, the selected number of the selected first target items increases, and meanwhile, the remaining number of the first target items in the item bar decreases.
Thirdly, when the preset touch event is a click operation, adjusting the remaining quantity of the first target props in the props and the selected quantity of the selected first target props according to the click operation, wherein the specific introduction process is as follows:
when the preset touch event is a click operation, step S110 includes: responding to a first touch operation aiming at a first target prop icon in at least one prop column, and if a touch point of the first touch operation is located in a second touch area of the first target prop icon, adjusting the remaining quantity of the first target props in the prop column and the selected quantity of the selected first target props according to the number of clicks of the click operation.
Here, if the touch point of the first touch operation is located in the second touch area of the first target prop icon, as the number of clicks of the click operation increases, the selected number of the selected first target props increases, and meanwhile, the remaining number of the first target props in the props is decreased.
For example, one finger of the user may select the first target prop, and then another finger may perform a click operation in the touch area corresponding to the first target prop, where the click operation is performed once, one prop may be selected, and the click operation is performed M times, and M props may be selected, where M is a positive integer.
Wherein, the selection represents that the prop is picked up on hand, next operation can be carried out, the selection process comprises the processes of picking up the prop and placing the prop, and further, the selection quantity is the result obtained after the operation of comprehensive picking up and placing.
In one case, the first touch operation performed on the first target prop icon and the click operation performed on the touch area of the first target prop icon are different operations.
In this case, the first touch operation and the click operation are two independent operations performed on the graphical user interface. That is, one operation is a first touch operation performed on the graphical user interface to select the first target prop icon, and one operation is a click operation performed on the touch area of the first target prop icon on the graphical user interface to determine a selected number of the first target props.
For example: the embodiment of the application can provide a convenient operation mode according to the description: under the condition that no prop exists in the hand, when a left finger presses a non-empty prop for a long time, a right finger clicks an area (touch area) within a certain range of a left finger touch point, and then 1 prop is quickly picked up from the hand. Under the condition that a prop exists in the hand, when a left finger presses the empty track fence for a long time, the right finger clicks an area (touch area) within a certain range of a left finger touch point, and then 1 prop is placed into the track fence quickly.
In this embodiment, as a preferred embodiment, after the remaining number of the first target items in the item holder and the selected number of the selected first target items are adjusted, the item operation method further includes: responding to the end condition of the preset touch event, and obtaining the end position of the preset touch event on the graphical user interface; if the ending position is at a position where the property fence is not arranged or at a position where the selected first target property belongs to a second non-empty property fence of a different type, adjusting the residual quantity of the first target property in the property fence corresponding to the first target property icon to increase to the original quantity; or if the ending position is at the position of a first non-empty-way prop belonging to the same type as the selected first target prop, adjusting the quantity of props superposed in the same type of props according to the selected quantity; or if the end position is at the position of the empty way fence, adjusting the number of the props added to the empty way fence according to the selected number. Or responding to the use operation aiming at the first target prop, and using the selected first target prop; wherein the using operation comprises any one of releasing, abandoning, prop exchanging and prop transferring.
The preset touch event ending condition refers to that the finger leaves the graphical user interface, and the position of the finger leaving the graphical user interface is determined as the ending position of the preset touch event on the graphical user interface.
Here, a further usage process of the selected first target prop may be determined according to an end position of the preset touch event on the graphical user interface. Specifically, the ending position includes a position where no prop fence is set, a position where the selected first target prop belongs to a second non-empty-way fence of a different type, a position where the selected first target prop belongs to a first non-empty-way fence of the same type, and a position of an empty prop fence.
Exemplarily, in the process of selecting the first target prop to drag, if the position where the finger leaves the graphical user interface is the position where the prop bar is not set, it is determined that all the first target props at the moment return to the original prop bars corresponding to the selected first target props; if the position of the finger, which leaves the graphical user interface, is on the same type of property bar (a first non-empty track property bar) with the selected first target property, determining that the first target property at the moment is superposed into the same type of property bar; if the position of the finger, which leaves the graphical user interface, is on a non-homogeneous property bar (a second non-empty track property bar) which is not homogeneous with the selected first target property, determining that the first target property at the moment returns to the original property bar corresponding to the selected first target property; or, if the position of the finger, which is away from the graphical user interface, is on the empty track tool bar, determining that the first target prop at the moment is added to the empty track tool bar.
For example, after the selected number of the first target items is determined according to step S110, it indicates that the selected number of the first target items are picked up (also referred to as selecting, selecting) from the item fields, at this time, in response to a release operation for the first target items, the virtual character may be controlled to release the selected number of the first target items in the game scene, that is, the virtual character releases a skill corresponding to the first target items in the game scene. Or, in response to the abandoning operation for the first target props, controlling the virtual character to abandon the selected first target props in the game scene. Or responding to the item exchange operation aiming at the first target item, and exchanging the selected first target item with the item stored in another toolbar. Or in response to the prop transferring operation aiming at the first target prop, transferring the selected first target prop from the currently located toolbar to another toolbar, or transferring the selected first target prop from the currently located backpack to another backpack.
In addition, if no corresponding virtual character exists at the release position, the rejection operation aiming at the first target prop is determined to be received, so that the virtual character is controlled to reject the selected number of first target props in the game scene.
In the embodiment of the present application, the operation of using the first target prop may include the following situations.
For example, in response to a release operation for the first target prop, the virtual character is controlled to release the selected number of first target props in the game scene. By way of example, the release operation may include, but is not limited to: the method includes selecting operation (such as clicking operation, long-time pressing operation, operation on at least one physical key and the like) aiming at a virtual character in a game scene (which can be a virtual character operated by a current player, a virtual character operated by other players and a virtual character operated by a non-player in an application program of the game).
Or, in response to the abandoning operation for the first target props, controlling the virtual character to abandon the selected first target props in the game scene. By way of example, the release operation may include, but is not limited to: selection operation for a blank area (an area where a virtual character does not exist) in a game scene.
Or responding to the item exchange operation aiming at the first target virtual item, and exchanging the selected first target item with the item stored in another toolbar. Illustratively, the first target prop icon is selected in response to a long press operation acting on the first target prop icon, and a sliding operation is directly performed on the graphical user interface without releasing a finger so as to drag the selected number of first target props to the position of another toolbar, and the selected first target props are exchanged with props stored in another toolbar in response to a prop exchange operation aiming at the first target props. By way of example, the prop exchange operation may include, but is not limited to, a click operation performed on a graphical user interface, and preferably, the prop exchange operation may include a click operation within a predetermined range at a location of another toolbar.
Or in response to the prop transferring operation aiming at the first target prop, transferring the selected first target prop from the currently located toolbar to another toolbar, or transferring the selected first target prop from the currently located backpack to another backpack. Illustratively, the first target prop icon is selected in response to a long press operation on the first target prop icon and a sliding operation is directly performed on the graphical user interface without releasing a finger to drag the selected first selected number of first target virtual props to the position of another toolbar (or another backpack), and the selected first target prop is transferred to another toolbar (or another backpack) in response to a prop transfer operation on the first target prop. By way of example, the prop transfer operation may include, but is not limited to, a slide operation performed on a graphical user interface, preferably the slide operation may be a slide operation to a location where another toolbar is located.
In a preferred example, when a player operates a virtual character to exchange props for a selected first target virtual prop, it is first detected whether the prop type of the selected first target virtual prop is consistent with the prop type of a prop stored in another prop fence to be exchanged, if so, the exchange can be performed, and if not, the exchange cannot be performed. Similarly, when the player operates the virtual character to translate the selected first target prop, whether the prop type of the selected first target prop is consistent with the prop type of the prop translated to another prop fence or another prop stored in another backpack or not is also detected, if so, translation can be performed, and if not, translation cannot be performed.
It should be understood that, for the above exchange process, when the selected first target prop is exchanged with a part of props stored in the props for exchange, the above step of detecting the prop type may be performed, and when the selected first target prop is exchanged with all props stored in the props for exchange, the above step of detecting the prop type may not be performed. Similarly, for the above translation process, if a property is already stored in the translated property fence, the step of detecting the property type needs to be performed when the selected first target property is translated into the property fence, and if the property is not stored in the translated property fence, that is, the translated property fence is a blank property fence, the step of detecting the property type does not need to be performed.
The application embodiment provides an operation method of stage property in recreation, make the player can be at the in-process of stage property arrangement operation, stage property in the stage property fence is chosen and activated under the circumstances by first touch-control operation, simultaneously through presetting the remaining quantity of stage property in the touch-control event adjustment stage property fence and the quantity of selecting of stage property of selecting, can make stage property in the stage property fence carry out convenient exchange with the stage property of selecting, thereby realize the convenient operation of complicated stage property arrangement, make the operation process of stage property accelerate, help improving the operating efficiency of stage property, and then do not influence the game process.
Referring to fig. 5, fig. 5 is a diagram of another method for operating a prop in a game, which is applied to a touch terminal capable of presenting a graphical user interface, where at least one prop bar is displayed in the graphical user interface of the touch terminal, and a prop icon of a prop is displayed in the prop bar, where the method includes:
s510, under the condition that a first target prop icon in at least one prop fence is selected through first touch operation and in the moving process of the selected first target prop, responding to a preset point control event acting in a touch area of the first target prop, and adjusting the prop quantity of the first target prop in the at least one target prop fence and the prop quantity of the selected first target prop according to the preset point control event; the target prop fence is a prop fence, and the distance between the target prop fence and the selected first target prop is smaller than a preset distance threshold when a preset point control event acting on the first target prop is responded.
The above exemplary steps provided by the embodiments of the present application are described below with the above method applied to a touch terminal as an example.
In the embodiment of the present application, the preset click event may be a click operation or a sliding operation.
First, when the preset point control event is a click operation, in step S510, in a case that the first target prop is selected and in a moving process of the selected first target prop, responding to the click operation applied to the touch area of the first target prop, and adjusting the prop number of the first target prop in at least one target prop column and the prop number of the selected first target prop according to the click operation; the target prop fence is a prop fence, and the distance between the target prop fence and the selected first target prop is smaller than a preset distance threshold when the click operation acting on the first target prop is responded.
For example, the click operation in this embodiment of the application may refer to a touch operation performed on a graphical user interface to determine a usage of the selected first target prop. Here, the click operation in this embodiment of the application may refer to a multi-point discontinuous pressing operation, where the click operation is a discontinuous action on the graphical user interface, for example, a user performs the click operation on a touch area of a first target prop icon in a touch screen of a touch terminal through a finger, and when it is detected that the finger leaves the touch screen, it is determined that the click operation is finished, the action is repeatedly performed, and multiple times of click operations may be performed.
For example, the time for a click operation to act on a graphical user interface is short. The item quantity of the first target item in the at least one target item column and the item quantity of the selected first target item are adjusted through the number of times of clicking operation. Wherein, the number of the adjusted props has positive correlation with the number of times of click operation. That is, the more times of the click operation, the less the prop quantity of the selected first target prop, and the more the prop quantity of the first target prop in the target prop fence. Besides, the embodiment of the present application can also provide such an operation mode: regardless of how many clicks, only one virtual prop is picked or placed.
For example, the touch area represents a trigger area capable of responding to a click operation on the touch terminal, and the touch area may be set around a selected position of the first target prop icon, specifically, the touch area may draw a circle with the position of the first target prop icon as a center of circle and with a preset distance length as a radius, and at this time, an area within the circle is referred to as the touch area of the first target prop icon; or a rectangular area is constructed by taking the position of the first target prop icon as the center, and at the moment, the rectangular area is called as the touch area of the first target prop icon.
For example, a user can select a first target prop and then drag the first target prop to move by one finger, in the process of moving the selected first target prop, another finger can click in a touch area corresponding to the first target prop, and once clicking, one first target prop can be placed in the target prop column, and meanwhile, one selected first target prop is reduced, and M first target props can be placed in the target prop column, and simultaneously, M selected first target props are reduced by clicking M times, and M is a positive integer.
Here, the prop section whose distance from the selected first target prop is smaller than the preset distance threshold may be a prop section into which the first target prop can be placed through click operation.
Specifically, step S510 includes: in the moving process of the selected first target prop, if the click position of the click operation is in the touch area of the first target prop, the prop quantity of the first target prop in at least one target prop column and the prop quantity of the selected first target prop are adjusted according to the type of the target prop column and/or the click frequency of the click operation.
Here, in the moving process of the selected first target prop, and in the case that the click operation is valid, the prop quantity of the first target prop in the at least one target prop and the prop quantity of the selected first target prop may be adjusted according to the type of the target prop, or the number of clicks, or the type of the target prop and the number of clicks.
The types of the target props comprise empty props, first non-empty-way props which belong to the same type as the first target props, and second non-empty-way props which belong to different types from the first target props.
Here, for a first non-empty track toolbar of the same type as the first target prop, the first target prop may be added to the first non-empty track toolbar; for a second non-empty track toolbar that is a different type from the first target prop, the first target prop cannot be added to the second non-empty track toolbar.
Illustratively, in the process that the selected first target prop moves to the touch area of the first non-empty track tool, responding to the click operation acted in the touch area of the first non-empty track tool; and if the clicking times of the clicking operation is one time, exchanging the number of the first non-empty prop and the prop of the selected first target prop.
Here, when the first non-empty way tool bar has a similar item, the click operation can trigger the exchange action of the selected first target item and the item in the first non-empty way tool bar. And clicking once, and exchanging the selected first target prop with the prop in the first non-empty channel prop once.
The exchanged props can be of the same type or different types. The exchange is an exchange, specifically, the property in the target property rack is exchanged into the hand, and the first target property in the hand is exchanged into the target property rack, which must be a non-empty track.
Exemplarily, in the process that the selected first target prop moves to the touch area of the at least one empty prop, responding to a click operation acting in the touch area of the at least one empty prop; and aiming at each empty prop column, determining the number of props added to the empty track prop column by the selected first target prop according to the click times of the click operation.
Here, when the selected first target prop moves to the touch area of the empty way tool bar, one click is performed in response to a click operation applied to the touch area of the empty way tool bar, and one first target prop is placed into the empty way tool bar; in another embodiment, when the selected first target prop continues to move into the touch area of the second empty prop, the click operation is continued, and the first target prop may be placed into the second empty prop.
For example, in the process that the selected first target prop moves to the touch area of the second non-empty-channel tool, in response to a click operation applied to the touch area of the second non-empty-channel tool, the prop quantity of the selected first target prop is added to the prop quantity of the first target prop in the prop field of the selected first target prop.
Here, if the selected first target prop moves to a touch area of a second non-empty prop of a different type from the first target prop, a click operation can trigger the selected first target prop to return to the original prop corresponding to the first target prop.
For example, as shown in fig. 6, when there is an item 252 on the hand, the left finger 230 slides to a non-empty track bar 210 (a certain range of area, which may be a range of 360 degrees) for a long time, and the right finger 240 clicks the area within a certain range of the touch point of the left finger 230, so that the item 251 in the track bar and the item 252 in the hand can be interchanged.
On this basis, for example, as shown in fig. 7, when a left finger 230 slides over the empty track bar 210 by long pressing when there is a prop 252 in the hand, the right finger 240 clicks an area within a certain range of the touch point of the left finger 230, and 1 prop is quickly placed on the empty track bar 210. If the right finger 240 does not release after clicking and slides to other empty property columns 260 along with the left finger 230, 1 property can be placed in batches to all the empty property columns that slide through.
Secondly, when the preset point control event is a sliding operation, in step S510, under the condition that the first target prop is selected and in the moving process of the selected first target prop, responding to the sliding operation acting in the touch area of the first target prop, and adjusting the prop number of the first target prop in at least one target prop column and the prop number of the selected first target prop according to the sliding operation; the target prop fence is a prop fence, and the distance between the target prop fence and the selected first target prop is smaller than a preset distance threshold when the sliding operation acted on the first target prop is responded.
Here, when a plurality of first target props are placed in the empty property fence, in addition to clicking many times, a sliding operation may be used, the number of props to be placed in the empty property fence is determined by a sliding distance of the sliding operation, and at the same time, after the process of placing props in one empty property fence is finished, the sliding operation is finished this time, and when a prop placing action of the next empty property fence is performed, the sliding operation is performed again.
The utility model provides an operation method of stage property in recreation, the player is selecting first target stage property and at the removal in-process of first target stage property, can adjust the stage property quantity in at least one target stage property fence and the stage property quantity of the first target stage property of selecting according to the point control event of predetermineeing, can realize the convenient operation of complicated stage property arrangement, make the operation process of stage property accelerate, and then do not influence the game process, and, set up the swift operation mode of some stage property arrangement operations, can be accurate to the control in the aspect of stage property quantity through swift operation mode, help improving the operating efficiency of stage property, thereby improve human-computer interaction efficiency.
Based on the same inventive concept, the embodiment of the present application further provides a touch terminal corresponding to the operation method of the in-game item, and since the principle of solving the problem of the touch terminal in the embodiment of the present application is similar to the operation method of the in-game item in the embodiment of the present application, the implementation of the touch terminal may refer to the implementation of the method, and repeated details are not repeated.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a touch terminal according to an embodiment of the present disclosure. At least one prop fence is displayed in a graphical user interface of the touch terminal, and a prop icon of a prop is displayed in the prop fence, as shown in fig. 8, the touch terminal 800 includes:
the first prop adjusting module 810 is configured to, in a case where a first target prop icon in at least one prop bar is selected by a first touch operation, respond to a preset touch event acting on a preset area of the graphical user interface, and adjust the remaining number of the first target props in the prop bar and the selected number of the selected first target props according to the preset touch event; and the sum of the remaining quantity and the selected quantity is the original quantity of the first target prop in the props.
Optionally, the preset touch event includes a sliding operation, a long-time pressing operation, or a clicking operation.
Optionally, when the preset touch event is a sliding operation, the first road tool adjusting module 810 is specifically configured to:
responding to a first touch operation aiming at a first target prop icon in at least one prop column, responding to a sliding operation acted on a preset area of the graphical user interface if a touch point of the first touch operation is located in a first preset direction of the first target prop icon, increasing or reducing the selected number of the selected first target props when the sliding direction of the sliding operation is the same as or opposite to the first preset direction, and simultaneously reducing or increasing the residual number of the first target props in the prop column.
Optionally, the first prop adjusting module 810 is specifically configured to increase or decrease the selected number of the selected first target props, and decrease or increase the remaining number of the first target props in the props bar at the same time by:
when the sliding direction of the sliding operation is the same as or opposite to the first preset direction, and the sliding distance of the sliding operation is greater than the first preset distance threshold value, increasing or decreasing a selected first target prop, and simultaneously decreasing or increasing the remaining number of the first target props in a prop fence.
Optionally, the first prop adjustment module 810 is further specifically configured to increase or decrease the selected number of the selected first target props, and decrease or increase the remaining number of the first target props in the props, through the following steps:
when the sliding direction of the sliding operation is the same as or opposite to the first preset direction, and the sliding operation keeps the long press state after the sliding distance exceeds the first preset distance threshold value, in the process of keeping the long press state, the selected number of the selected first target props is continuously increased or reduced, and meanwhile, the remaining number of the first target props in the props is reduced or increased.
Optionally, the first road tool adjusting module 810 is further specifically configured to:
determining a first speed for increasing or decreasing the selected number of the first target props according to the number of props in the props corresponding to the first target prop icon and the long press duration for keeping the long press state; and continuously increasing or decreasing the selected number of the selected first target props according to the first speed, and simultaneously decreasing or increasing the residual number of the first target props in the props.
Optionally, the first prop adjustment module 810 is further specifically configured to increase or decrease the selected number of the selected first target props, and decrease or increase the remaining number of the first target props in the props, through the following steps:
if the long press time length in the long press state is larger than the preset long press time length threshold value, continuing the sliding operation after the long press state is ended, increasing or decreasing the selected number of the selected first target props according to the sliding operation, and simultaneously decreasing or increasing the remaining number of the first target props in the props.
Optionally, the first prop adjustment module 810 is further specifically configured to increase or decrease the selected number of the selected first target props, and decrease or increase the remaining number of the first target props in the props, through the following steps:
determining a second speed for increasing or decreasing the selected number of the first target props according to the sliding distance of the sliding operation in the direction which is the same as or opposite to the first preset direction; and under the condition of ending the first speed, continuously increasing or decreasing the selected number of the selected first target props according to the second speed, and simultaneously decreasing or increasing the remaining number of the first target props in the props, wherein the first speed is used for representing the speed of continuously increasing or decreasing the selected number of the selected first target props in the process of keeping the long press state after the sliding distance exceeds a first preset distance threshold value in the sliding operation.
Optionally, the first road tool adjusting module 810 is further specifically configured to:
when the sliding direction of the sliding operation is the same as or opposite to the first preset direction, and the sliding distance of the sliding operation is greater than a second preset distance threshold, increasing the selected number of the selected first target props to the original number and reducing the residual number of the first target props in the props fence to zero, or reducing the selected number of the selected first target props to zero and increasing the residual number of the first target props in the props fence to the original number.
Optionally, when the preset touch event is a sliding operation, the first road tool adjusting module 810 is further specifically configured to:
responding to a first touch operation aiming at a first target prop icon in at least one prop column, responding to a sliding operation acting on a preset area of the graphical user interface if a touch point of the first touch operation is located in a first preset direction of the first target prop icon, and adjusting the remaining quantity of the first target props in the prop column and the selected quantity of the selected first target props according to an angle between the sliding direction of the sliding operation and the first preset direction.
Optionally, when the preset touch event is a sliding operation, the first road tool adjusting module 810 is further specifically configured to:
responding to a first touch operation aiming at a first target prop icon in at least one prop column, wherein a touch point of the first touch operation is located in a second preset direction of the first target prop icon, the sliding direction of the sliding operation is the same as or opposite to the second preset direction, responding to the sliding operation acting on a preset area of the graphical user interface, if the sliding distance of the sliding operation is greater than a third preset distance threshold value, increasing or decreasing a preset number of selected first target props, and simultaneously decreasing or increasing the remaining number of the first target props in the preset number of prop columns.
Optionally, when the preset touch event is a long press operation, the first road tool adjusting module 810 is further specifically configured to:
responding to a first touch operation aiming at a first target prop icon in at least one prop column, responding to a long press operation acting on a preset area of the graphical user interface if a touch point of the first touch operation is located in a first touch area of the first target prop icon, and adjusting the remaining quantity of the first target props in the prop column and the selected quantity of the selected first target props according to the long press operation time.
Optionally, when the preset touch event is a click operation, the first road tool adjusting module 810 is further specifically configured to:
responding to a first touch operation aiming at a first target prop icon in at least one prop column, responding to a click operation acting on a preset area of the graphical user interface if a touch point of the first touch operation is located in a second touch area of the first target prop icon, and adjusting the remaining quantity of the first target props in the prop column and the selected quantity of the selected first target props according to the click times of the click operation.
Optionally, the touch terminal 800 further includes an end response module 820, where the end response module 820 is configured to:
responding to the end condition of the preset touch event, and obtaining the end position of the preset touch event on the graphical user interface; if the ending position is at a position where the property fence is not arranged or at a position where the selected first target property belongs to a second non-empty property fence of a different type, adjusting the residual quantity of the first target property in the property fence corresponding to the first target property icon to increase to the original quantity; or if the ending position is at the position of a first non-empty-way prop belonging to the same type as the selected first target prop, adjusting the quantity of props superposed in the same type of props according to the selected quantity; or if the end position is at the position of the empty way fence, adjusting the number of the props added to the empty way fence according to the selected number.
Optionally, the touch terminal 800 further includes a prop using module 830, and the prop using module 830 is configured to: responding to the use operation aiming at the first target prop, and using the selected first target prop; wherein the using operation comprises any one of releasing, abandoning, prop exchanging and prop transferring.
The touch control terminal provided by the embodiment of the application comprises a first tool adjusting module, an ending response module or a prop using module, wherein the first tool adjusting module can adjust the residual quantity of props in the prop fence and the selected quantity of the selected props through a preset touch event under the condition that the props in the prop fence are selected and activated by first touch control operation, so that the props in the prop fence and the selected props can be conveniently exchanged; the end response module can respond to an end condition of the preset touch event, obtain an end position of the preset touch event on the graphical user interface, and adjust the remaining quantity and the selected quantity of the first target props in the props according to the end position; or the prop using module can use the selected prop. Therefore, under the condition that the props in the prop columns are selected and activated by the first touch operation, the rest quantity of the props in the prop columns and the selected quantity of the chosen props can be adjusted through the preset touch event, so that the convenient operation of complex prop arrangement is realized, the operation process of the props is accelerated, the operation efficiency of the props is improved, and the game process is not influenced.
Referring to fig. 9, fig. 9 is a schematic structural diagram of another touch terminal according to an embodiment of the present disclosure. As shown in fig. 9, a touch terminal 900 includes at least one property bar displayed in a graphical user interface of the touch terminal, and a property icon of a property displayed in the property bar:
a second prop adjusting module 910, configured to, in a case where a first target prop icon in the at least one prop fence is selected by a second touch operation and during a moving process of the selected first target prop, respond to a preset point control event acting in a touch area of the first target prop, and adjust, according to the preset point control event, a prop number of the first target prop in the at least one target prop fence and a prop number of the selected first target prop; the target prop fence is a prop fence, and the distance between the target prop fence and the selected first target prop is smaller than a preset distance threshold when a preset point control event acting on the first target prop is responded.
Optionally, the preset click control event is a click operation.
Optionally, the second prop adjusting module 910 is specifically configured to adjust the prop quantity of the first target prop in the at least one target prop fence and the prop quantity of the selected first target prop by the following steps:
responding to a click operation acting in a touch area of the first target prop in the moving process of the selected first target prop, and if the click position of the click operation is in the touch area of the first target prop, adjusting the prop quantity of the first target prop in at least one target prop column and the prop quantity of the selected first target prop according to the type of the target prop column and/or the click frequency of the click operation.
Optionally, the types of target props include empty props, first non-empty-way props of the same type as the first target prop, and second non-empty-way props of a different type from the first target prop.
Optionally, the second prop adjusting module 910 is specifically configured to adjust the prop quantity of the first target prop in the at least one target prop fence and the prop quantity of the selected first target prop by the following steps:
responding to a click operation acted in the touch area of the first non-empty track fence in the process that the selected first target prop moves to the touch area of the first non-empty track fence; and if the clicking times of the clicking operation is one time, exchanging the number of the first non-empty prop and the prop of the selected first target prop.
Optionally, the second prop adjusting module 910 is specifically configured to adjust the prop quantity of the first target prop in the at least one target prop fence and the prop quantity of the selected first target prop by the following steps:
responding to a click operation acted in the touch area of the at least one empty prop in the process that the selected first target prop moves to the touch area of the at least one empty prop; and aiming at each empty prop column, determining the number of props added to the empty track prop column by the selected first target prop according to the click times of the click operation.
Optionally, the second prop adjusting module 910 is specifically configured to adjust the prop quantity of the first target prop in the at least one target prop fence and the prop quantity of the selected first target prop by the following steps:
and in the process that the selected first target prop moves to the touch area of the second non-empty channel fence, responding to the click operation acted in the touch area of the second non-empty channel fence, and adding the prop quantity of the selected first target prop to the prop quantity of the first target prop in the prop fence for selecting the first target prop.
The touch control terminal that this application embodiment provided, including second stage property adjustment module, second stage property adjustment module can be selected and the in-process that removes by the second touch control operation at the stage property in the stage property fence, according to the stage property quantity of the first target stage property in at least one target stage property fence of point control event adjustment according to predetermineeing and the stage property quantity of the first target stage property of selecting, thereby realize the convenient operation of complicated stage property arrangement, make the operation process of stage property accelerate, help improving the operating efficiency of stage property, and then do not influence the game process.
Referring to fig. 10, fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 10, the electronic device 1000 includes a processor 1010, a memory 1020, and a bus 1030.
The memory 1020 stores machine-readable instructions executable by the processor 1010, when the electronic device 1000 runs, the processor 1010 and the memory 1020 communicate through the bus 1030, and when the machine-readable instructions are executed by the processor 1010, the method for operating a prop in a game in the embodiment of the method shown in fig. 1 or the steps of the method for operating a prop in a game in the embodiment of the method shown in fig. 4 may be executed.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the method for operating an in-game item in the embodiment of the method shown in fig. 1 or the method for operating an in-game item in the embodiment of the method shown in fig. 4 may be executed.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, 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.
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 of 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 software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable memory executable by a processor. 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 memory, 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 method according to the embodiments of the present application. And the aforementioned memory comprises: 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.
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 spirit and scope of the exemplary embodiments of the present application, and 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 (26)

1. An operation method of a property in a game is applied to a touch terminal capable of presenting a graphical user interface, and is characterized in that at least one property bar is displayed in the graphical user interface of the touch terminal, and a property icon of a property is displayed in the property bar, wherein the operation method comprises the following steps:
under the condition that a first target prop icon in the at least one prop bar is selected through first touch operation, responding to a preset touch event acting on a preset area of the graphical user interface, and adjusting the remaining quantity of the first target props in the prop bar and the selected quantity of the selected first target props according to the preset touch event; and the sum of the remaining quantity and the selected quantity is the original quantity of the first target prop in the props.
2. The operating method according to claim 1, wherein the preset touch event comprises a sliding operation, a long-press operation or a clicking operation.
3. The operating method according to claim 1, wherein when the preset touch event is a sliding operation, and when a first target item icon in the at least one item bar is selected by a first touch operation, in response to the preset touch event applied to a preset area of the gui, the step of adjusting the remaining number of first target items in the item bar and the selected number of the selected first target items according to the preset touch event includes:
responding to a first touch operation aiming at a first target prop icon in at least one prop column, responding to a sliding operation acted on a preset area of the graphical user interface if a touch point of the first touch operation is located in a first preset direction of the first target prop icon, and increasing or decreasing the selected number of the selected first target props and simultaneously decreasing or increasing the remaining number of the first target props in the prop columns when the sliding direction of the sliding operation is the same as or opposite to the first preset direction.
4. The method of operation according to claim 3, wherein the selected number of selected first target items is increased or decreased, while the remaining number of first target items in the item bar is decreased or increased, by:
and when the sliding direction of the sliding operation is the same as or opposite to the first preset direction, and the sliding distance of the sliding operation is greater than a first preset distance threshold value, increasing or decreasing a selected first target prop, and simultaneously decreasing or increasing the remaining number of the first target props in one prop fence.
5. The method of operation according to claim 3, wherein the selected number of selected first target items is increased or decreased, while the remaining number of first target items in the item bar is decreased or increased, by:
when the sliding direction of the sliding operation is the same as or opposite to the first preset direction, and the sliding operation keeps a long press state after the sliding distance exceeds a first preset distance threshold, in the process of keeping the long press state, the selected number of the selected first target props is continuously increased or reduced, and meanwhile, the remaining number of the first target props in the props is reduced or increased.
6. The method of operation according to claim 5, wherein the step of continuously increasing or decreasing the selected number of selected first target items while decreasing or increasing the remaining number of first target items in the item bar comprises:
determining a first speed for increasing or decreasing the selected number of the first target props according to the number of props in the props corresponding to the first target prop icon and the long press duration for keeping the long press state;
and continuously increasing or decreasing the selected number of the selected first target props according to the first speed, and simultaneously decreasing or increasing the remaining number of the first target props in the props.
7. The method of operation according to claim 5, wherein the selected number of selected first target items is increased or decreased, while the remaining number of first target items in the item bar is decreased or increased, by:
if the long press time kept in the long press state is larger than a preset long press time threshold value, continuing the sliding operation after the long press state is ended, increasing or decreasing the selected number of the selected first target props according to the sliding operation, and simultaneously decreasing or increasing the remaining number of the first target props in the props.
8. The method of operation according to claim 7, wherein the selected number of selected first target items is increased or decreased, while the remaining number of first target items in the item bar is decreased or increased, by:
determining a second speed at which the selected number of the first target props is increased or decreased according to the sliding distance of the sliding operation in the direction which is the same as or opposite to the first preset direction;
and under the condition that the first speed is finished, continuously increasing or decreasing the selected number of the selected first target props according to the second speed, and simultaneously decreasing or increasing the remaining number of the first target props in the props, wherein the first speed is used for indicating the speed of continuously increasing or decreasing the selected number of the selected first target props in the process that the sliding operation keeps the long-press state after the sliding distance exceeds a first preset distance threshold value.
9. The operation method according to claim 3, wherein the step of adjusting the remaining number of the first target items in the item fields and the selected number of the selected first target items according to the preset touch event comprises:
when the sliding direction of the sliding operation is the same as or opposite to the first preset direction, and the sliding distance of the sliding operation is greater than a second preset distance threshold, increasing the selected number of the selected first target props to the original number and reducing the remaining number of the first target props in the props to zero, or reducing the selected number of the selected first target props to zero and increasing the remaining number of the first target props in the props to the original number.
10. The operating method according to claim 1, wherein when the preset touch event is a sliding operation, and when a first target item icon in the at least one item bar is selected by a first touch operation, in response to the preset touch event applied to a preset area of the gui, the step of adjusting the remaining number of first target items in the item bar and the selected number of the selected first target items according to the preset touch event includes:
responding to a first touch operation aiming at a first target prop icon in at least one prop column, responding to a sliding operation acted on a preset area of the graphical user interface if a touch point of the first touch operation is located in a first preset direction of the first target prop icon, and adjusting the remaining quantity of the first target props in the prop column and the selected quantity of the selected first target props according to an angle between the sliding direction of the sliding operation and the first preset direction.
11. The operating method according to claim 1, wherein when the preset touch event is a sliding operation, and when a first target item icon in the at least one item bar is selected by a first touch operation, in response to the preset touch event applied to a preset area of the gui, the step of adjusting the remaining number of first target items in the item bar and the selected number of the selected first target items according to the preset touch event includes:
responding to a first touch operation aiming at a first target prop icon in at least one prop column, wherein a touch point of the first touch operation is located in a second preset direction of the first target prop icon, the sliding direction of the sliding operation is the same as or opposite to the second preset direction, responding to the sliding operation acting on a preset area of the graphical user interface, if the sliding distance of the sliding operation is greater than a third preset distance threshold value, increasing or decreasing a preset number of selected first target props, and simultaneously decreasing or increasing the remaining number of the first target props in the preset number of prop columns.
12. The operation method according to claim 1, wherein when the preset touch event is a long-press operation, and when a first target item icon in the at least one item bar is selected by a first touch operation, in response to the preset touch event applied to a preset area of the gui, the step of adjusting the remaining number of first target items in the item bar and the selected number of the selected first target items according to the preset touch event includes:
responding to a first touch operation aiming at a first target prop icon in at least one prop column, and responding to a long press operation acting on a preset area of the graphical user interface if a touch point of the first touch operation is located in a first touch area of the first target prop icon, and adjusting the remaining quantity of the first target props in the prop column and the selected quantity of the selected first target props according to the long press operation time.
13. The operation method according to claim 1, wherein when the preset touch event is a click operation, in a case where a first target item icon in the at least one item bar is selected by the first touch operation, in response to the preset touch event applied to a preset area of the gui, the step of adjusting the remaining number of first target items in the item bar and the selected number of the selected first target items according to the preset touch event includes:
responding to a first touch operation aiming at a first target prop icon in at least one prop column, responding to a click operation acting on a preset area of the graphical user interface if a touch point of the first touch operation is located in a second touch area of the first target prop icon, and adjusting the remaining quantity of the first target props in the prop column and the selected quantity of the selected first target props according to the number of times of click of the click operation.
14. The method of operation of claim 1, further comprising:
responding to the end condition of the preset touch event, and obtaining the end position of the preset touch event on a graphical user interface;
if the ending position is at a position where no prop fence is arranged or at a position where the selected first target prop belongs to a second non-empty prop fence of a different type, adjusting the residual quantity of the first target prop in the prop fence corresponding to the first target prop icon to be increased to the original quantity;
or if the ending position is at the position of a first non-empty track fence which belongs to the same type as the selected first target prop, adjusting the number of props superposed in the same type of fence according to the selected number;
or if the end position is at the position of the empty way fence, adjusting the number of the props added to the empty way fence according to the selected number.
15. The method of operation of claim 1, further comprising:
responding to the use operation aiming at the first target prop, and using the selected first target prop; wherein the using operation comprises any one of releasing, abandoning, prop exchanging and prop transferring.
16. An operation method of a property in a game is applied to a touch terminal capable of presenting a graphical user interface, and is characterized in that at least one property bar is displayed in the graphical user interface of the touch terminal, and a property icon of a property is displayed in the property bar, wherein the operation method comprises the following steps:
under the condition that a first target prop icon in the at least one prop fence is selected by a second touch operation and in the moving process of the selected first target prop, responding to a preset point control event acting in a touch area of the first target prop, and adjusting the prop quantity of the first target prop in the at least one target prop fence and the prop quantity of the selected first target prop according to the preset point control event; and the target prop fence is a prop fence, and the distance between the target prop fence and the selected first target prop is smaller than a preset distance threshold when the target prop fence responds to a preset point control event acting on the first target prop.
17. The operating method according to claim 16, wherein the preset click event is a click operation.
18. The method of operation of claim 17, wherein the number of first target props in the at least one target prop section and the number of first target props selected are adjusted by:
responding to a click operation acting in a touch area of the first target prop in the moving process of the selected first target prop, and if the click position of the click operation is in the touch area of the first target prop, adjusting the prop quantity of the first target prop in at least one target prop column and the prop quantity of the selected first target prop according to the type of the target prop column and/or the click frequency of the click operation.
19. The method of operation of claim 18, wherein the types of target props comprise empty props, first non-empty props of the same type as the first target prop, and second non-empty props of a different type from the first target prop.
20. The method of operation of claim 19, wherein the number of first target props in the at least one target prop section and the number of first target props selected are adjusted by:
responding to a click operation acting in the touch area of the first non-empty track fence in the process that the selected first target prop moves to the touch area of the first non-empty track fence;
and if the clicking times of the clicking operation is one time, exchanging the prop quantity of the first non-empty prop and the selected first target prop.
21. The method of operation of claim 19, wherein the number of first target props in the at least one target prop section and the number of first target props selected are adjusted by:
responding to a click operation acted in a touch area of at least one empty prop in the process that the selected first target prop moves to the touch area of the at least one empty prop;
and aiming at each empty prop column, determining the number of props added to the empty prop column by the selected first target prop according to the click times of the click operation.
22. The method of operation of claim 19, wherein the number of first target props in the at least one target prop section and the number of first target props selected are adjusted by:
and in the process that the selected first target prop moves to the touch area of the second non-empty way fence, responding to a click operation acted in the touch area of the second non-empty way fence, and adding the prop quantity of the selected first target prop to the prop quantity of the first target prop in the prop fence of the selected first target prop.
23. A touch terminal is characterized in that at least one prop fence is displayed in a graphical user interface of the touch terminal, and a prop icon of a prop is displayed in the prop fence, and the touch terminal comprises:
the first prop adjusting module is used for responding to a preset touch event acting on a preset area of the graphical user interface under the condition that a first target prop icon in the at least one prop fence is selected by a first touch operation, and adjusting the remaining quantity of the first target props in the prop fence and the selected quantity of the selected first target props according to the preset touch event; and the sum of the remaining quantity and the selected quantity is the original quantity of the first target prop in the props.
24. A touch terminal is characterized in that at least one prop fence is displayed in a graphical user interface of the touch terminal, and a prop icon of a prop is displayed in the prop fence, and the touch terminal comprises:
the second prop adjusting module is used for responding to a preset point control event acting in a touch control area of the first target prop under the condition that a first target prop icon in the at least one prop fence is selected by a second touch control operation and in the moving process of the selected first target prop, and adjusting the prop number of the first target prop in the at least one target prop fence and the prop number of the selected first target prop according to the preset point control event; and the target prop fence is a prop fence, and the distance between the target prop fence and the selected first target prop is smaller than a preset distance threshold when the target prop fence responds to a preset point control event acting on the first target prop.
25. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when the electronic device is operated, the processor executing the machine-readable instructions to perform the steps of a method of operating an item in a game as claimed in any one of claims 1 to 15 or a method of operating an item in a game as claimed in any one of claims 16 to 22.
26. A computer-readable storage medium, having stored thereon, a computer program which, when executed by a processor, performs the steps of a method of operating an item in a game as claimed in any one of claims 1 to 15 or a method of operating an item in a game as claimed in any one of claims 16 to 22.
CN202110815452.5A 2021-07-19 2021-07-19 Method for operating props in game, touch terminal, electronic equipment and storage medium Pending CN113476824A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110815452.5A CN113476824A (en) 2021-07-19 2021-07-19 Method for operating props in game, touch terminal, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110815452.5A CN113476824A (en) 2021-07-19 2021-07-19 Method for operating props in game, touch terminal, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113476824A true CN113476824A (en) 2021-10-08

Family

ID=77941420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110815452.5A Pending CN113476824A (en) 2021-07-19 2021-07-19 Method for operating props in game, touch terminal, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113476824A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114140493A (en) * 2021-12-03 2022-03-04 湖北微模式科技发展有限公司 Target multi-angle display action continuity detection method
CN114518818A (en) * 2022-02-17 2022-05-20 网易(杭州)网络有限公司 Operation method and device of virtual object in game, electronic equipment and medium
WO2023082868A1 (en) * 2021-11-09 2023-05-19 北京字跳网络技术有限公司 Game control method, terminal, device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003275411A (en) * 2002-03-25 2003-09-30 Daiichi Shokai Co Ltd Game machine
CN105204732A (en) * 2015-09-01 2015-12-30 网易(杭州)网络有限公司 Control method and control device for game props used in batch
CN108459811A (en) * 2018-01-09 2018-08-28 网易(杭州)网络有限公司 Processing method, device, electronic equipment and the storage medium of virtual item
CN109101157A (en) * 2018-08-22 2018-12-28 Oppo广东移动通信有限公司 Sidebar icon setting method, device, terminal and storage medium
CN111450527A (en) * 2020-04-30 2020-07-28 网易(杭州)网络有限公司 Information processing method and device
CN112516583A (en) * 2020-12-11 2021-03-19 网易(杭州)网络有限公司 Data processing method and device in game and electronic terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003275411A (en) * 2002-03-25 2003-09-30 Daiichi Shokai Co Ltd Game machine
CN105204732A (en) * 2015-09-01 2015-12-30 网易(杭州)网络有限公司 Control method and control device for game props used in batch
CN108459811A (en) * 2018-01-09 2018-08-28 网易(杭州)网络有限公司 Processing method, device, electronic equipment and the storage medium of virtual item
CN109101157A (en) * 2018-08-22 2018-12-28 Oppo广东移动通信有限公司 Sidebar icon setting method, device, terminal and storage medium
CN111450527A (en) * 2020-04-30 2020-07-28 网易(杭州)网络有限公司 Information processing method and device
CN112516583A (en) * 2020-12-11 2021-03-19 网易(杭州)网络有限公司 Data processing method and device in game and electronic terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023082868A1 (en) * 2021-11-09 2023-05-19 北京字跳网络技术有限公司 Game control method, terminal, device and storage medium
CN114140493A (en) * 2021-12-03 2022-03-04 湖北微模式科技发展有限公司 Target multi-angle display action continuity detection method
CN114140493B (en) * 2021-12-03 2022-07-19 湖北微模式科技发展有限公司 Target multi-angle display action continuity detection method
CN114518818A (en) * 2022-02-17 2022-05-20 网易(杭州)网络有限公司 Operation method and device of virtual object in game, electronic equipment and medium

Similar Documents

Publication Publication Date Title
WO2021036581A1 (en) Method for controlling virtual object, and related apparatus
US10398977B2 (en) Information processing method, terminal, and computer storage medium
US10792562B2 (en) Information processing method, terminal, and computer storage medium
CN113476824A (en) Method for operating props in game, touch terminal, electronic equipment and storage medium
CN107930122B (en) Information processing method, device and storage medium
CN109513208B (en) Object display method and device, storage medium and electronic device
CN110354489B (en) Virtual object control method, device, terminal and storage medium
WO2022121528A1 (en) Interaction information processing method and apparatus, terminal, storage medium, and program product
CN102479027A (en) Control method and device of application icons on touch screen
EP2917818A1 (en) Cross slide gesture
CN109843399A (en) For providing equipment, method and the graphic user interface of game control
CN111330260A (en) Method and device for controlling props in game, electronic equipment and storage medium
CN111596757A (en) Gesture control method and device based on fingertip interaction
JP2023552772A (en) Virtual item switching method, device, terminal and computer program
CN112044067A (en) Interface display method, device, equipment and storage medium
CN110404257B (en) Formation control method and device, computer equipment and storage medium
CN113244611B (en) Virtual article processing method, device, equipment and storage medium
CN108351748B (en) Computer readable medium and portable terminal
CN113440835A (en) Control method and device of virtual unit, processor and electronic device
CN111437594B (en) Game object control method and device, electronic equipment and readable storage medium
CN114217711A (en) Virtual role control method, terminal, electronic device and storage medium
JP2019080928A (en) Game system, game control device, and program
CN114546240B (en) Interactive implementation method, device and equipment for game and storage medium
CN113680047B (en) Terminal operation method, device, electronic equipment and storage medium
KR20160126848A (en) Method for processing a gesture input of user

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