CN114344891A - Display control method and device for card game, storage medium and electronic equipment - Google Patents

Display control method and device for card game, storage medium and electronic equipment Download PDF

Info

Publication number
CN114344891A
CN114344891A CN202111630504.8A CN202111630504A CN114344891A CN 114344891 A CN114344891 A CN 114344891A CN 202111630504 A CN202111630504 A CN 202111630504A CN 114344891 A CN114344891 A CN 114344891A
Authority
CN
China
Prior art keywords
card
game
position information
determining
target
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
CN202111630504.8A
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.)
Guangzhou Boguan Information Technology Co Ltd
Original Assignee
Guangzhou Boguan Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Boguan Information Technology Co Ltd filed Critical Guangzhou Boguan Information Technology Co Ltd
Priority to CN202111630504.8A priority Critical patent/CN114344891A/en
Publication of CN114344891A publication Critical patent/CN114344891A/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/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • A63F13/426Processing 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 involving on-screen location information, e.g. screen coordinates of an area at which the player is aiming with a light gun
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B21/00Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01LMEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
    • G01L5/00Apparatus for, or methods of, measuring force, work, mechanical power, or torque, specially adapted for specific purposes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4781Games

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure belongs to the technical field of games, and relates to a card game display control method and device, a storage medium and electronic equipment. The method comprises the following steps: responding to the card-playing operation acted on the card positions, and determining target cards corresponding to the card positions in the card game; the target card is used in a card game. The card position provided by the handheld device is used for determining the target card, and support is provided for a novel game form of a card game. In addition, the target cards are used in the card game according to the card playing operation, animation pictures can be better restored in a game interface, better game content is output, the anchor of the card game can obtain immersive game scene experience, better live broadcast content is further created, the live broadcast experience of the anchor and the watching experience of audiences are optimized, and the game requirements of two users, namely common game players and game anchor, in multiple dimensions are met.

Description

