CN109173260B - Game unit material acquisition control method and device, storage medium and mobile terminal - Google Patents

Game unit material acquisition control method and device, storage medium and mobile terminal Download PDF

Info

Publication number
CN109173260B
CN109173260B CN201810990195.7A CN201810990195A CN109173260B CN 109173260 B CN109173260 B CN 109173260B CN 201810990195 A CN201810990195 A CN 201810990195A CN 109173260 B CN109173260 B CN 109173260B
Authority
CN
China
Prior art keywords
game
point
game unit
material collecting
unit
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.)
Active
Application number
CN201810990195.7A
Other languages
Chinese (zh)
Other versions
CN109173260A (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.)
Guangzhou Yaowan Entertainment Network Technology Co ltd
Original Assignee
Guangzhou Yaowan Entertainment Network Technology 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 Guangzhou Yaowan Entertainment Network Technology Co ltd filed Critical Guangzhou Yaowan Entertainment Network Technology Co ltd
Priority to CN201810990195.7A priority Critical patent/CN109173260B/en
Publication of CN109173260A publication Critical patent/CN109173260A/en
Application granted granted Critical
Publication of CN109173260B publication Critical patent/CN109173260B/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/55Controlling game characters or game objects based on the game progress
    • A63F13/56Computing the motion of game characters with respect to other game characters, game objects or elements of the game scene, e.g. for simulating the behaviour of a group of virtual soldiers or for path finding
    • 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
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/64Methods for processing data by generating or executing the game program for computing dynamical parameters of game objects, e.g. motion determination or computation of frictional forces for a virtual car
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/807Role playing or strategy games

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to the field of game operation control, in particular to a control method, a device, a storage medium and a mobile terminal for collecting game unit materials, wherein the method comprises the following steps: responding to a material acquisition instruction, acquiring a material acquisition point and a game unit, and establishing the relevance of the material acquisition point and the game unit; controlling a game unit to go to the material collecting point to collect corresponding materials according to the relevance; and when the game unit finishes material collection, controlling the game unit to transport the collected materials to a material recovery point, and updating the collection information of the materials. The invention can simplify the operation of controlling the game unit to collect the materials in the game, and ensure that the game unit can continuously collect the materials, thereby reducing the time for controlling the game unit to collect the materials and reducing the resource consumption of the terminal.

Description

