WO2022252775A1 - 游戏中的显示控制方法、装置和电子设备 - Google Patents

游戏中的显示控制方法、装置和电子设备 Download PDF

Info

Publication number
WO2022252775A1
WO2022252775A1 PCT/CN2022/082771 CN2022082771W WO2022252775A1 WO 2022252775 A1 WO2022252775 A1 WO 2022252775A1 CN 2022082771 W CN2022082771 W CN 2022082771W WO 2022252775 A1 WO2022252775 A1 WO 2022252775A1
Authority
WO
WIPO (PCT)
Prior art keywords
display area
virtual item
area
storage container
moving
Prior art date
Application number
PCT/CN2022/082771
Other languages
English (en)
French (fr)
Inventor
谢洁琪
陈杰
Original Assignee
网易(杭州)网络有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 网易(杭州)网络有限公司 filed Critical 网易(杭州)网络有限公司
Priority to US18/032,670 priority Critical patent/US20230405460A1/en
Priority to JP2022580271A priority patent/JP7456021B2/ja
Publication of WO2022252775A1 publication Critical patent/WO2022252775A1/zh

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/822Strategy games; Role-playing games
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/837Shooting of targets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2219/00Indexing scheme for manipulating 3D models or images for computer graphics
    • G06T2219/20Indexing scheme for editing of 3D models
    • G06T2219/2004Aligning objects, relative positioning of parts