Display control method and device for card game, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of game technologies, and in particular, to a display control method for a card game, a display control device for a card game, a computer-readable storage medium, and an electronic device.
Background
At present, more and more users take online games as an important way of daily entertainment. Moreover, a large number of users can select to watch live game videos through a live game platform, particularly live card games. During the game process and the live broadcast process of the current card games, the player can select cards and select positions to put the cards for use.
However, this game system has a poor display screen effect, and it is difficult to output a good game content, and it is impossible to enter a main broadcast immersive game scene, and thus a better quality of a live broadcast content is not created.
In view of the above, there is a need in the art to develop a new display control method and device for a card game.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The present disclosure is directed to a display control method for a card game, a display control device for a card game, a computer-readable storage medium, and an electronic device, so as to overcome, at least to some extent, a technical problem of poor live broadcast effect due to limitations of related art.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to a first aspect of the embodiments of the present invention, there is provided a display control method for a card game, which is applied to an electronic terminal, where the electronic terminal displays a game interface for the card game, the electronic terminal is connected to a handheld device, and the handheld device provides a card slot, where the method includes:
responding to a card-playing operation acted on the card positions, and determining target cards corresponding to the card positions in the card game;
using the target card in the card game.
In one exemplary embodiment of the present invention,
the use of the target card in the card game, comprising:
identifying position information corresponding to the card-playing operation;
and determining the display position of the target card in the game interface according to the position information.
In one exemplary embodiment of the present invention,
the identifying the position information corresponding to the card-playing operation comprises:
establishing a first coordinate axis according to the handheld device;
and identifying position information corresponding to the card playing operation by using the first coordinate axis.
In one exemplary embodiment of the present invention,
the determining the display position of the target card in the game interface according to the position information comprises:
and determining a mapping relation corresponding to the position information, and determining a display position when the target card is used in the game interface according to the mapping relation and the position information.
In one exemplary embodiment of the present invention,
the determining the mapping relationship corresponding to the position information includes:
acquiring the proportion of the game interface;
and establishing a mapping relation between the position information and the display position according to the proportion.
In one exemplary embodiment of the present invention,
after the determining the mapping relationship corresponding to the location information, the method further includes:
acquiring a first track reaching the position represented by the position information;
and determining a second track in the game interface according to the first track based on the mapping relation.
In one exemplary embodiment of the present invention,
the determining, in the game interface according to the mapping relationship and the position information, a display position when the target card is used includes:
determining the role orientation of a game role in the game interface, and establishing a second coordinate axis according to the game role and the role orientation;
and on the second coordinate axis, determining the display position of the position information when the target card is used in the game interface according to the mapping relation.
In an exemplary embodiment of the present invention, the location information includes: part position information and card position information.
In one exemplary embodiment of the present invention,
the determining the display position of the target card in the game interface according to the position information comprises:
carrying out distance identification processing on the part position information and the card position information to obtain a distance identification result;
and determining the display position of the target card in the game interface according to the position information based on the distance recognition result.
In one exemplary embodiment of the present invention,
the response is to the card-playing operation acted on the card position, and comprises the following steps:
responding to the card-playing operation by detecting the operation strength of the card-playing operation acting on the card position; or
And responding to the card-playing operation acted on the card position through a sensing element arranged in the card position.
In one exemplary embodiment of the present invention,
after the response to the card-dealing operation on the card position, the method further comprises:
canceling the determination of the target card in response to a card insertion operation acting on the card position.
According to a second aspect of the embodiments of the present invention, there is provided a display control apparatus for a card game,
applied to the electronic terminal, the electronic terminal shows the game interface to the card game, the electronic terminal inserts handheld device, handheld device provides the card position, includes:
a card determining module configured to determine a target card in the card game corresponding to the card position in response to a card-out operation acting on the card position;
a card use module configured to use the target card in the card game.
According to a third aspect of embodiments of the present invention, there is provided an electronic apparatus including: a processor and a memory; wherein the memory has stored thereon computer readable instructions which, when executed by the processor, implement a display control method of a card game in any of the above exemplary embodiments.
According to a fourth aspect of embodiments of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a display control method of a card game in any of the above-described exemplary embodiments.
As can be seen from the foregoing technical solutions, the display control method for a card game, the display control device for a card game, the computer storage medium, and the electronic device in the exemplary embodiments of the present disclosure have at least the following advantages and positive effects:
in the method and the device provided by the exemplary embodiment of the disclosure, the target card is determined through the card position provided by the handheld device, and support is provided for a novel game form of the card game. In addition, the target cards are used in the card game according to the card playing operation, animation pictures can be better restored in a game interface, better game content is output, the anchor of the card game can obtain immersive game scene experience, better live broadcast content is further created, the live broadcast experience of the anchor and the watching experience of audiences are optimized, and the game requirements of two users, namely common game players and game anchor, in multiple dimensions are met.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.
Fig. 1 schematically illustrates a flowchart of a display control method of a card game in an exemplary embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow chart of a method of responding to a card-out operation in an exemplary embodiment of the present disclosure;
FIG. 3 schematically illustrates a flow diagram of a method of using a target card in an exemplary embodiment of the disclosure;
FIG. 4 schematically illustrates a flow chart of a method of identifying location information for a card playing operation in an exemplary embodiment of the disclosure;
FIG. 5 schematically illustrates an interface diagram for establishing a first coordinate axis in an exemplary embodiment of the present disclosure;
FIG. 6 schematically illustrates a flow chart of a method of determining a mapping relationship in an exemplary embodiment of the disclosure;
FIG. 7 schematically illustrates a flow diagram of a method of determining a second trajectory in an exemplary embodiment of the present disclosure;
FIG. 8 schematically illustrates a flow diagram of a method of determining a display position in an exemplary embodiment of the disclosure;
FIG. 9 schematically illustrates a flow chart of a method of further determining a display position in an exemplary embodiment of the disclosure;
FIG. 10 schematically illustrates an interface for determining a display location in an exemplary embodiment of the disclosure;
fig. 11 schematically illustrates a structural diagram of a display control apparatus of a card game in an exemplary embodiment of the present disclosure;
fig. 12 schematically illustrates an electronic device for implementing a display control method of a card game in an exemplary embodiment of the present disclosure;
fig. 13 schematically illustrates a computer-readable storage medium for implementing a display control method of a card game in an exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and the like. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
The terms "a," "an," "the," and "said" are used in this specification to denote the presence of one or more elements/components/parts/etc.; the terms "comprising" and "having" are intended to be inclusive and mean that there may be additional elements/components/etc. other than the listed elements/components/etc.; the terms "first" and "second", etc. are used merely as labels, and are not limiting on the number of their objects.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities.
At present, more and more users can select to watch live game videos through a live game platform, and especially watch live card games. In the current card live broadcasting process, the main broadcaster usually broadcasts the whole game picture through a computer. The anchor can select cards and select positions to release the cards for use.
However, the live broadcast method has a poor live broadcast screen effect, and it is difficult to output good live broadcast content.
Aiming at the problems in the related art, the display control method of the card game is applied to an electronic terminal, the electronic terminal displays a game interface aiming at the card game, the electronic terminal is connected to a handheld device, and the handheld device provides a card position. Fig. 1 shows a flowchart of a display control method of a card game, and as shown in fig. 1, the display control method of the card game includes at least the steps of:
and S110, responding to the card outlet operation acted on the card position, and determining a target card corresponding to the card position in the card game.
Step S120. use the target card in the card game.
In an exemplary embodiment of the present disclosure, the target cards are determined by the card positions provided by the handheld device, providing support for a new game format for card games. In addition, the target cards are used in the card game according to the card playing operation, animation pictures can be better restored in a game interface, better game content is output, the anchor of the card game can obtain immersive game scene experience, better live broadcast content is further created, the live broadcast experience of the anchor and the watching experience of audiences are optimized, and the game requirements of two users, namely common game players and game anchor, in multiple dimensions are met.
The respective steps of the display control method of the card game will be described in detail below.
In step S110, a target card corresponding to the card position in the card game is determined in response to the card-out operation applied to the card position.
In an exemplary embodiment of the present disclosure, the handheld device may be a device with a plurality of card slots above, and the card slots may have playing cards of a multi-card game within them.
The number of the card positions can be 5 or other numbers. The card slot may be a card slot, or may be another card slot, which is not particularly limited in this exemplary embodiment.
Further, a target card corresponding to the card position may be determined in response to a card-discard operation applied to the card position.
In an alternative embodiment, fig. 2 shows a flow diagram of a method of responding to a card-playing operation, as shown in fig. 2, the method comprising at least the steps of: in step S210, the card-dealing operation is responded by detecting the operation strength of the card-dealing operation acting on the card position.
The card position can sense the disappearance behavior of the card in various ways.
Specifically, the operation strength, such as the extrusion force, of the trigger operation acting in the card position is sensed to determine that the trigger operation is the card-playing operation so as to respond to the card-playing operation.
The manner of determining that the trigger operation is the card-playing operation may be determining that the operation strength of the trigger operation is greater than the corresponding strength threshold, or may be other manners, which is not particularly limited in this exemplary embodiment.
In step S220, the card-playing operation acting on the card position is responded by the sensing element built in the card position.
Another way to sense the discard operation of the card position may be to sense the disappearance of the playing cards by a sensing element built into the card position. The sensing element may be a built-in chip or other elements, which is not limited in this exemplary embodiment.
In the exemplary embodiment, the mode of sensing the disappearance behavior of the game cards is enriched through two modes of responding to the card-playing operation, a plurality of modes are provided for realizing the handheld device, and the application scene of the handheld device is enriched.
When the anchor draws a game card at any one of the card positions by a card-drawing operation, the game card can be determined as a target card.
For example, each card position has a corresponding position area, and the position area where the action position of the card-playing operation falls can be determined to determine that the corresponding game card is the target card.
Or when the card game is played by the anchor of the card game at the anchor end by using the handheld device, the card position is sensed, and then the corresponding signal can be sent to the live broadcast server end, so that the live broadcast server end processes the signal and then sends the signal to the game server end.
Specifically, after receiving the signal, the live server may start monitoring the behavior in the live room. After receiving the signal, the game server may send a corresponding signal to the game client, so as to select a game card at a corresponding position as a target card according to a card-out operation.
In step S120, the target card is used in the card game.
In an exemplary embodiment of the present disclosure, after a target card in a card game is determined according to a card-out operation, the determined target card may be used in the card game. In an alternative embodiment, FIG. 3 shows a flow diagram of a method of using a target card, as shown in FIG. 3, the method including at least the steps of: in step S310, position information corresponding to the card operation is identified.
In an alternative embodiment, fig. 4 shows a flow chart of a method of identifying location information for a card playing operation, as shown in fig. 4, the method comprising at least the steps of: in step S410, a first coordinate axis is established according to the handheld device.
The handheld device is used as a coordinate origin, the horizontal direction where the handheld device is located is an x axis, and the vertical direction is a y axis to establish a first coordinate axis.
For example, when the first coordinate axis is a coordinate axis in a live view of the anchor, the establishment of the first coordinate axis may be implemented by a live platform client of the anchor.
Fig. 5 is a schematic diagram of an interface for establishing a first coordinate axis, as shown in fig. 5, the first coordinate axis is established with a central point of the handheld device as an origin of coordinates, a horizontal direction of the handheld device is an x-axis, and a vertical direction is a y-axis.
In step S420, position information corresponding to the card operation is identified using the first coordinate axis.
After the first axis is established, position information of the card-playing operation may be determined on the first axis.
In an alternative embodiment, the location information includes: part position information and card position information.
The part position information may be position information of a target part of the anchor, such as hand position information, or position information of a part of another operation playing behavior, which is not particularly limited in this exemplary embodiment.
And the card position is the information of the position of the card when the player plays the card.
In the exemplary embodiment, the position information can be determined by establishing the first coordinate axis, and data support is provided for further determining the display position using the target card.
In step S320, a display position when the target card is used is determined in the game interface based on the position information.
In an optional embodiment, a mapping relation corresponding to the position information is determined, and a display position when the target card is used is determined in the game interface according to the mapping relation and the position information.
The mapping relationship may be an association relationship established according to the position information and the display position.
In an alternative embodiment, fig. 6 shows a flowchart of a method for determining a mapping relationship, and as shown in fig. 6, the method at least includes the following steps: in step S610, the scale of the game interface is acquired.
The ratio of the game interface may be the width-to-height ratio of the game interface, or may be a ratio in other forms, which is not particularly limited in this exemplary embodiment.
For example, the ratio of the game interface may be 1:2, i.e., the width-height ratio of the game frame is 1: 2.
In step S620, a mapping relationship between the position information and the display position is established according to the scale.
After the proportion of the game interface is obtained, a mapping relation between the position information and the display position can be established according to the proportion.
Specifically, when the ratio of the game interface is 1:2, the mapping relationship between the position information and the display position can be determined.
For example, when the hand part or the arm part of the anchor moves horizontally by one unit in the live broadcast picture, the display position also moves horizontally by one unit; when the hand part or the arm part of the anchor moves one unit longitudinally in the live broadcast interface, the display position moves two units longitudinally correspondingly.
The proportion of the game interface may also be obtained by the game server, so that the mapping relationship is determined by the game server.
In the exemplary embodiment, the mapping relationship between the played position information and the display position can be determined according to the proportion of the game interface, a quite fitting corresponding relationship is established for accurately determining the display position in the game interface, and the accuracy of the determined display position is ensured.
Further, after the mapping relationship is determined, the track in the game interface can be determined according to the mapping relationship.
In an alternative embodiment, fig. 7 shows a flow chart of a method for determining the second trajectory, which, as shown in fig. 7, at least comprises the following steps: in step S710, a first trajectory to a location represented by location information is acquired.
For example, the anchor terminal may generate a first trajectory of position information of the cards reached by collecting the position information of the part and the card position information in real time. Thus, the first trajectory may include a trajectory of the part position information and a trajectory of the card position information.
In step S720, a second track in the game interface is determined according to the first track based on the mapping relationship.
After determining the mapping relationship between the position information and the display position of the card, the mapping relationship may be used to determine that the coordinate information in each first track corresponds to the coordinate information in the game interface, so as to form a second track in the game interface according to all the coordinate information in the game interface.
Therefore, the second trajectory also corresponds to a trajectory including the part position information and a trajectory including the card position information.
After the position information of the cards which arrive at the playing card is acquired, the coordinate information can be issued to the live broadcast server side, so that the live broadcast server side transmits the coordinate information to the game client side through the game server side, the coordinate information takes effect in real time to generate a second track, and dragging preview is carried out.
In the exemplary embodiment, a second track in the game interface can be generated according to the determined mapping relation, a preview track of the target card is indicated to be used by the player in real time, and the game experience of the player in the card game is optimized.
Further, the display position of the played position information in the game interface can be determined by the position information and the card position information.
In an alternative embodiment, fig. 8 shows a flow chart of a method for determining a display position, as shown in fig. 8, the method at least comprises the following steps: in step S810, a distance recognition process is performed on the position information and the card position information to obtain a distance recognition result.
The position information of the card-playing operation comprises two parts of the position information and the card position information, but whether the corresponding display position needs to be determined according to the card position information or not needs to identify the distance between the position information of the part and the card position information.
For example, the distance between the part position information and the card position information may be calculated, and a distance threshold corresponding to the distance may be acquired. Further, the distance is compared with a distance threshold value to obtain a distance identification result.
The distance threshold may be 0, or may be other values, which is not particularly limited in this exemplary embodiment.
For example, the distance recognition process may be performed after the live platform client monitors the live screen.
In step S820, a display position where the target card is used is determined in the game interface according to the position information based on the distance recognition result.
When the distance recognition result is that the distance between the part position information and the card position information is larger than the corresponding distance threshold, the display position can be further determined.
In an alternative embodiment, fig. 9 shows a flow chart of a method for further determining the display position, as shown in fig. 9, the method at least comprises the following steps: in step S910, the character orientation of the game character in the game interface is determined, and a second coordinate axis is established according to the game character and the character orientation.
To determine the display position in the game interface, a second coordinate axis in the game interface may be established.
Specifically, the second coordinate axis may be established with the game character as the origin of coordinates, and with the horizontal direction of the current character orientation of the game character as the x-axis and the vertical direction as the y-axis.
For example, the establishment of the second coordinate axis may be implemented by a game client of the anchor side.
In step S920, on the second coordinate axis, a display position of the position information when the target card is used in the game interface is determined according to the mapping relationship.
After the second coordinate axis is determined, a display position corresponding to the position information of the card-out operation may be determined on the second coordinate axis according to the mapping relationship.
It is noted that the display position may be determined based on card position information.
Fig. 10 is a schematic view of an interface for determining a display position, and as shown in fig. 10, when the card-out operation is a sliding operation, a corresponding game card may be selected as a target card at a card position of the game interface by a sliding start point of the sliding operation.
Further, a second coordinate axis is established with the game character as the origin of coordinates, and with the horizontal direction of the current character orientation of the game character as the x-axis and the vertical direction as the y-axis.
After the second coordinate axis is established, the display position of the target card is determined in the game interface according to the sliding end point of the first track corresponding to the sliding operation, so that the target card is used for carrying out the tactical combat.
In the exemplary embodiment, the second coordinate axis is established depending on the orientation of the character, is kept uniform with the orientation of the card playing operation of the player in the game process, is consistent with the living habits of the player, ensures the determination accuracy and the fitting degree of the display position, enables the player to enter the game scene more immersive, and creates a better game atmosphere.
In addition, since there is a possibility that a card change attack or a discard attack may occur after a card-playing operation is performed, it is also possible to discard the position information of the corresponding card-playing when a card-inserting operation is performed on the card position.
In an alternative embodiment, the target card is deselected in response to a card-insertion operation being performed at the card location.
When the player makes a card change attack or abandons the attack, the target card selected by the card-out operation is inserted back into the card position of the handheld device. At this time, the electronic terminal cancels the selection of the corresponding target card, abandons the position information determined according to the card-out operation and does not perform subsequent operation.
In the display control method of the card game in the exemplary embodiment of the disclosure, the target card is determined through the card position provided by the handheld device, and support is provided for a novel game form of the card game. In addition, the target cards are used in the card game according to the card playing operation, animation pictures can be better restored in a game interface, better game content is output, the anchor of the card game can obtain immersive game scene experience, better live broadcast content is further created, the live broadcast experience of the anchor and the watching experience of audiences are optimized, and the game requirements of two users, namely common game players and game anchor, in multiple dimensions are met
Moreover, the display control method of the card game can be combined with a virtual live broadcast mode, and the aim is to achieve a more perfect game animation effect.
In addition, in an exemplary embodiment of the present disclosure, a display control apparatus for a card game is further provided, which is applied to an electronic terminal, where the electronic terminal displays a game interface for the card game, the electronic terminal is connected to a handheld device, and the handheld device provides a card position. Fig. 11 is a schematic structural view showing a display control apparatus for a card game, and as shown in fig. 11, the display control apparatus 1100 for a card game may include: a card determination module 1110 and a card usage module 1120. Wherein:
a card determining module 1110 configured to determine a target card in the card game corresponding to the card position in response to a card-out operation applied to the card position;
a card use module 1120 configured to use the target card in the card game.
In one exemplary embodiment of the present invention,
the use of the target card in the card game, comprising:
identifying position information corresponding to the card-playing operation;
and determining the display position of the target card in the game interface according to the position information.
In one exemplary embodiment of the present invention,
the identifying the position information corresponding to the card-playing operation comprises:
establishing a first coordinate axis according to the handheld device;
and identifying position information corresponding to the card playing operation by using the first coordinate axis.
In one exemplary embodiment of the present invention,
the determining the display position of the target card in the game interface according to the position information comprises:
and determining a mapping relation corresponding to the position information, and determining a display position when the target card is used in the game interface according to the mapping relation and the position information.
In one exemplary embodiment of the present invention,
the determining the mapping relationship corresponding to the position information includes:
acquiring the proportion of the game interface;
and establishing a mapping relation between the position information and the display position according to the proportion.
In one exemplary embodiment of the present invention,
after the determining the mapping relationship corresponding to the location information, the method further includes:
acquiring a first track reaching the position represented by the position information;
and determining a second track in the game interface according to the first track based on the mapping relation.
In one exemplary embodiment of the present invention,
the determining, in the game interface according to the mapping relationship and the position information, a display position when the target card is used includes:
determining the role orientation of a game role in the game interface, and establishing a second coordinate axis according to the game role and the role orientation;
and on the second coordinate axis, determining the display position of the position information when the target card is used in the game interface according to the mapping relation.
In an exemplary embodiment of the present invention, the location information includes: part position information and card position information.
In one exemplary embodiment of the present invention,
the determining the display position of the target card in the game interface according to the position information comprises:
carrying out distance identification processing on the part position information and the card position information to obtain a distance identification result;
and determining the display position of the target card in the game interface according to the position information based on the distance recognition result.
In one exemplary embodiment of the present invention,
the response is to the card-playing operation acted on the card position, and comprises the following steps:
responding to the card-playing operation by detecting the operation strength of the card-playing operation acting on the card position; or
And responding to the card-playing operation acted on the card position through a sensing element arranged in the card position.
In one exemplary embodiment of the present invention,
after the response to the card-dealing operation on the card position, the method further comprises:
canceling the determination of the target card in response to a card insertion operation acting on the card position.
The specific details of the display control apparatus 1100 for a card game are described in detail in the corresponding display control method for a card game, and therefore, the details are not described herein again.
It should be noted that although several modules or units of the display control apparatus 1100 of the card game are mentioned in the above detailed description, such division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
An electronic device 1200 according to such an embodiment of the invention is described below with reference to fig. 12. The electronic device 1200 shown in fig. 12 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 12, the electronic device 1200 is embodied in the form of a general purpose computing device. The components of the electronic device 1200 may include, but are not limited to: the at least one processing unit 1210, the at least one memory unit 1220, the bus 1230 connecting the various system components (including the memory unit 1220 and the processing unit 1210), and the display unit 1240.
Wherein the memory unit stores program code that is executable by the processing unit 1210 to cause the processing unit 1210 to perform steps according to various exemplary embodiments of the present invention as described in the above section "exemplary methods" of the present specification.
The storage unit 1220 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)1221 and/or a cache memory unit 1222, and may further include a read only memory unit (ROM) 1223.
Storage unit 1220 may also include a program/utility 1224 having a set (at least one) of program modules 1225, such program modules 1225 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 1230 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 1200 may also communicate with one or more external devices 1400 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 1200, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 1200 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 1250. Also, the electronic device 1200 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 1260. As shown, the network adapter 1260 communicates with the other modules of the electronic device 1200 via the bus 1230. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 1200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to various exemplary embodiments of the invention described in the above-mentioned "exemplary methods" section of the present description, when said program product is run on the terminal device.
Referring to fig. 13, a program product 1300 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (14)