Game unit material acquisition control method and device, storage medium and mobile terminal
Technical Field
The invention relates to the field of game operation control, in particular to a method and a device for collecting and controlling game unit materials, a storage medium and a mobile terminal.
Background
With the continuous development of internet technology and intelligent terminal hardware, particularly the development of touch screen technology, different types of games operated on a touch screen terminal appear in the game market along with the technical development, and the functions of selecting game units, controlling the game units, releasing game skills and completing game tasks in the games can be completed on the touch screen terminal.
Disclosure of Invention
In order to overcome the technical problems, in particular to the problems of complex and complicated operation of controlling the material collection of a game unit in a game in the prior art, the following technical scheme is especially provided:
in a first aspect, the invention provides a game unit material collection control method, which comprises the following steps:
responding to a material acquisition instruction, acquiring a material acquisition point and a game unit, and establishing the relevance of the material acquisition point and the game unit;
controlling a game unit to go to the material collecting point to collect corresponding materials according to the relevance;
and when the game unit finishes material collection, controlling the game unit to transport the collected materials to a material recovery point, and updating the collection information of the materials.
Further, the establishing of the association between the material collecting point and the game unit includes:
the method comprises the steps of obtaining a preset number of game units and material collecting points, distributing a plurality of game units to each material collecting point, and establishing the relevance of each material collecting point and the plurality of game units.
Further, the establishing of the association between the material collecting point and the game unit includes:
establishing the relevance of a game unit and a plurality of material collecting points;
after the game unit is controlled to go to the material collecting point to collect the corresponding material according to the relevance, the method further comprises the following steps:
when the material resources of one material collection point are exhausted, the game unit is controlled to go to another material collection point to collect the corresponding materials according to the relevance.
Further, the establishing of the association between the material collecting point and the game unit includes:
acquiring a first material collecting point with the resource capacity larger than a first preset capacity in the material collecting points;
acquiring a first game unit with a grade greater than a first preset grade in the game units;
an association of the first material collection point with the first gaming unit is established.
Further, before the controlling the gaming unit to go to the material collecting point to collect the corresponding material according to the relevance, the method further includes:
judging whether the material collecting points are in a war state area in real time;
acquiring material acquisition points in a war state area, and distributing game units in a first preset proportion to the material acquisition points in the war state area;
and acquiring material acquisition points which are not in the war state area, and distributing the game units with the second preset proportion to the material acquisition points which are not in the war state area.
Further, the controlling the gaming unit to go to the material collecting point to collect the corresponding material according to the relevance includes:
and controlling a game unit to go to the material collecting point to collect corresponding materials according to the correlation and the shortest path.
Further, the method further comprises:
when a moving instruction for a game unit is received, the relevance between the game unit and a material collecting point is deleted, and the moving unit is controlled to move to a destination according to the moving instruction.
In a second aspect, the present invention provides a game unit material collection control device, comprising:
the relevance establishing module: the system comprises a data acquisition unit, a data processing unit and a data processing unit, wherein the data processing unit is used for responding to a material acquisition instruction, acquiring a material acquisition point and a game unit and establishing the relevance of the material acquisition point and the game unit;
a first control module: the system is used for controlling a game unit to go to the material collecting point to collect corresponding materials according to the relevance;
a second control module: and the system is used for controlling the game unit to transport the collected materials to a material recovery point and updating the collection information of the materials when the game unit finishes material collection.
In a third aspect, the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the above-mentioned game unit material collection control method.
In a fourth aspect, the present invention also provides a mobile terminal comprising one or more processors, a memory, and one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to execute the above-mentioned game unit material collection control method.
Compared with the prior art, the invention has the following beneficial effects:
the invention provides a method for controlling a game unit to collect materials in a game, which is characterized by responding to a material collecting instruction, obtaining a material collecting point and the game unit, and establishing the relevance of the material collecting point and the game unit; and then, controlling the game unit to go to the material collecting point according to the relevance, wherein the game unit can continuously collect corresponding materials at the material collecting point as long as the relevance between the material collecting point and the game unit exists, so that the operation of controlling the game unit to collect the materials in the game is simplified, the game unit can continuously collect the materials, the time for controlling the game unit to collect the materials is reduced, then when the game unit finishes collecting the materials, the game unit is controlled to transport the collected materials to the material recycling point, the collecting information of the materials is updated, a terminal user can visually and clearly know the specific information of the materials collected by the game unit, and the material collecting progress can be known without other operations, so that a next-step game strategy can be formulated according to the number of the materials, and the game experience is optimized.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic flow chart illustrating a method for controlling the collection of materials for a gaming unit according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a method for controlling the collection of materials for a gaming unit according to another embodiment of the present invention;
FIG. 3 is a schematic flow chart illustrating a method for controlling the collection of materials for a gaming unit according to another embodiment of the present invention;
FIG. 4 is a schematic view of an embodiment of a gaming unit material collection control apparatus according to the present invention;
fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative only and should not be construed as limiting the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, or operations, but do not preclude the presence or addition of one or more other features, integers, steps, operations, or groups thereof.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
It will be appreciated by those skilled in the art that the terms "application," "computer program" and similar terms used herein refer to the same concepts known to those skilled in the art that refer to computer software electronically-adapted to be organized into a series of computer instructions and associated data sources. Unless otherwise specified, such nomenclature is not itself limited by the programming language class, level, or operating system or platform upon which it depends. Of course, such concepts are not limited to any type of terminal.
In one embodiment, the present invention provides a gaming unit material collection control method, as shown in FIG. 1, comprising the steps of:
s10: responding to a material acquisition instruction, acquiring a material acquisition point and a game unit, and establishing the relevance of the material acquisition point and the game unit.
In the embodiment, the weapons in the game are defined as game units, the building or the production of the building needs certain materials, the game can distribute part of the game units at the beginning, and a game player (or an end user) can control the game units to collect the materials needed by the building so as to build the needed building, and can also control the game units to collect the materials needed by producing other game units so as to produce the needed game units in the appointed building. In this embodiment, when a gaming unit needs to be controlled to collect a material, a terminal user triggers a material collection instruction through a designated operation, and a terminal game application responds to the material collection instruction to obtain a material collection point and the gaming unit, and then establishes a correlation between the material collection point and the gaming unit.
In this embodiment, an implementation manner of triggering the material collection instruction is that a terminal user selects a game unit first, and then selects a material collection point, a terminal game application judges whether the game unit has a function of collecting materials according to a game rule, if yes, the material collection instruction is triggered, the material collection point and the game unit are obtained, and a correlation between the material collection point and the game unit is established; in another embodiment of the material collection triggering instruction, a terminal user selects a material collection point first, a game unit capable of collecting materials is displayed by the terminal game application according to game rules, and the user selects the displayed game unit, then the material collection instruction is triggered, the material collection point and the game unit are obtained, and the relevance of the material collection point and the game unit is established.
S20: and controlling a game unit to go to the material collecting point to collect corresponding materials according to the relevance.
After the relevance between the material collection point and the game unit is established, the game unit is controlled to go to the material collection point according to the relevance according to the preset logic of the terminal game application. Preferably, when the gaming unit does not receive any further control commands, the gaming unit will continue to collect the corresponding material at the material collection point according to the correlation.
S30: and when the game unit finishes material collection, controlling the game unit to transport the collected materials to a material recovery point, and updating the collection information of the materials.
After the game unit goes to the material collection point to collect corresponding materials, if the game unit finishes material collection, the game unit is controlled to transport the collected materials to the material collection point, specifically, one implementation way of finishing material collection by the game unit is that the game unit finishes the maximum material collection capacity per se, and after the game unit transports the collected materials to the material collection point, the collection information of the materials is updated, so that a game player can know the collection progress of the materials in real time, and a next game strategy is formulated according to the quantity of the materials.
The embodiment provides a method for controlling a game unit to collect materials in a game, which is characterized by responding to a material collecting instruction, acquiring a material collecting point and the game unit, and establishing the relevance of the material collecting point and the game unit; and then, controlling the game unit to go to the material collecting point according to the relevance, wherein the game unit can continuously collect corresponding materials at the material collecting point as long as the relevance between the material collecting point and the game unit exists, so that the operation of controlling the game unit to collect the materials in the game is simplified, the game unit can continuously collect the materials, the time for controlling the game unit to collect the materials is reduced, then when the game unit finishes collecting the materials, the game unit is controlled to transport the collected materials to the material recycling point, the collecting information of the materials is updated, a terminal user can visually and clearly know the specific information of the materials collected by the game unit, and the material collecting progress can be known without other operations, so that a next-step game strategy can be formulated according to the number of the materials, and the game experience is optimized.
In an embodiment of the present invention, the establishing the association between the material collecting point and the game unit includes:
the method comprises the steps of obtaining a preset number of game units and material collecting points, distributing a plurality of game units to each material collecting point, and establishing the relevance of each material collecting point and the plurality of game units.
In the game, a plurality of game units and material collecting points are generally provided, in the embodiment, the number of the game units and the number of the material collecting points is more than 2, when the relevance between the material collecting points and the game units is established, the preset number of the material collecting points and the preset number of the game units are obtained, then a plurality of game units are distributed to each material collecting point, the relevance between each material collecting point and the plurality of game units is established, for example, the material collecting points comprise 4 material collecting points including a material collecting point A, a material collecting point B, a material collecting point C and a material collecting point D, 40 game units capable of collecting materials at the four material collecting points are distributed to each material collecting point, then 10 game units are distributed to each material collecting point, then the relevance between the material collecting point A and 10 game units is established, the relevance between the material collecting point B and the other 10 game units is established, and the relevance between the material collecting point B and the other 10 game units is established, The relevance between the material collecting point C and the other 10 game units is established, the relevance between the material collecting point D and the other 10 game units is established, and when the game units are controlled to go to the corresponding collecting points to collect the corresponding materials according to the relevance, the number of the game units born by different material collecting points can be reasonably distributed, so that the problem that the terminal needs to render a large number of game units at the same time due to the fact that too many game units go to the same material collecting point is avoided, and the processing efficiency of the terminal and the problem that a game picture is blocked are solved.
In an embodiment of the present invention, the establishing the association between the material collecting point and the game unit includes:
establishing the relevance of a game unit and a plurality of material collecting points;
after the game unit is controlled to go to the material collecting point to collect the corresponding material according to the relevance, the method further comprises the following steps:
when the material resources of one material collection point are exhausted, the game unit is controlled to go to another material collection point to collect the corresponding materials according to the relevance.
In the game, a plurality of game units and material collection points are generally provided, in the embodiment, the number of the game units and the material collection points is more than 2, when the association between a game unit and a material collection point is established, the association between one game unit and a plurality of material collection points is established, for example, the material collection points comprise 4 material collection points including a material collection point A, a material collection point B, a material collection point C and a material collection point D, the association between the game unit 1 and the material collection points A, B and C is established, the association between the game unit 1 and the material collection point A is greater than the association between the game unit 1 and the material collection point B than the material collection point C, when the game unit is controlled to go to the corresponding collection point according to the association to collect the corresponding material, the game unit 1 is preferentially controlled to go to the material collection point A to collect the corresponding material, further, after the game unit is controlled to go to the material collection point to collect the corresponding material according to the relevance, when the material resource of one material collection point is exhausted, the game unit is controlled to go to another material collection point to collect the corresponding material according to the relevance, for example, when the material resource of the material collection point A is exhausted, the game unit 1 is controlled to go to the material collection point B or the material collection point C to collect the corresponding material according to the relevance of the game unit 1 to the material collection point B and the material collection point C. By establishing the relevance between one game unit and a plurality of material collecting points, the game unit can continuously go to the material collecting points to collect corresponding materials, the operation of a terminal user is reduced, and the problem that the terminal consumes excessive terminal resources due to frequent operation is reduced.
Specifically, the establishing of the relevance between one game unit and a plurality of material collection points includes: and taking the current position of each game unit as a reference point, acquiring a preset number of material acquisition points closest to the current reference point, and establishing the relevance between the game unit and the preset number of material acquisition points. Further, the controlling the gaming unit to go to the material collecting point to collect the corresponding material according to the relevance includes: and selecting a material collection point which has material resources and is closest to the material collection point from a plurality of material collection points which establish the relevance with each game unit, and controlling the game unit to go to the closest material collection point to collect corresponding materials. Further, when the material resource of one material collection point is exhausted, the method for controlling the game unit to go to another material collection point to collect the corresponding material according to the relevance comprises the following steps: when the material resources of one material collecting point are exhausted, judging whether the material collecting points with the material resources are contained in a plurality of material collecting points with which each game unit establishes the relevance with the game unit currently collecting the material collecting point; if so, selecting a material collecting point which has material resources and is closest to the material recovering point from a plurality of material collecting points which establish relevance with the game unit, and controlling the game unit to move to the closest material collecting point to collect corresponding materials; otherwise, selecting the material collecting point which has the material resource and is closest to the material recovering point from all the obtained material collecting points, and controlling the game unit to go to the closest material collecting point to collect the corresponding material.
In an embodiment of the present invention, the establishing the association between the material collecting point and the game unit includes:
acquiring a first material collecting point with the resource capacity larger than a first preset capacity in the material collecting points;
acquiring a first game unit with a grade greater than a first preset grade in the game units;
an association of the first material collection point with the first gaming unit is established.
In the embodiment, when the relevance between the material collection points and the game units is established, a first material collection point with the resource capacity larger than a first preset capacity in the material collection points is obtained, a first game unit with the grade larger than a first preset grade in the game units is obtained, then the relevance between the first material collection point and the first game unit is established, and when the game units are controlled to go to the corresponding collection points to collect corresponding materials according to the relevance, the higher-grade units are distributed to the material collection points with the larger resource capacity, the game unit can collect enough materials without frequently replacing the material collecting points, so that the consumption of terminal resources is reduced, and the progress of material collection is accelerated.
As shown in fig. 2, before the controlling the gaming unit to go to the material collecting point to collect the corresponding material according to the relevance, an embodiment of the invention further includes:
s21: judging whether the material collecting points are in a war state area in real time;
s22: acquiring material acquisition points in a war state area, and distributing game units in a first preset proportion to the material acquisition points in the war state area;
s23: and acquiring material acquisition points which are not in the war state area, and distributing the game units with the second preset proportion to the material acquisition points which are not in the war state area.
In the embodiment, before a game unit is controlled to go to the material acquisition point to acquire corresponding materials, whether the material acquisition point is in a war state area is judged in real time, whether the material acquisition point has game units of an enemy or not is judged, then the material acquisition point in the war state area is acquired, the game units with a first preset proportion are distributed to the material acquisition point in the war state area, the material acquisition points not in the war state area are acquired, the game units with a second preset proportion are distributed to the material acquisition point not in the war state area, the first preset proportion is less than the second preset proportion to enable a gaming unit to securely collect the corresponding material from the material collection point.
Optionally, the number of the material collecting points and the number of the game units are more than two; before controlling the game units to go to the material collecting points to collect corresponding materials, judging whether the material collecting points are in a war state area or not in real time, if the material collecting points are in the war state area, obtaining the material collecting point closest to the recovery point and a second closest material collecting point, distributing the game units with a preset proportion to the closest material collecting point, and distributing the game units with the residual proportion to the second closest material collecting point; if the material collecting points are not in the war state area, obtaining the material collecting point closest to the collecting point, and distributing all game units to the closest material collecting point; if the material collecting points are partially in the war state area and partially not in the war state area, the material collecting points which are positioned in the war state area and are closest to the collecting points and the material collecting points which are not positioned in the war state area and are closest to the collecting points are obtained, the preset proportion of game units are distributed to the material collecting points which are positioned in the war state area and are closest to the collecting points, and the residual proportion of game units are distributed to the material collecting points which are not positioned in the war state area and are closest to the collecting points.
In an embodiment of the present invention, said controlling the gaming unit to go to the material collection point to collect the corresponding material according to the relevance comprises:
and controlling a game unit to go to the material collecting point to collect corresponding materials according to the correlation and the shortest path.
In order to reduce the consumption of terminal resources and increase the material collection speed when a game unit goes to a material collection point, in this embodiment, the game unit is controlled to go to the material collection point to collect a corresponding material according to the correlation, and specifically, the shortest path may be determined according to the map coordinates of the game unit and the material collection point and based on a greedy algorithm; alternatively, the shortest path may be determined from the game unit to the material collection point based on the a-x algorithm according to the map coordinates of the game unit and the material collection point.
As shown in fig. 3, in an embodiment of the present invention, the method further includes:
s40: when a moving instruction for a game unit is received, the relevance between the game unit and a material collecting point is deleted, and the moving unit is controlled to move to a destination according to the moving instruction.
In this embodiment, a game unit continuously goes to a material collection point to collect corresponding materials and transports the materials to a material collection point according to the above embodiment, in the process, if a movement instruction for the game unit is received, the association between the game unit and the material collection point is deleted, the mobile unit is controlled to move to a destination according to the movement instruction, for example, a terminal user wants one game unit to go to other areas, the terminal user clicks one game unit, then clicks a designated area on a game map, a movement instruction for the game unit is triggered, when the terminal game application receives the movement instruction for the game unit, the association between the game unit and the material collection point is deleted, at this time, the game unit does not go back and forth between the material collection point and the material collection point, and the mobile unit is controlled to move to the destination according to the movement instruction, the game unit can quickly complete a new task distributed by the terminal user, the response speed of the game unit is improved, the game unit does not need to wait for the game unit to transport the collected materials to a material recovery point and then go to a specified destination, and the consumption of terminal resources is reduced. Furthermore, when the material collection task of the game unit needs to be recovered, the operation can be carried out according to the embodiment, the task of the game unit can be quickly switched, and the playability of the game is improved.
In another embodiment, as shown in fig. 4, the present invention provides a game unit material collection control device, comprising:
the association establishing module 10: the system comprises a data acquisition unit, a data processing unit and a data processing unit, wherein the data processing unit is used for responding to a material acquisition instruction, acquiring a material acquisition point and a game unit and establishing the relevance of the material acquisition point and the game unit;
the first control module 20: the system is used for controlling a game unit to go to the material collecting point to collect corresponding materials according to the relevance;
the second control module 30: and the system is used for controlling the game unit to transport the collected materials to a material recovery point and updating the collection information of the materials when the game unit finishes material collection.
In an embodiment of the present invention, the association establishing module 10 performs establishing the association between the material collecting point and the game unit, including:
the method comprises the steps of obtaining a preset number of game units and material collecting points, distributing a plurality of game units to each material collecting point, and establishing the relevance of each material collecting point and the plurality of game units.
In an embodiment of the present invention, the association establishing module 10 performs establishing the association between the material collecting point and the game unit, including:
establishing the relevance of a game unit and a plurality of material collecting points;
the first control module 20 further performs:
when the material resources of one material collection point are exhausted, the game unit is controlled to go to another material collection point to collect the corresponding materials according to the relevance.
In an embodiment of the present invention, the association establishing module 10 performs establishing the association between the material collecting point and the game unit, including:
acquiring a first material collecting point with the resource capacity larger than a first preset capacity in the material collecting points;
acquiring a first game unit with a grade greater than a first preset grade in the game units;
an association of the first material collection point with the first gaming unit is established.
In an embodiment of the present invention, before the first control module 20 executes the control of the gaming unit to go to the material collecting point to collect the corresponding material according to the relevance, the method further includes:
judging whether the material collecting points are in a war state area in real time;
acquiring material acquisition points in a war state area, and distributing game units in a first preset proportion to the material acquisition points in the war state area;
and acquiring material acquisition points which are not in the war state area, and distributing the game units with the second preset proportion to the material acquisition points which are not in the war state area.
In an embodiment of the present invention, the first control module 20 executes the control of the gaming unit to go to the material collection point to collect the corresponding material according to the relevance, including:
and controlling a game unit to go to the material collecting point to collect corresponding materials according to the correlation and the shortest path.
The device further comprises:
a deletion module: the system is used for deleting the relevance between the game unit and the material collecting point when a moving instruction for the game unit is received, and controlling the moving unit to move to a destination according to the moving instruction.
In another embodiment, the present invention provides a computer-readable storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the game unit material collection control method according to the above-mentioned embodiment. The computer-readable storage medium includes, but is not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks, ROMs (Read-Only memories), RAMs (Random AcceSS memories), EPROMs (EraSable Programmable Read-Only memories), EEPROMs (Electrically EraSable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards. That is, a storage device includes any medium that stores or transmits information in a form readable by a device (e.g., a computer, a cellular phone), and may be a read-only memory, a magnetic or optical disk, or the like.
The computer-readable storage medium provided by the embodiment of the invention can realize that a material acquisition point and a game unit are acquired in response to a material acquisition instruction, and the relevance between the material acquisition point and the game unit is established; controlling a game unit to go to the material collecting point to collect corresponding materials according to the relevance; and when the game unit finishes material collection, controlling the game unit to transport the collected materials to a material recovery point, and updating the collection information of the materials. The method for controlling the game unit to collect the materials in the game is provided, the material collection point and the game unit are obtained in response to a material collection instruction, and the relevance of the material collection point and the game unit is established; and then, controlling the game unit to go to the material collecting point according to the relevance, wherein the game unit can continuously collect corresponding materials at the material collecting point as long as the relevance between the material collecting point and the game unit exists, so that the operation of controlling the game unit to collect the materials in the game is simplified, the game unit can continuously collect the materials, the time for controlling the game unit to collect the materials is reduced, then when the game unit finishes collecting the materials, the game unit is controlled to transport the collected materials to the material recycling point, the collecting information of the materials is updated, a terminal user can visually and clearly know the specific information of the materials collected by the game unit, and the material collecting progress can be known without other operations, so that a next-step game strategy can be formulated according to the number of the materials, and the game experience is optimized.
The computer-readable storage medium provided in the embodiments of the present invention can implement the embodiments of the method for controlling acquisition of a game unit material, and for specific function implementation, reference is made to the description of the method embodiments, which is not repeated herein.
In addition, in another embodiment, the present invention further provides a mobile terminal, as shown in fig. 5, which includes a processor 503, a memory 505, an input unit 507, a display unit 509, and other devices. Those skilled in the art will appreciate that the structural device illustrated in fig. 5 does not constitute a limitation of all mobile terminals and may include more or less components than those illustrated, or some components in combination. The memory 505 may be used to store the computer program 501 and the functional modules, and the processor 503 runs the computer program 501 stored in the memory 505, thereby executing various functional applications of the device and data processing. Memory 505 may be internal memory or external memory, or include both internal and external memory. The memory may comprise read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), flash memory, or random access memory. The external memory may include a hard disk, a floppy disk, a ZIP disk, a usb-disk, a magnetic tape, etc. The disclosed memory includes, but is not limited to, these types of memory. The memory 505 disclosed herein is provided by way of example only and not by way of limitation.
The input unit 507 is used for receiving signal input and receiving user input, the input unit 507 may include a touch panel and other input devices, the touch panel may collect touch operations of a user on or near the touch panel (for example, operations of a user on or near the touch panel using any suitable object or accessory such as a finger, a stylus pen, etc.) and drive a corresponding connection device according to a preset program; other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., play control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like. The display unit 509 may be used to display information input by a user or information provided to the user and various menus of the computer device. The display unit 509 may take the form of a liquid crystal display, an organic light emitting diode, or the like. The processor 503 is a control center of the computer device, connects various parts of the entire computer using various interfaces and lines, and performs various functions and processes data by operating or executing software programs and/or modules stored in the memory 503 and calling data stored in the memory.
In one embodiment, the mobile terminal includes one or more processors 503, one or more memories 505, and one or more applications 501, wherein the one or more applications 501 are stored in the memory 505 and configured to be executed by the one or more processors 503, and the one or more applications 501 are configured to execute the game unit material collection control method described in the above embodiment. The one or more processors 503 shown in fig. 5 are capable of executing and implementing the functions of the association establishing module 10, the first control module 20, and the second control module 30 shown in fig. 4.
The terminal provided by the embodiment of the invention can respond to a material acquisition instruction, acquire the material acquisition point and a game unit and establish the relevance of the material acquisition point and the game unit; controlling a game unit to go to the material collecting point to collect corresponding materials according to the relevance; and when the game unit finishes material collection, controlling the game unit to transport the collected materials to a material recovery point, and updating the collection information of the materials. The method for controlling the game unit to collect the materials in the game is provided, the material collection point and the game unit are obtained in response to a material collection instruction, and the relevance of the material collection point and the game unit is established; and then, controlling the game unit to go to the material collecting point according to the relevance, wherein the game unit can continuously collect corresponding materials at the material collecting point as long as the relevance between the material collecting point and the game unit exists, so that the operation of controlling the game unit to collect the materials in the game is simplified, the game unit can continuously collect the materials, the time for controlling the game unit to collect the materials is reduced, then when the game unit finishes collecting the materials, the game unit is controlled to transport the collected materials to the material recycling point, the collecting information of the materials is updated, a terminal user can visually and clearly know the specific information of the materials collected by the game unit, and the material collecting progress can be known without other operations, so that a next-step game strategy can be formulated according to the number of the materials, and the game experience is optimized.
The mobile terminal provided by the embodiment of the invention can implement the embodiment of the game unit material collection control method provided by the embodiment of the invention, and for specific function implementation, reference is made to the description in the method embodiment, and details are not repeated here.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (9)