Definitions

  • the present disclosure relates to the technical field of games, and in particular, to a display control method, device and electronic equipment in games.
  • containers for placing items belonging to the user such as backpacks, safes, equipment areas, warehouses, and the like.
  • the user needs to transfer virtual items between multiple containers, for example, transfer virtual items from the warehouse to the backpack, from the backpack to the equipment area, and so on.
  • the container display area corresponding to the target container needs to give a feedback prompt to remind the user that the virtual item can be placed in the target container.
  • the color display parameters of the container display area are usually changed for feedback prompts, for example, parameters such as the color and brightness of the area or the edge of the area are changed.
  • feedback prompts for example, parameters such as the color and brightness of the area or the edge of the area are changed.
  • the feedback prompts are not visually obvious, and it is difficult to attract the user's attention; if these feedback prompts are implemented in dark colors, it is easy to cause user inconvenience Misunderstood, thinking that the container is disabled. Therefore, the above-mentioned feedback prompting method is not intuitive, and is easily limited by the color of the interface, thereby increasing the cost of the user's understanding of the game.
  • the purpose of the present disclosure is to provide a display control method, device and electronic device in a game, so as to improve the intuitiveness of the feedback prompt method, avoid being limited by the color of the interface, and at the same time, reduce the user's understanding cost of the game.
  • an embodiment of the present disclosure provides a display control method in a game.
  • a graphical user interface is provided through a terminal device, and the graphical user interface includes virtual items and a first storage container displayed in the first display area; the method includes : in response to a movement control operation for the virtual item, control the movement of the virtual item; in response to the virtual item moving to the target area, determine the second display area of the first storage container; wherein, the target area includes: the first display area of the first storage container , or an area within a preset range from the first display area; the position and/or area range of the second display area is different from that of the first display area; at least part of the second display area is closer to the virtual item than the first display area; The first storage container is controlled to move from the first display area to the second display area.
  • the graphical user interface also includes a container display area of the second storage container; the virtual item is pre-placed in the second storage container; responding to the movement control operation for the virtual item, the step of controlling the movement of the virtual item includes: responding to the movement of the virtual item The control operation is to control the virtual item to be removed from the second storage container.
  • the step of determining the second display area of the first storage container in response to the virtual item moving to the target area includes: determining the moving direction based on the relative position of the virtual item to the first display area in response to the virtual item moving to the target area; The first display area is controlled to be offset along the moving direction to obtain the second display area.
  • the step of determining the moving direction based on the relative position of the virtual item and the first display area in response to the virtual item moving to the target area includes: The first direction is determined as the moving direction; or, in response to the virtual item moving to the target area, the second direction whose direction difference with the first direction is less than the preset difference is determined as the moving direction; wherein, the first direction Including: the direction of the virtual item relative to the first display area.
  • the step of determining the moving direction based on the relative position of the virtual item and the first display area in response to the virtual item moving to the target area includes: obtaining the location of the virtual item in response to the virtual item moving to the target area; The corresponding relationship between the position and the moving direction determines the moving direction corresponding to the position of the virtual item.
  • the above step of determining the second display area of the first storage container in response to the virtual item moving to the target area includes: in response to the virtual item moving to the target area, performing deformation processing on the area range of the first display area to obtain the second display area.
  • the step of deforming the area range of the first display area to obtain the second display area in response to the virtual item moving to the target area includes: expanding the area area of the first display area in response to the virtual item moving to the target area, Get the second display area.
  • the step of expanding the range of the first display area to obtain the second display area in response to the virtual item moving to the target area includes: in response to the virtual item moving to the target area, based on the relative position of the virtual item and the first display area, Determining a sub-area to be enlarged in the first display area; performing enlarging processing on the sub-area, and determining the processed first display area as a second display area.
  • the step of determining the second display area of the first storage container in response to the virtual item moving to the target area includes: determining that the first storage container is available in response to the virtual item moving to the target area; wherein, in the available state, the first The storage container has a space for placing virtual items; the second display area of the first storage container is determined.
  • the above step of controlling the first storage container to move from the first display area to the second display area includes: controlling the first storage container to move from the first display area to the second display area according to a preset movement speed; The moving speed controls the circular movement of the first storage container between the first display area and the second display area.
  • an embodiment of the present disclosure provides a display control device in a game, which provides a graphical user interface through a terminal device, and the graphical user interface includes virtual items and a first storage container displayed in the first display area;
  • the device includes : a movement control module, configured to control the movement of the virtual item in response to a movement control operation for the virtual item;
  • a determination module configured to determine the second display area of the first storage container in response to the virtual item moving to the target area; wherein, the target area Including: the first display area of the first storage container, or an area within a preset range from the first display area; the second display area is different from the first display area in position and/or area range; at least part of the second display area The area is closer to the virtual item than the first display area; the moving module is used to control the movement of the first storage container from the first display area to the second display area.
  • an embodiment of the present disclosure provides an electronic device, including a processor and a memory, the memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to realize the display control in the above game method.
  • an embodiment of the present disclosure provides a machine-readable storage medium.
  • the machine-readable storage medium stores machine-executable instructions.
  • the machine-executable instructions When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to Realize the display control method in the above game.
  • the display control method, device and electronic device in the above game determine the second display area of the first storage container in response to the virtual item moving to the target area; wherein the target area includes: the first display area of the first storage container, or An area within a preset range from the first display area; the position and/or area range of the second display area is different from that of the first display area; at least part of the second display area is closer to the virtual item than the first display area; control the second display area A storage container moves from the first display area to the second display area.
  • the position and/or area range of the display area of the first storage container is changed to realize the feedback prompt for the movement of the virtual item.
  • This feedback prompt method is more intuitive , which is easy for users to understand, and is not limited by the color style of the interface, which can reduce the cost of users' understanding of the game.
  • FIG. 1 is an interactive schematic diagram of display control in a game provided by an embodiment of the present disclosure
  • FIG. 2 is a flow chart of a display control method in a game provided by an embodiment of the present disclosure
  • FIG. 3 is an interactive schematic diagram of display control in another game provided by an embodiment of the present disclosure.
  • FIG. 4 is an interactive schematic diagram of display control in another game provided by an embodiment of the present disclosure.
  • FIG. 5 is an interactive schematic diagram of display control in another game provided by an embodiment of the present disclosure.
  • FIG. 6 is an interactive schematic diagram of display control in another game provided by an embodiment of the present disclosure.
  • FIG. 7 is an interactive schematic diagram of display control in another game provided by an embodiment of the present disclosure.
  • FIG. 8 is an interactive schematic diagram of display control in another game provided by an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a display control device in a game provided by an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • containers such as backpacks, safes, equipment areas, and warehouses are usually set up to hold virtual items owned by users. Users can control virtual items to move between backpacks, safes, equipment areas, and warehouses; users When controlling a virtual item to move from one container to another, the container display area corresponding to the target container needs to give a feedback prompt to remind the user that the target container can hold the virtual item; in related technologies, the user controls the virtual item to enter or When a part enters the container display area of the target container, the container display area usually has feedback prompts such as edge glow, special color stroke or area highlight; for example, see the interaction of display control in a game as shown in Figure 1 Schematic diagram, area A is the container display area of the safe, when the user drags the virtual item X to area A, area A will have a feedback prompt that highlights the area and uses a special color stroke.
  • feedback prompts such as edge glow, special color stroke or area highlight
  • a light-colored interface if a light-colored or bright-colored feedback prompt is used, the user may not be able to see the feedback prompt due to the light color of the interface. If a dark-colored feedback prompt is used, it is easy to mislead the user into thinking that the container In order to disable the container, the above-mentioned feedback prompt method is not intuitive, and is easily limited by the color of the interface, thus increasing the user's understanding cost of the game.
  • this embodiment provides a display control method, device, and electronic device in a game.
  • This technology can be applied to virtual scenes or game scenes that need to store, transfer, and manage virtual items.
  • the display control method in a game in one of the embodiments of the present disclosure can run on a terminal device or a server.
  • the terminal device may be a local terminal device.
  • the method can be implemented and executed based on a cloud interactive system, wherein the cloud interactive system includes a server and a client device.
  • cloud applications such as cloud games
  • cloud games refer to game methods based on cloud computing.
  • the client device can be a display device with data transmission function near the user side, such as a mobile terminal, TV, computer, palmtop computer, etc.; but the terminal for information processing
  • the device is a cloud game server in the cloud.
  • the player When playing a game, the player operates the client device to send an operation command to the cloud game server, and the cloud game server runs the game according to the operation command, encodes and compresses the game screen and other data, and returns it to the client device through the network. Decode and output the game screen.
  • the terminal device may be a local terminal device.
  • the local terminal device stores game programs and is used to present game screens.
  • the local terminal device is used to interact with the player through the graphical user interface, that is, the conventional electronic device downloads and installs the game program and runs it.
  • the local terminal device may provide the graphical user interface to the player in various manners, for example, rendering and displaying it on the display screen of the terminal, or providing it to the player through holographic projection.
  • the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the graphical user interface displayed on the display.
  • an embodiment of the present disclosure provides a display control method in a game, which provides a graphical user interface through a terminal device, wherein the terminal device may be the aforementioned local terminal device, or may be It is the client device in the aforementioned cloud interaction system.
  • the above graphical user interface can be understood as an operation user interface displayed in a graphical manner, which is used to realize the interaction between the terminal device and the user operating the terminal device; the graphical user interface includes virtual items and a first display displayed in the first display area. storage container.
  • the aforementioned virtual items can be virtual weapons, virtual medicines, or virtual equipment in the game scene;
  • the aforementioned first storage container can be containers such as virtual warehouses, virtual backpacks, and virtual safes set in the game scene.
  • the display control method in this game includes the following steps:
  • Step S202 responding to the movement control operation on the virtual item, controlling the movement of the virtual item.
  • the GUI above may include a first display area.
  • a first display area For example, only the first display area for displaying the warehouse is included; multiple first display areas may also be included in the graphical user interface, for example, the first display area for displaying the backpack and the first display area for displaying the safe are included at the same time. area and the first display area for displaying warehouses, etc.
  • the above-mentioned movement control operations for virtual items can specifically be drag operations or touch-and-slide operations acting on virtual items. Usually, you need to click on the virtual item first, and then move your finger or mouse while clicking. At this time, the virtual item follows the Changes in position due to finger or mouse movement.
  • the virtual item in the initial state, is located at position 1 in the first display area of the backpack, and the user can select the virtual item from position 1, and drag it out from position 1 in the selected state. At this time, the virtual item Then move with the user's dragging operation, thereby controlling the movement of the virtual item in the graphical user interface.
  • Step S204 in response to the virtual item moving to the target area, determine the second display area of the first storage container; wherein, the target area includes: the first display area of the first storage container, or a distance within a preset range from the first display area area; the position and/or area range of the second display area is different from that of the first display area; at least part of the second display area is closer to the virtual item than the first display area.
  • the above-mentioned target area may be the first display area of the first storage container, or an area within a preset range from the first display area, for example, when the user wants to drag the virtual items stored in the virtual backpack to the virtual safe , the user can directly drag the virtual item to the first display area of the virtual safe, or drag the virtual item to the vicinity of the first display area, for example, near the edge of the first display area, etc.
  • the first storage container when the user controls the virtual item to move to the target area, the first storage container will usually give a feedback prompt, for example, the position of the first display area can be changed, or the area range of the first display area can be changed, Or, change the position and area range of the first display area at the same time to determine the second display area of the first storage container.
  • the determined part of the second display area or the entire area is usually closer to the virtual item than the first display area, it can be understood that the distance between part or all of the second display area and the virtual item is smaller than the distance between the first display area and the virtual item; for example, if Feedback is given by changing the position of the first display area.
  • the first display area is usually moved to the right, so that the determined second The target area is closer to the virtual item.
  • Step S206 controlling the first storage container to move from the first display area to the second display area.
  • the first storage container in the graphical user interface can be controlled to move from the first display area to the second display area; for example, the first storage container can be controlled according to a preset moving speed The storage container is moved from the first display area to the second display area, and so on.
  • the target area includes: the first display area of the first storage container, or the distance from the first display area An area within a preset range; the position and/or area range of the second display area is different from that of the first display area; at least part of the second display area is closer to the virtual item than the first display area; control the first storage container from the first display area A display area is moved to a second display area.
  • the position and/or area range of the display area of the first storage container is changed to realize the feedback prompt for the movement of the virtual item.
  • This feedback prompt method is more intuitive , which is easy for users to understand, and is not limited by the color style of the interface, which can reduce the cost of users' understanding of the game.
  • the GUI further includes a container display area of the second storage container; the virtual item is pre-placed in the second storage container; and the virtual item is controlled to be removed from the second storage container in response to a movement control operation on the virtual item.
  • the above-mentioned second storage container can be a container such as a virtual warehouse, a virtual backpack, and a virtual safe set in the game scene; the above-mentioned virtual items are usually pre-placed in the second storage container, and when the user performs an opening operation on the second storage container, The container display area of the second storage container is displayed in the above graphical user interface. If the capacity of the second storage container is relatively large, but the container display area is limited, at the same time, only the second storage container can be displayed in the container display area. Some placement positions; if the capacity of the first storage container is small, all placement positions of the second storage container may also be displayed in the container display area.
  • the user can remove the virtual item from the second storage container by dragging or touching and sliding; for example, in the initial state, the above virtual item is pre-placed at position 1 in the container display area of the backpack, The user can select the virtual item from position 1, and drag it out from position 1 in the selected state. At this time, the virtual item moves with the user's dragging operation, and continues to drag the virtual item, and the virtual item can be Remove from backpack.
  • the user can move the virtual item out of the container where the virtual item is placed in advance by performing a movement control operation on the virtual item according to the actual game requirements.
  • the operation is simple and convenient, and the user's game experience can be improved.
  • the moving direction is determined based on the relative position of the virtual item and the first display area; the first display area is controlled to shift along the moving direction to obtain a second display area.
  • the moving direction of the first display area can be determined according to the relative position, and the second display area can be obtained by controlling the first display area to shift to the moving direction; for example, if the virtual item is located at The position of the upper right corner of the first display area, the determined moving direction may be the direction of the upper right corner of the first display area, and the first display area is controlled to shift to the upper right corner to obtain the second display area.
  • the first direction where the virtual item is located relative to the first display area is determined as the moving direction; or, In response to the virtual item moving to the target area, a second direction whose direction difference with the first direction is less than a preset difference is determined as the moving direction; wherein, the first direction includes: where the virtual item is located relative to the first display area direction.
  • the above-mentioned first direction can be determined based on any vertex or center point of the virtual item, and any vertex or center point of the first display area. For example, taking the center point as an example, after moving the virtual item to the target area, you can The center point of the first display area and the center point of the virtual item are respectively extracted, and the direction from the center point of the first display area to the center point of the virtual item is the above-mentioned first direction, which can be determined as the moving direction .
  • the second direction whose direction difference with the first direction is smaller than the preset difference can also be determined as the moving direction, wherein the preset difference can be expressed in the form of angle, etc., and can be determined according to the actual It is required to set the preset difference, which is not limited here; for example, continue to take the above-mentioned center point as an example, after extracting the center point of the first display area and the center point of the virtual item, connecting the two center points can be Get the connection line between the two center points, based on the connection line, you can determine the angle between the connection line and the horizontal direction, and the angle between the vertical direction, for example, the virtual item is located in the upper right of the first display area In the angular direction, the angle between the connecting line between the center point of the virtual item and the center point of the first display area and the horizontal direction is 20 degrees.
  • the above-mentioned second direction can be For any direction whose included angle with the horizontal direction is between 10 degrees and 30 degrees, the second direction is determined as the moving direction, which is equivalent to expanding the movable range of the first display area, and the way of determining the moving direction is more accurate. Flexible, can enhance the user's gaming experience.
  • FIG. 3 for an interactive schematic diagram of display control in another game, wherein both the first storage container and the second storage container contain a plurality of item grids, and each item grid corresponds to the position where a virtual item is placed in the storage container , the GUI includes the first storage container displayed in the first display area B1, the container display area A of the second storage container, and the virtual item X is pre-placed in position 1 of the second storage container.
  • the first display area B1 of the first storage container The offset can be made along the direction of the connecting line as a whole. In order to make the determined second display area in a more suitable display position, the offset is usually preset.
  • the first The first display area B1 of the storage container moves 10px along the direction with the angle ⁇ with the horizontal direction to obtain the second display area B2 of the first storage container, wherein the center point of the second display area B2 is m2, and the second display The center point m2 of the area B2 is located on the connecting line between the center point m1 of the first display area B1 and the center point n of the virtual item X, the center point of the second display area B2 is m2 and the center point of the first display area B1 is The distance between m1 is the above offset, which is 10px.
  • the second display area B2 moves back to the original position, that is, moves back to the position of the first display area B1, and the corresponding center point m2 moves back to the position of the center point m1, if the virtual item X is not in the first display area B1, then the second display area B2 still moves back to the original position, that is, moves back to the position of the first display area B1.
  • the first direction of the virtual item relative to the first display area can be determined as the moving direction, or the second direction whose direction difference from the first direction is smaller than the preset difference can be determined as the moving direction.
  • the direction is determined as the direction of movement.
  • the determination of the direction of movement is more flexible and diverse.
  • the position of the first display area can be changed through the determined movement direction for feedback prompts. It is not limited by the color of the interface and is more intuitive. The user's understanding of the game costs and improves the user's game experience.
  • the above-mentioned moving direction can also be determined in the following manner.
  • the location of the virtual item is obtained; based on the preset correspondence between the position and the moving direction, the moving direction corresponding to the location of the virtual item is determined.
  • the corresponding relationship between the position of the virtual item and the moving direction can be preset. For example, after moving the virtual item to the target area, if the position of the virtual item is on the right side of the first display area, the corresponding movement The direction may be that the first display area is shifted to the right; if the position of the virtual item is on the left side of the first display area, the corresponding moving direction may be that the first display area is shifted to the left; if the virtual If the position of the item is on the upper side of the first display area, the corresponding movement direction can be that the first display area is shifted upward; if the position of the virtual item is on the right side of the first display area, the corresponding movement direction can be The first display area is shifted to the right direction; specifically, the corresponding relationship between the position and the moving direction can be set according to actual needs, which is not limited here; when the virtual item moves to the target area, it can The corresponding relationship between the position and the moving direction determines the corresponding moving direction, and then the first display area can
  • the width of the first display area B of the first storage container is a
  • the height is b
  • the width of the virtual item X is c
  • the height is b. is d
  • this method pre-sets the corresponding relationship between the position of the virtual item after it moves to the target area and the moving direction, assuming that the moving distance is 10px, if the user needs to drag the virtual item X to the first storage container, when the virtual item X
  • the first display area B is in an available state
  • the virtual item X is in any position in the first area, it can be considered that the virtual item X is from the bottom of the first display area B Enter, the first storage container is offset vertically downward by 10px from the first display area B; when the virtual item X is in any position in the second area, it can be considered that the virtual item X enters from the right of the first storage container
  • the virtual item X When the user stops dragging or touching the virtual item X, if the virtual item X is in the second display area of the first storage container, the virtual item X can be put into the first storage container, and the first storage container The container moves back from the second display area to the first display area B; when the user stops dragging or touching the virtual item X, if the virtual item X is not in the second display area of the first storage container, the first The storage container is moved from the second display area back to the first display area B.
  • the corresponding relationship between the position of the virtual item and the moving direction can be set in advance. After the position of the virtual item is obtained, the corresponding movement can be determined. Direction, the way to determine the direction of movement is simpler and faster, which can further improve the user's gaming experience.
  • the above-mentioned deformation processing may be specifically adjusting the size of the area range of the first display area, etc.
  • the area range of the first display area may be enlarged or partially enlarged in whole or in part. Zoom out.
  • the second display area is obtained for feedback prompts.
  • This feedback prompt method is not limited by the color of the interface and is more intuitive, which can reduce the cost of users' understanding of the game and improve the game experience. User's gaming experience.
  • the area range of the first display area can be expanded, so that the feedback prompting method is more intuitive, further reduces the user's understanding cost of the game, and improves the user's game experience. experience.
  • the area range of the first display area is enlarged to obtain the second display area.
  • the expansion of the area range of the first display area may be to expand the area range of the first display area as a whole, or to partially expand the area range of the first display area, and the specific expansion factor may be determined according to actual needs.
  • the area range of the obtained second display area is 120% of the area range of the first display area. For example, when the virtual item moves to the target area, it can be enlarged as a whole The area range of the first display area is used to obtain the second display area.
  • the first display area B can be enlarged as a whole, and the second display area obtained after the enlargement is the area surrounded by a dotted line frame.
  • the second display area obtained by the overall expansion can be closer to the virtual item, and the feedback prompt method is more obvious.
  • the area range of the first display area can be partially expanded.
  • This partially enlarged feedback prompt method can improve the intuitiveness of the feedback prompt while minimizing the need for graphics.
  • the occlusion of the user interface or the non-magnified area in the first display area can improve the user's game experience while reducing the user's understanding cost of the game.
  • the sub-area to be enlarged in the first display area is determined; the sub-area is enlarged, and the processed first display area The area is determined as the second display area.
  • the above-mentioned sub-area to be enlarged can be determined according to the relative position of the virtual item and the first display area. For example, after the virtual item moves to the target area, if the position of the virtual item is on the right side of the first display area, the first display area can be displayed Part of the right area within the right edge of the area is determined as the sub-area to be enlarged in the first display area, and the specific distance that needs to be enlarged within the edge line can be preset according to actual needs.
  • the preset specific distance that needs to be enlarged is 10px
  • the part of the right area within the first display area that is 10px away from the right edge can be determined as the sub-area to be enlarged; If the magnification factor is 200%, the sub-area will be enlarged by 200%, and the center point, any vertex, or the specified edge of the sub-area can be used as a benchmark for enlarging; usually in order to make the enlarged sub-area closer to the virtual item at the same time , which is also more in line with the user's understanding habits.
  • the direction of zooming in on the sub-area is usually consistent with the position direction of the virtual item relative to the first display area, that is, if the virtual item is on the right side of the first display area, the determined A sub-region can be enlarged to the right based on the left edge of the sub-region.
  • FIG. 8 for an interactive schematic diagram of display control in a game, wherein, the width of the first display area B of the first storage container is a, the height is b, the width of the virtual item X is c, and the height is b. is d, this method pre-sets the corresponding relationship between the position of the virtual item after it moves to the target area and the moving direction, assuming that the preset specific distance to be enlarged is 10px, and the magnification ratio is 200%, if the user needs to move the virtual item to X Drag to the first storage container, when any vertex of the virtual item X enters the first display area B of the first storage container, and the first storage container is available, when the virtual item X is in any of the fifth areas position, it can be considered that the virtual item X enters from the right of the first display area B, and the sub-area within 10px from the right edge of the first display area B is enlarged 200 to the right based on the left edge of the sub-area.
  • the user can drag the virtual item to the first display area, and the first display area produces a change in position and/or area range.
  • This feedback prompt method is more intuitive, and the reminder is more obvious, which can improve user
  • the intimacy between the operation and the feedback prompt strengthens the hint of usability, and in this method, the first display area does not use the feedback prompt method of color display parameters, and there is no need to add visual resources such as edge lighting and special color strokes , therefore, this feedback prompt method will not be limited by the color of the interface, and it can also more effectively distinguish the feedback prompts of virtual items under different operations. For example, for a warehouse system, it can more effectively distinguish the virtual item controls of the warehouse system Style feedback under different operations.
  • the first storage container will not be overweight after the virtual items are placed in the free item grid, it can be considered that the first storage container has space for placing virtual items, then it can be determined that the first storage container is available, after determining the first After the storage container is available, the second display area of the first storage container is determined. By first determining that the first storage container is available, and then determining the second display area of the first storage container, the effectiveness of the display control operation can be ensured, thereby improving the user's game experience.
  • the first storage container can be controlled to move from the first display area according to the preset moving speed area to move to the second display area; for example, the first storage container can be controlled to move quickly from the first display area to the second display area, or the first storage container can be controlled to move slowly from the first display area to the second display area
  • the preset movement speed can be set according to actual needs.
  • the first storage container may also be controlled to move circularly between the first display area and the second display area according to a preset moving speed.
  • the first storage container can be controlled to move from the first display area to the second display area according to the preset moving speed.
  • the second display area displays the preset duration, and then controls the first storage container to move from the second display area to the first display area according to the preset moving speed, and then makes the first storage container display the preset time in the first display area.
  • this kind of dynamic movement feedback prompt method is more intuitive and easier to attract the user's attention, which can further reduce the user's understanding cost of the game and improve the user's game experience.
  • a graphical user interface is provided through a terminal device, and the graphical user interface includes virtual items and a first storage container displayed in the first display area.
  • the device includes: a movement control module 90, used to control the movement of the virtual item in response to a movement control operation for the virtual item; a determination module 91, used to determine the second display area of the first storage container in response to the virtual item moving to the target area ;
  • the target area includes: the first display area of the first storage container, or an area within a preset range from the first display area; the second display area is different from the first display area in position and/or area range; the second At least part of the display area is closer to the virtual item than the first display area; the moving module 92 is configured to control the movement of the first storage container from the first display area to the second display area.
  • the display control device in the above game determines the second display area of the first storage container in response to the virtual item moving to the target area; wherein, the target area includes: the first display area of the first storage container, or the distance from the first display area An area within a preset range; the position and/or area range of the second display area is different from that of the first display area; at least part of the second display area is closer to the virtual item than the first display area; control the first storage container from the first display area A display area is moved to a second display area.
  • the second display area is determined by changing the position and/or area range of the first display area for feedback prompting.
  • This feedback prompting method is not limited by the color of the interface and is intuitive. The performance is better, which can reduce the cost of users' understanding of the game.
  • the graphical user interface also includes a container display area of the second storage container; the virtual item is pre-placed in the second storage container; the above-mentioned movement control module is also used for: responding to the movement control operation for the virtual item, controlling the virtual item from the second storage container; Remove from storage container.
  • the above determination module is further configured to: in response to the virtual item moving to the target area, determine the moving direction based on the relative position of the virtual item and the first display area; control the first display area to shift along the moving direction to obtain the second display area.
  • the above determining module is further configured to: in response to the virtual item moving to the target area, determine the first direction in which the virtual item is located relative to the first display area as the moving direction; or, in response to the virtual item moving to the target area, set The second direction whose direction difference with the first direction is smaller than the preset difference is determined as the moving direction; wherein, the first direction includes: the direction where the virtual item is located relative to the first display area.
  • the determination module is further configured to: obtain the location of the virtual item in response to the virtual item moving to the target area; and determine the moving direction corresponding to the location of the virtual item based on the preset correspondence between the location and the moving direction.
  • the above determination module is further configured to: in response to the virtual item moving to the target area, perform deformation processing on the area range of the first display area to obtain the second display area.
  • the above determination module is further configured to: expand the area range of the first display area to obtain the second display area in response to the virtual item moving to the target area.
  • the above determination module is also used for: in response to the virtual item moving to the target area, based on the relative position of the virtual item and the first display area, determine the sub-area to be enlarged in the first display area; perform zoom-in processing on the sub-area, and process The subsequent first display area is determined as the second display area.
  • the above-mentioned determination module is also used to: determine that the first storage container is available in response to the virtual item moving to the target area; wherein, in the available state, the first storage container has a space for placing the virtual item; determine the second storage container of the first storage container. Display area.
  • the above moving module is also used to: control the first storage container to move from the first display area to the second display area according to the preset moving speed; or control the first storage container to move between the first display area and the second display area according to the preset moving speed. Cycle through the second display area.
  • the above-mentioned display control device in the game has the same realization principle and technical effect as the embodiment of the display control method in the aforementioned game.
  • This embodiment also provides an electronic device, including a processor and a memory, the memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the display control method in the above game.
  • the electronic device may be a server or a terminal device.
  • the electronic device includes a processor 100 and a memory 101, the memory 101 stores machine-executable instructions that can be executed by the processor 100, and the processor 100 executes the machine-executable instructions to realize the above-mentioned display in the game Control Method:
  • control the virtual item to move In response to the movement control operation for the virtual item, control the virtual item to move; in response to the virtual item moving to the target area, determine the second display area of the first storage container; wherein, the target area includes: the first display area of the first storage container, Or an area within a preset range from the first display area; the position and/or area range of the second display area is different from that of the first display area; at least part of the second display area is closer to the virtual item than the first display area; control The first storage container moves from the first display area to the second display area.
  • the GUI further includes a container display area of the second storage container; the virtual item is pre-placed in the second storage container; and the step of controlling the movement of the virtual item in response to a movement control operation for the virtual item includes: responding to The movement control operation of the virtual item controls the removal of the virtual item from the second storage container.
  • the step of determining the second display area of the first storage container in response to the virtual item moving to the target area includes: in response to the virtual item moving to the target area, based on the relative position of the virtual item to the first display area, Determine the moving direction; control the first display area to offset along the moving direction to obtain the second display area.
  • the step of determining the moving direction based on the relative position of the virtual item to the first display area includes: in response to the virtual item moving to the target area, moving the virtual item relative to the first display area.
  • the first direction where the display area is located is determined as the moving direction; or, in response to the virtual item moving to the target area, the second direction whose direction difference with the first direction is smaller than the preset difference is determined as the moving direction; wherein , the first direction includes: the direction of the virtual item relative to the first display area.
  • the step of determining the moving direction based on the relative position of the virtual item to the first display area in response to the virtual item moving to the target area includes: acquiring the location of the virtual item in response to the virtual item moving to the target area; Based on the preset correspondence between the position and the moving direction, the moving direction corresponding to the position of the virtual item is determined.
  • the step of determining the second display area of the first storage container in response to the virtual item moving to the target area includes: performing deformation processing on the area range of the first display area in response to the virtual item moving to the target area, Get the second display area.
  • the step of deforming the range of the first display area to obtain the second display area in response to the virtual item moving to the target area includes: expanding the first display area in response to the virtual item moving to the target area The range of the area to get the second display area.
  • the step of expanding the area range of the first display area to obtain the second display area in response to the virtual item moving to the target area includes: responding to the virtual item moving to the target area, based on the virtual item and the first display area Determine the sub-area to be enlarged in the first display area; perform enlarging processing on the sub-area, and determine the processed first display area as the second display area.
  • the step of determining the second display area of the first storage container in response to the virtual item moving to the target area includes: determining that the first storage container is available in response to the virtual item moving to the target area; wherein, in the available state Next, the first storage container has a space for placing virtual items; and the second display area of the first storage container is determined.
  • the above step of controlling the first storage container to move from the first display area to the second display area includes: controlling the first storage container to move from the first display area to the second display area according to a preset moving speed; or , to control the first storage container to move circularly between the first display area and the second display area according to the preset moving speed.
  • This feedback prompt method is more intuitive , which is easy for users to understand, and is not limited by the color style of the interface, which can reduce the cost of users' understanding of the game.
  • the electronic device shown in FIG. 10 further includes a bus 102 and a communication interface 103 , and the processor 100 , the communication interface 103 and the memory 101 are connected through the bus 102 .
  • the memory 101 may include a high-speed random access memory (RAM, Random Access Memory), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
  • RAM Random Access Memory
  • non-volatile memory such as at least one disk memory.
  • the communication connection between the system network element and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the Internet, wide area network, local network, metropolitan area network, etc. can be used.
  • the bus 102 may be an ISA bus, a PCI bus, or an EISA bus, etc.
  • the bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one double-headed arrow is used in FIG. 10 , but it does not mean that there is only one bus or one type of bus.
  • the processor 100 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method may be implemented by an integrated logic circuit of hardware in the processor 100 or instructions in the form of software.
  • the above-mentioned processor 100 can be a general-purpose processor, including a central processing unit (Central Processing Unit, referred to as CPU), a network processor (Network Processor, referred to as NP), etc.; it can also be a digital signal processor (Digital Signal Processor, referred to as DSP) ), Application Specific Integrated Circuit (ASIC for short), Field Programmable Gate Array (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.
  • CPU Central Processing Unit
  • NP Network Processor
  • DSP Digital Signal Processor
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
  • the steps of the method disclosed in the embodiments of the present disclosure may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register.
  • the storage medium is located in the memory 101, and the processor 100 reads the information in the memory 101, and completes the steps of the method in the foregoing embodiments in combination with its hardware.
  • This embodiment also provides a machine-readable storage medium.
  • the machine-readable storage medium stores machine-executable instructions. When the machine-executable instructions are invoked and executed by the processor, the machine-executable instructions prompt the processor to implement the above game. Display control method:
  • control the virtual item to move In response to the movement control operation for the virtual item, control the virtual item to move; in response to the virtual item moving to the target area, determine the second display area of the first storage container; wherein, the target area includes: the first display area of the first storage container, Or an area within a preset range from the first display area; the position and/or area range of the second display area is different from that of the first display area; at least part of the second display area is closer to the virtual item than the first display area; control The first storage container moves from the first display area to the second display area.
  • the GUI further includes a container display area of the second storage container; the virtual item is pre-placed in the second storage container; and the step of controlling the movement of the virtual item in response to a movement control operation for the virtual item includes: responding to The movement control operation of the virtual item controls the removal of the virtual item from the second storage container.
  • the step of determining the second display area of the first storage container in response to the virtual item moving to the target area includes: in response to the virtual item moving to the target area, based on the relative position of the virtual item to the first display area, Determine the moving direction; control the first display area to offset along the moving direction to obtain the second display area.
  • the step of determining the moving direction based on the relative position of the virtual item to the first display area includes: in response to the virtual item moving to the target area, moving the virtual item relative to the first display area.
  • the first direction where the display area is located is determined as the moving direction; or, in response to the virtual item moving to the target area, the second direction whose direction difference with the first direction is smaller than the preset difference is determined as the moving direction; wherein , the first direction includes: the direction of the virtual item relative to the first display area.
  • the step of determining the moving direction based on the relative position of the virtual item to the first display area in response to the virtual item moving to the target area includes: acquiring the location of the virtual item in response to the virtual item moving to the target area; Based on the preset correspondence between the position and the moving direction, the moving direction corresponding to the position of the virtual item is determined.
  • the step of determining the second display area of the first storage container in response to the virtual item moving to the target area includes: performing deformation processing on the area range of the first display area in response to the virtual item moving to the target area, Get the second display area.
  • the step of deforming the range of the first display area to obtain the second display area in response to the virtual item moving to the target area includes: expanding the first display area in response to the virtual item moving to the target area The range of the area to get the second display area.
  • the step of expanding the area range of the first display area to obtain the second display area in response to the virtual item moving to the target area includes: responding to the virtual item moving to the target area, based on the virtual item and the first display area Determine the sub-area to be enlarged in the first display area; perform enlarging processing on the sub-area, and determine the processed first display area as the second display area.
  • the step of determining the second display area of the first storage container in response to the virtual item moving to the target area includes: determining that the first storage container is available in response to the virtual item moving to the target area; wherein, in the available state Next, the first storage container has a space for placing virtual items; and the second display area of the first storage container is determined.
  • the above step of controlling the first storage container to move from the first display area to the second display area includes: controlling the first storage container to move from the first display area to the second display area according to a preset moving speed; or , to control the first storage container to move circularly between the first display area and the second display area according to the preset moving speed.
  • This feedback prompt method is more intuitive , which is easy for users to understand, and is not limited by the color style of the interface, which can reduce the cost of users' understanding of the game.
  • the computer program product of the display control method, device, electronic device, and storage medium in games provided by the embodiments of the present disclosure includes a computer-readable storage medium storing program codes, and the instructions included in the program codes can be used to execute the preceding method
  • the specific implementation may refer to the method embodiment, and details are not repeated here.
  • connection should be interpreted in a broad sense, for example, it can be a fixed connection or a detachable connection , or integrally connected; it may be mechanically connected or electrically connected; it may be directly connected or indirectly connected through an intermediary, and it may be the internal communication of two components.
  • installation should be interpreted in a broad sense, for example, it can be a fixed connection or a detachable connection , or integrally connected; it may be mechanically connected or electrically connected; it may be directly connected or indirectly connected through an intermediary, and it may be the internal communication of two components.
  • the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of the present disclosure is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present disclosure.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Computer Graphics (AREA)
  • Architecture (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本公开提供了一种游戏中的显示控制方法、装置和电子设备;其中,所述方法包括:响应于虚拟物品移动至目标区域,确定第一存储容器的第二显示区域;目标区域包括:第一存储容器的第一显示区域或者距离第一显示区域预设范围内的区域;第二显示区域与第一显示区域的位置和/或区域范围不同;第二显示区域的至少部分区域比第一显示区域更靠近虚拟物品;控制第一存储容器从第一显示区域移动至第二显示区域。该方式中,当将虚拟物品移动至目标区域后,通过改变第一存储容器的显示区域的位置和/或区域范围,以实现对虚拟物品移动的反馈提示,这种反馈提示方式直观性更好,便于用户理解,同时不受界面颜色风格的限制,从而可以降低用户对游戏的理解成本。

Description

游戏中的显示控制方法、装置和电子设备
相关申请的交叉引用
本公开要求于2021年06月04日提交中国国家知识产权局的申请号为202110629199.4、名称为“游戏中的显示控制方法、装置和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。
技术领域
本公开涉及游戏技术领域,尤其是涉及一种游戏中的显示控制方法、装置和电子设备。
背景技术
在很多游戏场景中,通常设置有放置用户所属物品的容器,例如,背包、保险箱、装备区、仓库等。根据游戏需求,用户需要将虚拟物品在多个容器之间转移,例如,将虚拟物品从仓库转移至背包,从背包转移至装备区等等。用户控制一个虚拟物品从一个容器向另一个容器转移时,目标容器对应的容器显示区域需要作出反馈提示,以提示用户该虚拟物品可以放入该目标容器。
相关技术中,当虚拟物品进入或部分进入目标容器的容器显示区域时,通常会变换容器显示区域的色彩显示参数进行反馈提示,例如,变换区域或区域边缘的颜色、亮度等参数。对于浅色界面而言,如果这些反馈提示方式采用浅色或亮色实现,反馈提示方式在视觉上不明显,很难引起用户的注意;如果这些反馈提示方式采用深色实现,则容易给用户造成误解,认为该容器禁用。因此,上述反馈提示方式直观性较差,且容易受到界面颜色的限制,从而增加了用户对游戏的理解成本。
发明内容
有鉴于此,本公开的目的在于提供一种游戏中的显示控制方法、装置和电子设备,以提升反馈提示方式的直观性,避免受到界面颜色的限制,同时,降低用户对游戏的理解成本。
第一方面,本公开实施例提供了一种游戏中的显示控制方法,通过终端设备提供一图形用户界面,图形用户界面中包括虚拟物品和显示于第一显示区域的第一存储容器;方法包括:响应针对虚拟物品的移动控制操作,控制虚拟物品移动;响应于虚拟物品移动至目标区域,确定第一存储容器的第二显示区域;其中,目标区域包括:第一存储容器的第一显示区域,或者距离第一显示区域预设范围内的区域;第二显示区域与第一显示区域的位置和/或区域范围不同;第二显示区域的至少部分区域比第一显示区域更靠近虚拟物品;控制第一存储容器从第一显示区域移动至第二显示区域。
上述图形用户界面还包括第二存储容器的容器显示区域;虚拟物品预先放置在第二存储容器中;响应针对虚拟物品的移动控制操作,控制虚拟物品移动的步骤,包括:响应针对虚拟物品的移动控制操作,控制虚拟物品从第二存储容器中移出。
上述响应于虚拟物品移动至目标区域,确定第一存储容器的第二显示区域的步骤,包括:响应于虚拟物品移动至目标区域,基于虚拟物品与第一显示区域的相对位置,确定移动方向;控制第一显示区域沿着移动方向进行偏移,得到第二显示区域。
上述响应于虚拟物品移动至目标区域,基于虚拟物品与第一显示区域的相对位置,确定移动方向的步骤,包括:响应于虚拟物品移动至目标区域,将虚拟物品相对于第一显示区域所处的第一方向,确定为移动方向;或者,响应于虚拟物品移动至目标区域,将与第一方向的方向差值小于预设差值的第二方向,确定为移动方向;其中,第一方向包括:虚拟物品相对于第一显示区域所处的方向。
上述响应于虚拟物品移动至目标区域,基于虚拟物品与第一显示区域的相对位置,确定移动方向的步骤,包括:响应于虚拟物品移动至目标区域,获取虚拟物品的所在位置;基于预先设置的位置与移动方向的对应关系,确定虚拟物品的所在位置对应的移动方向。
上述响应于虚拟物品移动至目标区域,确定第一存储容器的第二显示区域的步骤,包括:响应于虚拟物品移动至目标区域,对第一显示区域的区域范围进行形变处理,得到第二显示区域。
上述响应于虚拟物品移动至目标区域,对第一显示区域的区域范围进行形变处理,得到第二显示区域的步骤,包括:响应于虚拟物品移动至目标区域,扩大第一显示区域的区域范围,得到第二显示区域。
上述响应于虚拟物品移动至目标区域,扩大第一显示区域的区域范围,得到第二显示区域的步骤,包括:响应于虚拟物品移动至目标区域,基于虚拟物品与第一显示区域的相对位置,确定第一显示区域中待放大的子区域;对子区域进行放大处理,将处理后的第一显示区域确定为第二显示区域。
上述响应于虚拟物品移动至目标区域,确定第一存储容器的第二显示区域的步骤,包括:响应于虚拟物品移动至目标区域,确定第一存储容器可用;其中,在可用状态下,第一存储容器具有放置虚拟物品的空间;确定第一存储容器的第二显示区域。
上述控制第一存储容器从第一显示区域移动至第二显示区域的步骤,包括:按照预设移动速度,控制第一存储容器从第一显示区域移动至第二显示区域;或者,按照预设移动速度,控制第一存储容器在第一显示区域和第二显示区域之间循环移动。
第二方面,本公开实施例提供了一种游戏中的显示控制装置,通过终端设备提供一图形用户界面,图形用户界面中包括虚拟物品和显示于第一显示区域的第一存储容器;装置包括:移动控制模块,用于响应针对虚拟物品的移动控制操作,控制虚拟物品移动;确定模块,用于响应于虚拟物品移动至目标区域,确定第一存储容器的第二显示区域;其中,目标区域包括:第一存储容器的第一显示区域,或者距离第一显示区域预设范围内的区域;第二显示区域与第一显示区域的位置和/或区域范围不同;第二显示区域的至少部分区域比第一显示区域更靠近虚拟物品;移动模块,用于控制第一存储容器从第一显示区域移动至第二显示区域。
第三方面,本公开实施例提供了一种电子设备,包括处理器和存储器,存储器存储有能够被处理器执行的机器可执行指令,处理器执行机器可执行指令以实现上述游戏中的显示控制方法。
第四方面,本公开实施例提供了一种机器可读存储介质,机器可读存储介质存储有机器可执行指令,机器可执行指令在被处理器调用和执行时,机器可执行指令促使处理器实现上述游戏中的显示控制方法。
本公开实施例带来了以下有益效果:
上述游戏中的显示控制方法、装置和电子设备,响应于虚拟物品移动至目标区域,确定第一存储容器的第二显示区域;其中,目标区域包括:第一存储容器的第一显示区域,或者距离第一显示区域预设范围内的区域;第二显示区域与第一显示区域的位置和/或区域范围不同;第二显示区域的至少部分区域比第一显示区域更靠近虚拟物品;控制第一存储容器从第一显示区域移动至第二显示区域。该方式中,当将虚拟物品移动至目标区域后,通过改变第一存储容器的显示区域的位置和/或区域范围,以实现对虚拟物品移动的反馈提示,这种反馈提示方式直观性更好,便于用户理解,同时不受界面颜色风格的限制,从而可以降低用户对游戏的理解成本。
本公开的其他特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本公开而了解。本公开的目的和其他优点在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。
为使本公开的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。
附图说明
为了更清楚地说明本公开具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技 术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本公开的一些实施方式,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本公开实施例提供的一种游戏中的显示控制的交互示意图;
图2为本公开实施例提供的一种游戏中的显示控制方法的流程图;
图3为本公开实施例提供的另一种游戏中的显示控制的交互示意图;
图4为本公开实施例提供的另一种游戏中的显示控制的交互示意图;
图5为本公开实施例提供的另一种游戏中的显示控制的交互示意图;
图6为本公开实施例提供的另一种游戏中的显示控制的交互示意图;
图7为本公开实施例提供的另一种游戏中的显示控制的交互示意图;
图8为本公开实施例提供的另一种游戏中的显示控制的交互示意图;
图9为本公开实施例提供的一种游戏中的显示控制装置的结构示意图;
图10为本公开实施例提供的一种电子设备的结构示意图。
具体实施方式
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合附图对本公开的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
相关游戏场景中,通常设置有背包、保险箱、装备区、仓库等容器,用于盛放用户所拥有的虚拟物品,用户可以控制虚拟物品在背包、保险箱、装备区、仓库之间进行移动;用户控制一个虚拟物品从一个容器移动到另一个容器时,目标容器所对应的容器显示区域需要作出反馈提示,以提示用户该目标容器可以盛放该虚拟物品;相关技术中,用户控制虚拟物品进入或部分进入目标容器的容器显示区域时,该容器显示区域通常会出现边缘发光、使用特殊颜色描边或区域高亮等反馈提示;例如,参见图1所示的一种游戏中的显示控制的交互示意图,区域A为保险箱的容器显示区域,当用户将虚拟物品X拖动至区域A时,区域A会出现区域高亮、使用特殊颜色描边的反馈提示。
对于浅色界面来说,如果采用浅色或亮色的反馈提示方式,由于界面颜色较浅,会出现用户看不清反馈提示的情况,如果采用深色的反馈提示方式,容易误导用户认为该容器为禁用容器,上述反馈提示方式直观性较差,且容易受到界面颜色的限制,从而增加了用户对游戏的理解成本。
基于上述问题,本实施例提供一种游戏中的显示控制方法、装置和电子设备,该技术可以应用于需要对虚拟物品进行盛放、转移位置、管理等虚拟场景或游戏场景中。
在本公开其中一种实施例中的游戏中的显示控制方法,可以运行于终端设备或者是服务器。其中,终端设备可以为本地终端设备。当游戏中的显示控制方法运行于服务器时,该方法则可以基于云交互系统来实现与执行,其中,云交互系统包括服务器和客户端设备。
在一可选的实施方式中,云交互系统下可以运行各种云应用,例如:云游戏。以云游戏为例,云游戏是指以云计算为基础的游戏方式。在云游戏的运行模式下,游戏程序的运行主体和游戏画面呈现主体是分离的,游戏中的显示控制方法的储存与运行是在云游戏服务器上完成的,客户端设备的作用用于数据的接收、发送以及游戏画面的呈现,举例而言,客户端设备可以是靠近用户侧的具有数据传输功能的显示设备,如,移动终端、电视机、计算机、掌上电脑等;但是进行信息处理的终端设备为云端的云游戏服务器。在进行游戏时,玩家操作客户端设备向云游戏服务器发送操作指令,云游戏服务器根据操作指令运行游戏,将游戏画面等数据进行编码压缩,通过网络返回客户端设备,最后,通过客户端设备进 行解码并输出游戏画面。
在一可选的实施方式中,终端设备可以为本地终端设备。以游戏为例,本地终端设备存储有游戏程序并用于呈现游戏画面。本地终端设备用于通过图形用户界面与玩家进行交互,即,常规的通过电子设备下载安装游戏程序并运行。该本地终端设备将图形用户界面提供给玩家的方式可以包括多种,例如,可以渲染显示在终端的显示屏上,或者,通过全息投影提供给玩家。举例而言,本地终端设备可以包括显示屏和处理器,该显示屏用于呈现图形用户界面,该图形用户界面包括游戏画面,该处理器用于运行该游戏、生成图形用户界面以及控制图形用户界面在显示屏上的显示。
在一种可能的实施方式中,本公开实施例提供了一种游戏中的显示控制方法,通过终端设备提供一图形用户界面,其中,该终端设备可以是前述提到的本地终端设备,也可以是前述提到的云交互系统中的客户端设备。上述图形用户界面可以理解为采用图形方式显示的操作用户界面,用于实现终端设备与操作该终端设备的用户之间的互动;图形用户界面中包括虚拟物品和显示于第一显示区域的第一存储容器。
上述虚拟物品可以为游戏场景中的虚拟武器、虚拟药品或虚拟装备等;上述第一存储容器可以为游戏场景中设置的虚拟仓库、虚拟背包、虚拟保险箱等容器,该第一存储容器为用户想要将虚拟物品移入的容器;当用户执行针对第一存储容器的开启操作时,在上述图形用户界面中的第一显示区域显示该第一存储容器,如果第一存储容器的容量较大,则该第一存储容器中可以存放较多的虚拟物品,虚拟物品的放置位置可以是物品格子或其他形式;多个放置位置可以顺序排列,也可以以列表的形式排列,如果第一存储容器容量较大,而第一显示区域有限,则在同一时刻,该第一显示区域中仅能显示第一存储容器的部分放置位置;如果第一存储容器容量较小,也可以在第一显示区域中显示第一存储容器的全部放置位置。
参见图2所示,该游戏中的显示控制方法包括如下步骤:
步骤S202,响应针对虚拟物品的移动控制操作,控制虚拟物品移动。
上述图形用户界面中可以包括一个第一显示区域。例如,仅包括用于显示仓库的第一显示区域;图形用户界面中也可以包括多个第一显示区域,例如,同时包括用于显示背包的第一显示区域、用于显示保险箱的第一显示区域和用于显示仓库的第一显示区域等。上述针对虚拟物品的移动控制操作,具体可以为作用于虚拟物品的拖动操作或触控滑动操作,通常需要先点击该虚拟物品,在点击的状态下移动手指或鼠标,此时虚拟物品随着手指或鼠标的移动而发生位置变化。例如,在初始状态下,上述虚拟物品位于背包的第一显示区域中的位置1,用户可以从该位置1中选中该虚拟物品,在选中状态下从位置1中拖出,此时,虚拟物品则随着用户的拖动操作移动,从而控制该虚拟物品在图形用户界面中移动。
步骤S204,响应于虚拟物品移动至目标区域,确定第一存储容器的第二显示区域;其中,目标区域包括:第一存储容器的第一显示区域,或者距离第一显示区域预设范围内的区域;第二显示区域与第一显示区域的位置和/或区域范围不同;第二显示区域的至少部分区域比第一显示区域更靠近虚拟物品。
上述目标区域可以为第一存储容器的第一显示区域,也可以为距离第一显示区域预设范围内的区域,例如,当用户想要将存放在虚拟背包中的虚拟物品拖动至虚拟保险箱时,用户可以将该虚拟物品直接拖动至虚拟保险箱的第一显示区域,也可以将该虚拟物品拖动至该第一显示区域的附近,比如,靠近该第一显示区域的边缘的位置等;在实际实现时,当用户控制虚拟物品移动至目标区域时,该第一存储容器通常会作出反馈提示,比如,可以改变第一显示区域的位置,或者,改变第一显示区域的区域范围,或者,同时改变该第一显示区域的位置和区域范围,以确定该第一存储容器的第二显示区域,具体可以根据实际需求进行设置,在此不作限定,所确定的第二显示区域的部分或全部区域通常比第一显示区域更靠近虚拟物品,可以理解为,第二显示区域的部分或全部区域与虚拟物品之间的距离小于第一显示区域 与虚拟物品之间的距离;比如,如果通过改变第一显示区域的位置进行反馈提示,当用户控制虚拟物品移动至靠近第一目标区域右侧边缘的位置时,通常会将第一显示区域向右侧移动,以使所确定的第二目标区域更靠近虚拟物品。
步骤S206,控制第一存储容器从第一显示区域移动至第二显示区域。
在实际实现时,当确定上述第二显示区域后,可以控制图形用户界面中的第一存储容器从第一显示区域移动至该第二显示区域;比如,可以按照预设移动速度,控制第一存储容器从第一显示区域移动至第二显示区域等。
上述游戏中的显示控制方法,响应于虚拟物品移动至目标区域,确定第一存储容器的第二显示区域;其中,目标区域包括:第一存储容器的第一显示区域,或者距离第一显示区域预设范围内的区域;第二显示区域与第一显示区域的位置和/或区域范围不同;第二显示区域的至少部分区域比第一显示区域更靠近虚拟物品;控制第一存储容器从第一显示区域移动至第二显示区域。该方式中,当将虚拟物品移动至目标区域后,通过改变第一存储容器的显示区域的位置和/或区域范围,以实现对虚拟物品移动的反馈提示,这种反馈提示方式直观性更好,便于用户理解,同时不受界面颜色风格的限制,从而可以降低用户对游戏的理解成本。
下面描述一种适用于本实施例的具体的应用场景。上述图形用户界面还包括第二存储容器的容器显示区域;虚拟物品预先放置在第二存储容器中;响应针对虚拟物品的移动控制操作,控制虚拟物品从第二存储容器中移出。
上述第二存储容器可以为游戏场景中设置的虚拟仓库、虚拟背包、虚拟保险箱等容器;上述虚拟物品通常预先放置在该第二存储容器中,当用户执行针对第二存储容器的开启操作时,在上述图形用户界面中显示该第二存储容器的容器显示区域,如果第二存储容器容量较大,而容器显示区域有限,则在同一时刻,该容器显示区域中仅能显示第二存储容器的部分放置位置;如果第一存储容器容量较小,也可以在容器显示区域中显示第二存储容器的全部放置位置。在实际实现时,用户可以采用拖动或触控滑动的方式将虚拟物品从第二存储容器中移出;例如,在初始状态下,上述虚拟物品预先放置在背包的容器显示区域中的位置1,用户可以从该位置1中选中该虚拟物品,在选中状态下从位置1中拖出,此时,虚拟物品则随着用户的拖动操作移动,继续拖动该虚拟物品,可以将该虚拟物品从背包中移出。
上述场景中,用户可以根据实际游戏需求,通过对虚拟物品进行移动控制操作,将该虚拟物品从预先放置该虚拟物品的容器中移出,操作简单方便,可以提升用户的游戏体验。
下面描述第一存储容器的第二显示区域的具体确定方式。响应于虚拟物品移动至目标区域,基于虚拟物品与第一显示区域的相对位置,确定移动方向;控制第一显示区域沿着移动方向进行偏移,得到第二显示区域。
在实际实现时,在将虚拟物品移动至目标区域后,由于移动至目标区域的虚拟物品与第一显示区域的相对位置并不固定,比如,该虚拟物品可能位于该第一显示区域的右上角位置或左上角位置等,可以根据该相对位置,确定第一显示区域的移动方向,通过控制第一显示区域向该移动方向进行偏移,可以得到第二显示区域;比如,如果该虚拟物品位于第一显示区域的右上角位置,则所确定的移动方向可以是第一显示区域的右上角方向,控制第一显示区域向右上角方向进行偏移,得到第二显示区域。
为进一步理解本实施例,对上述移动方向的具体确定方式进行说明,响应于虚拟物品移动至目标区域,将虚拟物品相对于第一显示区域所处的第一方向,确定为移动方向;或者,响应于虚拟物品移动至目标区域,将与第一方向的方向差值小于预设差值的第二方向,确定为移动方向;其中,第一方向包括:虚拟物品相对于第一显示区域所处的方向。
上述第一方向可以基于虚拟物品的任一顶点或中心点,以及第一显示区域的任一顶点或中心点等确 定,比如,以中心点为例,在将虚拟物品移动至目标区域后,可以分别提取第一显示区域的中心点,以及虚拟物品的中心点,从该第一显示区域的中心点指向该虚拟物品的中心点的方向即为上述第一方向,可以将该方向确定为移动方向。
作为另一种实现方式,还可以将与第一方向的方向差值小于预设差值的第二方向,确定为移动方向,其中,该预设差值可以以角度等形式表示,可以根据实际需求设置该预设差值,在此不作限定;比如,继续以上述中心点为例进行说明,在分别提取第一显示区域的中心点,以及虚拟物品的中心点后,连接两个中心点可以得到两个中心点之间的连接线,基于该连接线可以确定该连接线与水平方向之间的夹角,以及与垂直方向之间的夹角,比如,虚拟物品位于第一显示区域的右上角方向,虚拟物品的中心点与第一显示区域的中心点之间的连接线与水平方向之间的夹角为20度,假设上述预设差值为10度,则上述第二方向可以是与水平方向之间的夹角在10度—30度之间的任一方向,将该第二方向确定为移动方向,相当于扩大了第一显示区域的可移动范围,移动方向的确定方式更加灵活,可以提升用户的游戏体验。
参见图3所示的另一种游戏中的显示控制的交互示意图,其中,第一存储容器和第二存储容器中均包含多个物品格子,每个物品格子对应存储容器中放置虚拟物品的位置,图形用户界面中包括显示于第一显示区域B1的第一存储容器,第二存储容器的容器显示区域A,虚拟物品X预先放置在第二存储容器的位置1中。
当用户需要将虚拟物品X从第二存储容器的容器显示区域A拖动到第一存储容器的第一显示区域B1时,具体可以参见图4所示的另一种游戏中的显示控制的交互示意图,用户将虚拟物品X从位置1拖出,移动至第一存储容器的第一显示区域B1的右侧边缘,假设第一存储容器的第一显示区域B1的中心点为m1,虚拟物品X的中心点为n,连接中心点m1和中心点n,所得到的连接线与水平方向的夹角为α,当虚拟物品X的任一顶点进入第一显示区域B1,且第一存储容器处于可用状态时,可以将中心点m1指向中心点n的方向确定为移动方向,具体的,参见图5所示的一种游戏中的显示控制的交互示意图,第一存储容器的第一显示区域B1可以整体沿着该连接线的方向进行偏移,为了使所确定的第二显示区域处于更加合适的显示位置,通常会预先设置偏移量,假设预先设置的偏移量为10px,则第一存储容器的第一显示区域B1沿着与水平方向夹角为α的方向移动10px,得到第一存储容器的第二显示区域B2,其中,第二显示区域B2的中心点为m2,第二显示区域B2的中心点m2位于第一显示区域B1的中心点m1与虚拟物品X的中心点为n的连接线上,第二显示区域B2的中心点为m2与第一显示区域B1的中心点为m1之间的距离为上述偏移量,即为10px。
当用户停止作用于虚拟物品X的拖动或触控操作时,如果虚拟物品X的任一顶点在第一显示区域B1内,可以认为该虚拟物品X在第一显示区域B1内,则可以将该虚拟物品X放入第一显示区域B1,第二显示区域B2移回原位置,即移回第一显示区域B1的位置,相应的中心点m2移回到中心点m1的位置,如果虚拟物品X不在第一显示区域B1内,则第二显示区域B2仍移回原位置,即移回第一显示区域B1的位置。
上述游戏中的显示控制方式中,可以根据虚拟物品相对于第一显示区域所处的第一方向,确定为移动方向,也可以将与第一方向的方向差值小于预设差值的第二方向,确定为移动方向,移动方向的确定方式更加灵活多样,通过所确定的移动方向改变第一显示区域的位置,以进行反馈提示,可以不受界面颜色限制,直观性更好,从而可以降低用户对游戏的理解成本,提升用户的游戏体验。
上述移动方向还可以通过下述方式确定,响应于虚拟物品移动至目标区域,获取虚拟物品的所在位置;基于预先设置的位置与移动方向的对应关系,确定虚拟物品的所在位置对应的移动方向。
在实际实现时,可以预先设置虚拟物品的所在位置与移动方向的对应关系,比如,在将虚拟物品移动至目标区域后,如果虚拟物品的位置在第一显示区域的右侧,则相应的移动方向可以是第一显示区域 向右侧方向进行偏移;如果虚拟物品的位置在第一显示区域的左侧,则相应的移动方向可以是第一显示区域向左侧方向进行偏移;如果虚拟物品的位置在第一显示区域的上侧,则相应的移动方向可以是第一显示区域向上侧方向进行偏移;如果虚拟物品的位置在第一显示区域的右侧,则相应的移动方向可以是第一显示区域向右侧方向进行偏移;具体可以根据实际需求设置位置与移动方向的对应关系,在此不作限定;当虚拟物品移动至目标区域后,可以根据预先设置的虚拟物品的所在位置与移动方向的对应关系,确定相应的移动方向,进而可以使第一显示区域沿着该移动方向进行偏移。
参见图6所示的一种游戏中的显示控制的交互示意图,其中,第一存储容器的第一显示区域B的区域范围的宽度为a,高度为b,虚拟物品X的宽度为c,高度为d,该方式预先设置有虚拟物品移动至目标区域后的所在位置与移动方向的对应关系,假设移动距离为10px,如果用户需要将虚拟物品X拖动到第一存储容器,当虚拟物品X的任一顶点进入第一显示区域B,且第一显示区域B处于可用状态时,如果虚拟物品X处于第一区域中的任一位置,可以认为该虚拟物品X从第一显示区域B的下方进入,第一存储容器从第一显示区域B垂直向下偏移10px;当虚拟物品X处于第二区域中的任一位置时,可以认为该虚拟物品X从第一存储容器的右方进入,第一存储容器从第一显示区域B水平向右偏移10px;当虚拟物品X处于第三区域中的任一位置时,可以认为该虚拟物品X从第一存储容器的上方进入,第一存储容器从第一显示区域B垂直向上偏移10px;当虚拟物品X处于第四区域中的任一位置时,可以认为该虚拟物品X从第一存储容器的左方进入,第一存储容器从第一显示区域B水平向左偏移10px。
当用户停止作用于虚拟物品X的拖动或触控操作时,如果虚拟物品X在第一存储容器的第二显示区域内,则可以将该虚拟物品X放入第一存储容器,第一存储容器从第二显示区域移回第一显示区域B;当用户停止作用于虚拟物品X的拖动或触控操作时,如果虚拟物品X不在第一存储容器的第二显示区域内,则第一存储容器从第二显示区域移回第一显示区域B。
上述游戏中的显示控制方式中,可以预先设置虚拟物品移动至目标区域后,该虚拟物品的所在位置与移动方向的对应关系,当获取到虚拟物品的所在位置后,即可确定所对应的移动方向,移动方向的确定方式更加简便快捷,可以进一步提升用户的游戏体验。
下面描述第一存储容器的第二显示区域的另一种具体确定方式。响应于虚拟物品移动至目标区域,对第一显示区域的区域范围进行形变处理,得到第二显示区域。
上述形变处理具体可以是对第一显示区域的区域范围的大小进行调整等,在实际实现时,当虚拟物品移动至目标区域后,可以对第一显示区域的区域范围进行整体或局部的放大或缩小,通过改变第一显示区域的区域范围,得到第二显示区域,以进行反馈提示,这种反馈提示方式不受界面颜色限制,直观性更好,从而可以降低用户对游戏的理解成本,提升用户的游戏体验。
进一步的,用户拖动虚拟物品达到目标区域时,可以对该第一显示区域的区域范围进行扩大,从而使反馈提示方式的直观性更好,进一步降低用户对游戏的理解成本,提升用户的游戏体验。具体的,响应于虚拟物品移动至目标区域,扩大第一显示区域的区域范围,得到第二显示区域。这里对第一显示区域的区域范围的扩大,可以是对第一显示区域的区域范围进行整体扩大,也可以是对第一显示区域的区域范围进行局部扩大,具体的扩大倍数可以根据实际需求进行设置,比如,如果扩大倍数设置为120%,则所得到的第二显示区域的区域范围是第一显示区域的区域范围的120%,再比如,当虚拟物品移动至目标区域后,可以整体扩大第一显示区域的区域范围,得到第二显示区域。
参见图7所示的一种游戏中的显示控制的交互示意图,当用户需要将虚拟物品X从第二存储容器的容器显示区域A拖动到第一存储容器时,如果虚拟物品X的任一顶点进入第一存储容器的第一显示区域B,且第一显示区域B处于可用状态时,第一显示区域B可以进行整体放大,放大后得到的第二显示区域为虚线框所包围的区域,整体扩大所得到的第二显示区域可以更靠近虚拟物品,反馈提示方式更加 明显。
进一步的,用户拖动虚拟物品达到目标区域时,可以对该第一显示区域的区域范围进行局部的扩大,这种局部放大的反馈提示方式可以在提升反馈提示直观性的同时,尽量减少对图形用户界面或第一显示区域中未放大区域的遮挡,可以在降低用户对游戏的理解成本的同时,提升用户的游戏体验。具体的,响应于虚拟物品移动至目标区域,基于虚拟物品与第一显示区域的相对位置,确定第一显示区域中待放大的子区域;对子区域进行放大处理,将处理后的第一显示区域确定为第二显示区域。
上述待放大的子区域可以根据虚拟物品与第一显示区域的相对位置确定,比如,在虚拟物品移动至目标区域后,如果虚拟物品的位置在第一显示区域的右侧,可以将第一显示区域的右侧边缘以内的部分右侧区域确定为第一显示区域中待放大的子区域,可以根据实际需求预先设置边缘线以内需要扩大的具体距离,比如,预先设置的需要扩大的具体距离为10px,则可以将第一显示区域内距离右侧边缘10px距离的部分右侧区域确定为上述待放大的子区域;对子区域的放大倍数也可以根据需求预先进行设置,比如,如果预先设置的放大倍数为200%,则将该子区域放大200%,可以以子区域的中心点、任一顶点或指定边缘等作为基准进行放大;通常为了使放大后的子区域在更靠近虚拟物品的同时,也更加符合用户的理解习惯,对子区域进行放大的方向通常与虚拟物品相对于第一显示区域的位置方向保持一致,即,如果虚拟物品在第一显示区域的右侧,则所确定的子区域可以以该子区域的左侧边缘为基准向右侧放大。
参见图8所示的一种游戏中的显示控制的交互示意图,其中,第一存储容器的第一显示区域B的区域范围的宽度为a,高度为b,虚拟物品X的宽度为c,高度为d,该方式预先设置有虚拟物品移动至目标区域后的所在位置与移动方向的对应关系,假设预先设置的需要扩大的具体距离为10px,放大比例为200%,如果用户需要将虚拟物品X拖动到第一存储容器,当虚拟物品X的任一顶点进入第一存储容器的第一显示区域B,且第一存储容器处于可用状态时,当虚拟物品X处于第五区域中的任一位置时,可以认为该虚拟物品X从第一显示区域B的右方进入,第一显示区域B内距离右侧边缘10px以内的子区域以该子区域的左侧边缘为基准向右侧放大200%;当虚拟物品X处于第六区域中的任一位置时,可以认为该虚拟物品X从第一显示区域B的左方进入,第一显示区域B内距离左侧边缘10px以内的子区域以该子区域的右侧边缘为基准向左侧放大200%;当虚拟物品X处于第七区域中的任一位置时,可以认为该虚拟物品X从第一显示区域B的上方进入,第一显示区域B内距离上侧边缘10px以内的子区域以该子区域的下侧边缘为基准向上方放大200%;当虚拟物品X处于第八区域中的任一位置时,可以认为该虚拟物品X从第一显示区域B的下方进入,第一显示区域B内距离下侧边缘10px以内的子区域以该子区域的上侧边缘为基准向下方放大200%,图8中是以虚拟物品X处于第八区域中的任一位置进入第一显示区域B时的放大效果图。
上述游戏中的显示控制方式中,用户可以拖动虚拟物品到第一显示区域,第一显示区域产生位置和/或区域范围上的变化,该反馈提示方式更加直观,提醒更明显,可以提高用户操作与反馈提示之间的亲密性,加强了可用性的暗示,并且,该方式中,第一显示区域未采用色彩显示参数的反馈提示方式,不需要新增边缘发光、特殊颜色描边等视觉资源,因此,该反馈提示方式不会受到界面颜色的限制,还可以更有效地区分虚拟物品在不同操作下的反馈提示,比如,对于仓库系统而言,可以更有力地区分仓库系统的虚拟物品控件在不同操作下的样式反馈。
下面描述第一存储容器的第二显示区域的另一种具体确定方式。响应于虚拟物品移动至目标区域,确定第一存储容器可用;其中,在可用状态下,第一存储容器具有放置虚拟物品的空间;确定第一存储容器的第二显示区域。比如,如果第一存储容器中放置虚拟物品的位置是物品格子的形式,当虚拟物品移动至目标区域后,如果该第一存储容器中还存在空闲的物品格子,且空闲的物品格子的数量足够放置虚拟物品,虚拟物品放置到空闲的物品格子后不会使第一存储容器超重,可以认为该第一存储容器具有 放置虚拟物品的空间,则可以确定该第一存储容器可用,在确定第一存储容器可用后,确定该第一存储容器的第二显示区域。通过先确定第一存储容器可用,再确定第一存储容器的第二显示区域的方式,可以保证显示控制操作的有效性,进而提升用户的游戏体验。
下面描述控制第一存储容器从第一显示区域移动至第二显示区域的一种具体的实现方式。在实际实现时,为了进一步提升反馈提示方式的直观性,提升用户的游戏体验,在确定第一存储容器的第二显示区域后,可以按照预设移动速度,控制第一存储容器从第一显示区域移动至第二显示区域;比如,可以控制第一存储容器从第一显示区域快速移动至第二显示区域,或者,也可以控制第一存储容器从第一显示区域慢速移动至第二显示区域,具体可以根据实际需求设置该预设移动速度。
作为另一种实现方式,当确定第一存储容器的第二显示区域后,也可以按照预设移动速度,控制第一存储容器在第一显示区域和第二显示区域之间循环移动。比如,可以按照预设移动速度,控制第一存储容器从第一显示区域移动至第二显示区域,当第一存储容器移动至第二显示区域后,可以先使该第一存储容器在该第二显示区域显示预设时长,然后再按照该预设移动速度,控制第一存储容器从第二显示区域移动至第一显示区域,再使该第一存储容器在该第一显示区域显示预设时长,按此方式循环移动,这种动态移动的反馈提示方式的直观性更强,更容易引起用户的注意,从而可以进一步降低用户对游戏的理解成本,提升用户的游戏体验。
对应于上述方法实施例,参见图9所示的一种游戏中的显示控制装置,通过终端设备提供一图形用户界面,图形用户界面中包括虚拟物品和显示于第一显示区域的第一存储容器;装置包括:移动控制模块90,用于响应针对虚拟物品的移动控制操作,控制虚拟物品移动;确定模块91,用于响应于虚拟物品移动至目标区域,确定第一存储容器的第二显示区域;其中,目标区域包括:第一存储容器的第一显示区域,或者距离第一显示区域预设范围内的区域;第二显示区域与第一显示区域的位置和/或区域范围不同;第二显示区域的至少部分区域比第一显示区域更靠近虚拟物品;移动模块92,用于控制第一存储容器从第一显示区域移动至第二显示区域。
上述游戏中的显示控制装置,响应于虚拟物品移动至目标区域,确定第一存储容器的第二显示区域;其中,目标区域包括:第一存储容器的第一显示区域,或者距离第一显示区域预设范围内的区域;第二显示区域与第一显示区域的位置和/或区域范围不同;第二显示区域的至少部分区域比第一显示区域更靠近虚拟物品;控制第一存储容器从第一显示区域移动至第二显示区域。该装置中,当将虚拟物品移动至目标区域后,通过改变第一显示区域的位置和/或区域范围确定第二显示区域,以进行反馈提示,这种反馈提示方式不受界面颜色限制,直观性更好,从而可以降低用户对游戏的理解成本。
上述图形用户界面还包括第二存储容器的容器显示区域;虚拟物品预先放置在第二存储容器中;上述移动控制模块,还用于:响应针对虚拟物品的移动控制操作,控制虚拟物品从第二存储容器中移出。
上述确定模块,还用于:响应于虚拟物品移动至目标区域,基于虚拟物品与第一显示区域的相对位置,确定移动方向;控制第一显示区域沿着移动方向进行偏移,得到第二显示区域。
上述确定模块,还用于:响应于虚拟物品移动至目标区域,将虚拟物品相对于第一显示区域所处的第一方向,确定为移动方向;或者,响应于虚拟物品移动至目标区域,将与第一方向的方向差值小于预设差值的第二方向,确定为移动方向;其中,第一方向包括:虚拟物品相对于第一显示区域所处的方向。
上述确定模块,还用于:响应于虚拟物品移动至目标区域,获取虚拟物品的所在位置;基于预先设置的位置与移动方向的对应关系,确定虚拟物品的所在位置对应的移动方向。
上述确定模块,还用于:响应于虚拟物品移动至目标区域,对第一显示区域的区域范围进行形变处理,得到第二显示区域。
上述确定模块,还用于:响应于虚拟物品移动至目标区域,扩大第一显示区域的区域范围,得到第 二显示区域。
上述确定模块,还用于:响应于虚拟物品移动至目标区域,基于虚拟物品与第一显示区域的相对位置,确定第一显示区域中待放大的子区域;对子区域进行放大处理,将处理后的第一显示区域确定为第二显示区域。
上述确定模块,还用于:响应于虚拟物品移动至目标区域,确定第一存储容器可用;其中,在可用状态下,第一存储容器具有放置虚拟物品的空间;确定第一存储容器的第二显示区域。
上述移动模块,还用于:按照预设移动速度,控制第一存储容器从第一显示区域移动至第二显示区域;或者,按照预设移动速度,控制第一存储容器在第一显示区域和第二显示区域之间循环移动。
上述游戏中的显示控制装置,其实现原理及产生的技术效果和前述游戏中的显示控制方法实施例相同,为简要描述,游戏中的显示控制装置实施例部分未提及之处,可参考前述游戏中的显示控制方法实施例中相应内容。
本实施例还提供一种电子设备,包括处理器和存储器,存储器存储有能够被处理器执行的机器可执行指令,处理器执行机器可执行指令以实现上述游戏中的显示控制方法。该电子设备可以是服务器,也可以是终端设备。
参见图10所示,该电子设备包括处理器100和存储器101,该存储器101存储有能够被处理器100执行的机器可执行指令,该处理器100执行机器可执行指令以实现上述游戏中的显示控制方法:
响应针对虚拟物品的移动控制操作,控制虚拟物品移动;响应于虚拟物品移动至目标区域,确定第一存储容器的第二显示区域;其中,目标区域包括:第一存储容器的第一显示区域,或者距离第一显示区域预设范围内的区域;第二显示区域与第一显示区域的位置和/或区域范围不同;第二显示区域的至少部分区域比第一显示区域更靠近虚拟物品;控制第一存储容器从第一显示区域移动至第二显示区域。
可选的,上述图形用户界面还包括第二存储容器的容器显示区域;虚拟物品预先放置在第二存储容器中;响应针对虚拟物品的移动控制操作,控制虚拟物品移动的步骤,包括:响应针对虚拟物品的移动控制操作,控制虚拟物品从第二存储容器中移出。
可选的,上述响应于虚拟物品移动至目标区域,确定第一存储容器的第二显示区域的步骤,包括:响应于虚拟物品移动至目标区域,基于虚拟物品与第一显示区域的相对位置,确定移动方向;控制第一显示区域沿着移动方向进行偏移,得到第二显示区域。
可选的,上述响应于虚拟物品移动至目标区域,基于虚拟物品与第一显示区域的相对位置,确定移动方向的步骤,包括:响应于虚拟物品移动至目标区域,将虚拟物品相对于第一显示区域所处的第一方向,确定为移动方向;或者,响应于虚拟物品移动至目标区域,将与第一方向的方向差值小于预设差值的第二方向,确定为移动方向;其中,第一方向包括:虚拟物品相对于第一显示区域所处的方向。
可选的,上述响应于虚拟物品移动至目标区域,基于虚拟物品与第一显示区域的相对位置,确定移动方向的步骤,包括:响应于虚拟物品移动至目标区域,获取虚拟物品的所在位置;基于预先设置的位置与移动方向的对应关系,确定虚拟物品的所在位置对应的移动方向。
可选的,上述响应于虚拟物品移动至目标区域,确定第一存储容器的第二显示区域的步骤,包括:响应于虚拟物品移动至目标区域,对第一显示区域的区域范围进行形变处理,得到第二显示区域。
可选的,上述响应于虚拟物品移动至目标区域,对第一显示区域的区域范围进行形变处理,得到第二显示区域的步骤,包括:响应于虚拟物品移动至目标区域,扩大第一显示区域的区域范围,得到第二显示区域。
可选的,上述响应于虚拟物品移动至目标区域,扩大第一显示区域的区域范围,得到第二显示区域的步骤,包括:响应于虚拟物品移动至目标区域,基于虚拟物品与第一显示区域的相对位置,确定第一 显示区域中待放大的子区域;对子区域进行放大处理,将处理后的第一显示区域确定为第二显示区域。
可选的,上述响应于虚拟物品移动至目标区域,确定第一存储容器的第二显示区域的步骤,包括:响应于虚拟物品移动至目标区域,确定第一存储容器可用;其中,在可用状态下,第一存储容器具有放置虚拟物品的空间;确定第一存储容器的第二显示区域。
可选的,上述控制第一存储容器从第一显示区域移动至第二显示区域的步骤,包括:按照预设移动速度,控制第一存储容器从第一显示区域移动至第二显示区域;或者,按照预设移动速度,控制第一存储容器在第一显示区域和第二显示区域之间循环移动。
通过上述方式,当将虚拟物品移动至目标区域后,通过改变第一存储容器的显示区域的位置和/或区域范围,以实现对虚拟物品移动的反馈提示,这种反馈提示方式直观性更好,便于用户理解,同时不受界面颜色风格的限制,从而可以降低用户对游戏的理解成本。
进一步地,图10所示的电子设备还包括总线102和通信接口103,处理器100、通信接口103和存储器101通过总线102连接。
其中,存储器101可能包含高速随机存取存储器(RAM,Random Access Memory),也可能还包括非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。通过至少一个通信接口103(可以是有线或者无线)实现该系统网元与至少一个其他网元之间的通信连接,可以使用互联网,广域网,本地网,城域网等。总线102可以是ISA总线、PCI总线或EISA总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图10中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。
处理器100可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器100中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器100可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(Digital Signal Processor,简称DSP)、专用集成电路(Application Specific Integrated Circuit,简称ASIC)、现场可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本公开实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本公开实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器101,处理器100读取存储器101中的信息,结合其硬件完成前述实施例的方法的步骤。
本实施例还提供一种机器可读存储介质,机器可读存储介质存储有机器可执行指令,机器可执行指令在被处理器调用和执行时,机器可执行指令促使处理器实现上述游戏中的显示控制方法:
响应针对虚拟物品的移动控制操作,控制虚拟物品移动;响应于虚拟物品移动至目标区域,确定第一存储容器的第二显示区域;其中,目标区域包括:第一存储容器的第一显示区域,或者距离第一显示区域预设范围内的区域;第二显示区域与第一显示区域的位置和/或区域范围不同;第二显示区域的至少部分区域比第一显示区域更靠近虚拟物品;控制第一存储容器从第一显示区域移动至第二显示区域。
可选的,上述图形用户界面还包括第二存储容器的容器显示区域;虚拟物品预先放置在第二存储容器中;响应针对虚拟物品的移动控制操作,控制虚拟物品移动的步骤,包括:响应针对虚拟物品的移动控制操作,控制虚拟物品从第二存储容器中移出。
可选的,上述响应于虚拟物品移动至目标区域,确定第一存储容器的第二显示区域的步骤,包括:响应于虚拟物品移动至目标区域,基于虚拟物品与第一显示区域的相对位置,确定移动方向;控制第一 显示区域沿着移动方向进行偏移,得到第二显示区域。
可选的,上述响应于虚拟物品移动至目标区域,基于虚拟物品与第一显示区域的相对位置,确定移动方向的步骤,包括:响应于虚拟物品移动至目标区域,将虚拟物品相对于第一显示区域所处的第一方向,确定为移动方向;或者,响应于虚拟物品移动至目标区域,将与第一方向的方向差值小于预设差值的第二方向,确定为移动方向;其中,第一方向包括:虚拟物品相对于第一显示区域所处的方向。
可选的,上述响应于虚拟物品移动至目标区域,基于虚拟物品与第一显示区域的相对位置,确定移动方向的步骤,包括:响应于虚拟物品移动至目标区域,获取虚拟物品的所在位置;基于预先设置的位置与移动方向的对应关系,确定虚拟物品的所在位置对应的移动方向。
可选的,上述响应于虚拟物品移动至目标区域,确定第一存储容器的第二显示区域的步骤,包括:响应于虚拟物品移动至目标区域,对第一显示区域的区域范围进行形变处理,得到第二显示区域。
可选的,上述响应于虚拟物品移动至目标区域,对第一显示区域的区域范围进行形变处理,得到第二显示区域的步骤,包括:响应于虚拟物品移动至目标区域,扩大第一显示区域的区域范围,得到第二显示区域。
可选的,上述响应于虚拟物品移动至目标区域,扩大第一显示区域的区域范围,得到第二显示区域的步骤,包括:响应于虚拟物品移动至目标区域,基于虚拟物品与第一显示区域的相对位置,确定第一显示区域中待放大的子区域;对子区域进行放大处理,将处理后的第一显示区域确定为第二显示区域。
可选的,上述响应于虚拟物品移动至目标区域,确定第一存储容器的第二显示区域的步骤,包括:响应于虚拟物品移动至目标区域,确定第一存储容器可用;其中,在可用状态下,第一存储容器具有放置虚拟物品的空间;确定第一存储容器的第二显示区域。
可选的,上述控制第一存储容器从第一显示区域移动至第二显示区域的步骤,包括:按照预设移动速度,控制第一存储容器从第一显示区域移动至第二显示区域;或者,按照预设移动速度,控制第一存储容器在第一显示区域和第二显示区域之间循环移动。
通过上述方式,当将虚拟物品移动至目标区域后,通过改变第一存储容器的显示区域的位置和/或区域范围,以实现对虚拟物品移动的反馈提示,这种反馈提示方式直观性更好,便于用户理解,同时不受界面颜色风格的限制,从而可以降低用户对游戏的理解成本。
本公开实施例所提供的游戏中的显示控制方法、装置、电子设备及存储介质的计算机程序产品,包括存储了程序代码的计算机可读存储介质,所述程序代码包括的指令可用于执行前面方法实施例中所述的方法,具体实现可参见方法实施例,在此不再赘述。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统和装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
另外,在本公开实施例的描述中,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域技术人员而言,可以具体情况理解上述术语在本公开中的具体含义。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码 的介质。
在本公开的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本公开和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本公开的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。
最后应说明的是:以上实施例,仅为本公开的具体实施方式,用以说明本公开的技术方案,而非对其限制,本公开的保护范围并不局限于此,尽管参照前述实施例对本公开进行了详细的说明,本领域技术人员应当理解:任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本公开实施例技术方案的精神和范围,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以权利要求的保护范围为准。

Claims (13)

  1. 一种游戏中的显示控制方法,其中,通过终端设备提供一图形用户界面,所述图形用户界面中包括虚拟物品和显示于第一显示区域的第一存储容器;所述方法包括:
    响应针对所述虚拟物品的移动控制操作,控制所述虚拟物品移动;
    响应于所述虚拟物品移动至目标区域,确定所述第一存储容器的第二显示区域;其中,所述目标区域包括:所述第一存储容器的第一显示区域,或者距离所述第一显示区域预设范围内的区域;所述第二显示区域与所述第一显示区域的位置和/或区域范围不同;所述第二显示区域的至少部分区域比所述第一显示区域更靠近所述虚拟物品;
    控制所述第一存储容器从所述第一显示区域移动至所述第二显示区域。
  2. 根据权利要求1所述的方法,其中,所述图形用户界面还包括第二存储容器的容器显示区域;所述虚拟物品预先放置在所述第二存储容器中;
    所述响应针对所述虚拟物品的移动控制操作,控制所述虚拟物品移动的步骤,包括:响应针对所述虚拟物品的移动控制操作,控制所述虚拟物品从所述第二存储容器中移出。
  3. 根据权利要求1所述的方法,其中,响应于所述虚拟物品移动至目标区域,确定所述第一存储容器的第二显示区域的步骤,包括:
    响应于所述虚拟物品移动至目标区域,基于所述虚拟物品与所述第一显示区域的相对位置,确定移动方向;
    控制所述第一显示区域沿着所述移动方向进行偏移,得到第二显示区域。
  4. 根据权利要求3所述的方法,其中,响应于所述虚拟物品移动至目标区域,基于所述虚拟物品与所述第一显示区域的相对位置,确定移动方向的步骤,包括:
    响应于所述虚拟物品移动至目标区域,将所述虚拟物品相对于所述第一显示区域所处的第一方向,确定为移动方向;
    或者,响应于所述虚拟物品移动至目标区域,将与第一方向的方向差值小于预设差值的第二方向,确定为移动方向;其中,所述第一方向包括:所述虚拟物品相对于所述第一显示区域所处的方向。
  5. 根据权利要求3所述的方法,其中,响应于所述虚拟物品移动至目标区域,基于所述虚拟物品与所述第一显示区域的相对位置,确定移动方向的步骤,包括:
    响应于所述虚拟物品移动至目标区域,获取所述虚拟物品的所在位置;
    基于预先设置的位置与移动方向的对应关系,确定所述虚拟物品的所在位置对应的移动方向。
  6. 根据权利要求1所述的方法,其中,响应于所述虚拟物品移动至目标区域,确定所述第一存储容器的第二显示区域的步骤,包括:
    响应于所述虚拟物品移动至目标区域,对所述第一显示区域的区域范围进行形变处理,得到第二显示区域。
  7. 根据权利要求6所述的方法,其中,响应于所述虚拟物品移动至目标区域,对所述第一显示区域的区域范围进行形变处理,得到第二显示区域的步骤,包括:
    响应于所述虚拟物品移动至目标区域,扩大所述第一显示区域的区域范围,得到第二显示区域。
  8. 根据权利要求7所述的方法,其中,响应于所述虚拟物品移动至目标区域,扩大所述第一显示区域的区域范围,得到第二显示区域的步骤,包括:
    响应于所述虚拟物品移动至目标区域,基于所述虚拟物品与所述第一显示区域的相对位置,确定所述第一显示区域中待放大的子区域;
    对所述子区域进行放大处理,将处理后的所述第一显示区域确定为第二显示区域。
  9. 根据权利要求1所述的方法,其中,响应于所述虚拟物品移动至目标区域,确定所述第一存储容器的第二显示区域的步骤,包括:
    响应于所述虚拟物品移动至目标区域,确定所述第一存储容器可用;其中,在可用状态下,所述第一存储容器具有放置所述虚拟物品的空间;
    确定所述第一存储容器的第二显示区域。
  10. 根据权利要求1所述的方法,其中,控制所述第一存储容器从所述第一显示区域移动至所述第二显示区域的步骤,包括:
    按照预设移动速度,控制所述第一存储容器从所述第一显示区域移动至所述第二显示区域;或者,按照预设移动速度,控制所述第一存储容器在所述第一显示区域和所述第二显示区域之间循环移动。
  11. 一种游戏中的显示控制装置,其中,通过终端设备提供一图形用户界面,所述图形用户界面中包括虚拟物品和显示于第一显示区域的第一存储容器;所述装置包括:
    移动控制模块,用于响应针对所述虚拟物品的移动控制操作,控制所述虚拟物品移动;
    确定模块,用于响应于所述虚拟物品移动至目标区域,确定所述第一存储容器的第二显示区域;其中,所述目标区域包括:所述第一存储容器的第一显示区域,或者距离所述第一显示区域预设范围内的区域;所述第二显示区域与所述第一显示区域的位置和/或区域范围不同;所述第二显示区域的至少部分区域比所述第一显示区域更靠近所述虚拟物品;
    移动模块,用于控制所述第一存储容器从第一显示区域移动至所述第二显示区域。
  12. 一种电子设备,其中,包括处理器和存储器,所述存储器存储有能够被所述处理器执行的机器可执行指令,所述处理器执行所述机器可执行指令以实现权利要求1-10任一项所述的游戏中的显示控制方法。
  13. 一种机器可读存储介质,其中,所述机器可读存储介质存储有机器可执行指令,所述机器可执行指令在被处理器调用和执行时,所述机器可执行指令促使所述处理器实现权利要求1-10任一项所述的游戏中的显示控制方法。
PCT/CN2022/082771 2021-06-04 2022-03-24 游戏中的显示控制方法、装置和电子设备 WO2022252775A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US18/032,670 US20230405460A1 (en) 2021-06-04 2022-03-24 In-game display controlling method, device and electronic equipment
JP2022580271A JP7456021B2 (ja) 2021-06-04 2022-03-24 ゲームの表示制御方法、表示制御装置、電子機器および機械可読記憶媒体

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110629199.4A CN113262474A (zh) 2021-06-04 2021-06-04 游戏中的显示控制方法、装置和电子设备
CN202110629199.4 2021-06-04

Publications (1)

Publication Number Publication Date
WO2022252775A1 true WO2022252775A1 (zh) 2022-12-08

Family

ID=77234315

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/082771 WO2022252775A1 (zh) 2021-06-04 2022-03-24 游戏中的显示控制方法、装置和电子设备

Country Status (4)

Country Link
US (1) US20230405460A1 (zh)
JP (1) JP7456021B2 (zh)
CN (1) CN113262474A (zh)
WO (1) WO2022252775A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113262474A (zh) * 2021-06-04 2021-08-17 网易(杭州)网络有限公司 游戏中的显示控制方法、装置和电子设备
WO2023052849A1 (en) * 2021-09-30 2023-04-06 Sensetime International Pte. Ltd. Methods and apparatuses for displaying process of game and electronic device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013246708A (ja) * 2012-05-28 2013-12-09 Nintendo Co Ltd 表示制御システム、表示制御方法、表示制御装置及び表示制御プログラム
CN110201403A (zh) * 2019-06-05 2019-09-06 腾讯科技(深圳)有限公司 控制虚拟对象对虚拟物品进行丢弃的方法、装置及介质
CN111701237A (zh) * 2020-07-16 2020-09-25 腾讯科技(深圳)有限公司 虚拟道具的放置方法和装置、存储介质及电子设备
CN111803933A (zh) * 2020-07-22 2020-10-23 网易(杭州)网络有限公司 游戏中的道具操控方法、终端、电子设备及可读存储介质
CN111821692A (zh) * 2020-07-24 2020-10-27 网易(杭州)网络有限公司 一种游戏中道具的交易方法、装置、计算机设备和介质
CN112206523A (zh) * 2020-10-26 2021-01-12 腾讯科技(深圳)有限公司 游戏控制方法、装置、存储介质和电子设备
CN113262474A (zh) * 2021-06-04 2021-08-17 网易(杭州)网络有限公司 游戏中的显示控制方法、装置和电子设备

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000126446A (ja) 1998-10-23 2000-05-09 Square Co Ltd ゲーム装置、ゲームのアイテム収容方法、および情報記録媒体
JP3133299B2 (ja) 1999-03-12 2001-02-05 株式会社スクウェア ゲーム装置、動画像表示方法及び記録媒体
JP4115809B2 (ja) 2002-11-11 2008-07-09 任天堂株式会社 ゲームシステム及びゲームプログラム
JP2008073184A (ja) * 2006-09-20 2008-04-03 Namco Bandai Games Inc プログラム、情報記憶媒体及びゲーム装置
JP4801009B2 (ja) 2007-06-18 2011-10-26 株式会社コナミデジタルエンタテインメント 画像処理装置、画像処理方法、ならびに、プログラム
WO2016111872A1 (en) * 2015-01-05 2016-07-14 Sony Corporation Personalized integrated video user experience
JP6152394B2 (ja) 2015-03-02 2017-06-21 株式会社リイカ 情報処理プログラム
CN108459811B (zh) * 2018-01-09 2021-03-16 网易(杭州)网络有限公司 虚拟道具的处理方法、装置、电子设备及存储介质
CN111701233B (zh) * 2020-06-18 2023-04-07 网易(杭州)网络有限公司 界面显示控制方法、装置、设备及存储介质
CN111782127A (zh) * 2020-07-02 2020-10-16 Oppo广东移动通信有限公司 显示方法、装置、电子设备及存储介质
CN111744176B (zh) * 2020-07-09 2021-07-27 腾讯科技(深圳)有限公司 虚拟物品的控制方法和装置及存储介质
CN111949900B (zh) * 2020-08-12 2024-05-17 北京百度网讯科技有限公司 显示方法、装置、设备以及存储介质
CN112370780B (zh) * 2020-11-30 2022-09-13 腾讯科技(深圳)有限公司 虚拟控件的显示方法和装置、存储介质及电子设备
CN112764618A (zh) * 2021-01-22 2021-05-07 维沃移动通信有限公司 界面操作方法、装置、设备及存储介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013246708A (ja) * 2012-05-28 2013-12-09 Nintendo Co Ltd 表示制御システム、表示制御方法、表示制御装置及び表示制御プログラム
CN110201403A (zh) * 2019-06-05 2019-09-06 腾讯科技(深圳)有限公司 控制虚拟对象对虚拟物品进行丢弃的方法、装置及介质
CN111701237A (zh) * 2020-07-16 2020-09-25 腾讯科技(深圳)有限公司 虚拟道具的放置方法和装置、存储介质及电子设备
CN111803933A (zh) * 2020-07-22 2020-10-23 网易(杭州)网络有限公司 游戏中的道具操控方法、终端、电子设备及可读存储介质
CN111821692A (zh) * 2020-07-24 2020-10-27 网易(杭州)网络有限公司 一种游戏中道具的交易方法、装置、计算机设备和介质
CN112206523A (zh) * 2020-10-26 2021-01-12 腾讯科技(深圳)有限公司 游戏控制方法、装置、存储介质和电子设备
CN113262474A (zh) * 2021-06-04 2021-08-17 网易(杭州)网络有限公司 游戏中的显示控制方法、装置和电子设备

Also Published As

Publication number Publication date
CN113262474A (zh) 2021-08-17
JP2023532475A (ja) 2023-07-28
JP7456021B2 (ja) 2024-03-26
US20230405460A1 (en) 2023-12-21

Similar Documents

Publication Publication Date Title
US10120538B2 (en) Providing subpages in a touch panel user interface
WO2022252775A1 (zh) 游戏中的显示控制方法、装置和电子设备
US9953454B1 (en) Systems and methods for displaying representative images
US20200058270A1 (en) Bullet screen display method and electronic device
RU2540826C2 (ru) Активация внутренней прокрутки и декорирование курсора
WO2020038168A1 (zh) 内容分享方法、装置、终端及存储介质
US11386257B2 (en) Efficient manipulation of surfaces in multi-dimensional space using energy agents
CN102549544B (zh) 动态图像呈现
KR101395426B1 (ko) 애니메이션들에서 사용할 용도의 원하는 물리적인 특징들을 지닌 그래픽 오브젝트들을 생성하기 위한 방법, 장치 및 컴퓨터 프로그램 제품
US9891794B2 (en) Browsing and selecting content items based on user gestures
JP5726916B2 (ja) マルチスクリーンの縮小及び拡大ジェスチャー
CN110347317B (zh) 一种窗口切换方法、装置、存储介质及交互智能平板
WO2015139408A1 (zh) 一种管理应用程序图标的方法及终端
WO2016082586A1 (zh) 网页更新方法及装置
CN111443863A (zh) 页面操控方法、装置、存储介质及终端
KR101676555B1 (ko) 이미지 표시 처리 방법, 장치, 프로그램 및 기록매체
CN108064369B (zh) 柔性显示屏的交互方法及装置
CN106897321B (zh) 显示地图数据的方法及装置
EP2810148A1 (en) Scrollable desktop navigation
WO2017215542A1 (zh) 展示图片的方法及装置
CN112783398A (zh) 显示控制与交互控制方法、设备、系统及存储介质
CN113805760A (zh) 界面显示方法及装置
WO2023232051A1 (zh) 页面信息和广告图片展示方法、装置、设备及存储介质
CN111638828A (zh) 界面显示方法及装置
EP3521987A1 (en) Method and device for displaying page, graphical user interface, and mobile terminal

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2022580271

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22814822

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 18032670

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22814822

Country of ref document: EP

Kind code of ref document: A1