CN110404250A - A kind of pumping card method and device in game - Google Patents
A kind of pumping card method and device in game Download PDFInfo
- Publication number
- CN110404250A CN110404250A CN201910792871.4A CN201910792871A CN110404250A CN 110404250 A CN110404250 A CN 110404250A CN 201910792871 A CN201910792871 A CN 201910792871A CN 110404250 A CN110404250 A CN 110404250A
- Authority
- CN
- China
- Prior art keywords
- card drawing
- card
- user interface
- trigger
- graphical user
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 79
- 238000005086 pumping Methods 0.000 title abstract 7
- 230000004044 response Effects 0.000 claims abstract description 35
- 238000009966 trimming Methods 0.000 claims description 43
- 230000008569 process Effects 0.000 claims description 16
- 238000012790 confirmation Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 6
- 239000002023 wood Substances 0.000 description 9
- 238000004891 communication Methods 0.000 description 7
- 230000003993 interaction Effects 0.000 description 7
- 230000000694 effects Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 235000013399 edible fruits Nutrition 0.000 description 4
- 238000007667 floating Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003247 decreasing effect Effects 0.000 description 3
- 238000000605 extraction Methods 0.000 description 3
- 239000000463 material Substances 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 230000007423 decrease Effects 0.000 description 2
- 239000013589 supplement Substances 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000000047 product Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/20—Input arrangements for video game devices
- A63F13/21—Input arrangements for video game devices characterised by their sensors, purposes or types
- A63F13/214—Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
- A63F13/2145—Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/20—Input arrangements for video game devices
- A63F13/23—Input arrangements for video game devices for interfacing with the game device, e.g. specific interfaces between game controller and console
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/80—Special adaptations for executing a specific game genre or game mode
- A63F13/822—Strategy games; Role-playing games
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
This application provides the pumping card method and devices in a kind of game, wherein, this method comprises: being applied to terminal device, the pumping card method includes: the first trigger action that response is directed to graphic user interface, display cuts object on the graphical user interface, and described cut includes object module on object;Response cuts figure for second trigger action for cutting object, based on the object module and the corresponding operation trace determination of second trigger action;Pumping card trigger event is responded, control shows that quantity corresponding with the pumping card trigger event is that the described of N cuts figure, and carries out the continuous pumping card that number is N on the graphical user interface;N is the positive integer greater than 1 or equal to 1.This method is able to ascend the interactivity during game pumping card.
Description
Technical Field
The present application relates to the field of User Interface (UI) interaction technologies, and in particular, to a method and an apparatus for drawing a card in a game.
Background
The game drawing card is used for obtaining a controllable game role in a game in a drawing mode. In the current card drawing method, generally, a user displays a card drawing interaction page on a graphical user interface of a terminal device, and when a player slides the card drawing interaction page, the card drawing is performed in response to the sliding operation of the player on the card drawing interaction page, and a card drawing result is displayed.
The current card drawing method has the problem of poor interactivity.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method and an apparatus for drawing a card in a game, which can increase interactivity during the card drawing process.
In a first aspect, an embodiment of the present application provides a card drawing method in a game, which is applied to a terminal device, and the card drawing method includes:
responding to a first trigger operation aiming at a graphical user interface, and displaying a cutting object on the graphical user interface, wherein the cutting object comprises a target model;
responding to a second trigger operation aiming at the cutting object, and determining a cutting graph based on the target model and an operation track corresponding to the second trigger operation;
responding to a card drawing triggering event, controlling the cutting graphs with the number of N corresponding to the card drawing triggering event to be displayed on the graphical user interface, and performing continuous card drawing with the number of N; n is a positive integer greater than 1 or equal to 1.
In an optional embodiment, the continuous card drawing with the number of times N includes: and controlling continuous card drawing with the number of times of N corresponding to the card drawing trigger event according to the card drawing probability, wherein the card drawing probability is determined based on the target model and the cutting graph.
In an optional embodiment, the card drawing trigger event includes any one of the following:
determining that the second trigger operation is finished;
determining a third trigger operation, wherein the third trigger operation is used for controlling the number of continuous card drawing;
determining a fourth trigger operation, wherein the fourth trigger operation is an operation acting on a confirmation control displayed on a graphical user interface and used for triggering a card drawing operation.
In an alternative embodiment, the number of the cropping objects on the graphical user interface is M;
and N is a positive integer less than or equal to M.
In an optional embodiment, when the card drawing trigger event is to determine that the second trigger operation ends or to determine a fourth touch operation, the N is equal to the M.
In an optional embodiment, when the card drawing trigger event is determination of a third trigger operation, the N is determined based on an operation parameter of the third trigger operation;
wherein the operating parameters include at least one of: operation track length, operation duration and operation track direction.
In an alternative embodiment, the first trigger operation includes one or more of the following operations:
triggering operation aiming at a card drawing control displayed on the graphical user interface;
selecting operation aiming at a plurality of preset models;
selecting operation for the number of the cutting objects;
and triggering operation aiming at the card re-drawing control displayed on the graphical user interface.
In an alternative embodiment, the second triggering operation includes: sliding operation aiming at the cutting object, or cursor dragging operation aiming at the cutting object.
In an optional implementation manner, the determining, in response to a second trigger operation for the cropping object, a cropping graphic based on an operation track corresponding to the target model and the second trigger operation includes:
responding to a second trigger operation aiming at the cropping object, selecting a starting point and an end point of cropping on the target model, and determining a cropping area by taking the operation track as a cropping track;
determining the cropped graphics based on the determined cropped area and the target model.
In an alternative embodiment, the third triggering operation includes:
sliding operation aiming at the cutting object, or cursor dragging operation aiming at the cutting object.
In an optional embodiment, after the continuous card drawing with the number of times N, the method further includes:
and displaying the continuous card drawing result on the graphical user interface.
In an optional embodiment, the graphical user interface further includes: drawing a card to quit the control;
the card drawing method further comprises the following steps:
and responding to the triggering operation aiming at the card drawing quitting control, and quitting the card drawing process.
In a second aspect, an embodiment of the present application further provides a card drawing device in a game, which is applied to a terminal device, where the card drawing device includes:
the system comprises a first response module, a first display module and a second response module, wherein the first response module is used for responding to a first trigger operation aiming at a graphical user interface and displaying a cutting object on the graphical user interface, and the cutting object comprises a target model;
a second response module, configured to determine, in response to a second trigger operation for the trimming object, a trimming graph based on the target model and an operation trajectory corresponding to the second trigger operation;
and the third response module is used for responding to a card drawing trigger event, controlling the cutting graphs with the number of N corresponding to the card drawing trigger event to be displayed on the graphical user interface, and performing continuous card drawing with the number of N, wherein N is a positive integer greater than 1 or equal to 1.
In an optional implementation manner, when the card is continuously drawn for the number of times N, the third response module is specifically configured to: and controlling continuous card drawing with the number of times of N corresponding to the card drawing trigger event according to the card drawing probability, wherein the card drawing probability is determined based on the target model and the cutting graph.
In an optional embodiment, the card drawing trigger event includes any one of the following:
determining that the second trigger operation is finished;
determining a third trigger operation, wherein the third trigger operation is used for controlling the number of continuous card drawing;
determining a fourth trigger operation, wherein the fourth trigger operation is an operation acting on a confirmation control displayed on a graphical user interface and used for triggering a card drawing operation.
In an alternative embodiment, the number of the cropping objects on the graphical user interface is M;
and N is a positive integer less than or equal to M.
In an optional embodiment, when the card drawing trigger event is to determine that the second trigger operation ends or to determine a fourth touch operation, the N is equal to the M.
In an optional embodiment, when the card drawing trigger event is determination of a third trigger operation, the N is determined based on an operation parameter of the third trigger operation;
wherein the operating parameters include at least one of: operation track length, operation duration and operation track direction.
In an alternative embodiment, the first trigger operation includes one or more of the following operations:
triggering operation aiming at a card drawing control displayed on the graphical user interface;
selecting operation aiming at a plurality of preset models;
selecting operation for the number of the cutting objects;
and triggering operation aiming at the card re-drawing control displayed on the graphical user interface.
In an alternative embodiment, the second triggering operation includes: sliding operation aiming at the cutting object, or cursor dragging operation aiming at the cutting object.
In an optional implementation manner, when the second response module determines to cut the graphic based on the target model and the operation trajectory corresponding to the second trigger operation in response to the second trigger operation for the cutting object, the second response module is specifically configured to:
responding to a second trigger operation aiming at the cropping object, selecting a starting point and an end point of cropping on the target model, and determining a cropping area by taking the operation track as a cropping track;
determining the cropped graphics based on the determined cropped area and the target model.
In an alternative embodiment, the third triggering operation includes:
sliding operation aiming at the cutting object, or cursor dragging operation aiming at the cutting object.
In an optional embodiment, the method further comprises: the display module is used for performing continuous card drawing with the number of times of N:
and displaying the continuous card drawing result on the graphical user interface.
In an optional embodiment, the graphical user interface further includes: drawing a card to quit the control;
the card drawing device further comprises: and the fourth response module is used for responding to the triggering operation aiming at the card drawing quitting control and quitting the card drawing process.
In a third aspect, an embodiment of the present application further provides a computer device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the computer device is running, the machine-readable instructions when executed by the processor performing the steps of the first aspect described above, or any possible implementation of the first aspect.
In a fourth aspect, this application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps in the first aspect or any one of the possible implementation manners of the first aspect.
According to the method and the device for the card drawing, the cutting object is displayed on the graphical user interface through responding to the first trigger operation aiming at the graphical user interface, the second trigger operation aiming at the cutting object is responded, the cutting graph is determined based on the target model on the cutting object and the operation track of the second trigger operation, then the card drawing trigger event is responded, the cutting graphs with the number of N corresponding to the drawing trigger event are displayed on the graphical user interface, the continuous card drawing with the number of N is carried out, the cutting graph is generated and displayed through the cutting of the cutting object, the card drawing is carried out, and the interactivity of the card drawing in the game is improved.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
FIG. 1 is a flow chart illustrating a method for drawing a card in a game according to an embodiment of the present application;
fig. 2a shows a specific example of a target model in the card drawing method provided in the embodiment of the present application;
fig. 2b shows an example of only one point in a first preset location on a target model on an operation track in the card extraction method provided by the embodiment of the present application;
fig. 2c shows an example of two points included in a first preset location on a target model on an operation track in the card extracting method provided by the embodiment of the present application;
fig. 2d shows an example that any point in the first preset part on the target model is not on the operation track in the card extraction method provided by the embodiment of the present application;
FIG. 3a shows a specific example of a cutting area in the card drawing method provided by the embodiment of the present application;
FIG. 3b shows a specific example of a cut-out pattern in the method for drawing a card according to the embodiment of the present application;
FIG. 4a shows another specific example of a trimming area in the card drawing method according to the embodiment of the present application;
FIG. 4b shows another specific example of a cut pattern in the method for drawing a card according to the embodiment of the present application;
FIG. 5 shows a specific example of a display of a plurality of connected cut graphs in the method for drawing a card according to the embodiment of the present application;
fig. 6 is a schematic diagram illustrating a card drawing device according to an embodiment of the present disclosure;
fig. 7 shows a schematic diagram of a computer device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
The application provides a card drawing method in a game, a cutting object is displayed on a graphical user interface through responding to a first trigger operation aiming at the graphical user interface, a second trigger operation aiming at the cutting object is responded, a cutting graph is determined based on a target model on the cutting object and an operation track of the second trigger operation, then a card drawing trigger event is responded, the cutting graphs with the number of N corresponding to the card drawing trigger event are displayed on the graphical user interface, continuous card drawing with the number of N is carried out, then the cutting of the cutting object is carried out, the cutting graphs are generated and displayed, card drawing is carried out, and interactivity of the card drawing in the game is improved.
The technical solutions in the present application will be described clearly and completely with reference to the drawings in the present application, and it should be understood that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the present application, as generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
To facilitate understanding of the present embodiment, first, a detailed description is given of a card drawing method in a game disclosed in the embodiments of the present application, where an execution main body of the card drawing method provided in the embodiments of the present application is generally a terminal device, and the terminal device includes, for example, a touch terminal and a Personal Computer (PC) terminal. The touch terminal includes, for example: smart phones, tablet computers, and the like; the PC terminal includes a desktop computer, a notebook computer and the like. The terminal device is provided with a game program corresponding to the game, and the game may be executed on a server, and data processing related to the game may be completed by the server, and the terminal may display data transmitted from the server as a display device. When the game program runs, game scenes in the game are shown in a graphical user interface of the terminal equipment. The game scenes are multiple, and at least comprise a drawing scene for drawing the card; and when the game scene displayed in the graphical user interface is a card drawing scene, a plurality of controls for controlling the card drawing process are displayed in the graphical user interface. The player can implement the card drawing operation by triggering the corresponding control.
Referring to fig. 1, a flowchart of a method for drawing a card in a game provided in the embodiment of the present application is shown, where the method includes steps S101 to S103, where:
s101: and responding to a first trigger operation aiming at the graphical user interface, and displaying a cutting object on the graphical user interface, wherein the cutting object comprises a target model.
S102: and responding to a second trigger operation aiming at the cutting object, and determining a cutting graph based on the target model and an operation track corresponding to the second trigger operation.
S103: and responding to the card drawing triggering event, controlling to display N cutting graphs corresponding to the card drawing triggering event on the graphical user interface, and performing continuous card drawing with the number of times of N, wherein N is a positive integer greater than 1 or equal to 1.
The following describes each of the above-mentioned steps S101 to S103.
I: in S101 described above, the number M of displayed trimming objects may be 1, or may be an integer greater than 1.
When the number of displayed clipping objects is 1, the number N of consecutive card drawings may be determined in S103, and the determined number N of consecutive card drawings may be 1 or an integer greater than 1.
When the number of displayed cropping objects is an integer greater than 1, the determined number of times N in S103 may be equal to M, or may be re-determined in S103; and the redetermined N is less than M.
Specifically, the method comprises the following steps: the first trigger operation for the graphical user interface includes but is not limited to one or more of the following a 1-a 4:
a 1: and triggering operation of a card drawing control displayed on the graphical user interface.
Here, a draw control is displayed on the graphical user interface, for example in the form of a button, or in the form of a draw voucher icon.
In one embodiment, the draw control may be displayed in a game scene other than the draw scene, for example, the game scene includes: the system comprises a main game scene, an activity scene, a card drawing scene, a battle scene and a task scene, wherein the card drawing control can be displayed in the main game scene; and when the player triggers the card drawing control in the main game scene, jumping the game scene from the current main game scene to the card drawing scene. If the first trigger operation only includes the trigger operation corresponding to the a1, the terminal device directly controls the graphical user interface to display the cutting object after switching the scene to the draw card scene. If the first trigger operation further comprises other operations except the operation corresponding to the a1, the terminal device displays the cutting object on the graphical user interface after responding to other trigger operations except the a1 after controlling the graphical user interface to jump from the main scene to the draw card scene.
In another embodiment, the draw control may also be displayed in the graphical user interface when the game scene is a draw scene. At this time, switching to the draw card scenario may be triggered by other controls. If the first trigger operation only includes the trigger operation corresponding to a1, the terminal device directly controls the display of the cutting object on the graphical user interface. If the first trigger operation also comprises other operations except the operation corresponding to the a1, the terminal equipment displays the cutting object on the graphical user interface after responding to all the first trigger operations.
a 2: and selecting operation aiming at a plurality of preset models.
Here, the target model indicates a base model required in determining the clipped graphic. For example, as shown in fig. 2a, a headless small paper model is used as a target model.
A selection control for selecting the plurality of models may be included in the graphical user interface. The player may determine the target model by selecting the model.
In another embodiment, the target model may be randomly determined from a plurality of models set in advance. And after the player executes the first trigger operation, randomly determining one model from the plurality of set models as a target model, and displaying the target model in the graphical user interface.
a 3: selection operation for the number of objects to be cropped.
Here, a selection control for selecting the number of trimming objects may be included in the graphic user interface. The player may select or enter the number of cropped objects M directly based on the control.
In addition, in another embodiment, the number M of the trimming objects may also be a default number, for example, the number of the trimming objects is set to 10, and at most 10 consecutive card drawings are performed for each card drawing.
For another example, the number M of trimming objects may also be the number of drawing cards.
a 4: and triggering operation of the card re-drawing control displayed on the graphical user interface.
Here, a cutting graph determined in the last card drawing can be displayed on the graphical user interface; if the player is not satisfied with the cropped graphics determined during the last draw, the cropped graphics can be re-determined by triggering the re-draw control. Or the card drawing result of the last card drawing can be displayed on the graphical user interface; if the player wants to continue drawing cards, the player can enter a new round of displaying the cutting object on the graphical user interface by triggering the card drawing control again, and the process of cutting the graph is determined in response to a second triggering operation aiming at the cutting object.
When the terminal device determines that the player performs the first triggering operation on the graphical user interface, the cutting object is displayed on the graphical user interface. The trimming object includes, for example: the shapes of the paper, the wood board, the wood block, the fruit, the plant leaf and the like are sheet shapes, spherical shapes, irregular shapes and the like, and the paper, the wood board, the wood block, the fruit, the plant leaf and the like can be specifically arranged according to actual needs.
For example, if the cutting object is a sheet of paper, the resulting cut figure may be presented in the form of a cut; if the cutting object is a wood board or a wood block, the obtained cutting graph can be displayed in a wood carving mode; if the cutting object is fruit, the obtained cutting graph can be displayed in the form of fruit carving, and the like.
When the cutting object is displayed in the graphical user interface, when the number of the cutting objects is one, only one cutting object can be displayed in the graphical user interface; in addition, the actual number of the cutting objects can be displayed; if the actual number of the trimming objects is too large, the display effect is not good when the selection is performed according to the actual number of the trimming objects, so that the overlapped trimming objects with the preset number can be displayed to indicate that the number of the trimming objects is more than one.
II: in S102 described above, the second trigger operation includes a slide operation for the trimming object or a cursor drag operation for the trimming object.
Specifically, if the terminal device executing the card drawing method is a touch terminal, the second trigger operation is a sliding operation for the cutting object; and if the terminal equipment executing the card drawing method is a PC terminal, the second trigger operation is a cursor dragging operation aiming at the cutting object.
Taking the card drawing method executed in the touch terminal as an example: after the cutting object is displayed on the graphical user interface, the player can perform a sliding operation on the cutting object. When the sliding operation is performed, a corresponding operation track is formed. The touch terminal can determine a cutting graph based on the operation track of the sliding operation and the target model.
In one embodiment, determining the manner in which the graphic is cropped includes: responding to a second trigger operation aiming at the cutting object, selecting a cutting starting point and a cutting ending point on the target model, and determining a cutting area by taking the operation track as a cutting track; a trimming image is determined based on the determined trimming area and the target model.
Here, in a specific implementation, a first preset portion and a second preset portion may be set in the target model, where any one point in the first preset portion may be a starting point, and any one point in the second preset portion may be an ending point. For example, in fig. 2a, a headless small paper figure is taken as a target model, the left edge of the neck of the small paper figure is taken as a first preset position, and the right edge of the neck of the small paper figure is taken as a second preset position.
(1) When selecting a starting point for cropping on the target model:
(1.1) detecting whether a certain point in the first preset part is on a cutting track corresponding to the second trigger operation; if yes, determining the point on the first preset part as a starting point.
As shown in fig. 2b, an example of only one point in the first preset portion on the operation track is provided, and the point is determined as the starting point.
(1.2), particularly, if the plurality of points in the first preset part are all on the cutting track of the second trigger operation, any point on the cutting track can be used as a starting point, or a point capable of determining a larger closed area can be used as a starting point according to the cutting track.
As shown in fig. 2c, an example of the first preset region including two points on the operation trajectory is provided, where point a appears on the operation trajectory more first, but a larger closed region can be determined by taking point B as a starting point, and then point B is determined as the starting point.
(1.3) when any point in the first preset part is not on the cutting track of the second trigger operation, determining the appointed point in the first preset part as a starting point.
Meanwhile, a connecting line from the starting point of the trimming track to the determined starting point can be determined as a supplement of the trimming track.
As shown in fig. 2d, an example is provided in which any point in the first preset portion is not on the operation track; at this time, a designated point M is determined at the first preset portion, and the designated point is determined as a start point.
(2) When selecting an end point of cropping on the target model:
(2.1) detecting whether any point in the second preset part is on a cutting track corresponding to the second trigger operation; if yes, determining any point in the second preset part as an end point.
(2.2) particularly, if the plurality of points in the second preset part are all on the cutting track of the second trigger operation, any point on the cutting track can be used as an end point, or according to the generation sequence of the cutting track, a point which appears in the cutting track at the latest can be determined as the end point.
(2.3) when any point in the second preset part is not on the cutting track of the second trigger operation, determining the appointed point in the second preset part as an end point.
At the same time, a connecting line from the end point of the clipping trajectory to the determined end point can be determined as a supplement to the clipping trajectory.
After the start point and the end point are determined, the cutting area can be determined according to the start point, the end point and the operation track.
Here, the start point and the end point are each a point on the target model, a line connecting the start point and the end point, and an operation trajectory, and can form at least one closed region including: a first occlusion region in direct communication with the target model or a second occlusion region in indirect communication with the target model through the first occlusion region; the first closed area in direct communication with the target model may be determined as the cropped area, or both the first closed area and the second closed area in direct and indirect communication with the target model may be determined as the cropped area.
Particularly, if a certain closed area is located within another closed area, the closed area is not used as a part of the cutting area to display the hollow-out effect of the paper-cut.
And determining a cutting graph according to the cutting area and the target model.
For example, in the example shown in FIG. 2b, the corresponding cut out area is shown in FIG. 3a and the corresponding cut out graphic is shown in FIG. 3 b.
For another example, as shown in FIG. 2d, the corresponding cut area is shown in FIG. 4a and the corresponding cut pattern is shown in FIG. 4 b.
III: in the above S103, the card drawing trigger event includes, but is not limited to, any one of the following b 1-b 3:
b 1: and determining that the second trigger operation is finished.
Here, after the second trigger operation is finished, the terminal device directly controls to display the cutting graph on the graphical user interface. At this time, in S101, there are several trimming objects M displayed on the graphical user interface, and there are several trimming graphics correspondingly displayed.
For example, if only one cropping object is displayed on the graphical user interface, there is one cropping graphic, and at this time, one cropping graphic may be displayed; if a plurality of cutting objects are displayed on the graphical user interface, the cutting graphics have a corresponding number of cutting graphics, and at the moment, a plurality of cutting graphics can be displayed.
For example, the cutting graphics are displayed in a paper-cutting effect, the cutting graphics are connected with each other, and any two adjacent cutting graphics are symmetrical along the center line of the two cutting graphics.
As shown in fig. 5, a specific example of displaying a trimming pattern is provided, in which there are four trimming patterns, and any adjacent two trimming patterns among the four trimming patterns are symmetrical to each other.
b 2: and determining a third trigger operation, wherein the third trigger operation is used for controlling the number of continuous card drawing.
Here, the third trigger operation includes: a sliding operation for the trimming object, or a cursor dragging operation for the trimming object.
Specifically, when the card drawing trigger event is the third trigger operation, in response to the third trigger operation, the terminal device may determine the number N of consecutive card drawing based on the operation parameter of the third trigger operation.
Wherein the operating parameters include at least one of: operation track length, operation duration and operation track direction.
The following describes a process of determining the number N of consecutive card withdrawals by taking as an example that the third trigger operation includes a sliding operation for the cutting object:
the terminal device detects the track length of the sliding operation under the condition that the operation parameters comprise the operation track length. The longer the operation track length is, the larger the determined number N of continuous card drawing is; the smaller the operation track length is, the smaller the determined number N of continuous card drawing is.
Secondly, aiming at the condition that the operation parameters comprise operation duration, the terminal equipment controls a graphical interaction interface to display a card drawing quantity determining control; on the control, a first button for increasing the continuous card drawing times and a second button for reducing the continuous card drawing times can be arranged; when a player triggers a first button for increasing the continuous card drawing times, gradually increasing the continuous card drawing times N according to the time length for triggering the first button; the frequency of the increase of N can be fixed, and can also be increased along with the increase of the duration of triggering the first button until the preset frequency is reached; when a player triggers a second button for reducing the continuous card drawing times, the continuous card drawing times N are gradually reduced according to the time length for triggering the second button; the frequency of N decrease may be fixed or may increase as the duration of time the second button is actuated increases.
For another example, the terminal device may further be provided with a control that can only increase the number of consecutive draw cards. When the control is triggered, the number N of continuous card drawing is gradually increased along with the increase of the triggered time length.
Thirdly, aiming at the condition that the operation parameters comprise the operation track direction, for example, when a player performs sliding touch control towards a set direction on the terminal equipment, increasing the number N of continuous card drawing; and when the sliding touch is carried out towards the opposite direction of the set direction, the number N of continuous card drawing is reduced.
The direction of the sliding touch is not that the track of the sliding touch is strictly oriented to a certain direction, and may be that displacement oriented to a certain direction is generated.
And when the number N of continuous card drawing is controlled based on the third trigger operation, a dynamic effect can be displayed on the graphical user interface.
For example, as the number of consecutive draw cards N increases, the trimming graphic displayed on the graphical user interface is gradually increased so that the trimming graphic is presented to the player in a gradually expanded form.
As the number of consecutive draw times N decreases, the cropped graphics displayed on the graphical user interface may also be gradually decreased such that the cropped graphics are presented to the player in a gradually overlapping fashion.
In addition, in the case that the draw trigger event includes determining a third trigger operation, in the above S101, the number M of the trimming objects displayed on the graphical user interface may be 1, or may be a positive integer greater than 1; when the number M of the trimming objects displayed on the gui is 1, that is, the number of consecutive draw cards is not determined in S101, where the number of consecutive draw cards may be controlled by a third trigger operation; when the number M of trimming objects displayed on the gui is an integer greater than 1, for example, 10, that is, the number of consecutive draw cards has been determined in S101, here, the number N of consecutive draw cards may be adjusted by a third trigger operation, for example, the number N of consecutive draw cards may be increased to be greater than M, or the number N of consecutive draw cards may be decreased to be smaller than M.
b 3: and determining a fourth trigger operation, wherein the fourth trigger operation is an operation of a confirmation control which is displayed on the graphical user interface and used for triggering the card drawing operation.
Here, a confirmation control that the user triggers the card drawing operation is displayed on the graphical user interface. When the player is determined to trigger the confirmation control, a card drawing is performed.
At this time, similarly to b1, in S101, if there are several trimming objects M on the gui, there are several trimming graphics displayed correspondingly, and the number N of consecutive draw cards finally determined is equal to M.
Responding to a card drawing triggering event, and performing continuous card drawing with the number of times being N, wherein the number of times of continuous card drawing can be as follows: and controlling continuous card drawing with the number of times of N corresponding to the card drawing trigger event according to the card drawing probability, wherein the card drawing probability is determined based on the target model and the cutting graph.
For example: when the target model is displayed to the player, the corresponding target track is displayed; the target trajectory is used for instructing the player to perform a sliding operation in accordance with the target trajectory. Then, based on the operation track of the player when executing the second trigger operation and the similarity score between the target tracks, determining the floating probability of the card drawing; and then determining the card drawing probability based on the floating probability and the reference probability.
The determination formula of the card drawing probability is as follows:
the draw probability is the benchmark probability + (similarity score-50) ÷ 50 × floating probability range.
For example, if the similarity is in the range of 0 to 100 and the floating probability is in the range of-0.1 to 0.1, the probability of the card extraction is decreased by 0.1 based on the reference probability when the similarity is 0, is increased by 0.1 based on the reference probability when the similarity is 100, and is equal to the reference probability when the similarity is 50.
Optionally, the reference probability may be a predetermined fixed value, or may be a reference probability matched in the probability configuration table according to at least one of the game attribute, the account attribute, the material of the cutting object, the cutting duration during cutting, and the like, for example, if the material of the cutting object is a paper piece and the material is a wood board, and if other conditions are the same, the reference probability of wood board matching is greater than the reference probability of paper piece matching in the probability configuration table; or if the cutting is carried out for multiple times, the time spent in each cutting is different, the cutting time is short, or the cutting time is close to the preset time spent, and the matched reference probability is higher.
Here, the operation area corresponding to the second trigger operation may be divided into a plurality of blocks; in the operation area, the block covered by the target track is an effective block, and the block uncovered by the target track is an ineffective block; the valid block may be marked as 1, and the invalid block may be marked as 0, but not limited thereto.
The operation tracks and the similarity scores between the target tracks can be obtained according to the following steps m 1-m 3:
step m 1: and determining a first score value corresponding to the operation track of the second trigger operation according to the number of the effective blocks covered by the operation track, the number of the ineffective blocks covered by the operation track and the total number of the blocks in the operation area.
Here, the first score value may be used to represent a score value of the clipping trajectory within the clipping region for evaluating a similarity of the clipping trajectory with the target model within the clipping region.
Illustratively, the first score value satisfies, for example, the following formula:
the first score value is (the number of invalid blocks uncovered by the operation track + the number of valid blocks covered by the operation track) ÷ the total number of blocks × 100.
The number of valid blocks covered by the operation track is larger, and the number of invalid blocks covered by the operation track is smaller, the first score value is higher.
Step m 2: and acquiring a second score value of the operation track of the second trigger operation in the area where the target track is located according to the number of the effective blocks covered by the operation track and the total number of the effective blocks in the operation area.
Here, the second score value may be used to represent a score value of the clipping trajectory within the target model for evaluating the similarity of the clipping trajectory and the target model.
Illustratively, the second score value satisfies the following formula, for example:
the second score value is the number of valid blocks covered by the operation track ÷ total number of valid blocks × 100.
The more the number of the effective blocks covered by the operation track, the higher the second score value.
It should be noted here that step m1 and step m2 are not executed in a sequential order.
Step m 3: and acquiring a similarity value according to the first score value and the second score value.
In some embodiments, there may be a plurality of ways to obtain the similarity according to the first score value and the second score value. For example, the similarity may be a numerical value of the first score value and the second score value, or a numerical value of the first score value and the second score value may be a numerical value of the similarity, or an average value of the first score value and the second score value may be an average value, and the average value is used as the similarity, which is not limited herein.
In an alternative embodiment, acquiring the similarity according to the first score value and the second score value includes:
if the first score value is smaller than the second score value, taking the first score value as the similarity;
if the first score value is larger than the second score value, taking the second score value as the similarity;
and if the first score value is equal to the second score value, taking the first score value or the second score value as the similarity.
In the embodiment, the similarity is obtained by obtaining the first score value of the operation track in the cutting area and the second score value of the operation track in the area of the target track, and according to the first score value and the second score value, the calculation of the similarity is more accurate, the adjusted card drawing probability is higher in correlation with the user operation, and the user experience is increased.
For another example, different controllable game characters may correspond to different target trajectories. And after executing the second trigger operation by the player to form an operation track, sequentially comparing the operation track with the target tracks of different controllable game characters, determining the similarity between the operation track and the target tracks of the different controllable game characters, and further determining the card drawing probability that the different controllable game characters are drawn respectively and correspondingly in the continuous card drawing process based on the similarity.
Here, it should be noted that the process of determining the card drawing probability may be executed by a server of the game or may be executed by the terminal device; the process of determining the probability of drawing a card is performed by the terminal device for a stand-alone game without a server.
When the card drawing probability is executed by a server of the game, the terminal equipment sends an operation track drawn by a player and the number N of continuous card drawing times to the server; after receiving the operation track, the server determines the card drawing probability in the continuous card drawing process, then obtains N card drawing results based on the determined card drawing probability, and feeds the N card drawing results back to the terminal equipment. And the terminal equipment displays the N card drawing results fed back by the server on a graphical user interface.
When the card drawing probability is executed by the terminal equipment, the terminal equipment sends the card drawing probability and the times of continuous card drawing after determining the card drawing probability based on the operation track and the target model; and after receiving the card drawing probability, the server obtains N card drawing results based on the card drawing probability and feeds the N card drawing results back to the terminal equipment. And the terminal equipment displays the N card drawing results fed back by the server on a graphical user interface.
If the game is a stand-alone game, data interaction with the server is not needed, and after the terminal equipment determines the card drawing probability based on the operation track and the target model, N card drawing results are obtained based on the card drawing probability and are displayed on the graphical user interface.
In addition, in another embodiment, a card drawing exit control is also included on the graphical user interface. The player may exit the card drawing process by triggering the card drawing exit control.
According to the method and the device for the card drawing, the cutting object is displayed on the graphical user interface through responding to the first trigger operation aiming at the graphical user interface, the second trigger operation aiming at the cutting object is responded, the cutting graph is determined based on the target model on the cutting object and the operation track of the second trigger operation, then the card drawing trigger event is responded, the cutting graphs with the number of N corresponding to the drawing trigger event are displayed on the graphical user interface, the continuous card drawing with the number of N is carried out, the cutting graph is generated and displayed through the cutting of the cutting object, the card drawing is carried out, and the interactivity of the card drawing in the game is improved.
Based on the same inventive concept, the embodiment of the present application further provides a card drawing device in a game corresponding to the card drawing method in the game, and as the principle of solving the problem of the device in the embodiment of the present application is similar to the card drawing method in the game described above in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and repeated details are not repeated.
Referring to fig. 6, a schematic diagram of a card drawing device in a game according to an embodiment of the present application is shown, where the device is used for the card drawing device, and the card drawing device includes: a first response module 61, a second response module 62, and a third response module 63; wherein,
a first response module 61, configured to respond to a first trigger operation for a graphical user interface, and display a trimming object on the graphical user interface, where the trimming object includes a target model;
a second response module 62, configured to determine, in response to a second trigger operation for the cropping object, a cropping graphic based on the target model and an operation trajectory corresponding to the second trigger operation;
a third response module 63, configured to respond to a card drawing trigger event, control to display, on the graphical user interface, N number of the trimming graphs corresponding to the card drawing trigger event, and perform continuous card drawing for N times, where N is a positive integer greater than 1 or equal to 1.
According to the method and the device for the card drawing, the cutting object is displayed on the graphical user interface through responding to the first trigger operation aiming at the graphical user interface, the second trigger operation aiming at the cutting object is responded, the cutting graph is determined based on the target model on the cutting object and the operation track of the second trigger operation, then the card drawing trigger event is responded, the cutting graphs with the number of N corresponding to the drawing trigger event are displayed on the graphical user interface, the continuous card drawing with the number of N is carried out, the cutting graph is generated and displayed through the cutting of the cutting object, the card drawing is carried out, and the interactivity of the card drawing in the game is improved.
In a possible implementation manner, the third responding module 63, when performing consecutive card drawing with the number N, is specifically configured to: and controlling continuous card drawing with the number of times of N corresponding to the card drawing trigger event according to the card drawing probability, wherein the card drawing probability is determined based on the target model and the cutting graph.
In a possible implementation manner, the card drawing triggering event includes any one of the following:
determining that the second trigger operation is finished;
determining a third trigger operation, wherein the third trigger operation is used for controlling the number of continuous card drawing;
determining a fourth trigger operation, wherein the fourth trigger operation is an operation acting on a confirmation control displayed on a graphical user interface and used for triggering a card drawing operation.
In a possible embodiment, the number of the cropping objects on the graphical user interface is M;
and N is a positive integer less than or equal to M.
In a possible implementation manner, when the card drawing trigger event is to determine that the second trigger operation ends or to determine a fourth touch operation, the N is equal to the M.
In a possible implementation manner, when the card drawing trigger event is to determine a third trigger operation, the N is determined based on an operation parameter of the third trigger operation;
wherein the operating parameters include at least one of: operation track length, operation duration and operation track direction.
In one possible embodiment, the first trigger operation includes one or more of the following operations:
triggering operation aiming at a card drawing control displayed on the graphical user interface;
selecting operation aiming at a plurality of preset models;
selecting operation for the number of the cutting objects;
and triggering operation aiming at the card re-drawing control displayed on the graphical user interface.
In one possible embodiment, the second trigger operation includes: sliding operation aiming at the cutting object, or cursor dragging operation aiming at the cutting object.
In a possible implementation manner, when the second response module 62 determines to cut the graphic based on the operation track corresponding to the target model and the second trigger operation in response to the second trigger operation for the cutting object, specifically:
responding to a second trigger operation aiming at the cropping object, selecting a starting point and an end point of cropping on the target model, and determining a cropping area by taking the operation track as a cropping track;
determining the cropped graphics based on the determined cropped area and the target model.
In one possible implementation, the third triggering operation includes:
sliding operation aiming at the cutting object, or cursor dragging operation aiming at the cutting object.
In a possible embodiment, the method further comprises: a presentation module 64, configured to, after performing consecutive card draws for a number N:
and displaying the continuous card drawing result on the graphical user interface.
In a possible implementation manner, the graphical user interface further includes: drawing a card to quit the control;
the card drawing device further comprises: a fourth response module 65, configured to respond to the trigger operation for the card drawing exit control, and exit the card drawing process.
The description of the processing flow of each module in the device and the interaction flow between the modules may refer to the related description in the above method embodiments, and will not be described in detail here.
An embodiment of the present application further provides a computer device 700, as shown in fig. 7, which is a schematic structural diagram of the computer device 700 provided in the embodiment of the present application, and includes:
a processor 71, a memory 72, and a bus 73; the memory 72 is used for storing execution instructions and includes a memory 721 and an external memory 722; the memory 721 is also referred to as an internal memory, and is used for temporarily storing the operation data in the processor 71 and the data exchanged with the external memory 722 such as a hard disk, the processor 71 exchanges data with the external memory 722 through the memory 721, and when the computer device 700 is operated, the processor 71 communicates with the memory 72 through the bus 73, so that the processor 71 executes the following instructions in a user mode:
responding to a first trigger operation aiming at a graphical user interface, and displaying a cutting object on the graphical user interface, wherein the cutting object comprises a target model;
responding to a second trigger operation aiming at the cutting object, and determining a cutting graph based on the target model and an operation track corresponding to the second trigger operation;
responding to a card drawing triggering event, controlling the cutting graphs with the number of N corresponding to the card drawing triggering event to be displayed on the graphical user interface, and performing continuous card drawing with the number of N; n is a positive integer greater than 1 or equal to 1.
In one possible embodiment, the instructions executed by processor 71 for performing the N consecutive draw include: and controlling continuous card drawing with the number of times of N corresponding to the card drawing trigger event according to the card drawing probability, wherein the card drawing probability is determined based on the target model and the cutting graph.
In one possible embodiment, the instructions executed by the processor 71 include any one of the following:
determining that the second trigger operation is finished;
determining a third trigger operation, wherein the third trigger operation is used for controlling the number of continuous card drawing;
determining a fourth trigger operation, wherein the fourth trigger operation is an operation acting on a confirmation control displayed on a graphical user interface and used for triggering a card drawing operation.
In one possible embodiment, processor 71 executes instructions in which the number of the cropping objects on the gui is M;
and N is a positive integer less than or equal to M.
In a possible implementation manner, in the instructions executed by the processor 71, when the card drawing trigger event is to determine that the second trigger operation is ended or to determine a fourth touch operation, the N is equal to the M.
In a possible implementation, in the instructions executed by processor 71, when the card drawing trigger event is to determine a third trigger operation, N is determined based on an operation parameter of the third trigger operation;
wherein the operating parameters include at least one of: operation track length, operation duration and operation track direction.
In a possible implementation, the processor 71 executes instructions, and the first trigger operation includes one or more of the following operations:
triggering operation aiming at a card drawing control displayed on the graphical user interface;
selecting operation aiming at a plurality of preset models;
selecting operation for the number of the cutting objects;
and triggering operation aiming at the card re-drawing control displayed on the graphical user interface.
In a possible implementation, in the instructions executed by processor 71, the second triggering operation includes: sliding operation aiming at the cutting object, or cursor dragging operation aiming at the cutting object.
In one possible implementation, processor 71 executes instructions for determining, in response to a second trigger operation for the cropping object, a cropping graphic based on an operation trajectory corresponding to the target model and the second trigger operation, where the determining includes:
responding to a second trigger operation aiming at the cropping object, selecting a starting point and an end point of cropping on the target model, and determining a cropping area by taking the operation track as a cropping track;
determining the cropped graphics based on the determined cropped area and the target model.
In a possible implementation, in the instructions executed by processor 71, the third triggering operation includes:
sliding operation aiming at the cutting object, or cursor dragging operation aiming at the cutting object.
In a possible implementation manner, the instructions executed by the processor 71 further include, after the continuous card drawing with the number of times N is performed:
and displaying the continuous card drawing result on the graphical user interface.
In a possible implementation, the instructions executed by the processor 71 further include, on the graphical user interface: drawing a card to quit the control;
the card drawing method further comprises the following steps:
and responding to the triggering operation aiming at the card drawing quitting control, and quitting the card drawing process.
The embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the steps of the in-game card drawing method in the foregoing method embodiment.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (15)
1. A card drawing method in a game is applied to terminal equipment, and is characterized in that the card drawing method comprises the following steps:
responding to a first trigger operation aiming at a graphical user interface, and displaying a cutting object on the graphical user interface, wherein the cutting object comprises a target model;
responding to a second trigger operation aiming at the cutting object, and determining a cutting graph based on the target model and an operation track corresponding to the second trigger operation;
responding to a card drawing triggering event, controlling the cutting graphs with the number of N corresponding to the card drawing triggering event to be displayed on the graphical user interface, and performing continuous card drawing with the number of N; n is a positive integer greater than 1 or equal to 1.
2. The card drawing method according to claim 1, wherein the drawing of the continuous card with the number of times of N comprises: and controlling continuous card drawing with the number of times of N corresponding to the card drawing trigger event according to the card drawing probability, wherein the card drawing probability is determined based on the target model and the cutting graph.
3. The card drawing method according to claim 1, wherein the card drawing trigger event comprises any one of:
determining that the second trigger operation is finished;
determining a third trigger operation, wherein the third trigger operation is used for controlling the number of continuous card drawing;
determining a fourth trigger operation, wherein the fourth trigger operation is an operation acting on a confirmation control displayed on a graphical user interface and used for triggering a card drawing operation.
4. The method of claim 3, wherein the number of cropped objects on the graphical user interface is M;
and N is a positive integer less than or equal to M.
5. The card drawing method according to claim 4, wherein N is equal to M when a card drawing trigger event is to determine that the second trigger operation ends or to determine a fourth touch operation.
6. The card drawing method according to claim 3, wherein when the card drawing trigger event is to determine a third trigger operation, the N is determined based on an operation parameter of the third trigger operation;
wherein the operating parameters include at least one of: operation track length, operation duration and operation track direction.
7. The card drawing method according to claim 1, wherein the first trigger operation comprises one or more of the following operations:
triggering operation aiming at a card drawing control displayed on the graphical user interface;
selecting operation aiming at a plurality of preset models;
a selection operation for the number of the trimming objects;
and triggering operation aiming at the card re-drawing control displayed on the graphical user interface.
8. The card drawing method according to claim 1, wherein the second trigger operation comprises: sliding operation aiming at the cutting object, or cursor dragging operation aiming at the cutting object.
9. The card drawing method according to claim 1, wherein the determining a trimming graph based on the target model and an operation track corresponding to a second trigger operation for the trimming object in response to the second trigger operation for the trimming object comprises:
responding to a second trigger operation aiming at the cropping object, selecting a starting point and an end point of cropping on the target model, and determining a cropping area by taking the operation track as a cropping track;
determining the cropped graphics based on the determined cropped area and the target model.
10. The card drawing method according to claim 3, wherein the third trigger operation comprises:
sliding operation aiming at the cutting object, or cursor dragging operation aiming at the cutting object.
11. The card drawing method according to claim 1, wherein after the continuous card drawing with the number of times N, the method further comprises:
and displaying the continuous card drawing result on the graphical user interface.
12. The card drawing method according to claim 1, wherein the graphic user interface further comprises: drawing a card to quit the control;
the card drawing method further comprises the following steps:
and responding to the triggering operation aiming at the card drawing quitting control, and quitting the card drawing process.
13. A card drawing device in a game is applied to terminal equipment, and is characterized in that the card drawing device comprises:
the system comprises a first response module, a first display module and a second response module, wherein the first response module is used for responding to a first trigger operation aiming at a graphical user interface and displaying a cutting object on the graphical user interface, and the cutting object comprises a target model;
a second response module, configured to determine, in response to a second trigger operation for the trimming object, a trimming graph based on the target model and an operation trajectory corresponding to the second trigger operation;
and the third response module is used for responding to a card drawing trigger event, controlling the cutting graphs with the number of N corresponding to the card drawing trigger event to be displayed on the graphical user interface, and performing continuous card drawing with the number of N, wherein N is a positive integer greater than 1 or equal to 1.
14. A computer device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when a computer device is running, the machine-readable instructions when executed by the processor performing the steps of the method of any one of claims 1 to 12.
15. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, is adapted to carry out the steps of the method according to any one of claims 1 to 12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910792871.4A CN110404250B (en) | 2019-08-26 | 2019-08-26 | Card drawing method and device in game |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910792871.4A CN110404250B (en) | 2019-08-26 | 2019-08-26 | Card drawing method and device in game |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110404250A true CN110404250A (en) | 2019-11-05 |
CN110404250B CN110404250B (en) | 2023-08-22 |
Family
ID=68369175
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910792871.4A Active CN110404250B (en) | 2019-08-26 | 2019-08-26 | Card drawing method and device in game |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110404250B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110034233A1 (en) * | 2009-08-06 | 2011-02-10 | Bradley Berman | Systems, Apparatuses and Methods for Enhancing Gaming Experiences |
CN103472994A (en) * | 2013-09-06 | 2013-12-25 | 乐得科技有限公司 | Operation control achieving method, device and system based on voice |
CN104679791A (en) * | 2013-12-03 | 2015-06-03 | 腾讯科技(深圳)有限公司 | Processing method and device for acquiring data packets |
WO2018103219A1 (en) * | 2016-12-09 | 2018-06-14 | 武汉斗鱼网络科技有限公司 | Video live player lottery method and apparatus |
CN108305325A (en) * | 2017-01-25 | 2018-07-20 | 网易(杭州)网络有限公司 | The display methods and device of virtual objects |
-
2019
- 2019-08-26 CN CN201910792871.4A patent/CN110404250B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110034233A1 (en) * | 2009-08-06 | 2011-02-10 | Bradley Berman | Systems, Apparatuses and Methods for Enhancing Gaming Experiences |
CN103472994A (en) * | 2013-09-06 | 2013-12-25 | 乐得科技有限公司 | Operation control achieving method, device and system based on voice |
CN104679791A (en) * | 2013-12-03 | 2015-06-03 | 腾讯科技(深圳)有限公司 | Processing method and device for acquiring data packets |
WO2018103219A1 (en) * | 2016-12-09 | 2018-06-14 | 武汉斗鱼网络科技有限公司 | Video live player lottery method and apparatus |
CN108305325A (en) * | 2017-01-25 | 2018-07-20 | 网易(杭州)网络有限公司 | The display methods and device of virtual objects |
Non-Patent Citations (1)
Title |
---|
神级烦烦: "阴阳师:妖怪屋内测,试试看十次能抽到什么。", 《HTTPS://WWW.BILIBILI.COM/VIDEO/BV194411W7VV/?SPM_ID_FROM=333.337.SEARCH-CARD.ALL.CLICK》 * |
Also Published As
Publication number | Publication date |
---|---|
CN110404250B (en) | 2023-08-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11250660B2 (en) | Graphical user interface for a gaming system | |
CN110270086B (en) | Method and device for controlling movement of virtual character in game | |
CN111084980B (en) | Method and device for purchasing virtual article | |
CN111905370B (en) | Method and device for controlling virtual character in game, electronic equipment and storage medium | |
US11266904B2 (en) | Game system, game control device, and information storage medium | |
JP2005346467A (en) | Graphic recognition program | |
EP2210651A2 (en) | Storage medium storing information processing program, information processing apparatus and information processing method | |
CN110665228A (en) | Method and device for controlling role cards in game | |
CN111298449A (en) | Control method and device in game, computer equipment and storage medium | |
JP2018068781A (en) | Video game processing apparatus and video game processing program | |
CN111841013A (en) | Information display method and device | |
CN110393917A (en) | A kind of pumping card method and device in game | |
JP2018027151A (en) | Battle game program and battle game method | |
CN113181640B (en) | Menu bar display method and device, electronic equipment and storage medium | |
CN111803960A (en) | Method and equipment for starting preset process | |
CN110639202B (en) | Display control method and device in card game | |
CN111803934B (en) | Control method, terminal, electronic device and storage medium for character cards in game | |
CN110404250A (en) | A kind of pumping card method and device in game | |
CN111841000B (en) | Method, device, equipment and storage medium for controlling display of game virtual character | |
CN110502181B (en) | Method, device, equipment and medium for determining card drawing probability in game | |
JP2018118146A (en) | Battle game program and battle game method | |
CN115155064A (en) | Game control method and device, electronic equipment and storage medium | |
CN110652724B (en) | Display control method and device in game | |
CN109350967B (en) | Expression display method and device, server and computer readable storage medium | |
JP7017549B2 (en) | Video game processor, video game processing method, and video game processing program |
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 |