1. A game unit material collection control method is characterized by comprising the following steps:
responding to a material acquisition instruction, acquiring a material acquisition point and a game unit, and establishing the relevance of the material acquisition point and the game unit;
whether the material collecting point has a game unit of an enemy or not is obtained, so that whether the material collecting point is in a war state area or not is judged in real time;
acquiring material acquisition points in a war state area, and distributing game units in a first preset proportion to the material acquisition points in the war state area;
acquiring material acquisition points which are not in a war state area, and distributing game units with a second preset proportion to the material acquisition points which are not in the war state area;
the first preset proportion is smaller than the second preset proportion;
when the material collecting points are all in a war state area, obtaining a material collecting point closest to a recovering point and a second closest material collecting point, distributing game units with preset proportion to the closest material collecting point, and distributing game units with the residual proportion to the second closest material collecting point;
when the material collecting points are not in the war state area, obtaining the material collecting point closest to the collecting point, and distributing all game units to the closest material collecting point;
controlling a game unit to go to the material collecting point to collect corresponding materials according to the relevance;
and when the game unit finishes material collection, controlling the game unit to transport the collected materials to a material recovery point, and updating the collection information of the materials.
2. The method of claim 1, wherein said establishing an association of said material collection points with gaming units comprises:
the method comprises the steps of obtaining a preset number of game units and material collecting points, distributing a plurality of game units to each material collecting point, and establishing the relevance of each material collecting point and the plurality of game units.
3. The method of claim 1, wherein said establishing an association of said material collection points with gaming units comprises:
establishing the relevance of a game unit and a plurality of material collecting points;
after the game unit is controlled to go to the material collecting point to collect the corresponding material according to the relevance, the method further comprises the following steps:
when the material resources of one material collection point are exhausted, the game unit is controlled to go to another material collection point to collect the corresponding materials according to the relevance.
4. The method of claim 1, wherein said establishing an association of said material collection points with gaming units comprises:
acquiring a first material collecting point with the resource capacity larger than a first preset capacity in the material collecting points;
acquiring a first game unit with a grade greater than a first preset grade in the game units;
an association of the first material collection point with the first gaming unit is established.
5. The method of claim 1, wherein said controlling the gaming unit to travel to the material collection point to collect the corresponding material based on the association comprises:
and controlling a game unit to go to the material collecting point to collect corresponding materials according to the correlation and the shortest path.
6. The method of claim 1, further comprising:
when a moving instruction for a game unit is received, the relevance between the game unit and a material collecting point is deleted, and the moving unit is controlled to move to a destination according to the moving instruction.
7. A gaming unit material collection control apparatus, comprising:
the relevance establishing module: the system comprises a data acquisition unit, a data processing unit and a data processing unit, wherein the data processing unit is used for responding to a material acquisition instruction, acquiring a material acquisition point and a game unit and establishing the relevance of the material acquisition point and the game unit;
whether the material collecting point has a game unit of an enemy or not is obtained, so that whether the material collecting point is in a war state area or not is judged in real time;
acquiring material acquisition points in a war state area, and distributing game units in a first preset proportion to the material acquisition points in the war state area;
acquiring material acquisition points which are not in a war state area, and distributing game units with a second preset proportion to the material acquisition points which are not in the war state area;
the first preset proportion is smaller than the second preset proportion;
when the material collecting points are all in a war state area, obtaining a material collecting point closest to a recovering point and a second closest material collecting point, distributing game units with preset proportion to the closest material collecting point, and distributing game units with the residual proportion to the second closest material collecting point;
when the material collecting points are not in the war state area, obtaining the material collecting point closest to the collecting point, and distributing all game units to the closest material collecting point;
a first control module: the system is used for controlling a game unit to go to the material collecting point to collect corresponding materials according to the relevance;
a second control module: and the system is used for controlling the game unit to transport the collected materials to a material recovery point and updating the collection information of the materials when the game unit finishes material collection.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the gaming unit material collection control method of any one of claims 1 to 6.
9. A mobile terminal, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to perform the gaming unit material collection control method of any of claims 1-6.
CN201810990195.7A 2018-08-28 2018-08-28 Game unit material acquisition control method and device, storage medium and mobile terminal Active CN109173260B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810990195.7A CN109173260B (en) 2018-08-28 2018-08-28 Game unit material acquisition control method and device, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810990195.7A CN109173260B (en) 2018-08-28 2018-08-28 Game unit material acquisition control method and device, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN109173260A CN109173260A (en) 2019-01-11
CN109173260B true CN109173260B (en) 2022-04-26

