CN111643890A - Card game interaction method and device, electronic equipment and storage medium - Google Patents

Card game interaction method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111643890A
CN111643890A CN202010527425.3A CN202010527425A CN111643890A CN 111643890 A CN111643890 A CN 111643890A CN 202010527425 A CN202010527425 A CN 202010527425A CN 111643890 A CN111643890 A CN 111643890A
Authority
CN
China
Prior art keywords
card
interface
touch
move
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.)
Pending
Application number
CN202010527425.3A
Other languages
Chinese (zh)
Inventor
宋鹏
蔡光威
左海阳
冯启迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202010527425.3A priority Critical patent/CN111643890A/en
Publication of CN111643890A publication Critical patent/CN111643890A/en
Pending legal-status Critical Current

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/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress

Landscapes

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

Abstract

The application provides an interaction method and device for a card game, electronic equipment and a storage medium, and relates to the technical field of card games. The method includes the steps that a graphical user interface can be displayed through first terminal equipment, the graphical user interface can display a card display interface, the card display interface can comprise a card role model corresponding to a card, and a touch track of touch operation is obtained in response to the touch operation aiming at the card role model; by applying the method and the device, the card role model can move according to the touch track of the player, and the game interaction experience of the player is improved.

Description

Card game interaction method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of game technologies, and in particular, to an interaction method and apparatus for a card game, an electronic device, and a storage medium.
Background
The game role display interface is used as an important mode for displaying the game role in the game system, and the game role is displayed on the game role display interface, so that the player can fully know the related skills of the game role, and the player can conveniently select a proper game role to perform game interaction.
When the existing game shows a game role, only the image form of the game role is generally shown, or the game role completes fixed animation.
However, the conventional game character display method lacks interaction with a player.
Disclosure of Invention
An object of the present application is to provide an interaction method, an interaction device, an electronic device, and a storage medium for a card game, which can implement interaction between a player and a card character model in a card display interface, so that the card character model can move according to a touch trajectory of the player, thereby improving game interaction experience of the player.
In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
in a first aspect, an embodiment of the present application provides an interaction method for a card game, in which a graphical user interface is displayed through a first terminal device, the graphical user interface displays a card display interface, the card display interface includes a card role model corresponding to a card, and the method includes:
responding to the touch operation aiming at the card role model, and acquiring a touch track of the touch operation;
controlling the card character model to move in the graphical user interface based on the touch trajectory.
Optionally, the step of obtaining a touch trajectory of the touch operation includes:
acquiring screen position information of a touch track on first terminal equipment;
the method comprises the following steps of controlling the card character model to move in a graphical user interface based on a touch track, wherein the steps comprise:
and controlling the card character model to move from the initial position to the screen position information of the touch track.
Optionally, after the control card character model moves from the initial position to the screen position information of the touch trajectory, the method further includes:
and responding to a termination instruction of the touch operation, and controlling the card role model to move from the current position to the initial position.
Optionally, the card presentation interface is a card directory interface, at least one card is displayed in the card directory interface, the card includes a card frame and a card role model at least partially located in the card frame, and the card role model is configured to move in the graphical user interface according to a touch operation.
Optionally, the card presentation interface is a card detail interface, the card detail interface is a card interface displayed in response to a trigger operation for the target card, the card detail interface includes a card role model corresponding to the target card, and the card role model is configured to move in the graphical user interface according to a touch operation.
Optionally, the card display interface comprises: a card catalog interface and a card details interface; displaying at least one card in a card display interface, wherein the card comprises a card frame and a card role model at least partially positioned in the card frame, and the card detail interface comprises a card role model corresponding to a target card in the card display interface;
before the above responding to the touch operation of the card character model and acquiring the touch trajectory of the touch operation, the method further includes:
and responding to touch operation on a target card in the card catalogue interface, and displaying a card role model corresponding to the target card on the card detail interface, wherein the card role model is configured to move in the graphical user interface according to the touch operation.
Optionally, the card character model includes a plurality of virtual units, and the acquiring a touch trajectory of the touch operation in response to the touch operation on the card character model includes:
responding to the touch operation aiming at least one target virtual unit in the card role model, and acquiring a touch track of the touch operation;
the controlling the card character model to move in the graphical user interface based on the touch trajectory includes:
and controlling the target virtual unit to move in the graphical user interface based on the touch track, and controlling other virtual units associated with the target virtual unit to execute the action associated with the touch track.
Optionally, controlling the target virtual unit to move in the graphical user interface based on the touch trajectory, controlling other virtual units associated with the target virtual unit to perform an action associated with the touch trajectory, including:
controlling the target virtual unit to move in the graphical user interface based on the touch trajectory;
and after the target virtual unit stops moving, controlling other virtual units associated with the target virtual unit to execute the action associated with the touch track.
Optionally, the card display interface further includes: introduction information of the card character model.
In a second aspect, an embodiment of the present application provides an interaction device for a card game, where a graphical user interface is displayed through a first terminal device, the graphical user interface displays a card display interface, the card display interface includes a card role model corresponding to a card, and the device includes: the device comprises an acquisition module and a control module;
the acquisition module is used for responding to the touch operation aiming at the card role model and acquiring a touch track of the touch operation;
and the control module is used for controlling the card role model to move in the graphical user interface based on the touch track.
Optionally, the obtaining module is specifically configured to obtain screen position information of the touch track on the first terminal device; and the control module is specifically used for controlling the card character model to move from the initial position to the screen position information of the touch track.
Optionally, the control module is further configured to control the card character model to move from the current position to the initial position in response to a termination instruction of the touch operation.
Optionally, the card presentation interface is a card directory interface, at least one card is displayed in the card directory interface, the card includes a card frame and a card role model at least partially located in the card frame, and the card role model is configured to move in the graphical user interface according to a touch operation.
Optionally, the card presentation interface is a card detail interface, the card detail interface is a card interface displayed in response to a trigger operation for the target card, the card detail interface includes a card role model corresponding to the target card, and the card role model is configured to move in the graphical user interface according to a touch operation.
Optionally, the card display interface comprises: a card catalog interface and a card details interface; displaying at least one card in a card display interface, wherein the card comprises a card frame and a card role model at least partially positioned in the card frame, and the card detail interface comprises a card role model corresponding to a target card in the card display interface; the device still includes: the display module is used for responding to touch operation of a target card in the card catalogue interface and displaying a card role model corresponding to the target card on the card detail interface, and the card role model is configured to move in the graphical user interface according to the touch operation.
Optionally, the card role model includes a plurality of virtual units, and the obtaining module is specifically configured to respond to a touch operation for at least one target virtual unit in the card role model, and obtain a touch trajectory of the touch operation; and the control module is specifically used for controlling the target virtual unit to move in the graphical user interface based on the touch track and controlling other virtual units associated with the target virtual unit to execute actions associated with the touch track.
Optionally, the control module is specifically configured to control the target virtual unit to move in the graphical user interface based on the touch trajectory;
and after the target virtual unit stops moving, controlling other virtual units associated with the target virtual unit to execute the action associated with the touch track.
Optionally, the card display interface further includes: introduction information of the card character model.
In a third aspect, an embodiment of the present application provides an electronic device, including: the card game comprises a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when the electronic device runs, the processor and the storage medium are communicated through the bus, and the processor executes the machine-readable instructions to execute the steps of the interaction method of the card game of the first aspect.
In a fourth aspect, the present application provides a storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the card game interaction method according to the first aspect.
The beneficial effect of this application is:
in the card game interaction method, the card game interaction device, the electronic device and the storage medium, a graphical user interface can be displayed through a first terminal device, the graphical user interface can display a card display interface, the card display interface can comprise a card role model corresponding to a card, and a touch track of touch operation is acquired in response to the touch operation aiming at the card role model; by applying the method and the device, the card role model can move according to the touch track of the player, and the game interaction experience of the player is improved.
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 schematic flow chart of an interaction method of a card game according to an embodiment of the present application;
FIG. 2 is a schematic flow chart illustrating another method of interaction for a card game according to an embodiment of the present disclosure;
FIG. 3 is a flow chart illustrating a further method of interaction for a card game according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a card directory interface provided in an embodiment of the present application;
FIG. 5 is a flow chart illustrating another method of interaction for a card game according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a card display interface provided in an embodiment of the present application;
FIG. 7 is a flow chart illustrating a further method of interaction for a card game according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a card details interface provided by an embodiment of the present application;
FIG. 9 is a schematic illustration of another card detail interface provided by an embodiment of the present application;
FIG. 10 is a flow chart illustrating another method of interaction for a card game according to an embodiment of the present disclosure;
FIG. 11 is a functional block diagram of an interaction device of a card game according to an embodiment of the present disclosure;
FIG. 12 is a functional block diagram of an alternative card game interaction device according to an embodiment of the present disclosure;
fig. 13 is a schematic structural diagram of an electronic device according to 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 some embodiments of the present application, but not all 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 given herein 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.
The interactive method of the card game in one embodiment of the disclosure can be operated on a terminal device or a server. The terminal device may be a local terminal device. When the card game interaction method runs on the server, the card game interaction method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system comprises the server and the client device.
In an optional embodiment, various cloud applications may be run under the cloud interaction system, for example: and (5) cloud games. Taking a cloud game as an example, a cloud game refers to a game mode based on cloud computing. In the cloud game operation mode, the game program operation main body and the game picture presentation main body are separated, the storage and the operation of the card game interaction method are completed on a cloud game server, and the client device is used for receiving and sending data and presenting the game picture, for example, the client device can be a display device with a data transmission function close to a user side, such as a mobile terminal, a television, a computer, a palm computer and the like; however, the terminal device performing the information processing is a cloud game server in the cloud. When a game is played, a player operates the client device to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, data such as game pictures and the like are encoded and compressed, the data are returned to the client device through a network, and finally the data are decoded through the client device and the game pictures are output.
In an alternative embodiment, the terminal device may be a local terminal device. Taking a game as an example, the local terminal device stores a game program and is used for presenting a game screen. The local terminal device is used for interacting with the player through a graphical user interface, namely, a game program is downloaded and installed and operated through an electronic device conventionally. The manner in which the local terminal device provides the graphical user interface to the player may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal or provided to the player through holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including a game screen and a processor for running the game, generating the graphical user interface, and controlling display of the graphical user interface on the display screen.
In the existing game interaction, a player can correspondingly control a virtual character in a game battle interface, and in the existing game character display interface, because the game character is generally displayed to the player by an image or a fixed animation, the interaction between the virtual character and the player is lacked, and the game interaction experience of the player is poor, in view of the above, the embodiment of the application provides an interaction method of a card game, which can realize the interaction between the player and a card character model in the card display interface and improve the game interaction experience of the player.
Fig. 1 is a schematic flowchart of an interaction method of a card game according to an embodiment of the present disclosure, where the method may be applied to a first terminal device, where the first terminal device may display a graphical user interface, and the first terminal device may be the aforementioned local terminal device, or may be a client device in the aforementioned cloud interaction system, for example, the local terminal device may be a mobile phone, a tablet, a computer, and the present disclosure is not limited herein. In the embodiment of the present application, the graphic user interface is a card display interface, where the card display interface may include a card Character model corresponding to a card, and one card may display one or more card Character models corresponding to the card, and the card Character model may interact with a Player in a game, which may be a Non-Player Character (NPC) in the game or a virtual object operated by the Player in the game, such as a virtual animal (e.g., a bird, a dinosaur, a pterosaur, a bat, an eagle, a crab, etc.), a virtual pet, a virtual sprite, and the like, and the application is not limited herein. As shown in fig. 1, the method may include:
s110, responding to the touch operation aiming at the card role model, and acquiring a touch track of the touch operation.
The touch operation may be sliding on the touch screen, dragging the card character model, or the like, and accordingly, the touch trajectory may be a trajectory generated by a player moving in a touch manner on the touch screen, and a shape of the trajectory is not limited herein. Optionally, according to the touch manner of the touch operation, the corresponding touch trajectory may be a touch trajectory composed of continuous points (for example, a dragging operation of a finger on the touch screen), or a click trajectory composed of discrete points (for example, a click operation of a finger at different positions on the touch screen), and the like.
It should be noted that the touch tracks of the touch operations may be configured in advance, for example, each touch operation may correspond to a preset touch track, for example, the touch track may match a preset touch gesture, and the application is not limited herein.
And S120, controlling the card role model to move in the graphical user interface based on the touch track.
After the touch track corresponding to the touch operation is obtained, the card character module can be controlled to move in the graphical user interface according to the touch track based on the touch track, that is, the card character module can be controlled to move in the card display interface according to the touch track, so that a player can control the card character model to move according to the touch track input by the player, and interaction is realized.
Optionally, according to the specific role type of the virtual object corresponding to the card role model, the moving mode may be jumping, walking, flying, climbing, and the like, which is not limited herein.
It should be noted that, in the embodiment of the present application, the card character model moves in the graphical user interface according to the touch trajectory, so that flexible requirements of different scenes of a player can be met, for example, the player may embody different character actions through different touch trajectories, for example, the card character model is controlled to walk according to the touch trajectory, or the card character model moves to a destination according to the touch trajectory (for example, a flying sprite is caught and dragged to a cage, and the like), which is not limited herein.
To sum up, the interaction method for the card game provided by the embodiment of the application may display a graphical user interface through the first terminal device, where the graphical user interface may display a card display interface, the card display interface may include a card role model corresponding to a card, and in the method, a touch trajectory of a touch operation is obtained in response to the touch operation for the card role model; by applying the method and the device, the card role model can move according to the touch track of the player, and the game interaction experience of the player is improved.
Fig. 2 is a schematic flow chart of another interaction method for a card game according to an embodiment of the present disclosure. Optionally, as shown in fig. 2, the step of obtaining the touch trajectory of the touch operation may include:
s210, screen position information of the touch track on the first terminal device is obtained.
The screen position information of the touch track on the first terminal device may include a plurality of screen coordinate information, the plurality of screen coordinate information may correspond to a plurality of screen coordinate positions, and the card character model may be controlled to perform corresponding movement operations according to the screen position information by obtaining the screen position information of the touch track on the first terminal device, where the movement process may be described as follows.
The step of controlling the card character model to move in the graphical user interface based on the touch trajectory includes:
s220, controlling the card character model to move from the initial position to the screen position information of the touch track.
The initial position may include screen initial position information of the card character model on the first terminal device (for example, the initial position may be position information corresponding to a coordinate position of an upper left corner of a screen of the first terminal device), and the initial position may correspond to a screen initial coordinate position.
Fig. 3 is a schematic flow chart of another interaction method for a card game according to an embodiment of the present disclosure. Optionally, after the control card role model moves on the card display interface, the control card role model may also be controlled to return to the initial position, as shown in fig. 3, and after the control card role model moves from the initial position to the screen position information of the touch trajectory, the method further includes:
s310, responding to a termination instruction of the touch operation, and controlling the card role model to move from the current position to the initial position.
The current position may be a position at which the card character model stops after moving along the touch trajectory, and after the movement stops, the player does not perform the touch operation any more, that is, a termination instruction of the touch operation may trigger the card character model to return to the initial position. It should be noted that the termination instruction may also be generated by using a preset restore virtual control applied to the card display interface, for example, the card display interface may include a preset restore virtual control, and after a player controls a certain card character model to move from an initial position to screen position information of the touch trajectory (for example, after the player controls a certain card character model to move from an upper left corner to a lower right corner of the card display interface in a dragging manner), the termination instruction may act on the preset restore virtual control in a manner of clicking, long pressing, or the like, and control the card character model to move to the initial position (i.e., to move to the upper left corner of the card display interface), but an actual application scenario is not limited to this, and may be different according to the actual application scenario.
Fig. 4 is a schematic diagram of a card directory interface according to an embodiment of the present disclosure. Optionally, the card display interface is a card directory interface, as shown in fig. 4, at least one card is displayed in the card directory interface, the card includes a card frame and a card role model at least partially located in the card frame, and the card role model is configured to move in the graphical user interface according to a touch operation.
The card table interface may display at least one card, and optionally, as shown in fig. 4, may include 9 cards of numbers 1 to 9, and the card table interface may present the currently selectable cards to the player in a list. Of course, it should be noted that the number of cards displayed may include any number, such as 8, 10, 12, etc., and the number is not limited herein. Each card may include a card frame and a card role model at least partially located in the card frame, as shown in fig. 4(a), a card role model included in the card of number 4 is shown, and the showing manner in other cards is similar to this, which is not described herein again, and then at least one card role model may be controlled to move on the card list interface according to the foregoing method, and it should be noted that, of course, the moving manner may be that the card role model at least partially located in the card frame moves, as shown in fig. 4(b), the card role model included in the card of number 4 may be moved above the cards of numbers 8 and 9, and of course, the card frame and the card role model at least partially located in the card frame may move together, which is not limited herein and may be flexibly set according to the actual application scenario, the card role model is controlled to move according to the touch track of the player in the card directory interface, so that the interaction experience of the player and the card role model can be deepened, and the player can have preliminary knowledge about the card role model.
Optionally, if the card display interface is a card list interface, the initial position may be an initial screen position of the card role model in the card frame on the card list interface, and the card role model in a certain card frame may be moved to any screen position of the card list interface (for example, may be moved to a screen position where other cards are located) through a touch operation.
Optionally, the card presentation interface may be a card detail interface, the card detail interface is a card interface displayed in response to a trigger operation for a target card, the card detail interface includes a card role model corresponding to the target card, and the card role model is configured to move in the graphical user interface according to a touch operation.
Optionally, the card detail interface may be a secondary interface of the card catalog interface, as described above, at least one card is displayed in the card catalog interface, the card includes a card frame and a card character model at least partially located in the card frame, a player may select any card as a target card in the card catalog interface, after determining the target card, a trigger operation for the target card may be generated in a preset touch manner such as long-pressing, clicking, sliding, and the like, and in response to the trigger operation for the target card, the player may jump to the card detail interface of the target card, and the card detail interface may include a card character model corresponding to the target card, and optionally, may also include a card story corresponding to the target card (the card story may include a related story line of the corresponding card character model, the method is not limited herein, and at least one card character model can be controlled to move on the card detail interface according to the touch trajectory of the player in the card detail interface according to the method, so that the interactive experience between the player and the card character model is further deepened.
Optionally, if the card presentation interface is a card detail interface, the initial position may be an initial position of the card character model in the card detail interface, for example, a center of the card detail interface, and the card character model may be moved to any screen position of the card detail interface through a touch operation (for example, the card character model may be moved from the center position to an edge position of the card detail interface).
Fig. 5 is a schematic flow chart of another interaction method for a card game according to an embodiment of the present disclosure. Optionally, the card display interface includes: the card display interface displays at least one card, the card comprises a card frame and a card role model at least partially positioned in the card frame, and the card detail interface comprises a card role model corresponding to a target card in the card display interface; as shown in fig. 5, before the obtaining of the touch trajectory of the touch operation in response to the touch operation on the card character model, the method further includes:
s410, responding to touch operation on a target card in the card catalogue interface, displaying a card role model corresponding to the target card on the card detail interface, wherein the card role model is configured to move in the graphical user interface according to the touch operation.
Fig. 6 is a schematic view of a card display interface according to an embodiment of the present disclosure. According to an actual application scenario, as shown in fig. 6, the card display interface may include the card catalog interface and the card detail interface, which may be displayed in different areas on the screen of the first terminal device. Taking fig. 6 as an example, two parts may be divided on the interface, one part is used as a card list interface (for example, a display area on the left side of the screen) which may include 9 cards, and the other part is used as a card detail interface (for example, a display area on the right side of the screen) which may display the card detail interface corresponding to the 4-card selected by the player. When the player does not select the target card, the card detail interface may display the card character model corresponding to the first card by default, but without limitation, the content to be displayed in the initial state may be configured in advance. When a player does not operate the card character model, the card character model in the interface may be in a standby state (for example, a static state or show a preset action special effect), and after the player performs a touch operation on the target card, the card character model corresponding to the target card may be displayed on the card detail interface in response to the touch operation on the target card in the card list interface, where the card character model corresponding to the target card may move in the card list interface and/or the card detail interface according to a touch trajectory of the player. For example, the card role model corresponding to the target card displayed in the card detail interface may be controlled to move from the card detail interface to the card directory interface, or the card role model of the target card in the card directory interface may be controlled to move from the card directory interface to the card detail interface.
It should be noted that, the present application does not limit the expression form of the card display interface, for example, the card display interface may display the card character models to the player in a virtual book manner, where each page may correspond to one card character model, and the player may preview all card character models in a page turning manner during the interaction process, and implement the interaction with the card character models on the preview interface.
Fig. 7 is a flowchart illustrating a further interaction method of a card game according to an embodiment of the present application. Optionally, the card character model includes a plurality of virtual units, and as shown in fig. 7, the obtaining a touch trajectory of the touch operation in response to the touch operation on the card character model includes:
s510, responding to the touch operation of at least one target virtual unit in the card role model, and acquiring a touch track of the touch operation.
Each virtual unit may correspond to a virtual character model, and the virtual character models corresponding to the plurality of virtual units may be the same or different, which is not limited herein. For example, a card character model may include two virtual character models with different body shapes (e.g., a crab virtual character model), or a card character model may include three identical virtual character models (e.g., a bird virtual character model), and the like, and the application is not limited herein.
Optionally, if the card character model includes a plurality of virtual units, a touch trajectory of a touch operation may be obtained in response to the touch operation on at least one target virtual unit in the card character model, and the specific obtaining manner may be referred to the foregoing related contents, which is not limited herein.
The controlling the card character model to move in the graphical user interface based on the touch trajectory includes:
s520, controlling the target virtual unit to move in the graphical user interface based on the touch track, and controlling other virtual units associated with the target virtual unit to execute the action associated with the touch track.
After the touch track of the touch operation is acquired, if at least one target virtual unit in the card role model is moved, other virtual units associated with the target virtual unit can execute actions associated with the touch track, that is, the target virtual unit is controlled to move on the card display interface, so that other virtual units associated with the target virtual unit can be driven to move on the card display interface in an associated manner, and the game interaction experience of a player and the card role model is improved.
It should be noted that, the other virtual units associated with the target virtual unit execute the action associated with the touch trajectory, which may or may not be consistent with the action or the movement trajectory executed by the target virtual unit in the graphical user interface, and may be determined according to the preconfigured content, which is not limited herein. For example, the target virtual unit moves along the touch trajectory, and other virtual units associated with the target virtual unit also move along the same trajectory, or move in the opposite direction, or jump.
FIG. 8 is a schematic diagram of a card details interface provided by an embodiment of the present application; FIG. 9 is a schematic illustration of another card detail interface provided by embodiments of the present application. For example, the card display interface includes a card detail interface, as shown in fig. 8, the card detail interface includes a card role model, an initial position of the card role model is located on a left screen of the card detail interface, the card role model includes three virtual units of puck a, puck B, and puck C and a virtual cage prop, and puck a and puck B are associated virtual units, in the interaction process, if puck a is determined to be a target virtual unit, puck a can be released from the cage through a drag gesture towards a lower right corner, and a touch trajectory moving to a right screen of the card detail interface is generated, puck a can be controlled to move to the right screen of the card detail interface based on the touch trajectory, optionally, as shown in fig. 9, puck B can be controlled to move to the lower right corner synchronously according to a preconfigured associated action, so as to realize synchronous movement of puck a and puck B, and puck C and puck a are non-associated virtual units, then puck a movement does not affect puck C movement, i.e., puck C is currently still in the cage. Optionally, if the puck C needs to be controlled to move subsequently, the puck C can be controlled to move according to the process for controlling the puck a, which is not described herein again.
Fig. 10 is a schematic flow chart of another interaction method for a card game according to an embodiment of the present application. Optionally, as shown in fig. 10, the controlling, based on the touch trajectory, the target virtual unit to move in the graphical user interface, and controlling other virtual units associated with the target virtual unit to execute the action associated with the touch trajectory includes:
s610, controlling the target virtual unit to move in the graphical user interface based on the touch track.
S620, after the target virtual unit stops moving, controlling other virtual units associated with the target virtual unit to execute the action associated with the touch track.
Optionally, the movement of the target virtual unit in the graphical user interface and the movement of the other virtual units associated with the target virtual unit in the graphical user interface may be asynchronous, that is, when the target virtual unit is controlled to move in the graphical user interface based on the touch trajectory, after the movement of the target virtual unit is stopped, the other virtual units associated with the target virtual unit may be controlled to execute the action associated with the touch trajectory, so that the other virtual units associated with the target virtual unit may be more flexible when executing the action associated with the touch trajectory, and the game interaction experience of the player may be improved.
Based on the above example, further explaining that the card character model is located on the left screen of the card detail interface, and includes three virtual units of puck a, puck B, and puck C and a virtual cage prop, and puck a and puck B are associated virtual units, in the interaction process, if puck a is released from the cage by a drag gesture and a touch trajectory moving to the right screen of the card detail interface is generated, puck a is controlled to move to the right screen of the card detail interface based on the touch trajectory, optionally, according to a pre-configured associated action, puck B associated with puck a can be further controlled to move to the right screen of the card detail interface (for example, a position close to puck a), that is, after puck a movement of puck a stops, the movement of puck B associated with puck a is controlled, so that a player can fully experience the interaction process with the card character model, the interest of the game interaction of the player on the card display interface is improved.
In addition, based on the above example, if the puck a is controlled to move to the right screen of the card detail interface, the puck a can be moved from the right screen of the card detail interface to the left screen of the card detail interface by the drag gesture towards the upper left corner, that is, the initial position, and correspondingly, the puck B associated with the puck a can also be controlled to synchronously move to the initial position, or the puck B can be controlled to the initial position after the puck a is controlled to move to the initial position.
Optionally, the card display interface further includes: introduction information of the card character model.
The introduction information of the card role model can be presented in the card catalog interface and/or the card detail interface, which is not limited herein. Optionally, the introduction information of the card character model may include: the name, the life value, the injury value, the moving speed, the attack interval, the attack distance, the target, the number of included virtual units, the level and other information of the card character model, but not limited to this, other introduction information may be included according to the type of the card character model.
Fig. 11 is a functional module schematic diagram of an interaction device of a card game according to an embodiment of the present application, where the device may display a graphical user interface through a first terminal device, the graphical user interface may display a card display interface, and the card display interface includes a card role model corresponding to a card, and basic principles and generated technical effects of the device are the same as those of the corresponding method embodiment, and for brief description, reference may be made to corresponding contents in the method embodiment for a part not mentioned in this embodiment. As shown in fig. 11, the interactive apparatus 100 of the card game may include: an acquisition module 110 and a control module 120.
An obtaining module 110, configured to respond to a touch operation for the card role model, and obtain a touch trajectory of the touch operation; a control module 120 for controlling the card character model to move in the graphical user interface based on the touch trajectory.
Optionally, the obtaining module 110 is specifically configured to obtain screen position information of the touch trajectory on the first terminal device; the control module 120 is specifically configured to control the card character model to move from the initial position to the screen position information of the touch trajectory.
Optionally, the control module 120 is further configured to control the card character model to move from the current position to the initial position in response to a termination instruction of the touch operation.
Optionally, the card presentation interface is a card directory interface, at least one card is displayed in the card directory interface, the card includes a card frame and a card role model at least partially located in the card frame, and the card role model is configured to move in the graphical user interface according to a touch operation.
Optionally, the card presentation interface is a card detail interface, the card detail interface is a card interface displayed in response to a trigger operation for the target card, the card detail interface includes a card role model corresponding to the target card, and the card role model is configured to move in the graphical user interface according to a touch operation.
Fig. 12 is a functional block diagram of another card game interaction device according to an embodiment of the present disclosure. Optionally, the card display interface comprises: a card catalog interface and a card details interface; displaying at least one card in a card display interface, wherein the card comprises a card frame and a card role model at least partially positioned in the card frame, and the card detail interface comprises a card role model corresponding to a target card in the card display interface; as shown in fig. 12, the interaction device 100 for the card game further includes: the display module 150 is configured to display, in response to a touch operation on a target card in the card directory interface, a card role model corresponding to the target card on the card detail interface, where the card role model is configured to move in the graphical user interface according to the touch operation.
Optionally, the card role model includes a plurality of virtual units, and the obtaining module 110 is specifically configured to respond to a touch operation on at least one target virtual unit in the card role model, and obtain a touch trajectory of the touch operation; the control module 120 is specifically configured to control the target virtual unit to move in the graphical user interface based on the touch trajectory, and control other virtual units associated with the target virtual unit to execute an action associated with the touch trajectory.
Optionally, the control module 120 is specifically configured to control the target virtual unit to move in the graphical user interface based on the touch trajectory; and after the target virtual unit stops moving, controlling other virtual units associated with the target virtual unit to execute the action associated with the touch track.
Optionally, the card display interface further includes: introduction information of the card character model.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 13, the electronic device may include: a processor 210, a storage medium 220, and a bus 230, wherein the storage medium 220 stores machine-readable instructions executable by the processor 210, and when the electronic device is operated, the processor 210 communicates with the storage medium 220 via the bus 230, and the processor 210 executes the machine-readable instructions to perform the steps of the above-mentioned method embodiments. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the present application further provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program performs the steps of the above method embodiments. The specific implementation and technical effects are similar, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, 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 through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
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 integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in 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. The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (12)

1. An interaction method of a card game is characterized in that a card display interface is displayed on the graphical user interface and comprises a card role model corresponding to a card, and the method comprises the following steps:
responding to the touch operation aiming at the card role model, and acquiring a touch track of the touch operation;
controlling the card character model to move in the graphical user interface based on the touch trajectory.
2. The method according to claim 1, wherein the step of obtaining the touch trajectory of the touch operation comprises:
acquiring screen position information of the touch track on the terminal equipment;
the step of controlling the card character model to move in the graphical user interface based on the touch trajectory includes:
and controlling the card role model to move from the initial position to the screen position information of the touch track.
3. The method of claim 2, wherein after controlling the card character model to move from an initial position to the screen position information of the touch trajectory, the method further comprises:
and responding to a termination instruction of touch operation, and controlling the card role model to move from the current position to the initial position.
4. The method of claim 1, wherein the card presentation interface is a card directory interface in which at least one card is displayed, the card including a card border and a card role model at least partially within the card border, the card role model configured to move in the graphical user interface according to the touch operation.
5. The method of claim 1, wherein the card presentation interface is a card details interface, the card details interface being a card interface displayed in response to a trigger operation on a target card, the card details interface including a card role model corresponding to the target card, the card role model being configured to move in the graphical user interface according to the touch operation.
6. The method of claim 1, wherein the card presentation interface comprises: a card catalog interface and a card details interface; at least one card is displayed in the card display interface, the card comprises a card frame and a card role model at least partially positioned in the card frame, and the card detail interface comprises a card role model corresponding to a target card in the card display interface;
before the responding to the touch operation of the card character model and acquiring the touch track of the touch operation, the method further comprises:
and responding to touch operation on a target card in the card catalogue interface, and displaying a card role model corresponding to the target card on the card detail interface, wherein the card role model is configured to move in the graphical user interface according to the touch operation.
7. The method of claim 1, wherein the card character model comprises a plurality of virtual units, and wherein obtaining a touch trajectory of a touch operation in response to the touch operation on the card character model comprises:
responding to the touch operation aiming at least one target virtual unit in the card role model, and acquiring a touch track of the touch operation;
the controlling the card character model to move in the graphical user interface based on the touch trajectory includes:
and controlling the target virtual unit to move in the graphical user interface based on the touch track, and controlling other virtual units associated with the target virtual unit to execute the action associated with the touch track.
8. The method of claim 7, wherein the controlling the target virtual unit to move in the graphical user interface based on the touch trajectory, controlling other virtual units associated with the target virtual unit to perform actions associated with the touch trajectory, comprises:
controlling the target virtual unit to move in the graphical user interface based on the touch trajectory;
and after the target virtual unit stops moving, controlling other virtual units associated with the target virtual unit to execute the action associated with the touch track.
9. The method of any of claims 1-8, wherein the card presentation interface further comprises: and the introduction information of the card role model.
10. The utility model provides an interactive device of card game, shows graphical user interface through first terminal equipment, graphical user interface shows there is card show interface, a serial communication port, card show interface includes the card role model that the card corresponded, the device includes: the device comprises an acquisition module and a control module;
the acquisition module is used for responding to the touch operation aiming at the card role model and acquiring a touch track of the touch operation;
the control module is used for controlling the card role model to move in the graphical user interface based on the touch track.
11. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating over the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the method of interacting the card game of any of claims 1-9.
12. A storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of interaction for a card game according to any one of claims 1-9.
CN202010527425.3A 2020-06-10 2020-06-10 Card game interaction method and device, electronic equipment and storage medium Pending CN111643890A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010527425.3A CN111643890A (en) 2020-06-10 2020-06-10 Card game interaction method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010527425.3A CN111643890A (en) 2020-06-10 2020-06-10 Card game interaction method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111643890A true CN111643890A (en) 2020-09-11

Family

ID=72351703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010527425.3A Pending CN111643890A (en) 2020-06-10 2020-06-10 Card game interaction method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111643890A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113274737A (en) * 2021-06-08 2021-08-20 网易(杭州)网络有限公司 Information recommendation method and device, computer equipment and medium
CN113304473A (en) * 2021-05-26 2021-08-27 网易(杭州)网络有限公司 Obstacle creating method, device, equipment and medium
CN114879870A (en) * 2022-04-15 2022-08-09 北京字跳网络技术有限公司 Interaction method and device, computer equipment and readable storage medium
CN115350475A (en) * 2022-06-30 2022-11-18 元素创造(深圳)网络科技有限公司 Virtual object control method and device
WO2023125581A1 (en) * 2021-12-28 2023-07-06 北京字跳网络技术有限公司 Card-based interaction method and apparatus, computer device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110339572A (en) * 2019-07-16 2019-10-18 网易(杭州)网络有限公司 Card group edit methods, device and electronic equipment in game
CN110665228A (en) * 2019-10-16 2020-01-10 网易(杭州)网络有限公司 Method and device for controlling role cards in game

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110339572A (en) * 2019-07-16 2019-10-18 网易(杭州)网络有限公司 Card group edit methods, device and electronic equipment in game
CN110665228A (en) * 2019-10-16 2020-01-10 网易(杭州)网络有限公司 Method and device for controlling role cards in game

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113304473A (en) * 2021-05-26 2021-08-27 网易(杭州)网络有限公司 Obstacle creating method, device, equipment and medium
CN113274737A (en) * 2021-06-08 2021-08-20 网易(杭州)网络有限公司 Information recommendation method and device, computer equipment and medium
CN113274737B (en) * 2021-06-08 2024-02-02 网易(杭州)网络有限公司 Information recommendation method, device, computer equipment and medium
WO2023125581A1 (en) * 2021-12-28 2023-07-06 北京字跳网络技术有限公司 Card-based interaction method and apparatus, computer device and storage medium
CN114879870A (en) * 2022-04-15 2022-08-09 北京字跳网络技术有限公司 Interaction method and device, computer equipment and readable storage medium
CN115350475A (en) * 2022-06-30 2022-11-18 元素创造(深圳)网络科技有限公司 Virtual object control method and device

Similar Documents

Publication Publication Date Title
CN111643890A (en) Card game interaction method and device, electronic equipment and storage medium
KR102701092B1 (en) Method and device for controlling virtual objects, terminals, and storage media
US11995311B2 (en) Adaptive display method and apparatus for virtual scene, electronic device, storage medium, and computer program product
CN111913624B (en) Interaction method and device for objects in virtual scene
CN113559520B (en) Interaction control method and device in game, electronic equipment and readable storage medium
TW202217541A (en) Location adjusting method, device, equipment, storage medium, and program product for virtual buttons
CN111729291B (en) Interaction method, device, electronic equipment and storage medium
CN113440848A (en) In-game information marking method and device and electronic device
CN111467791A (en) Target object control method, device and system
CN106984044B (en) Method and equipment for starting preset process
CN114653059A (en) Method and device for controlling virtual character in game and non-volatile storage medium
CN113476823A (en) Virtual object control method and device, storage medium and electronic equipment
CN116688526A (en) Virtual character interaction method and device, terminal equipment and storage medium
CN115619484A (en) Method for displaying virtual commodity object, electronic equipment and computer storage medium
CN115120979A (en) Display control method and device of virtual object, storage medium and electronic device
CN113941152A (en) Virtual object control method and device, electronic equipment and storage medium
CN116688502A (en) Position marking method, device, equipment and storage medium in virtual scene
WO2024037139A1 (en) Method and apparatus for prompting information in virtual scene, electronic device, storage medium, and program product
WO2023221716A1 (en) Mark processing method and apparatus in virtual scenario, and device, medium and product
CN113713368B (en) Terminal operation method, device, electronic equipment and storage medium
WO2024021792A1 (en) Virtual scene information processing method and apparatus, device, storage medium, and program product
CN115501599A (en) Virtual object control method, device, medium and equipment
CN118203835A (en) Virtual model reloading method and device, storage medium and electronic device
CN117919712A (en) Information prompting method and device in game, storage medium and electronic device
CN116920372A (en) Game display method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200911

RJ01 Rejection of invention patent application after publication