1. A display control method of a card game is applied to an electronic terminal, the electronic terminal displays a game interface aiming at the card game, the electronic terminal is connected to a handheld device, and the handheld device provides card positions, and the method comprises the following steps:
responding to a card-playing operation acted on the card positions, and determining target cards corresponding to the card positions in the card game;
using the target card in the card game.
2. The display control method for a card game according to claim 1, wherein the using the target card in the card game includes:
identifying position information corresponding to the card-playing operation;
and determining the display position of the target card in the game interface according to the position information.
3. The display control method of a card game according to claim 2, wherein the identifying the position information corresponding to the card-playing operation includes:
establishing a first coordinate axis according to the handheld device;
and identifying position information corresponding to the card playing operation by using the first coordinate axis.
4. The method of claim 2, wherein determining a display position in the game interface when the target card is used according to the position information includes:
and determining a mapping relation corresponding to the position information, and determining a display position when the target card is used in the game interface according to the mapping relation and the position information.
5. The display control method of a card game according to claim 4, wherein the determining of the mapping corresponding to the position information includes:
acquiring the proportion of the game interface;
and establishing a mapping relation between the position information and the display position according to the proportion.
6. The display control method of a card game according to claim 4, wherein after the determining of the mapping corresponding to the position information, the method further comprises:
acquiring a first track reaching the position represented by the position information;
and determining a second track in the game interface according to the first track based on the mapping relation.
7. The method of claim 4, wherein determining a display position of the target card in the game interface according to the mapping relationship and the position information includes:
determining the role orientation of a game role in the game interface, and establishing a second coordinate axis according to the game role and the role orientation;
and on the second coordinate axis, determining the display position of the position information when the target card is used in the game interface according to the mapping relation.
8. The display control method of a card game according to claim 1, wherein the position information includes: part position information and card position information.
9. The method of claim 8, wherein determining a display position in the game interface when the target card is used according to the position information comprises:
carrying out distance identification processing on the part position information and the card position information to obtain a distance identification result;
and determining the display position of the target card in the game interface according to the position information based on the distance recognition result.
10. The display control method of a card game according to claim 1, wherein the responding to the card-out operation applied to the card position includes:
responding to the card-playing operation by detecting the operation strength of the card-playing operation acting on the card position; or
And responding to the card-playing operation acted on the card position through a sensing element arranged in the card position.
11. The display control method of a card game according to claim 1, wherein after the response to the card-out operation on the card position, the method further comprises:
canceling the determination of the target card in response to a card insertion operation acting on the card position.
12. The utility model provides a display control device of card game which characterized in that is applied to electronic terminal, electronic terminal shows to the game interface of card game, electronic terminal inserts handheld device, handheld device provides the card position, includes:
a card determining module configured to determine a target card in the card game corresponding to the card position in response to a card-out operation acting on the card position;
a card use module configured to use the target card in the card game.
13. A computer-readable storage medium on which a computer program is stored, the computer program, when being executed by a processor, implementing a display control method of a card game according to any one of claims 1 to 11.
14. An electronic device, comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute the display control method of the card game of any one of claims 1-11 via execution of the executable instructions.
CN202111630504.8A 2021-12-28 2021-12-28 Display control method and device for card game, storage medium and electronic equipment Pending CN114344891A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111630504.8A CN114344891A (en) 2021-12-28 2021-12-28 Display control method and device for card game, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111630504.8A CN114344891A (en) 2021-12-28 2021-12-28 Display control method and device for card game, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN114344891A true CN114344891A (en) 2022-04-15