Family

ID=64916683

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810990195.7A Active CN109173260B (en) 2018-08-28 2018-08-28 Game unit material acquisition control method and device, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN109173260B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111617475B (en) * 2020-05-28 2022-03-01 腾讯科技(深圳)有限公司 Interactive object construction method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1002561A2 (en) * 1998-11-19 2000-05-24 Nintendo Co. Limited Video game apparatus and information storage medium for video game
CN107179981A (en) * 2017-05-22 2017-09-19 珠海金山网络游戏科技有限公司 A kind of method of game resource optimization

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1002561A2 (en) * 1998-11-19 2000-05-24 Nintendo Co. Limited Video game apparatus and information storage medium for video game
CN107179981A (en) * 2017-05-22 2017-09-19 珠海金山网络游戏科技有限公司 A kind of method of game resource optimization

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
挖矿的等级是怎么回事 有些矿挖不了;互联网;《https://iask.sina.com.cn/b/3105270.html》;20051205;提问以及好评回答 *
红色警戒手动矿车的几点注意事项;互联网;《http://www.uc129.com/shipin/1.006/5949.html》;20120426;网页正文第1段-最后1段 *
红色警戒采矿车怎么自己采矿;互联网;《https://zhidao.baidu.com/question/330198149.html》;20160222;默认排序的第2个回答 *

