Game item control method, device, computer device and storage medium
By employing precise and fuzzy switching response areas for game item controls, the method addresses the congestion issue, enhancing the display effect of the game interface by optimizing the use of display space for multiple equipped items.
Patent Information
- Application Number
- JP2025507573
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-08-11
- Filing Date
- 2023-02-03
- Publication Date
- 2025-09-09
AI Technical Summary
The display of multiple game items on a game interface becomes congested, occupying valuable space and affecting the display effect when a player equips three or more virtual weapons, leading to clutter and reduced visual clarity.
Implementing a method that utilizes precise and fuzzy switching response areas for game item controls, allowing players to switch between equipped items efficiently, reducing the display space required for controls and enhancing the game screen's display effect.
The method reduces the space occupied by game item controls, improving the overall display effect of the game interface by enabling seamless switching between multiple equipped items.
Smart Images

Figure 2025529754000001_ABST
Abstract
Description
Cross-Citation of Related Applications
[0001] This disclosure claims priority to a Chinese patent application filed on August 11, 2022, with the China Patent Office, application number 202210963040.0, for the invention "Game item control method, apparatus, computer device and storage medium," the entire contents of which are incorporated herein by reference. [Technical Field]
[0002] The present disclosure relates to the field of gaming technology, and more particularly to a method, apparatus, computer device, and storage medium for controlling a game item. [Background technology]
[0003] With the development of computer communication technology, smartphones, tablets, laptops, and other devices have become widespread and widely used. Devices are becoming more diverse and personalized, becoming indispensable in people's daily lives and work. To satisfy people's pursuit of spiritual life, entertainment games that can be played on devices have emerged, such as multiplayer online action games developed based on client-server architecture. In action games, players control virtual characters on the screen and can perform related actions such as walking, running, jumping, and fighting in the game scene from the player's third-person perspective. This allows players to immerse themselves in the game and experience the visual impact of the game, greatly enhancing the game's spontaneity and realism.
[0004] Currently, in some shooting games, players typically equip and use game items during battles within a station. For example, players can equip and use game items such as virtual weapons and virtual explosives. Typically, a player has one virtual weapon in hand and another virtual weapon as a backup, which the player can switch between during battles within a station. Typically, game item controls corresponding to the two virtual weapons equipped by the player are fixedly displayed below the game interface, allowing the player to switch between the two virtual weapons through touch operations and select the virtual weapon they want to use. In related art, to allow a player to select a virtual weapon, a corresponding number of game item controls are typically displayed in the game interface depending on how many virtual weapons the player has equipped. If a player has three or more virtual weapons, the game interface must display a corresponding number of game item controls. This results in a very congested display space for the game interface due to the additional display area for the game item controls, which occupies display space on the game interface and affects the display effect of the game screen.
[0005] The embodiments of the present disclosure provide a game item control method, apparatus, computer device, and storage medium that can solve the problem that when a player equips three or more virtual weapons, a corresponding number of game item controls need to be displayed on the game interface when the virtual weapons are equipped, which makes the display space of the game interface very crowded due to the additional display area for the game item controls, occupying the display space on the game interface and affecting the display effect of the game screen. Summary of the Invention
[0006] A first aspect of an embodiment of the present application provides a method for controlling a game item, comprising: displaying a game interface, the game interface including a game screen, a first item switch control, and a second item switch control, the game screen including a game scene and a virtual character located in the game scene, the first item switch control associated with a first game item and at least one second game item, and the second item switch control associated with a third game item; In response to the virtual character currently using the third game item, the first item control is controlled to activate accurate switching response areas corresponding to the first game item and at least one second game item, respectively, and the accurate switching response areas are configured to control the virtual character to use the game item corresponding to the accurate switching response area in response to a touch operation; In response to the virtual character currently using a first game item associated with the first item switching control, controlling a precise switching response area enabled by the first item control to switch to a fuzzy switching response area, the fuzzy switching response area being configured to determine a target second game item from the at least one second game item in accordance with an item switching order corresponding to the fuzzy switching response area in response to a touch operation, and controlling the virtual character to use the second game item.
[0007] A first aspect of an embodiment of the present application provides a game item control device including a display unit, a first response unit, and a second response unit; the display unit is configured to display a game interface, the game interface including a game screen, a first item switching control, and a second item switching control, the game screen including a game scene and a virtual character located in the game scene, the first item switching control being associated with a first game item and at least one second game item, and the second item switching control being associated with a third game item; a first response unit configured to, in response to the virtual character currently using the third game item, control the first item control to activate precision switching response areas corresponding to the first game item and at least one second game item, respectively, and the precision switching response areas are configured to control the virtual character to use the game item corresponding to the precision switching response area in response to a touch operation; The second response unit is configured to control the precise switching response area enabled by the first item control to switch to a fuzzy switching response area in response to the virtual character currently using a first game item associated with the first item switching control, and the fuzzy switching response area is configured to determine a target second game item from the at least one second game item according to an item switching order corresponding to the fuzzy switching response area in response to a touch operation, and control the virtual character to use the second game item.
[0008] A third aspect of an embodiment of the present disclosure provides a computer device including a processor, a memory, and a computer program stored in the memory and executable on the processor, the computer program realizing any step of a method for controlling a game item when executed by the processor.
[0009] A fourth aspect of an embodiment of the present disclosure further provides a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, performs steps to realize any of the methods for controlling a game item.
[0010] An embodiment of the present disclosure provides a game item control method, apparatus, computer device, and storage medium that multiplexes item switching controls and allows a player to switch between game items of the same type equipped by touching the item switching controls, thereby reducing the amount of display space occupied by the game interface, saving the space occupied by display controls in the game interface, and improving the display effect of the game screen. [Brief explanation of the drawings]
[0011] In order to more clearly describe the technical aspects of the embodiments of the present disclosure, the following briefly describes the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are only the embodiments of the present disclosure, and those skilled in the art can also obtain other drawings based on these drawings without paying creative labor. [Figure 1] 1 is a schematic diagram of a scene of a game item control system according to an embodiment of the present disclosure. FIG. [Figure 2] 1 is a flowchart of a method for controlling a game item according to an embodiment of the present disclosure. [Figure 3] 1 is a schematic diagram illustrating a scene in which a game item control method according to an embodiment of the present disclosure is applied. [Figure 4] FIG. 10 is a schematic diagram illustrating another application scene of the game item control method according to an embodiment of the present disclosure. [Figure 5] FIG. 10 is a schematic diagram illustrating another application scene of the game item control method according to an embodiment of the present disclosure. [Figure 6] FIG. 10 is a schematic diagram illustrating another application scene of the game item control method according to an embodiment of the present disclosure. [Figure 7]FIG. 10 is a schematic diagram illustrating another application scene of the game item control method according to an embodiment of the present disclosure. [Figure 8] FIG. 10 is a schematic diagram illustrating another application scene of the game item control method according to an embodiment of the present disclosure. [Figure 9] FIG. 10 is a schematic diagram illustrating another application scene of the game item control method according to an embodiment of the present disclosure. [Figure 10] FIG. 10 is a schematic diagram illustrating another application scene of the game item control method according to an embodiment of the present disclosure. [Figure 11] FIG. 10 is a schematic diagram illustrating another application scene of the game item control method according to an embodiment of the present disclosure. [Figure 12] FIG. 10 is a schematic diagram illustrating another application scene of the game item control method according to an embodiment of the present disclosure. [Figure 13] FIG. 10 is a schematic diagram illustrating another application scene of the game item control method according to an embodiment of the present disclosure. [Figure 14] FIG. 1 is a schematic configuration diagram of a game item control device according to an embodiment of the present disclosure. [Figure 15] FIG. 1 is a schematic configuration diagram of a computer device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE INVENTION
[0012] The following clearly and completely describes the technical approaches in the embodiments of the present disclosure with the aid of drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only some embodiments of the present disclosure, but not all embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present disclosure.
[0013] Embodiments of the present disclosure provide a method, apparatus, computer device, and storage medium for controlling a game item. Specifically, the method for controlling a game item according to an embodiment of the present disclosure may be executed by a computer device, which may be a device such as a terminal or a server. The terminal may be a terminal device such as a smartphone, tablet, laptop, touch display, game console, personal computer (PC), or personal digital assistant (PDA). The terminal may include a client, which may be a game application client, a browser client with a game program, or an instant communication client. The server may be an independent physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server for basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDNs, and big data and artificial intelligence platforms.
[0014] For example, when this game item control method is executed on a terminal, the terminal device stores a game application and is used to present a virtual scene on a game screen. The terminal device is used to interact with a user through a graphical user interface, for example, by downloading, installing, and running the game application via the terminal device. The method by which the terminal device provides the graphical user interface to the user may include various methods, such as rendering the graphical user interface on a display screen of the terminal device or rendering the graphical user interface by holographic projection. For example, the terminal device may include a touch display and a processor for presenting the graphical user interface and receiving operation instructions generated by a user operating the graphical user interface, the graphical user interface including a game screen, and the processor for executing a game, generating the graphical user interface, responding to the operation instructions, and controlling the display of the graphical user interface on the touch display.
[0015] For example, if a game item control method is executed on a server, it can be considered a cloud game. Cloud gaming is a gaming method based on cloud computing. In cloud gaming, the game app execution entity and the game screen presentation entity are separated, and the game item control method is stored and executed on a cloud game server. Meanwhile, the game screen presentation is performed on a cloud game client, which is primarily used to receive and transmit game data and present the game screen. For example, a cloud game client may be a display device with data transmission capabilities close to the user, such as a mobile device, television, computer, handheld computer, or personal digital assistant, but the terminal device that processes the game data is a cloud game server. When playing a game, a user operates the cloud game client to send operation commands to the cloud game server. The cloud game server executes the game based on the operation commands, encodes and compresses data such as game screens, returns the data to the cloud game client via a network, and finally decodes the data through the cloud game client to output the game screen.
[0016] Referring to FIG. 1, FIG. 1 is a schematic scene diagram of a game item control system according to an embodiment of the present disclosure. The system may include at least one terminal, at least one server, at least one database, and a network. A terminal owned by a user can connect to different game servers via the network. A terminal is any device having computing hardware capable of supporting and executing software products corresponding to a game. Furthermore, when the system includes multiple terminals, multiple servers, and multiple networks, different terminals can be connected to each other via different networks and different servers. The network may be a wireless network, such as a wireless local area network (WLAN), a local area network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, or a 5G network, or a wired network. Different terminals may also connect to other terminals or to a server using their own Bluetooth network or a hotspot network. For example, to support multiplayer games, multiple users can be connected to each other via an appropriate network and go online through different terminals to synchronize with each other. Furthermore, the system may include multiple databases coupled to different servers, and information about the game environment can be continuously stored in the database when different users play multiplayer games online.
[0017] An embodiment of the present disclosure provides a method for controlling a game item that can be executed by a terminal or a server. The embodiment of the present disclosure will be described with reference to an example in which the method for controlling a game item is executed by a terminal. Here, the terminal may include a touch display and a processor for presenting a graphical user interface and receiving operation instructions for generating the graphical user interface. (Of course, peripheral devices such as a mouse and a keyboard can also be used as input devices; the description will be given with reference to a touch display.) When a user operates the graphical user interface through the touch display, the graphical user interface can control local content of the terminal in response to the received operation commands, or can control content of an opposing server in response to the received operation commands. For example, the operation instructions generated by the user to function as the graphical user interface include instructions for launching a game application, and the processor is configured to launch the game application after receiving the instruction for launching the game application provided by the user. Furthermore, the processor is configured to render and draw a graphical user interface related to a game on the touch display. The touch display is a multi-touch sensitive screen that can sense touch or slide operations performed simultaneously at multiple points on the screen. A user may use a finger to perform a touch operation on the graphical user interface, and when the graphical user interface detects the touch operation, different virtual objects in the graphical user interface that control the game may perform actions corresponding to the touch operation. For example, the game may be any of games such as casual games, action games, role-playing games, strategy games, sports games, puzzle games, etc. Here, the game may include a virtual game scene rendered on the graphical user interface.Furthermore, the virtual scene of the game may include one or more virtual objects, such as a virtual character, controlled by a user (or player). The virtual scene of the game may also include one or more obstacles, such as handrails, ditches, or walls, that restrict the movement of the virtual objects, e.g., restricting the movement of one or more objects to a decision area within the virtual scene. Optionally, the virtual scene of the game may also include one or more elements, such as skill, score, character health, or energy, that may provide help to the player, provide virtual services, or increase a score associated with the player's performance. Furthermore, the graphical user interface may present one or more indicators to provide instructional information to the user. For example, a game may include a player-controlled virtual object and one or more other virtual objects, such as an enemy character. In one embodiment, the one or more other virtual objects are controlled by other players of the game. For example, one or more other virtual objects may be controlled by a computer, such as a robot using an artificial intelligence (AI) algorithm, to achieve a human-to-human mode. For example, one or more other virtual objects may be controlled by a computer, such as a robot using an artificial intelligence (AI) algorithm, to achieve a human-to-human mode. For example, the virtual objects may have various skills or abilities that a game player uses to achieve a goal. For example, the virtual objects may include one or more weapons, items, tools, etc. that can be used to eliminate other objects from the game. Such skills or abilities may be activated by a game player using one of a number of pre-defined touch operations with the device's touch display. The processor may be configured to present a corresponding game screen in response to an operation command generated by the user's touch operation.
[0018] It should be noted that the scene schematic diagram of the game item control system shown in Figure 1 is only an example, and the game item control system and scene described in the embodiments of the present disclosure are intended to more clearly explain the technical solutions of the embodiments of the present disclosure, and do not constitute limitations on the technical solutions provided by the embodiments of the present disclosure. Those skilled in the art will understand that with the emergence of new business scenarios, the technical solutions provided by the embodiments of the present disclosure can be similarly applied to similar technical problems.
[0019]
[0013] In view of the above problems, the embodiments of the present disclosure provide a game item control method, apparatus, computer device, and storage medium that can save the space occupied by display controls on a game interface and improve the display effect of a game screen. Each of these will be described in detail below. Note that the order in which the following embodiments are described does not limit the preferred order of the embodiments.
[0020] An embodiment of the present disclosure provides a method for controlling a game item that can be executed by a terminal or a server, and the embodiment of the present disclosure describes an example in which the method for controlling a game item is executed by a terminal, the method including at least a partial virtual scene and a virtual object displayed in the partial virtual scene, and can provide a graphical user interface via the terminal device.
[0021] Referring to FIG. 2, FIG. 2 is a flowchart of a game item control method provided for an embodiment of the present disclosure, and the specific flowchart of this game item control method includes the following steps 101 to 103.
[0022] 101, a game interface is displayed, the game interface including a game screen, a first item switching control, and a second item switching control, the game screen including a game scene and a virtual character located in the game scene, the first item switching control being associated with a first game item and at least one second game item, and the second item switching control being associated with a third game item.
[0023] Here, the game item may be a virtual weapon, such as a virtual firearm, which may inflict damage on a virtual character in a virtual scene and may increase the attack value of a virtual character equipped with the virtual weapon. The game item may also be a virtual item capable of inflicting damage on a virtual character, such as a virtual bomb or virtual mine. The game item may also be a virtual item in a virtual scene that can be used to increase the attribute value of a virtual character, or a virtual attack accessory equipped on a virtual weapon in a virtual scene that can adjust the attribute value of a virtual character. For example, the game item may be a virtual item including virtual attack accessories such as different types of medicine, a magnifying mirror, or a cannonball. Different virtual items have different designs in terms of recovery amount, effective time, usage time, space occupancy, etc., and can be used to configure a virtual weapon in a virtual scene so that it can be used in combination with the virtual weapon to increase the attribute value of the virtual weapon.
[0024] In an embodiment of the present disclosure, a game interface may be provided by a terminal device, the game interface displaying a game screen, and the game screen displaying content including at least a portion of a virtual scene and at least a portion of a virtual object located in the virtual scene, where the virtual scene is a virtual environment displayed (or provided) by an application running on the terminal. The virtual environment may be an environment that simulates the real world, a semi-simulated, semi-fictional three-dimensional environment, or a purely fictional three-dimensional environment. The virtual environment may be used for a virtual environment battle between at least two virtual characters, and the virtual environment has virtual resources available to the at least two virtual characters. One or more virtual characters are displayed in the virtual scene, and the virtual characters may be a master-control virtual character, an ally virtual character on the same side as the master-control virtual character, an enemy virtual character on the side hostile to the master-control virtual character, or an ordinary virtual character on another side that is not hostile to the master-control virtual character. Note that the master virtual character, the ally virtual character, and the enemy virtual character may simultaneously exist in the virtual scene; this is by way of example and not limitation.
[0025] A virtual character (or hero) refers to an object that operates in a virtual environment. A virtual character refers to a virtual object in a game that a user or player controls via a terminal. In an embodiment of the present disclosure, a master virtual character refers to a virtual object in a game that a current player controls via a terminal, i.e., a virtual character controlled by a local player. Friendly virtual characters and enemy virtual characters refer to virtual objects in a game that other players control via their terminals, i.e., virtual characters controlled by other players.
[0026] Specifically, the computer device displays a game interface on a screen, the game interface including a game screen, a first item switching control, and a second item switching control, the game screen including a game scene and a virtual character located in the game scene, the first item switching control being associated with a first game item and at least one second game item, and the second item switching control being associated with a third game item, wherein item icons of the first game item and at least one second game item are displayed in a first predetermined display area corresponding to the first item switching control, and an item icon of the third game item is displayed in a second predetermined display area corresponding to the second item switching control.
[0027] 3 , a game interface including a game screen, a first item switching control, and a second item switching control is displayed on a touch display of a computing device. At this time, the player is not equipped with a game item, and the game interface displays a first predetermined display area corresponding to the first item switching control and a second predetermined display area corresponding to the second item switching control, the first predetermined display area is for displaying item icons of the first game item and at least one second game item, and the second predetermined display area is for displaying an item icon of a third game item, the first predetermined display area consisting of a specified number of predetermined display sub-areas, and in an embodiment of the present disclosure, the first item switching control can be used to cyclically switch between two game items of the same type, so the first predetermined display area includes a first predetermined display sub-area and a second predetermined display sub-area, and a presentation icon indicating that the player is not equipped with a game item is also displayed in the first predetermined display sub-area, the second predetermined display sub-area, and the second predetermined display area.
[0028] 4, a game interface is displayed on a touch display of a computer device, and a game screen is displayed on the game interface. At this time, a player is equipped with game items, which are a first virtual firearm, a second virtual firearm, and a third virtual firearm, respectively. A first predetermined display sub-area of the first item switching control displays a first firearm icon of the first virtual firearm, a second predetermined display sub-area displays a second firearm icon of the second virtual firearm, and a third firearm icon of the third virtual firearm, where the first firearm icon, the second firearm icon, and the third firearm icon are all item icons.
[0029] At 102, in response to the virtual character currently using the third game item, the first item control is controlled to activate precise switching response areas corresponding to the first game item and at least one second game item, respectively, and the precise switching response areas are configured to control the virtual character to use the game item corresponding to the precise switching response area in response to a touch operation.
[0030] 5 and 6, for example, a game interface is displayed on a touch display of a computing device, and a game screen is displayed on the game interface before responding that the virtual character is currently using a third game item. At this time, the player is equipped with game items, namely, a first virtual firearm, a second virtual firearm, and a third virtual firearm, and the first item switching control is configured to be able to provide two game items for switching (i.e., the first virtual firearm and the second virtual firearm), and the second item switching control is configured to be able to provide one game item for switching (i.e., the third virtual firearm). A first item switching control is displayed in a first predetermined display area, a first firearm icon of a first virtual firearm is displayed in a first predetermined display sub-area of the first item switching control, a second firearm icon of a second virtual firearm is displayed in a second predetermined display sub-area, and a third firearm icon of a third virtual firearm is displayed in the second predetermined display area, wherein the first firearm icon, the second firearm icon, and the third firearm icon are all item icons. The player can perform a touch operation on the first item switching control, and the computer device, in response to the touch operation on the first item switching control, determines whether the current game item used by the current virtual character is one of a plurality of switchable game items provided by the first item switching control, and if the current game item used by the current virtual character is the first virtual firearm, i.e., one of the plurality of switchable game items provided by the first item switching control, a first target game item after this switching is determined based on the current game item and the plurality of switchable game items provided by the first item switching control, and this first target game item is the second virtual firearm.
[0031] In a specific embodiment, before responding that the virtual character is currently using the third game item, the method further comprises: In response to a first switching operation on the second item switching control, determining a third game item provided by the second item switching control as a target game item, and controlling the virtual character to use the target game item; obtaining item parameters of a game item currently being used by the virtual character; determining that the virtual character is currently using the third game item in response to the item parameters matching parameters of a game item corresponding to the second item switching control.
[0032] Specifically, the computer device detects whether the player is currently using a game item, and if so, obtains the item attributes of the currently used game item, and if the item attributes of the currently used game item are the same as the item attributes of the game item preset in the second item switching control, the computer device can determine that the game item currently used by the player is the third game item. Alternatively, if the computer device detects that the player triggers use of the second item switching control, the game item currently used by the virtual character is considered to be the third game item.
[0033] In a specific embodiment, "controlling the first item control to activate precise switching response areas respectively corresponding to the first game item and at least one second game item" may include: Obtaining a target number of the first game item and the second game item currently placed on the first item switching control; generating the target number of accurate switching response areas and switching the fuzzy switching response areas to the target number of accurate switching response areas, wherein one accurate switching response area is associated with one first game item or one second game item.
[0034] For example, see FIG. 7. A game interface is displayed on a touch display of a computing device, and a game screen is displayed on the game interface, where a player is equipped with a first virtual firearm, a second virtual firearm, and a third virtual firearm. A first item switching control is configured to provide two switchable game items (i.e., the first virtual firearm and the second virtual firearm), and a second item switching control is configured to provide a switchable game item (i.e., the third virtual firearm). A first firearm icon of the first virtual firearm is displayed in a first predetermined display sub-area of the first item switching control, a second firearm icon of the second virtual firearm is displayed in a second predetermined display sub-area, the first predetermined display sub-area and the second predetermined display sub-area form a fuzzy switching response area, and a third firearm icon of the third virtual firearm is displayed in a second predetermined display area of the second item switching control, where the first firearm icon, the second firearm icon, and the third firearm icon are all item icons. In this case, the player may be using a first virtual firearm and may generate a first switching operation through a touch operation in the game interface. In response to the first switching operation on the second item switching control, the computer device determines a third virtual firearm provided by the second item switching control as a target game item after this switching and divides the fuzzy switching response area of the first item switching control based on the target number. In this case, since the target number of game items corresponding to the first item switching control is two, a first accurate switching response area and a second accurate switching response area are obtained. The first accurate switching response area is used to switch the current game item to the first virtual firearm, and the second accurate switching response area is used to switch the current game item to the second virtual firearm.
[0035] At 103, in response to the virtual character currently using a first game item associated with the first item switching control, a precise switching response area enabled by the first item control is controlled to be switched to a fuzzy switching response area, and the fuzzy switching response area is configured to determine a target second game item from the at least one second game item according to an item switching order corresponding to the fuzzy switching response area in response to a touch operation, and control the virtual character to use the second game item.
[0036] Specifically, before responding that the virtual character is currently using a first game item associated with the first item switching control, the method further includes: In response to a second switching operation on the first item switching control, determining the first game item or at least one second game item provided by the second item switching control as a target game item, and controlling the virtual character to use the target game item; obtaining item parameters of a game item currently being used by the virtual character; and determining that the virtual character is currently using the first game item or the at least one second game item in response to the item parameters matching parameters of a game item corresponding to the first item switching control.
[0037] In one embodiment, switching a precise switching response area enabled by the first item control to a fuzzy switching response area includes: The method includes generating a fuzzy switching response region based on the target number of accurate switching response regions, and switching the target number of accurate switching response regions to the fuzzy switching response region.
[0038] After "generating a fuzzy switching response area based on the target number of accurate switching response areas, and switching the target number of accurate switching response areas to the fuzzy switching response area" to realize cyclic switching of the game item associated with the first item switching control, the method further comprises: In response to a third switching operation on the fuzzy switching response area, determining a most recently used historical game item from a plurality of game items provided by the first item switching control, and determining a target game item after this switching from a first game item associated with the first item switching control and at least one second game item based on the historical game item.
[0039] For example, a game interface is displayed on a touch display of a computing device, and a game screen is displayed on the game interface, in which a player is equipped with a first virtual firearm, a second virtual firearm, and a third virtual firearm, the first item switching control is configured to provide two switchable game items (i.e., the first virtual firearm and the second virtual firearm), and the second item switching control is configured to provide one switchable game item (i.e., the third virtual firearm). The first item switching control is displayed in a first predetermined display area, a first firearm icon of the first virtual firearm is displayed in a first predetermined display sub-display area of the first item switching control, a second firearm icon of the second virtual firearm is displayed in a second predetermined display sub-display area, and a third firearm icon of the third virtual firearm is displayed in the second predetermined display area, where the first firearm icon, the second firearm icon, and the third firearm icon are all item icons. The player performs a touch operation on the first item switching control to generate a first switching operation, and the computer device, in response to the first switching operation on the first item switching control, determines whether the current game item used by the current virtual character is one of a plurality of switchable game items provided by the first item switching control, and if the current game item used by the current virtual character is a third virtual firearm, i.e., if the current game item is not one of the plurality of switchable game items provided by the first item switching control, determines a historical game item that was most recently used from the plurality of game items provided by the first item switching control, and determines a target game item to be switched to based on the historical game item and the plurality of switchable game items provided by the first item switching control, where the historical game item is the first game item and the target game item is the second virtual firearm.
[0040] In addition, the fuzzy switching response area corresponding to the first item switching control includes a plurality of display areas, each of which is used to display an item icon of one first game item or at least one item icon of a second game item associated with the first item switching control, and in each of the plurality of precise switching response areas corresponding to the first item control, an item icon of one first game item or at least one item icon of a second game item associated with the first item switching control is correspondingly displayed.
[0041] After "generating one fuzzy switching response area based on the target number of accurate switching response areas and switching the target number of accurate switching response areas to the fuzzy switching response area" to highlight the game item currently being used by the player, the method further comprises: The method includes determining a display area for the target game item from the fuzzy switching response area, and performing display area adjustment on the display area corresponding to the target game item in the fuzzy switching response area and other display areas in the fuzzy switching response area other than the display area corresponding to the target game item in accordance with a predetermined display adjustment rule, to obtain multiple adjusted display areas.
[0042] In one embodiment, the size of the display sub-area can be adjusted to highlight the game item currently being used by the player. "Acquiring a plurality of adjusted display areas by performing display area adjustment on the display area corresponding to the target game item and other display areas in the fuzzy switching response area based on the preset display adjustment rule" means This includes performing an area enlargement process on a display area of the fuzzy switching response area that corresponds to a target game item, thereby obtaining an enlarged display area that corresponds to the target game item, and performing an area reduction process on display areas of the fuzzy switching response area other than the display area that corresponds to the target game item, thereby obtaining a plurality of reduced display areas.
[0043] 8 and 9, a game interface is displayed on a touch display of a computer device, and a game screen is displayed on the game interface. At this time, players are equipped with a first virtual firearm, a second virtual firearm, and a third virtual firearm, respectively. The first item switching control is configured to provide two switchable game items (i.e., the first virtual firearm and the second virtual firearm), and the second item switching control is configured to provide one switchable game item (i.e., the third virtual firearm). A first firearm icon of the first virtual firearm is displayed in a first predetermined display sub-area of a fuzzy switching response area of the first item switching control, a second firearm icon of the second virtual firearm is displayed in a second predetermined display sub-area of the fuzzy switching response area of the first item switching control, and a third firearm icon of the third virtual firearm is displayed in the second predetermined display area, where the first firearm icon, the second firearm icon, and the third firearm icon are all item icons. A player can generate a first switching operation by performing a touch operation on a first item switching control, and the computer device, in response to the touch operation on the first item switching control, determines whether a current game item currently being used by a virtual character is one of a plurality of switchable game items provided by the first item switching control, and if the current game item currently being used by the virtual character is a first virtual firearm, i.e., one of the plurality of switchable game items provided by the first item switching control, the size of the first predetermined display sub-region corresponding to the first virtual firearm is larger than the size of the second predetermined display sub-region corresponding to the second virtual firearm. A target game item after this switching is determined based on the current game item and the plurality of switchable game items provided by the first item switching control, and the target game item is the second virtual firearm.The computer device can adjust a size parameter of the target display sub-region corresponding to the target game item to be larger, adjust a size parameter of the first predetermined display sub-region to be smaller, and display the adjusted target display sub-region and the first predetermined display sub-region on the game interface, wherein the size of the target display sub-region is larger than the size of the first predetermined display sub-region, and the display size of the item icon in the target display sub-region is larger than the display size of the item icon in the first predetermined display sub-region.
[0044] In one embodiment, the display of the display sub-area can be adjusted to highlight the game item currently being used by the player. "Acquiring a plurality of adjusted display areas by performing display area adjustment on the display area corresponding to the target game item and other display areas in the fuzzy switching response area based on the preset display adjustment rule" means This includes performing a brightness parameter increase process on a display area of the fuzzy switching response area corresponding to a target game item to obtain an increased brightness display area corresponding to the target game item, thereby highlighting the target display sub-area.
[0045] In one embodiment, the color of the display sub-area can be adjusted to highlight the game item currently being used by the player. "Acquiring a plurality of adjusted display areas by performing display area adjustment on the display area corresponding to the target game item and other display areas in the fuzzy switching response area based on the preset display adjustment rule" means The method includes performing a color parameter adjustment process on a display area of the fuzzy switching response area that corresponds to a target game item to switch the current display color of the display area that corresponds to the target game item to a first specified color, and switching the current display color of other display areas of the fuzzy switching response area other than the display area that corresponds to the target game item to a second specified color, wherein the first specified color is different from the second specified color.
[0046] Based on the above, the game item control method of the present disclosure will be further described below with reference to examples. For example, with reference to Figures 10 to 13, specific embodiments of the game item control method are as follows.
[0047] (1) Referring to Figure 10, a game interface is displayed on a touch display of a computer device, and a game screen is displayed on the game interface. At this time, the player is not equipped with a game item, and a first item switching control and a second item switching control are displayed on the game interface. The first item switching control corresponds to a fuzzy switching response area, and the second item switching control corresponds to a predetermined display area, where the fuzzy switching response area is composed of a specified number of predetermined display sub-areas. In the present disclosure, the first item switching control can be used to cycle between two game items of the same type, so the fuzzy switching response area includes a first predetermined display sub-area and a second predetermined display sub-area. A presentation icon is also displayed in the first predetermined display sub-area, the second predetermined display sub-area, and the predetermined display area to indicate that the player is not equipped with a game item. After detecting that the player is equipped with a game item, a plurality of game items equipped by the player are determined, the game items being a first virtual firearm, a second virtual firearm, and a third virtual firearm, respectively, and a first firearm icon of the first virtual firearm is displayed in a first predetermined display sub-area of the first item switching control, a second firearm icon of the second virtual firearm is displayed in a second predetermined display sub-area, and a third firearm icon of the third virtual firearm is displayed in a predetermined display area, where the first firearm icon, the second firearm icon, and the third firearm icon are all item icons.
[0048] (2) Referring to FIG. 11 , when a player performs a first touch operation on a first item switching control, the current virtual character controlled by the player can pick up a first virtual firearm, and the size of the first predetermined display sub-area corresponding to the first virtual firearm and the size of the second predetermined display sub-area corresponding to the second virtual firearm are adjusted so that the size of the first predetermined display sub-area corresponding to the first virtual firearm is larger than the size of the second predetermined display area corresponding to the second virtual firearm.
[0049] 12 , the player can perform a second touch operation on the first item switching control to generate a first switching operation, and the computer device can respond to the first switching operation by determining whether the current game item currently being used by the virtual character is one of the multiple switchable game items provided by the first item switching control, and if the current game item currently being used by the virtual character is the first virtual firearm, i.e., one of the multiple switchable game items provided by the first item switching control, determine a target game item to be switched to based on the current game item and the multiple switchable game items provided by the first item switching control, where the target game item is the second virtual firearm. The computer device can increase a size parameter of the target display sub-region corresponding to the target game item and decrease a size parameter of the first predetermined display sub-region, and display the adjusted target display sub-region and first predetermined display sub-region on the game interface, where the target display sub-region is larger than the size of the first predetermined display sub-region.
[0050] 13, the player can perform a touch operation on the second item switching control on the game interface to generate a second switching operation. In response to the second switching operation on the second item switching control, the computer device determines the third virtual firearm provided by the second item switching control as the target game item after this switching and processes the first item switching control based on the target number. At this time, since the target number of game items corresponding to the first item switching control is 2, a first accurate switching response area and a second accurate switching response area are obtained. The first accurate switching response area is used to switch the current game item to the first virtual firearm, and the second accurate switching response area is used to switch the current game item to the second virtual firearm.
[0051] As described above, an embodiment of the present disclosure provides a game item control method that multiplexes item switching controls and enables a player to switch between game items of the same type equipped by touching the item switching controls, thereby reducing the amount of display space taken up by the game interface, saving the space taken up by display controls on the game interface, and improving the display effect of the game screen.
[0052] To facilitate implementation of the game item control method provided by the embodiments of the present disclosure, the embodiments of the present disclosure further provide a virtual object display device based on the above-described game item control method, where the meanings of the nouns are the same as those of the above-described game item control method, and specific implementation details can be referred to in the description of the method embodiments.
[0053] 14, which is a structural schematic diagram of a virtual object display device in an embodiment of the present disclosure, the device includes: a display unit 201, a first response unit 202, and a second response unit 203; the display unit 201 is configured to display a game interface, the game interface including a game screen, a first item switching control, and a second item switching control, the game screen including a game scene and a virtual character located in the game scene, the first item switching control being associated with a first game item and at least one second game item, and the second item switching control being associated with a third game item; the first response unit 202 is configured to, in response to the virtual character currently using the third game item, control the first item control to activate accurate switching response areas corresponding to the first game item and at least one second game item, respectively, and the accurate switching response areas are configured to control the virtual character to use the game item corresponding to the accurate switching response area in response to a touch operation; The second response unit 203 is configured to control the precise switching response area enabled by the first item control to switch to a fuzzy switching response area in response to the virtual character currently using a first game item associated with the first item switching control, and the fuzzy switching response area is configured to determine a target second game item from the at least one second game item according to an item switching order corresponding to the fuzzy switching response area in response to a touch operation, and control the virtual character to use the second game item.
[0054] In some embodiments, the game item control device includes a first response subunit and a first acquisition subunit; a first response subunit configured to, in response to a first switching operation on the second item switching control, determine a third game item provided by the second item switching control as a target game item, and control the virtual character to use the target game item; the first acquisition subunit is configured to acquire item parameters of a game item currently being used by the virtual character; The first response subunit is further configured to determine that the virtual character is currently using the third game item in response to the item parameters matching parameters of a game item corresponding to the second item switching control.
[0055] In some embodiments, the game item control device includes a second acquisition subunit and a first generation subunit; a second acquisition subunit configured to acquire a target number of the first game item and the second game item currently placed on the first item switching control; The first generation subunit is configured to generate the target number of accurate switching response areas and switch the fuzzy switching response areas into the target number of accurate switching response areas, and one accurate switching response area is associated with one first game item or one second game item.
[0056] In some embodiments, the game item control device includes a second response subunit and a third acquisition subunit; a second response subunit configured to, in response to a second switching operation on the first item switching control, determine the first game item or at least one second game item provided by the second item switching control as a target game item, and control the virtual character to use the target game item; a third acquisition subunit configured to acquire item parameters of a game item currently being used by the virtual character; The second response subunit is further configured to determine that the virtual character is currently using the first game item or the at least one second game item in response to the item parameters matching parameters of a game item corresponding to the first item switching control.
[0057] In some embodiments, the game item control device includes a second generation subunit; The second generating subunit is configured to generate one fuzzy switching response region based on the target number of accurate switching response regions, and switch the target number of accurate switching response regions into the fuzzy switching response region.
[0058] In some embodiments, the game item controller includes a decision subunit; The determination subunit is configured to determine a most recently used historical game item from a plurality of game items provided by the first item switching control in response to a third switching operation on the fuzzy switching response area, and to determine a target game item after this switching from a first game item associated with the first item switching control and at least one second game item based on the historical game item.
[0059] In some embodiments, the game item controller includes a first coordination subunit; The first adjustment subunit is configured to determine a display area of the target game item from the fuzzy switching response area, and perform display area adjustment on the display area corresponding to the target game item in the fuzzy switching response area and other display areas in the fuzzy switching response area other than the display area corresponding to the target game item in accordance with a predetermined display adjustment rule, to obtain multiple adjusted display areas.
[0060] In some embodiments, the game item controller includes a second coordination subunit; The second adjustment subunit is configured to perform an area enlargement process on a display area of the fuzzy switching response area that corresponds to a target game item to obtain an enlarged display area that corresponds to the target game item, and to perform an area reduction process on display areas of the fuzzy switching response area other than the display area that corresponds to the target game item to obtain multiple reduced display areas.
[0061] In some embodiments, the game item controller includes a third coordination subunit; The third adjustment subunit is configured to perform a brightness parameter increasing process on a display area corresponding to a target game item in the fuzzy switching response area to obtain an increased brightness display area corresponding to the target game item, and highlight the target display sub-area.
[0062] In some embodiments, the game item control device includes a fourth coordination subunit; The fourth adjustment subunit is configured to perform a color parameter adjustment process on a display area of the fuzzy switching response area corresponding to a target game item to switch the current display color of the display area corresponding to the target game item to a first specified color, and to switch the current display color of other display areas of the fuzzy switching response area other than the display area corresponding to the target game item to a second specified color, wherein the first specified color is different from the second specified color.
[0063] An embodiment of the present disclosure discloses a game item control device, wherein a display unit 201 displays a game interface, the game interface including a game screen, a first item switching control, and a second item switching control, the game screen including a game scene and a virtual character located in the game scene, the first item switching control being associated with a first game item and at least one second game item, and the second item switching control being associated with a third game item, and a first response unit 202 being configured to control the first item control to respectively switch the first game item and the at least one second game item in response to the virtual character currently using the third game item. The second response unit 203 controls the precise switching response area enabled by the first item control to switch to a fuzzy switching response area in response to the virtual character currently using a first game item associated with the first item switching control, and the fuzzy switching response area is configured to determine a target second game item from the at least one second game item according to the item switching order corresponding to the fuzzy switching response area in response to the touch operation, and control the virtual character to use the second game item. The embodiment of the present disclosure multiplexes item switching controls, and allows a player to switch to the same type of game item equipped by touching the item switching controls, thereby reducing the display space occupied by the game interface, saving the space occupied by display controls on the game interface, and improving the display effect of the game screen.
[0064] Accordingly, an embodiment of the present disclosure provides a computing device, which may be a terminal or a server, which may be a terminal device such as a smartphone, tablet, laptop, touch display, game console, personal computer (PC), or personal digital assistant (PDA). FIG. 15 is a schematic configuration diagram of a computing device according to an embodiment of the present disclosure. The computing device 300 includes a processor 301 having one or more processing cores, a memory 302 having one or more computer-readable storage media, and a computer program stored on the memory 302 and operable on the processor. The processor 301 is electrically connected to the memory 302. Those skilled in the art will appreciate that the computing device structure shown in the figure does not constitute a limitation on the computing device, and may include more or fewer components than those shown, or a combination of some components, or a different component arrangement.
[0065] The processor 301 is the control center of the computer device 300, and monitors the entire computer device 300 by connecting each part of the entire computer device 300 using various interfaces and lines, executing or loading software programs and / or modules stored in the memory 302, calling up data stored in the memory 302, and executing various functions and processing data of the computer device 300.
[0066] In an embodiment of the present disclosure, the processor 301 in the computer device 300 loads instructions corresponding to the processes of one or more applications into the memory 302, and executes the applications stored in the memory 302 by the processor 301, thereby achieving various functions as follows: displaying a game interface, the game interface including a game screen, a first item switch control, and a second item switch control, the game screen including a game scene and a virtual character located in the game scene, the first item switch control associated with a first game item and at least one second game item, and the second item switch control associated with a third game item; In response to the virtual character currently using the third game item, the first item control is controlled to activate accurate switching response areas corresponding to the first game item and at least one second game item, respectively, and the accurate switching response areas are configured to control the virtual character to use the game item corresponding to the accurate switching response area in response to a touch operation; In response to the virtual character currently using a first game item associated with the first item switching control, controlling a precise switching response area enabled by the first item control to switch to a fuzzy switching response area, the fuzzy switching response area being configured to determine a target second game item from the at least one second game item in accordance with an item switching order corresponding to the fuzzy switching response area in response to a touch operation, and controlling the virtual character to use the second game item.
[0067] In one embodiment, before responding that the virtual character is currently using the third game item, the method further comprises: In response to a first switching operation on the second item switching control, determining a third game item provided by the second item switching control as a target game item, and controlling the virtual character to use the target game item; obtaining item parameters of a game item currently being used by the virtual character; determining that the virtual character is currently using the third game item in response to the item parameters matching parameters of a game item corresponding to the second item switching control.
[0068] In one embodiment, controlling the first item control to activate precise switching response areas respectively corresponding to the first game item and at least one second game item includes: Obtaining a target number of the first game item and the second game item currently placed on the first item switching control; generating the target number of accurate switching response areas and switching the fuzzy switching response areas to the target number of accurate switching response areas, wherein one accurate switching response area is associated with one first game item or one second game item.
[0069] In one embodiment, before responding that the virtual character is currently using a first game item associated with the first item switching control, the method further comprises: In response to a second switching operation on the first item switching control, determining the first game item or at least one second game item provided by the second item switching control as a target game item, and controlling the virtual character to use the target game item; obtaining item parameters of a game item currently being used by the virtual character; and determining that the virtual character is currently using the first game item or the at least one second game item in response to the item parameters matching parameters of a game item corresponding to the first item switching control.
[0070] In one embodiment, controlling the switching of the accurate switching response area enabled by the first item control to the fuzzy switching response area includes: The method includes generating a fuzzy switching response region based on the target number of accurate switching response regions, and switching the target number of accurate switching response regions to the fuzzy switching response region.
[0071] In one embodiment, a fuzzy switching response area is generated based on the target number of accurate switching response areas, and the target number of accurate switching response areas is switched to the fuzzy switching response area, and then: In response to a third switching operation on the fuzzy switching response area, determining a most recently used historical game item from a plurality of game items provided by the first item switching control, and determining a target game item after this switching from a first game item associated with the first item switching control and at least one second game item based on the historical game item.
[0072] In one embodiment, the fuzzy switching response area corresponding to the first item switching control includes a plurality of display areas, each of which is used to display an item icon of one first game item or at least one second game item associated with the first item switching control, and each of the plurality of precise switching response areas corresponding to the first item control correspondingly displays an item icon of one first game item or at least one second game item associated with the first item switching control.
[0073] In one embodiment, a fuzzy switching response area is generated based on the target number of accurate switching response areas, and the target number of accurate switching response areas is switched to the fuzzy switching response area, and then: The method includes determining a display area for the target game item from the fuzzy switching response area, and performing display area adjustment on the display area corresponding to the target game item in the fuzzy switching response area and other display areas in the fuzzy switching response area other than the display area corresponding to the target game item in accordance with a predetermined display adjustment rule, to obtain multiple adjusted display areas.
[0074] In one embodiment, performing display area adjustment on a display area corresponding to a target game item in the fuzzy switching response area and other display areas in accordance with the preset display adjustment rule to obtain a plurality of adjusted display areas includes: This includes performing an area enlargement process on a display area of the fuzzy switching response area that corresponds to a target game item, thereby obtaining an enlarged display area that corresponds to the target game item, and performing an area reduction process on display areas of the fuzzy switching response area other than the display area that corresponds to the target game item, thereby obtaining a plurality of reduced display areas.
[0075] In one embodiment, performing display area adjustment on a display area corresponding to a target game item in the fuzzy switching response area and other display areas in accordance with the preset display adjustment rule to obtain a plurality of adjusted display areas includes: This includes performing a brightness parameter increase process on a display area corresponding to a target game item in the fuzzy switching response area to obtain an increased brightness display area corresponding to the target game item, and highlighting the target display sub-area.
[0076] In one embodiment, performing display area adjustment on a display area corresponding to a target game item in the fuzzy switching response area and other display areas in accordance with the preset display adjustment rule to obtain a plurality of adjusted display areas includes: The method includes performing a color parameter adjustment process on a display area of the fuzzy switching response area that corresponds to a target game item to switch the current display color of the display area that corresponds to the target game item to a first specified color, and switching the current display color of other display areas of the fuzzy switching response area other than the display area that corresponds to the target game item to a second specified color, wherein the first specified color is different from the second specified color.
[0077] For specific implementation of the above operations, the above-described embodiments can be referred to, and the description thereof will be omitted here.
[0078] Optionally, as shown in Fig. 15, the computer device 300 further includes a touch display 303, a radio frequency circuit 304, an audio circuit 305, an input unit 306, and a power supply 307. Here, the processor 301 is electrically connected to the touch display 303, the radio frequency circuit 304, the audio circuit 305, the input unit 306, and the power supply 307, respectively. Those skilled in the art can understand that the computer device structure shown in Fig. 15 does not constitute a limitation of the computer device, and the computer device may include more or fewer components than those shown, or may combine some components or combine different component arrangements.
[0079] The touch display 303 can be used to display a graphical user interface and receive operation instructions for a user to act on the graphical user interface. The touch display 303 can include a display panel and a touch display. Here, the display panel can be used to display information input by or provided to a user, as well as various graphical user interfaces of a computer device, which can be composed of graphics, text, icons, videos, and any combination thereof. Optionally, the display panel can be arranged in the form of a liquid crystal display (LCD), organic light-emitting diode (OLED), or the like. The touch display can collect touch operations on or near the user, such as when the user operates on or near the touch display using an appropriate object or accessory, such as a finger or a touch pen, generate corresponding operation instructions, and execute procedures corresponding to the operation instructions. Optionally, the touch display can include two parts: a touch detection device and a touch controller. Here, the touch detection device detects the user's touch direction, detects a signal caused by the touch operation, and transmits the signal to the touch controller. The touch controller receives touch information from the touch detection device, converts it into contact point coordinates, and transmits them to the processor 301, and can receive and execute commands from the processor 301. The touch display covers the display panel, and after the touch display detects a touch operation on or near it, it transmits it to the processor 301 to determine the type of touch event. The processor 301 can then provide a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present disclosure, the touch display and the display panel can be integrated into the touch display 303 to realize input and output functions.However, in some embodiments, the touch display and the touch screen may realize input / output functions as two separate components, i.e., the touch display 303 may realize input functions as part of the input unit 306.
[0080] In an embodiment of the present disclosure, a game application is executed via the processor 301 to generate a graphical user interface on the touch display 303. The touch display 303 is used to present the graphical user interface and receive operation instructions for a user to act on the graphical user interface.
[0081] The radio frequency circuitry 304 can be used to transmit and receive radio frequency signals to establish wireless communication with a network device or other computer device via wireless communication and to transmit and receive signals to and from the network device or other computer device.
[0082] The audio circuit 305 can be used to provide an audio interface between a user and the computer device via a speaker and a microphone. The audio circuit 305 converts received audio data into an electrical signal and sends it to the speaker, which converts it into an audio signal and outputs it. Meanwhile, the microphone converts collected audio signals into an electrical signal, which the audio circuit 305 receives and converts into audio data. After processing by the audio data output processor 301, the audio data is transmitted to another computer device or output to the memory 302 for further processing via the radio frequency circuit 304. The audio circuit 305 can also include an earplug jack to provide communication between peripheral headphones and the computer device.
[0083] The input unit 306 can be used to receive input numeric, character information or user characteristic information (e.g., fingerprint, iris, face information, etc.) and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0084] The power supply 307 is used to provide power to each component of the computing device 300. Optionally, the power supply 307 may be logically connected to the processor 301 via a power management system, and functions such as charging, discharging, and power consumption management may be managed through the power management system. The power supply 307 may also include any components such as one or more DC or AC power sources, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, etc.
[0085] Although not shown in FIG. 15, computing device 300 may also include cameras, sensors, wireless fidelity modules, Bluetooth modules, etc., not described herein.
[0086] In the above embodiments, emphasis is placed on the description of each embodiment, and some embodiments do not have details, and reference can be made to the description of other embodiments.
[0087] As described above, the computer device in this embodiment displays a game interface, and in response to the virtual character's current use of a third game item, controls a first item control to activate precise switching response areas corresponding to the first game item and at least one second game item, respectively. In response to the virtual character's use of the first game item associated with the first item switching control, the precise switching response area activated in the first item control is switched to a fuzzy switching response area, which, in response to a touch operation, determines a target second game item from the at least one second game item according to the item switching order corresponding to the fuzzy switching response area, and controls the virtual character to use the second game item. This embodiment multiplexes item switching controls, and by touching the item switching controls, a player can switch to the same type of game item equipped by the player, thereby reducing the display space occupied by the game interface, saving the space occupied by display controls on the game interface, and improving the display effect of the game screen.
[0088] Those skilled in the art can understand that all or some of the steps of the various methods in the above-described embodiments can be performed by instructions stored in a computer-readable storage medium and executed by a processor, or by instructions that control associated hardware.
[0089] For this reason, an embodiment of the present disclosure provides a computer-readable storage medium storing a plurality of computer programs loadable by a processor to execute steps in any of the game item control methods provided by the embodiment of the present disclosure. For example, the computer programs can execute the following steps: displaying a game interface, the game interface including a game screen, a first item switch control, and a second item switch control, the game screen including a game scene and a virtual character located in the game scene, the first item switch control associated with a first game item and at least one second game item, and the second item switch control associated with a third game item; In response to the virtual character currently using the third game item, the first item control is controlled to activate accurate switching response areas corresponding to the first game item and at least one second game item, respectively, and the accurate switching response areas are configured to control the virtual character to use the game item corresponding to the accurate switching response area in response to a touch operation; In response to the virtual character currently using a first game item associated with the first item switching control, controlling a precise switching response area enabled by the first item control to switch to a fuzzy switching response area, the fuzzy switching response area being configured to determine a target second game item from the at least one second game item in accordance with an item switching order corresponding to the fuzzy switching response area in response to a touch operation, and controlling the virtual character to use the second game item.
[0090] In one embodiment, before responding that the virtual character is currently using the third game item, the method further comprises: In response to a first switching operation on the second item switching control, determining a third game item provided by the second item switching control as a target game item, and controlling the virtual character to use the target game item; obtaining item parameters of a game item currently being used by the virtual character; determining that the virtual character is currently using the third game item in response to the item parameters matching parameters of a game item corresponding to the second item switching control.
[0091] In one embodiment, controlling the first item control to activate precise switching response areas respectively corresponding to the first game item and at least one second game item includes: Obtaining a target number of the first game item and the second game item currently placed on the first item switching control; generating the target number of accurate switching response areas and switching the fuzzy switching response areas to the target number of accurate switching response areas, wherein one accurate switching response area is associated with one first game item or one second game item.
[0092] In one embodiment, before responding that the virtual character is currently using a first game item associated with the first item switching control, the method further comprises: In response to a second switching operation on the first item switching control, determining the first game item or at least one second game item provided by the second item switching control as a target game item, and controlling the virtual character to use the target game item; obtaining item parameters of a game item currently being used by the virtual character; and determining that the virtual character is currently using the first game item or the at least one second game item in response to the item parameters matching parameters of a game item corresponding to the first item switching control.
[0093] In one embodiment, the control to switch the accurate switching response area enabled by the first item control to the fuzzy switching response area is The method includes generating a fuzzy switching response region based on the target number of accurate switching response regions, and switching the target number of accurate switching response regions to the fuzzy switching response region.
[0094] In one embodiment, a fuzzy switching response area is generated based on the target number of accurate switching response areas, and the target number of accurate switching response areas is switched to the fuzzy switching response area, and then: In response to a third switching operation on the fuzzy switching response area, determining a most recently used historical game item from a plurality of game items provided by the first item switching control, and determining a target game item after this switching from a first game item associated with the first item switching control and at least one second game item based on the historical game item.
[0095] In one embodiment, the fuzzy switching response area corresponding to the first item switching control includes a plurality of display areas, each of which is used to display an item icon of one first game item or at least one second game item associated with the first item switching control, and each of the plurality of precise switching response areas corresponding to the first item control correspondingly displays an item icon of one first game item or at least one second game item associated with the first item switching control.
[0096] In one embodiment, a fuzzy switching response area is generated based on the target number of accurate switching response areas, and the target number of accurate switching response areas is switched to the fuzzy switching response area, and then: The method includes determining a display area for the target game item from the fuzzy switching response area, and performing display area adjustment on the display area corresponding to the target game item in the fuzzy switching response area and other display areas in the fuzzy switching response area other than the display area corresponding to the target game item in accordance with a predetermined display adjustment rule, to obtain multiple adjusted display areas.
[0097] In one embodiment, performing display area adjustment on a display area corresponding to a target game item in the fuzzy switching response area and other display areas in accordance with the preset display adjustment rule to obtain a plurality of adjusted display areas includes: This includes performing an area enlargement process on a display area of the fuzzy switching response area that corresponds to a target game item, thereby obtaining an enlarged display area that corresponds to the target game item, and performing an area reduction process on display areas of the fuzzy switching response area other than the display area that corresponds to the target game item, thereby obtaining a plurality of reduced display areas.
[0098] In one embodiment, performing display area adjustment on a display area corresponding to a target game item in the fuzzy switching response area and other display areas in accordance with the preset display adjustment rule to obtain a plurality of adjusted display areas includes: This includes performing a brightness parameter increase process on a display area corresponding to a target game item in the fuzzy switching response area to obtain an increased brightness display area corresponding to the target game item, and highlighting the target display sub-area.
[0099] In one embodiment, performing display area adjustment on a display area corresponding to a target game item in the fuzzy switching response area and other display areas in accordance with the preset display adjustment rule to obtain a plurality of adjusted display areas includes: The method includes performing a color parameter adjustment process on a display area of the fuzzy switching response area that corresponds to a target game item to switch the current display color of the display area that corresponds to the target game item to a first specified color, and switching the current display color of other display areas of the fuzzy switching response area other than the display area that corresponds to the target game item to a second specified color, wherein the first specified color is different from the second specified color.
[0100] The specific implementation of each of the above operations can be referred to the above embodiments, and will not be further described here.
[0101] Here, the storage medium may include a read only memory (ROM), a random access memory (RAM), a magnetic disk, an optical disk, or the like.
[0102] The computer program stored in the storage medium allows the tool switching control to be multiplexed so that by touching the tool switching control, the player can switch to the same type of game tool equipped, thereby reducing the display space occupied by the game interface, saving the space occupied by the display control on the game interface, and improving the display effect of the game screen.
[0103] In the above embodiments, emphasis is placed on the description of each embodiment, and some embodiments do not have details, and reference can be made to the description of other embodiments.
[0104] The above provides a detailed introduction to the game item control method, device, computer device, and storage medium provided by the embodiments of the present disclosure. Although specific examples are used to illustrate the principles and embodiments of the present disclosure, the description of the above embodiments is only intended to assist in understanding the technical solutions and core ideas of the present disclosure. Those skilled in the art should understand that the technical solutions described in the above embodiments may be modified or some of the technical features may be replaced with equivalents. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to depart from the scope of the technical solutions of the embodiments of the present disclosure.
Claims
1. A method for controlling a game item, comprising: displaying a game interface, the game interface including a game screen, a first item switch control, and a second item switch control, the game screen including a game scene and a virtual character located in the game scene, the first item switch control being associated with a first game item and at least one second game item, and the second item switch control being associated with a third game item; In response to the virtual character currently using the third game item, the first item control is controlled to activate accurate switching response areas corresponding to the first game item and at least one second game item, respectively, and the accurate switching response areas are configured to control the virtual character to use the game item corresponding to the accurate switching response area in response to a touch operation; In response to the virtual character currently using a first game item associated with the first item switching control, a precise switching response area enabled by the first item control is controlled to be switched to a fuzzy switching response area, and the fuzzy switching response area is configured to determine a target second game item from the at least one second game item in accordance with an item switching order corresponding to the fuzzy switching response area in response to a touch operation, and to control the virtual character to use the second game item. A method for controlling a game item.
2. Before responding that the virtual character is currently using the third game item, the method further comprises: In response to a first switching operation on the second item switching control, determining a third game item provided by the second item switching control as a target game item, and controlling the virtual character to use the target game item; obtaining item parameters of a game item currently being used by the virtual character; determining that the virtual character is currently using the third game item in response to the item parameter matching a parameter of a game item corresponding to the second item switching control.
2. The method for controlling a game item according to claim 1.
3. Controlling the first item control to activate precise switching response areas respectively corresponding to the first game item and at least one second game item includes: Obtaining a target number of the first game item and the second game item currently placed on the first item switching control; generating the target number of accurate switching response regions; and switching the fuzzy switching response region to the target number of accurate switching response regions; One accurate switching response area is associated with one first game item or one second game item.
2. The method for controlling a game item according to claim 1.
4. Before responding that the virtual character is currently using a first game item associated with the first item switching control, the method further comprises: In response to a second switching operation on the first item switching control, determining the first game item or at least one second game item provided by the second item switching control as a target game item, and controlling the virtual character to use the target game item; obtaining item parameters of a game item currently being used by the virtual character; determining that the virtual character is currently using the first game item or the at least one second game item in response to the item parameter matching a parameter of a game item corresponding to the first item switching control.
4. The method for controlling a game item according to claim 3.
5. The control for switching the accurate switching response area enabled by the first item control to the fuzzy switching response area includes: generating a fuzzy switching response region based on the target number of accurate switching response regions, and switching the target number of accurate switching response regions to the fuzzy switching response region; 5. The method for controlling a game item according to claim 4.
6. Generate a fuzzy switching response region based on the target number of accurate switching response regions, and switch the target number of accurate switching response regions to the fuzzy switching response region, and then: determining a most recently used historical game item from among a plurality of game items provided by the first item switching control in response to a third switching operation on the fuzzy switching response area, and determining a target game item after this switching from among the first game item and at least one second game item associated with the first item switching control based on the historical game item.
6. The method for controlling a game item according to claim 5.
7. The fuzzy switching response area corresponding to the first item switching control includes a plurality of display areas, each of which is used to display an item icon of one first game item or at least one second game item associated with the first item switching control, and each of the plurality of precise switching response areas corresponding to the first item control correspondingly displays an item icon of one first game item or at least one second game item associated with the first item switching control.
6. The method for controlling a game item according to claim 5.
8. Generate a fuzzy switching response region based on the target number of accurate switching response regions, and switch the target number of accurate switching response regions to the fuzzy switching response region, and then: determining a display area for the target game item from the fuzzy switching response area, and performing display area adjustment on the display area corresponding to the target game item in the fuzzy switching response area and other display areas in the fuzzy switching response area other than the display area corresponding to the target game item in accordance with a preset display adjustment rule to obtain a plurality of adjusted display areas.
8. The method for controlling a game item according to claim 7.
9. performing display area adjustment on a display area corresponding to a target game item in the fuzzy switching response area and other display areas in accordance with the preset display adjustment rule to obtain a plurality of adjusted display areas; performing area enlargement processing on a display area of the fuzzy switching response area that corresponds to a target game item, to obtain an enlarged display area that corresponds to the target game item, and performing area reduction processing on display areas of the fuzzy switching response area other than the display area that corresponds to the target game item, to obtain a plurality of reduced display areas.
9. The method for controlling a game item according to claim 8.
10. performing display area adjustment on a display area corresponding to a target game item in the fuzzy switching response area and other display areas in accordance with the preset display adjustment rule to obtain a plurality of adjusted display areas; and performing a brightness parameter increase process on a display area corresponding to a target game item in the fuzzy switching response area to obtain a brightened display area corresponding to the target game item, thereby highlighting the target display sub-area.
9. The method for controlling a game item according to claim 8.
11. performing display area adjustment on a display area corresponding to a target game item in the fuzzy switching response area and other display areas in accordance with the preset display adjustment rule to obtain a plurality of adjusted display areas; performing color parameter adjustment processing on a display area of the fuzzy switching response area corresponding to a target game item to switch a current display color of the display area corresponding to the target game item to a first specified color, and switching a current display color of other display areas of the fuzzy switching response area other than the display area corresponding to the target game item to a second specified color; The first designated color is different from the second designated color.
9. The method for controlling a game item according to claim 8.
12. A game item control device including a display unit, a first response unit, and a second response unit, the display unit is configured to display a game interface, the game interface including a game screen, a first item switching control, and a second item switching control, the game screen including a game scene and a virtual character located in the game scene, the first item switching control being associated with a first game item and at least one second game item, and the second item switching control being associated with a third game item; the first response unit is configured to, in response to the virtual character currently using the third game item, control the first item control to activate accurate switching response areas corresponding to the first game item and at least one second game item, respectively, and the accurate switching response areas are configured to control the virtual character to use the game item corresponding to the accurate switching response area in response to a touch operation; The second response unit is configured to control a precise switching response area enabled by the first item control to be switched to a fuzzy switching response area in response to the virtual character currently using a first game item associated with the first item switching control, and the fuzzy switching response area is configured to determine a target second game item from the at least one second game item according to an item switching order corresponding to the fuzzy switching response area in response to a touch operation, and control the virtual character to use the second game item. A game item control device characterized by:
13. A computing device including a processor and a memory, the memory stores a plurality of instructions; The processor loads instructions from the memory and displaying a game interface, the game interface including a game screen, a first item switch control, and a second item switch control, the game screen including a game scene and a virtual character located in the game scene, the first item switch control being associated with a first game item and at least one second game item, and the second item switch control being associated with a third game item; In response to the virtual character currently using the third game item, the first item control is controlled to activate accurate switching response areas corresponding to the first game item and at least one second game item, respectively, and the accurate switching response areas are configured to control the virtual character to use the game item corresponding to the accurate switching response area in response to a touch operation; In response to the virtual character currently using a first game item associated with the first item switching control, a precise switching response area enabled by the first item control is controlled to be switched to a fuzzy switching response area, and the fuzzy switching response area is configured to determine a target second game item from the at least one second game item in accordance with an item switching order corresponding to the fuzzy switching response area in response to a touch operation, and control the virtual character to use the second game item.
1. A computing device comprising:
14. A computer-readable storage medium storing a plurality of instructions, comprising: The processor loads the instructions and displaying a game interface, the game interface including a game screen, a first item switch control, and a second item switch control, the game screen including a game scene and a virtual character located in the game scene, the first item switch control being associated with a first game item and at least one second game item, and the second item switch control being associated with a third game item; In response to the virtual character currently using the third game item, the first item control is controlled to activate accurate switching response areas corresponding to the first game item and at least one second game item, respectively, and the accurate switching response areas are configured to control the virtual character to use the game item corresponding to the accurate switching response area in response to a touch operation; In response to the virtual character currently using a first game item associated with the first item switching control, a precise switching response area enabled by the first item control is controlled to be switched to a fuzzy switching response area, and the fuzzy switching response area is configured to determine a target second game item from the at least one second game item in accordance with an item switching order corresponding to the fuzzy switching response area in response to a touch operation, and control the virtual character to use the second game item. A computer-readable storage medium comprising:
Citation Information
Patent Citations
Virtual item switching method and device, terminal and storage medium
CN113398571A
Virtual accessory using method, related device, equipment and storage medium
CN113633985A
Equipment display method, apparatus, device, storage medium, and computer program for virtual environment battles
JP2021514701A
Information processing method, apparatus, storage medium, and electronic device
JP2021515601A