Family

ID=81102377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111630504.8A Pending CN114344891A (en) 2021-12-28 2021-12-28 Display control method and device for card game, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114344891A (en)

Similar Documents

Publication Publication Date Title
CN110418151B (en) Bullet screen information sending and processing method, device, equipment and medium in live game
CN109091861B (en) Interactive control method in game, electronic device and storage medium
CN111097168B (en) Display control method and device in game live broadcast, storage medium and electronic equipment
CN108304762B (en) Human body posture matching method and device, storage medium and terminal
CN109299326B (en) Video recommendation method, device and system, electronic equipment and storage medium
CN108777806B (en) User identity recognition method, device and storage medium
CN111104551B (en) Live broadcast room label determining method and device, storage medium and electronic equipment
CN113660503B (en) Same-screen interaction control method and device, electronic equipment and storage medium
CN112546621A (en) Voting method and device for live game, computer storage medium and electronic equipment
CN114225400A (en) Bullet screen processing method and device, storage medium and electronic equipment
CN113596496A (en) Interaction control method, device, medium and electronic equipment for virtual live broadcast room
CN112616064A (en) Live broadcast room information processing method and device, computer storage medium and electronic equipment
CN114327182A (en) Special effect display method and device, computer storage medium and electronic equipment
CN113170216A (en) Live broadcast-based gift delivery method and device, equipment and storage medium
CN113422980B (en) Video data processing method and device, electronic equipment and storage medium
CN112188221B (en) Play control method, play control device, computer equipment and storage medium
CN114344891A (en) Display control method and device for card game, storage medium and electronic equipment
CN108833935B (en) A kind of direct broadcasting room recommended method, device, equipment and storage medium
CN108958690A (en) Multi-screen interaction method, device, terminal device, server and storage medium
CN112929685B (en) Interaction method and device for VR live broadcast room, electronic device and storage medium
CN114615556A (en) Virtual live broadcast enhanced interaction method and device, electronic equipment and storage medium
CN109819279B (en) Monitoring method, device, equipment and storage medium for media information delivery
US9872000B2 (en) Second screen device and system
CN112926546A (en) Bullet screen sending method, bullet screen sending device, bullet screen equipment and readable storage medium
CN112791401A (en) Shooting method, shooting 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