CN111298431A - Construction method and device in game - Google Patents

Construction method and device in game Download PDF

Info

Publication number
CN111298431A
CN111298431A CN202010121829.2A CN202010121829A CN111298431A CN 111298431 A CN111298431 A CN 111298431A CN 202010121829 A CN202010121829 A CN 202010121829A CN 111298431 A CN111298431 A CN 111298431A
Authority
CN
China
Prior art keywords
area
building
constructable
virtual object
built
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010121829.2A
Other languages
Chinese (zh)
Other versions
CN111298431B (en
Inventor
李冰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202010121829.2A priority Critical patent/CN111298431B/en
Publication of CN111298431A publication Critical patent/CN111298431A/en
Application granted granted Critical
Publication of CN111298431B publication Critical patent/CN111298431B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/45Controlling the progress of the video 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/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/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor

Landscapes

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

Abstract

The embodiment of the invention provides a construction method and a device in a game, wherein a graphical user interface is provided through a display interface of first terminal equipment, the graphical user interface comprises a current game scene, and the method comprises the following steps: determining a virtual object to be built; responding to the situation that a constructable area matched with the virtual object to be constructed exists in the rest game scenes, and generating at least one construction interactive area, wherein the rest game scenes are scenes except the current game scene in a graphical user interface provided by a display interface, and the display interface comprises the graphical user interface displaying at least part of the current game scene and the at least one construction interactive area; controlling the construction interactive area to display at least one constructable area; and responding to the touch instruction aiming at the building interactive area, and building the virtual object to be built in the built area. The embodiment of the invention can realize that the user can build the virtual object while avoiding the switching of the graphical user interface lens.

Description

Construction method and device in game
Technical Field
The invention relates to the technical field of games, in particular to a construction method in a game and a construction device in the game.
Background
Under the wave of the internet, the continuous development and evolution of hardware and software technologies have promoted the emergence of intelligent devices and software. Meanwhile, a great amount of handgames with different subjects emerge to meet the requirements of players.
In some games, a game for a player to construct a building is provided, and the player can construct a selected building in a designated construction area. Since the current game scene may not include a constructable area, the player is required to perform scene movement to move the scene to include the constructable area to construct the building.
One current solution is to provide a prompt (e.g., arrow directions) when the current scene does not contain a constructable area, to prompt the player how to quickly move to the scene containing the constructable area, and to construct the selected building. However, this solution requires the player to correspondingly operate the mobile game scene, which affects the operating efficiency of the player.
Another current solution is that, when the current scene does not include a constructable region, after the player selects a building to be constructed in the list, the lens is automatically controlled to move to a place where the building can be constructed, and the player can construct the selected building at the place. However, this solution requires the player to move the lens back to the previous scene through the corresponding operation, which is hard to operate, and the lens moves randomly, which lacks the operability of the player, and the automatic lens movement may affect the user's positioning of the current game scene in the map.
Disclosure of Invention
In view of the above problems, embodiments of the present invention have been made to provide a construction method in a game and a construction apparatus in a corresponding game that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses a method for building a game, in which a graphical user interface is provided through a display interface of a first terminal device, the graphical user interface includes a current game scene, and the method includes:
determining a virtual object to be built;
responding to the existence of a constructable area matched with the virtual object to be constructed in other game scenes, and generating at least one construction interactive area, wherein the other game scenes are scenes except the current game scene in the graphical user interface provided by the display interface, and the graphical user interface displaying at least part of the current game scene and the at least one construction interactive area are included in the display interface;
controlling the construction interactive area to show at least one of the constructable areas;
and responding to a touch instruction aiming at the construction interactive area, and constructing the virtual object to be constructed in the constructable area.
Optionally, the step of generating at least one building interaction region comprises:
determining a relative positional relationship of the constructable region and the current scene;
and generating the building interaction area in the graphical user interface according to the relative position relation.
Optionally, the step of determining the relative position relationship between the remaining scene and the current scene includes:
determining a constructable area closest to the current game scene in a plurality of directions of the current game scene;
and determining the position corresponding to the nearest constructable area as the relative position relation of the nearest constructable area and the current game scene.
Optionally, the step of controlling the construction interaction area to display at least one of the constructable areas comprises:
determining that one or more constructable points matching the virtual object to be constructed exist in the rest game scenes;
determining at least one constructable region based on the one or more constructable points;
displaying the buildable region in the build interaction region.
Optionally, the step of displaying the build area in the build area comprises:
generating a code control corresponding to the constructable point;
displaying the code control in the constructable area, wherein the code control is used for selecting the corresponding constructable point.
Optionally, the step of building the virtual object to be built in the constructable area in response to the touch instruction for the building interactive area includes:
responding to a touch instruction aiming at the code control, and determining a target constructable point in the construction interactive area;
and building the virtual object to be built at the target building point.
Optionally, before the building the virtual object to be built at the target building point, further comprising:
generating a confirmation control corresponding to the target constructable point;
the step of building the virtual object to be built at the target buildable point includes:
and building the virtual object to be built at the target building point in response to the confirmation control corresponding to the target building point.
Optionally, the step of building the virtual object to be built in the constructable area in response to the touch instruction for the building interactive area includes:
determining a target constructable area in the construction interactive area in response to a touch instruction for the construction interactive area;
and building the virtual object to be built in the target building area.
Optionally, before the building the virtual object to be built in the target buildable region, further comprising:
generating a confirmation control corresponding to the target building area;
the step of building the virtual object to be built in the target buildable area includes:
and responding to a touch instruction aiming at the confirmation control corresponding to the target construction area, and constructing the virtual object to be constructed in the target construction area.
Optionally, the method further comprises:
and displaying the construction effect or the construction progress of the virtual object to be constructed in the construction interactive area.
The embodiment of the invention also discloses a building device in a game, which provides a graphical user interface through the display interface of the first terminal device, wherein the graphical user interface comprises the current game scene, and the device comprises:
the object determination module is used for determining a virtual object to be built;
an interaction area generating module, configured to generate at least one built interaction area in response to a built area that matches the virtual object to be built existing in the remaining game scenes, where the remaining game scenes are scenes other than the current game scene included in the graphical user interface provided by the display interface, and the display interface includes the graphical user interface on which at least part of the current game scene is displayed and the at least one built interaction area;
the interaction area display module is used for controlling the building interaction area to display at least one built area;
and the building module is used for responding to the touch instruction aiming at the building interaction area and building the virtual object to be built in the building area.
Optionally, the interaction region generating module includes:
the relation submodule is used for determining the relative position relation between the constructable area and the current scene;
and the generation submodule is used for generating the building interaction area in the graphical user interface according to the relative position relation.
Optionally, the relationship submodule includes:
a first determination unit configured to determine a closest constructable region to the current game scene at a plurality of orientations of the current game scene;
and the second determining unit is used for determining the position corresponding to the nearest constructable area as the relative position relation between the nearest constructable area and the current game scene.
Optionally, the interaction area presentation module 3 includes:
a building point determining submodule, configured to determine that one or more building points matching the virtual object to be built exist in the game scene;
a constructable region determination sub-module for determining at least one constructable region based on the one or more constructable points;
a build area presentation sub-module for presenting the build area in the build interaction area.
Optionally, the composable area display sub-module comprises:
the code control generating unit is used for generating a code control corresponding to the constructable point;
and the identification control display unit is used for displaying the code control in the constructable area, wherein the code control is used for selecting the corresponding constructable point.
Optionally, the building module comprises:
the target constructable point submodule is used for responding to a touch instruction aiming at the code control and determining a target constructable point in the construction interaction area;
a target constructable point construction sub-module for constructing the virtual object to be constructed at the target constructable point.
Optionally, the building module further comprises:
the first confirmation submodule is used for generating a confirmation control corresponding to the target constructable point;
the target constructable point construction sub-module is used for responding to the confirmation control corresponding to the target constructable point and constructing the virtual object to be constructed at the target constructable point.
Optionally, the building module comprises:
a target constructable area module for determining a target constructable area in the construction interactive area in response to a touch instruction for the construction interactive area;
a target buildable region building module for building the virtual object to be built in the target buildable region.
Optionally, the building module further comprises:
the second confirmation submodule is used for generating a confirmation control corresponding to the target building area;
and the target construction area construction module is used for responding to a touch instruction aiming at the confirmation control corresponding to the target construction area and constructing the virtual object to be constructed in the target construction area.
Optionally, the apparatus further comprises:
and the effect module is used for displaying the building effect or the building progress of the virtual object to be built in the building interaction area.
The embodiment of the invention also discloses an electronic device, which comprises a processor, a memory and a computer program stored on the memory and capable of running on the processor, wherein the computer program realizes the steps of the building method in the game when being executed by the processor.
The embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the steps of the building method in the game are realized.
The embodiment of the invention has the following advantages:
after the virtual object to be built is determined, if a constructable area matched with the virtual object to be built exists in a game scene except the current game scene, generating a building interactive area showing the constructable area in a display interface of the terminal equipment, responding to a touch instruction of a player aiming at the building interactive area, while the graphical user interface of the display interface of the terminal device remains in some or all of the current game scene, building the virtual object to be built at the position corresponding to the building-capable area in the interactive building area, thereby avoiding the situation that the player needs to move the game scene to build the virtual object to be built when the player can not build the selected virtual object to be built in the current game scene, the efficiency of the player in building the virtual object to be built is improved, and meanwhile, the influence of frequent movement of the scene on game experience of the player is avoided.
Drawings
FIG. 1 is a flow chart of the steps of a first embodiment of a method of construction in a game of the present invention;
FIG. 2 is a graphical user interface diagram of a first embodiment of a method of construction in a game of the present invention;
FIG. 3 is a graphical user interface diagram of a first embodiment of a method of construction in a game of the present invention;
FIG. 4 is a schematic illustration of the orientation of the buildable area of a first embodiment of the method of construction in a game of the present invention;
FIG. 5 is a graphical user interface diagram of a first embodiment of a method of construction in a game of the present invention;
FIG. 6 is a flow chart of the steps of a second embodiment of a method of construction in a game of the present invention;
FIG. 7 is a graphical user interface diagram of a second embodiment of a method of construction in a game of the present invention;
FIG. 8 is a graphical user interface diagram of a second embodiment of a method of construction in a game of the present invention;
FIG. 9 is a graphical user interface diagram of a second embodiment of a method of construction in a game of the present invention;
FIG. 10 is a block diagram of an embodiment of a building apparatus in a game of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The in-game construction method in the embodiment of the present invention may be executed in a terminal device or a server. The terminal device may be a local terminal device. When the game data processing method is operated as a server, the game data processing method can be a cloud game.
In an alternative embodiment, cloud gaming refers to a cloud computing-based gaming mode. In the running mode of the cloud game, the running main body of the game program and the game picture presenting main body are separated, the storage and the running of the game data processing method are completed on a cloud game server, and the cloud game client is used for receiving and sending data and presenting the game picture, for example, the cloud game client can be a display device with a data transmission function close to a user side, such as a mobile terminal, a television, a computer, a palm computer and the like; however, the terminal device performing the game data processing is a cloud game server in the cloud. When a game is played, a player operates the cloud game client to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, data such as game pictures and the like are encoded and compressed, the data are returned to the cloud game client through a network, and finally the data are decoded through the cloud game client and the game pictures are output.
In an alternative embodiment, the terminal device may be a local terminal device. The local terminal device stores a game program and is used for presenting a game screen. The local terminal device is used for interacting with the player through a graphical user interface, namely, a game program is downloaded and installed and operated through an electronic device conventionally. The manner in which the local terminal device provides the graphical user interface to the player may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal or provided to the player through holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including a game screen and a processor for running the game, generating the graphical user interface, and controlling display of the graphical user interface on the display screen.
Referring to fig. 1, there is shown a flow chart of the first step of an embodiment of a method of building in a game of the present invention, which may provide a graphical user interface through a display interface of a first terminal device, the graphical user interface including a current game scenario. The first terminal device may be the aforementioned local terminal device, and may also be the aforementioned cloud game client.
It should be noted that the embodiment of the present invention can be applied to the game types where the player builds the virtual object in the game, including but not limited to: SLG (Simulation Game), RTS (Real-Time Strategy Game). The display interface in the embodiment of the present invention may refer to an interface displayed by a display component (e.g., a touch screen or a display) of the first terminal device, and the graphical user interface may refer to an interface rendered by an application program (e.g., a game program interface).
The embodiment of the invention specifically comprises the following steps:
step 101, determining a virtual object to be built;
the virtual object to be created may be a virtual building that the player may select, for example: virtual castles, virtual factories, virtual houses, virtual docks, virtual lighthouses, and the like.
Specifically, the display interface may be provided with a build object control corresponding to the virtual object, and the first terminal device may determine, in response to the touch control with the build object control, the virtual object corresponding to the build object control as the virtual object to be built. The touch instruction may include, but is not limited to, one or more click operations, drag operations, and the like.
The first terminal device may run a game program, and a plurality of building object controls may be set in the game, where the building object controls correspond to virtual objects to be built. And the player touches the building object control to send a corresponding touch instruction to the game. The game can determine the virtual object to be built corresponding to the touch instruction as the target virtual object to be built according to the touch instruction of the player for the object to be built control, namely the virtual object to be built which is required to be built by the player.
The game can be provided with a building object list, the building object list comprises one or more building object controls, and the player can open or close the building object list so as to manage the building object controls.
Further, the player can add a common building object control or add a new building object control in the game scene.
Step 102, in response to that a constructable area matched with the virtual object to be constructed exists in the rest game scenes, generating at least one construction interactive area, wherein the rest game scenes are scenes except the current game scene in the graphical user interface provided by the display interface, and the display interface comprises the graphical user interface displaying at least part of the current game scene and the at least one construction interactive area;
in the embodiment of the present invention, the generation manner of the building interaction region includes, but is not limited to, the following three:
1. the build interaction region is generated and superimposed in the graphical user interface described above.
2. The first terminal device generates another graphical user interface (e.g., running a designated application) and generates a build interaction area in the graphical user interface.
3. And dividing the graphical user interface into a first interface and a second interface, wherein part or all of the current game scene is displayed in the first interface, and the building interaction area is displayed in the second interface.
Due to the fact that the graphical user interface of at least part of the current game scene and the at least one building interaction area are displayed in the display interface, when the user does not need to switch the game scenes, the user is shown with the building area matched with the virtual object to be built.
Wherein the constructable region may be a region within a predetermined area corresponding to the size of a virtual geographic space (e.g., ground, sea, river) in the game.
And 103, controlling the building interaction area to display at least one of the constructable areas.
After the building interactive area is generated, the constructable area is displayed in the building interactive area, so that a user can select a position for constructing the virtual object to be constructed through the visualized constructable area.
As an example, as shown in fig. 2, some or all of the to-be-created virtual objects in the game are provided with certain building conditions (for example, a building location is designated), meanwhile, the game may include a game scene that cannot be completely displayed by a larger current user interface, after determining the to-be-created virtual object 210, a player may have a situation that the remaining game scenes can build the to-be-created virtual object, at this time, at least one building interaction area 202 is generated in the image user interface 201, and is used for displaying a building-capable area that matches the to-be-created virtual object in the remaining game scenes, where the building-capable area is an area that satisfies the building conditions corresponding to the current virtual object.
And 104, responding to a touch instruction aiming at the building interaction area, and building the virtual object to be built in the built area.
In response to a touch instruction of a player on the construction interactive area, the virtual object to be constructed can be constructed in the constructable area shown in the construction interactive area while staying at the current game scene.
In the embodiment of the invention, after the virtual object to be built is determined, if a constructable area matched with the virtual object to be built exists in the game scene except the current game scene, generating a building interactive area showing the constructable area in a display interface of the terminal equipment, responding to a touch instruction of a player aiming at the building interactive area, while the graphical user interface of the display interface of the terminal device remains in some or all of the current game scene, building the virtual object to be built at the position corresponding to the building-capable area in the interactive building area, thereby avoiding the situation that the player needs to move the game scene to build the virtual object to be built when the player can not build the selected virtual object to be built in the current game scene, the efficiency of the player in building the virtual object to be built is improved, and meanwhile, the influence of frequent movement of the scene on game experience of the player is avoided.
In an optional embodiment of the invention, the step of generating at least one building interaction region may comprise:
a substep S11 of determining a relative positional relationship of the constructable region to the current scene;
and a substep S12 of generating the building interaction region in the graphical user interface according to the relative positional relationship.
Since the constructable areas in the rest of the game scenes may be located at different positions relative to the current game scene, i.e. different constructable areas in the rest of the game scenes have different relative positional relationships relative to the current game scene.
As shown in fig. 3, one or more built interactive regions 202 corresponding to the position relationship can be generated at the edge position of the graphical user interface 201 according to the relative position relationship between the different built regions and the current game scene, and the player can clearly know in what direction of the current game scene the built regions shown at the split screen position are located.
In an alternative embodiment of the present invention, the sub-step S11 may include:
substep S111, determining a constructable region nearest to the current game scene in a plurality of directions of the current game scene;
as shown in fig. 4, the composable area 203 may be located at different positions in the current game scene 201. Orientations may include, but are not limited to, directly to the left, directly to the right, directly above, directly below, above-left, below-left, above-right.
And a substep S112, determining the corresponding position of the nearest constructable area as the relative position relation of the nearest constructable area and the current game scene.
Specifically, the relative position relationship may be one or more orientations centered on the current game scene. Determining the closest constructable area to the current game scene in different directions with the current game scene as the center, determining the direction corresponding to the closest constructable area as a relative position relation, generating a constructed interactive area in a user graphical interface according to the relative position relation, and displaying the constructable area closest to the current game scene in the direction in a split screen, wherein a player can simultaneously determine a plurality of closest constructable areas in different directions, thereby reducing the difficulty of the player in analyzing the relative position between the constructable area and the current game scene.
In an alternative embodiment of the present invention, the step 104 may include:
a substep S21 of determining a target constructable region in the construction interactive region in response to a touch command for the construction interactive region;
a substep S22 of building the virtual object to be built in the target buildable region.
The player can build the interactive area by touch to determine the target composable area. When the target constructable area is determined, a virtual object to be constructed is constructed in the target constructable area.
In an alternative embodiment of the present invention, step 104 may further include: generating a confirmation control corresponding to the target building area; the sub-step S22 may specifically include building the virtual object to be built in the target building area in response to a touch instruction for the confirmation control corresponding to the target building area.
As shown in FIG. 5, when a target as-built region is determined, a confirmation control 204 corresponding to the target as-built region is generated in the user graphical interface.
The player can confirm the control through touch control to begin to build the virtual object to be built in the target area.
When the player touches the build interaction area, a generation cancellation control 205 may also correspond to the target build area. Before starting to build the virtual object, the player touches a cancel control corresponding to the target constructable area, and cancels the constructable area corresponding to the construction interactive area as the target constructable area. After the virtual object is started to be built, the player touches a cancel control corresponding to the target building area, and the virtual object to be built is stopped or canceled.
In an optional embodiment of the invention, the method may further comprise: and displaying the construction effect or the construction progress of the virtual object to be constructed in the construction interactive area.
When the player selects the target constructable area, a building effect graph (shown in fig. 5) of the virtual object to be constructed can be displayed in the construction interactive area, and the player previews the constructed effect of the virtual object to be constructed.
When the virtual object to be built is built, the current building progress and/or the current building effect of the virtual object to be built can be displayed in the building interaction area. For example: the current construction progress can be displayed in a progress bar or number percentage mode, and the current construction effect can be displayed by adopting a dynamic graph matched with the virtual object to be constructed.
Referring to fig. 6, which is a flow chart showing steps of a second embodiment of a construction method in a game according to the present invention, the embodiment of the present invention may provide a graphical user interface through a display interface of a first terminal device, the graphical user interface including a current game scene. The first terminal device may be the aforementioned local terminal device, and may also be the aforementioned cloud game client. The embodiment of the invention specifically comprises the following steps:
step 601, determining a virtual object to be built;
step 602, in response to that there is a constructable area matched with the virtual object to be constructed in the rest game scenes, generating at least one construction interactive area, where the rest game scenes are scenes other than the current game scene included in the graphical user interface provided by the display interface, and the display interface includes the graphical user interface displaying at least part of the current game scene and the at least one construction interactive area;
step 603, determining that one or more than one constructable points matched with the virtual object to be constructed exist in the rest game scenes;
step 604, determining at least one constructable area based on the one or more constructable points;
in a game scenario that the current game scenario is, there may be a constructable point that matches the virtual object to be constructed, and a corresponding constructable area may be determined based on one or more constructable points. For example: a constructable area is determined based on a plurality of constructable points of the same orientation.
Step 605, displaying the constructable region in the construction interaction region;
and 606, responding to the touch instruction aiming at the building interaction area, and building the virtual object to be built in the built area.
In an alternative embodiment of the present invention, step 605 may comprise:
a substep S31 of generating a code control corresponding to the constructable point;
substep S32, presenting the code control in the constructable region.
As shown in FIG. 7, when multiple constructable points 206 are included in the constructable region, a corresponding code control 209 may be generated for each constructable point.
As an example, the ordering of the code controls (e.g., the direction from the top to the bottom, and the left to the right of the interactive region) is consistent with the ordering of the constructable points, and the user can select the corresponding constructable points according to the positions of the code controls.
As another example, in order to improve the recognition of the relationship between the code number control and the constructable point by the player, identification information corresponding to the code number control may be generated at the constructable point, and the code number control and the constructable point have the same identification information.
For example: the method comprises the steps of marking a code control from 1 with the step length of 1, generating identification information corresponding to the code control, displaying the identification information corresponding to the code control at the position where the code control is located, and displaying the identification information corresponding to the code control by building.
In an alternative embodiment of the present invention, step 606 may comprise:
a substep S41, responding to the touch instruction aiming at the code control, and determining a target constructable point in the construction interactive area;
a substep S42 of building the virtual object to be built at the target buildable point.
And aiming at the touch instruction of the player in the code control, determining a constructable point corresponding to the touch instruction in the corresponding construction interaction area as a target constructable point, and constructing the virtual object to be constructed at the target constructable point.
In an optional embodiment of the present invention, before sub-step S42, step 606 may further include: a substep S43 of generating a confirmation control corresponding to the target constructable point; the substep S42 may specifically include: and building the virtual object to be built at the target building point in response to the confirmation control corresponding to the target building point.
As shown in fig. 8, the player may start building the virtual object to be built at the target buildable point by touching the confirmation control 207 corresponding to the target buildable point. When the player touches the code control, a cancel control 208 corresponding to the target as-built point may also be generated. Before starting to build the virtual object, the current target build point is cancelled by touching a cancellation control corresponding to the target build point by the player. After the virtual object is built, the player touches a cancel control corresponding to the target building point, and the virtual object to be built is stopped or canceled.
As shown in fig. 9, when the building of the virtual object is completed, a completion effect diagram of the virtual building object may be presented in the building interaction area 202.
In the embodiment of the invention, after the virtual object to be created is determined, if a constructable area matched with the virtual object to be created exists in a game scene except the current game scene, a construction interactive area showing the constructable area is generated in a display interface of the terminal equipment, and a touch instruction of a player aiming at the construction interactive area is responded, one constructable point in the constructable area is determined as a target constructable point, and the virtual object to be created is constructed at a position corresponding to the target constructable point while a graphical user interface of the display interface of the terminal equipment stays at a part or all of the current game scene, so that the condition that the player needs to move the game scene to construct the virtual object to be created when the selected virtual object to be created cannot be constructed in the current game scene is avoided, and the efficiency of the player in constructing the virtual object to be created is improved, meanwhile, the influence of frequent movement of the scene on the game experience of the player is avoided.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 10, there is shown a block diagram of a construction apparatus embodiment in a game of the present invention, which can provide a graphic user interface through a display interface of a first terminal device, the graphic user interface including a current game scene, the apparatus including:
an object determination module 1001 for determining a virtual object to be created;
an interaction region generating module 1002, configured to generate at least one building interaction region in response to a building region that matches the virtual object to be built existing in the rest game scenes, where the rest game scenes are scenes other than the current game scene included in the graphical user interface provided by the display interface, and the display interface includes the graphical user interface on which at least part of the current game scene is displayed and the at least one building interaction region;
an interactive area presentation module 1003 for controlling the building interactive area to present at least one of the composable areas;
a building module 1004 for building the virtual object to be built in the buildable area in response to the touch instruction for the building interactive area.
In an optional embodiment of the present invention, the interaction area generating module 1002 includes:
the relation submodule is used for determining the relative position relation between the constructable area and the current scene;
and the generation submodule is used for generating the building interaction area in the graphical user interface according to the relative position relation.
In an optional embodiment of the invention, the relationship submodule comprises:
a first determination unit configured to determine a closest constructable region to the current game scene at a plurality of orientations of the current game scene;
and the second determining unit is used for determining the position corresponding to the nearest constructable area as the relative position relation between the nearest constructable area and the current game scene.
In an optional embodiment of the present invention, the interactive area presenting module 1003 includes:
a building point determining submodule, configured to determine that one or more building points matching the virtual object to be built exist in the game scene;
a constructable region determination sub-module for determining at least one constructable region based on the one or more constructable points;
a build area presentation sub-module for presenting the build area in the build interaction area.
In an alternative embodiment of the invention, the composable area display sub-module comprises:
the code control generating unit is used for generating a code control corresponding to the constructable point;
and the identification control display unit is used for displaying the code control in the constructable area, wherein the code control is used for selecting the corresponding constructable point.
In an alternative embodiment of the present invention, the building module 1004 comprises:
the target constructable point submodule is used for responding to a touch instruction aiming at the code control and determining a target constructable point in the construction interaction area;
a target constructable point construction sub-module for constructing the virtual object to be constructed at the target constructable point.
In an alternative embodiment of the present invention, the building module 1004 further comprises:
the first confirmation submodule is used for generating a confirmation control corresponding to the target constructable point;
the target constructable point construction sub-module is used for responding to the confirmation control corresponding to the target constructable point and constructing the virtual object to be constructed at the target constructable point.
In an alternative embodiment of the present invention, the building module 1004 comprises:
a target constructable area module for determining a target constructable area in the construction interactive area in response to a touch instruction for the construction interactive area;
a target buildable region building module for building the virtual object to be built in the target buildable region.
In an alternative embodiment of the present invention, the building module 1004 further comprises:
the second confirmation submodule is used for generating a confirmation control corresponding to the target building area;
and the target construction area construction module is used for responding to a touch instruction aiming at the confirmation control corresponding to the target construction area and constructing the virtual object to be constructed in the target construction area.
In an optional embodiment of the invention, the apparatus further comprises:
and the effect module is used for displaying the building effect or the building progress of the virtual object to be built in the building interaction area.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiment of the invention also discloses an electronic device, which comprises a processor, a memory and a computer program stored on the memory and capable of running on the processor, wherein the computer program realizes the steps of the building method in the game when being executed by the processor.
The embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the steps of the building method in the game are realized.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The construction method and device in the game provided by the invention are described in detail, the principle and the implementation mode of the invention are explained by applying specific examples, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (13)

1. A method of construction in a game, providing a graphical user interface via a display interface of a first terminal device, the graphical user interface comprising a current game scene, the method comprising:
determining a virtual object to be built;
responding to the existence of a constructable area matched with the virtual object to be constructed in other game scenes, and generating at least one construction interactive area, wherein the other game scenes are scenes except the current game scene in the graphical user interface provided by the display interface, and the graphical user interface displaying at least part of the current game scene and the at least one construction interactive area are included in the display interface;
controlling the construction interactive area to show at least one of the constructable areas;
and responding to a touch instruction aiming at the construction interactive area, and constructing the virtual object to be constructed in the constructable area.
2. The method of claim 1, wherein the step of generating at least one as-built interaction region comprises:
determining a relative positional relationship of the constructable region and the current scene;
and generating the building interaction area in the graphical user interface according to the relative position relation.
3. The method of claim 2, wherein the step of determining the relative position relationship between the remaining scene and the current scene comprises:
determining a constructable area closest to the current game scene in a plurality of directions of the current game scene;
and determining the position corresponding to the nearest constructable area as the relative position relation of the nearest constructable area and the current game scene.
4. The method of claim 1, wherein said step of controlling said build interaction area to present at least one of said composable areas comprises:
determining that one or more constructable points matching the virtual object to be constructed exist in the rest game scenes;
determining at least one constructable region based on the one or more constructable points;
displaying the buildable region in the build interaction region.
5. The method of claim 4, wherein the step of displaying the build area in the build area comprises:
generating a code control corresponding to the constructable point;
displaying the code control in the constructable area, wherein the code control is used for selecting the corresponding constructable point.
6. The method of claim 5, wherein the step of building the virtual object to be built in the buildable area in response to the touch instructions for the building interactive area comprises:
responding to a touch instruction aiming at the code control, and determining a target constructable point in the construction interactive area;
and building the virtual object to be built at the target building point.
7. The method of claim 6,
before the building the virtual object to be built at the target building point, further comprising:
generating a confirmation control corresponding to the target constructable point;
the step of building the virtual object to be built at the target buildable point includes:
and building the virtual object to be built at the target building point in response to the confirmation control corresponding to the target building point.
8. The method according to claim 1, 2 or 3, wherein the step of building the virtual object to be built in the constructable area in response to the touch instruction for the building interactive area comprises:
determining a target constructable area in the construction interactive area in response to a touch instruction for the construction interactive area;
and building the virtual object to be built in the target building area.
9. The method according to claim 8, further comprising, before said building said virtual object to be built in said target buildable area:
generating a confirmation control corresponding to the target building area;
the step of building the virtual object to be built in the target buildable area includes:
and responding to a touch instruction aiming at the confirmation control corresponding to the target construction area, and constructing the virtual object to be constructed in the target construction area.
10. The method according to any one of claims 1-5, further comprising:
and displaying the construction effect or the construction progress of the virtual object to be constructed in the construction interactive area.
11. An in-game construction apparatus for providing a graphical user interface through a display interface of a first terminal device, the graphical user interface including a current game scene, the apparatus comprising:
the object determination module is used for determining a virtual object to be built;
an interaction area generating module, configured to generate at least one built interaction area in response to a built area that matches the virtual object to be built existing in the remaining game scenes, where the remaining game scenes are scenes other than the current game scene included in the graphical user interface provided by the display interface, and the display interface includes the graphical user interface on which at least part of the current game scene is displayed and the at least one built interaction area;
the interaction area display module is used for controlling the building interaction area to display at least one built area;
and the building module is used for responding to the touch instruction aiming at the building interaction area and building the virtual object to be built in the building area.
12. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the in-game building method of any one of claims 1 to 10.
13. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, realizes the steps of the in-game building method of any one of claims 1 to 10.
CN202010121829.2A 2020-02-26 2020-02-26 Construction method and device in game Active CN111298431B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010121829.2A CN111298431B (en) 2020-02-26 2020-02-26 Construction method and device in game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010121829.2A CN111298431B (en) 2020-02-26 2020-02-26 Construction method and device in game

Publications (2)

Publication Number Publication Date
CN111298431A true CN111298431A (en) 2020-06-19
CN111298431B CN111298431B (en) 2023-08-22

Family

ID=71160286

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010121829.2A Active CN111298431B (en) 2020-02-26 2020-02-26 Construction method and device in game

Country Status (1)

Country Link
CN (1) CN111298431B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111744194A (en) * 2020-07-03 2020-10-09 广州要玩娱乐网络技术股份有限公司 Virtual game control method, device and server
CN111939565A (en) * 2020-08-28 2020-11-17 腾讯科技(深圳)有限公司 Virtual scene display method, system, device, equipment and storage medium
CN112494937A (en) * 2020-12-16 2021-03-16 北京冰封互娱科技有限公司 Game scene building method and device, storage medium and computing equipment
CN113082701A (en) * 2021-04-15 2021-07-09 网易(杭州)网络有限公司 Game city construction method and electronic equipment
CN113721819A (en) * 2021-09-02 2021-11-30 网易(杭州)网络有限公司 Man-machine interaction method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170189797A1 (en) * 2014-06-06 2017-07-06 Lego A/S Interactive game apparatus and toy construction system
CN108211354A (en) * 2017-12-29 2018-06-29 网易(杭州)网络有限公司 The generation method and device of virtual resource in 3D scene of game
CN108379837A (en) * 2018-02-01 2018-08-10 网易(杭州)网络有限公司 Information processing method and device, storage medium, electronic equipment
CN109814867A (en) * 2019-01-31 2019-05-28 网易(杭州)网络有限公司 A kind of dummy model method of construction and system
US10369472B1 (en) * 2017-03-30 2019-08-06 Electronic Arts Inc. Virtual environment mapping system
CN110665225A (en) * 2019-10-08 2020-01-10 网易(杭州)网络有限公司 Control method and device in game

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170189797A1 (en) * 2014-06-06 2017-07-06 Lego A/S Interactive game apparatus and toy construction system
US10369472B1 (en) * 2017-03-30 2019-08-06 Electronic Arts Inc. Virtual environment mapping system
CN108211354A (en) * 2017-12-29 2018-06-29 网易(杭州)网络有限公司 The generation method and device of virtual resource in 3D scene of game
CN108379837A (en) * 2018-02-01 2018-08-10 网易(杭州)网络有限公司 Information processing method and device, storage medium, electronic equipment
CN109814867A (en) * 2019-01-31 2019-05-28 网易(杭州)网络有限公司 A kind of dummy model method of construction and system
CN110665225A (en) * 2019-10-08 2020-01-10 网易(杭州)网络有限公司 Control method and device in game

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111744194A (en) * 2020-07-03 2020-10-09 广州要玩娱乐网络技术股份有限公司 Virtual game control method, device and server
CN111939565A (en) * 2020-08-28 2020-11-17 腾讯科技(深圳)有限公司 Virtual scene display method, system, device, equipment and storage medium
CN111939565B (en) * 2020-08-28 2023-09-26 腾讯科技(深圳)有限公司 Virtual scene display method, system, device, equipment and storage medium
CN112494937A (en) * 2020-12-16 2021-03-16 北京冰封互娱科技有限公司 Game scene building method and device, storage medium and computing equipment
CN113082701A (en) * 2021-04-15 2021-07-09 网易(杭州)网络有限公司 Game city construction method and electronic equipment
CN113082701B (en) * 2021-04-15 2024-04-12 网易(杭州)网络有限公司 Game urban construction method and electronic equipment
CN113721819A (en) * 2021-09-02 2021-11-30 网易(杭州)网络有限公司 Man-machine interaction method and device and electronic equipment

Also Published As

Publication number Publication date
CN111298431B (en) 2023-08-22

Similar Documents

Publication Publication Date Title
CN111298431A (en) Construction method and device in game
CN111760268B (en) Path finding control method and device in game
US9283473B2 (en) Game providing device
JP5469276B1 (en) GAME SYSTEM, GAME PROGRAM, AND GAME PROVIDING METHOD FOR PROVIDING GAME SWITCHABLE BETWEEN MANUAL MODE AND AUTO MODE
CN113082708B (en) Task guiding method and device in game
JP7339318B2 (en) In-game location-based gameplay companion application
KR20190034215A (en) Digital Multimedia Platform
TWI796804B (en) Location adjusting method, device, equipment, storage medium, and program product for virtual buttons
CN112090073A (en) Game display method and device
CN113101660A (en) Game display control method and device
EP4120595A1 (en) Data processing method and apparatus for virtual scene, and electronic device and storage medium
CN112684970A (en) Adaptive display method and device of virtual scene, electronic equipment and storage medium
CN111338557B (en) Method and device for canceling and releasing game skills
US8992330B1 (en) System and method for facilitating data model substitutions for pre-existing data objects
CN113827969A (en) Interaction method and device for game objects
CN111330287A (en) Bullet screen display method and device in game, electronic equipment and storage medium
CN117018608A (en) Interaction method, device, equipment and storage medium in game
CN113384881B (en) Map display method and device in game
JP6465550B2 (en) GAME SYSTEM, GAME PROGRAM, AND GAME PROVIDING METHOD FOR PROVIDING A GAME SWITCHABLE BETWEEN MANUAL MODE AND AUTO MODE
WO2022156629A1 (en) Virtual object control method and apparatus, and electronic device, storage medium and computer program product
CN115671735A (en) Object selection method and device in game and electronic equipment
CN116688502A (en) Position marking method, device, equipment and storage medium in virtual scene
JP2023547721A (en) Screen display methods, devices, equipment, and programs in virtual scenes
CN113398588A (en) Game interaction method and device
CN111973984A (en) Coordinate control method and device for virtual scene, electronic equipment and storage medium

Legal Events

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