Also Published As

Publication number Publication date
CN109173260A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
WO2020134059A1 (en) Information processing method and apparatus, storage medium, and electronic device
US11766611B2 (en) Game device having improved slide-operation-driven user interface
CN113272033B (en) Method and computing device for facilitating user interaction in a gaming environment
CN108379837A (en) Information processing method and device, storage medium, electronic equipment
CN112306351B (en) Virtual key position adjusting method, device, equipment and storage medium
CN109568954B (en) Weapon type switching display method and device, storage medium and terminal
CN108355353A (en) Information processing method and device, storage medium, electronic equipment
CN109126133A (en) game unit formation control method, device, storage medium and mobile terminal
CN114225372B (en) Virtual object control method, device, terminal, storage medium and program product
US11836335B2 (en) Method and apparatus for adjusting position of virtual button, device, storage medium, and program product
CN110354506A (en) Game operation method and device
CN109395388B (en) Game unit moving and attack control method, device, storage medium and terminal
WO2023138192A1 (en) Method for controlling virtual object to pick up virtual prop, and terminal and storage medium
JP2022181206A (en) Game scene processing method, device, storage medium, and electronic device
US20230330534A1 (en) Method and apparatus for controlling opening operations in virtual scene
CN109173260B (en) Game unit material acquisition control method and device, storage medium and mobile terminal
KR102421962B1 (en) Game systems, game control devices and storage media
KR20140127931A (en) System and Method for implementing character action control skill in touch screen device
CN116510287B (en) Game control method, game control device, electronic equipment and storage medium
CN113457146B (en) Method and device for controlling display of virtual articles in game
WO2024179194A1 (en) Virtual object generation method and apparatus, and device and storage medium
CN115531881A (en) Method and device for processing tactical data in game
CN117138357A (en) Message processing method and device in virtual scene, electronic equipment and storage medium
CN116850593A (en) Interaction method, device, terminal equipment and medium in game
CN118217633A (en) Virtual object construction method, device and computer readable 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