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

By providing card positions and responding to card play operations, determining and using target cards, the problem of poor card game live broadcast is solved, and a higher quality game content output and an immersive experience of the anchor is achieved.

CN114344891BActive Publication Date: 2025-06-13GUANGZHOU BOGUAN TELECOMM TECH LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111630504.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-28
Publication Date
2025-06-13
Estimated Expiration
2041-12-28

AI Technical Summary

Technical Problem

The live broadcast of existing card games is not good, it is difficult to output high-quality game content, and it is difficult for the anchor to enter the game scene immersively.

Method used

The card position is provided through a handheld device, and the target card is determined in response to the card play operation, and the target card is used in the game interface to identify the position information of the card play operation, determine the display position based on the position information, and achieve better animation screen restoration and game content output.

Benefits of technology

It improves the live broadcast screen quality of card games and outputs better game content, allowing anchors to obtain immersive game scene experience, further creates high-quality live broadcast content, and optimizes the experience of anchors and audiences.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114344891B_ABST
    Figure CN114344891B_ABST
Patent Text Reader

Abstract

The present disclosure belongs to the field of game technology, and relates to a display control method and device, storage medium, and electronic device for a card game. The method includes: responding to a card-playing operation on a card position, determining a target card corresponding to the card position in the card game; and using the target card in the card game. The present disclosure provides support for a new game form of card games by determining the target card through the card position provided by a handheld device. In addition, using the target card in the card game according to the card-playing operation can better restore the animation screen in the game interface, output better game content, and enable the host of the card game to obtain an immersive game scene experience, further create higher-quality live broadcast content, optimize the host's live broadcast experience and the audience's viewing experience, and meet the game needs of both ordinary game players and game hosts in multiple dimensions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of games, and in particular, to a method for controlling the display of a card game, a device for controlling the display of a card game, a computer-readable storage medium, and an electronic device. Background Art

[0002] Currently, more and more users take online games as an important way of daily entertainment. Moreover, a large number of users will choose to watch game live videos through game live platforms, especially watch live videos of card games. During the game process and live broadcast process of current card games, players can select cards and select positions to place and use the cards.

[0003] However, the display screen effect of this game method is not good, it is difficult to output better game content, and it is also impossible for the anchor to immerse himself in the game scene and create better live broadcast content.

[0004] In view of this, there is an urgent need in this field to develop a new method and device for controlling the display of card games.

[0005] It should be noted that the information disclosed in the above background art section is only used to enhance the understanding of the background of the present disclosure, and thus may include information that does not constitute the prior art known to those of ordinary skill in the art. Summary of the Invention

[0006] The purpose of the present disclosure is to provide a method for controlling the display of a card game, a device for controlling the display of a card game, a computer-readable storage medium, and an electronic device, so as to at least to some extent overcome the technical problem of poor live broadcast effect caused by the limitations of related technologies.

[0007] Other features and advantages of the present disclosure will become apparent through the following detailed description, or be learned in part through the practice of the present disclosure.

[0008] According to the first aspect of the embodiments of the present invention, there is provided a method for controlling the display of a card game, which is applied to an electronic terminal. The electronic terminal displays a game interface for the card game, and the electronic terminal connects to a handheld device. The handheld device provides a card position. The method includes:

[0009] Responding to a card-playing operation on the card position, determining a target card corresponding to the card position in the card game;

[0010] Using the target card in the card game.

[0011] In an exemplary embodiment of the present invention,

[0012] The using the target card in the card game includes:

[0013] Identify the position information corresponding to the card-playing operation;

[0014] Determine the display position when using the target card in the game interface according to the position information.

[0015] In an exemplary embodiment of the present invention,

[0016] The identifying the position information corresponding to the card-playing operation includes:

[0017] Establish a first coordinate axis according to the handheld device;

[0018] Identify the position information corresponding to the card-playing operation by using the first coordinate axis.

[0019] In an exemplary embodiment of the present invention,

[0020] The determining the display position when using the target card in the game interface according to the position information includes:

[0021] Determine the mapping relationship corresponding to the position information, and determine the display position when using the target card in the game interface according to the mapping relationship and the position information.

[0022] In an exemplary embodiment of the present invention,

[0023] The determining the mapping relationship corresponding to the position information includes:

[0024] Obtain the ratio of the game interface;

[0025] Establish the mapping relationship between the position information and the display position according to the ratio.

[0026] In an exemplary embodiment of the present invention,

[0027] After determining the mapping relationship corresponding to the position information, the method further includes:

[0028] Obtain a first trajectory to reach the position represented by the position information;

[0029] Based on the mapping relationship, determine a second trajectory in the game interface according to the first trajectory.

[0030] In an exemplary embodiment of the present invention,

[0031] The determining the display position when using the target card in the game interface according to the mapping relationship and the position information includes:

[0032] Determine the character orientation of the game character in the game interface, and establish a second coordinate axis based on the game character and the character orientation;

[0033] On the second coordinate axis, determine the display position of the position information in the game interface when using the target card according to the mapping relationship.

[0034] In an exemplary embodiment of the present invention, the position information includes: part position information and card position information.

[0035] In an exemplary embodiment of the present invention,

[0036] The determining the display position when using the target card in the game interface according to the position information includes:

[0037] Perform distance recognition processing on the part position information and the card position information to obtain a distance recognition result;

[0038] Based on the distance recognition result, determine the display position when using the target card in the game interface according to the position information.

[0039] In an exemplary embodiment of the present invention,

[0040] The responding to the card-playing operation on the card position includes:

[0041] Respond to the card-playing operation by detecting the operation force of the card-playing operation on the card position; or

[0042] Respond to the card-playing operation on the card position through the sensing element built in the card position.

[0043] In an exemplary embodiment of the present invention,

[0044] After responding to the card-playing operation on the card position, the method further includes:

[0045] Respond to the card-inserting operation on the card position and cancel the determination of the target card.

[0046] According to the second aspect of the embodiments of the present invention, there is provided a display control device for a card game,

[0047] Applied to an electronic terminal, 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, including:

[0048] A card determination module, configured to respond to a card-playing operation on the card position and determine a target card corresponding to the card position in the card game;

[0049] A card usage module, configured to use the target card in the card game.

[0050] According to a third aspect of an embodiment of the present invention, there is provided an electronic device, including: a processor and a memory; wherein, computer-readable instructions are stored on the memory, and when the computer-readable instructions are executed by the processor, the display control method of the card game in any of the above exemplary embodiments is implemented.

[0051] According to a fourth aspect of an embodiment of the present invention, there is provided a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the display control method of the card game in any of the above exemplary embodiments is implemented.

[0052] As can be seen from the above technical solutions, the display control method of the card game, the display control device of the card game, the computer storage medium and the electronic device in the exemplary embodiments of the present disclosure at least have the following advantages and positive effects:

[0053] In the method and device provided by the exemplary embodiments of the present disclosure, the target card is determined through the card positions provided by the handheld device, which provides support for a new game form of the card game. Moreover, by using the target card in the card game according to the card-playing operation, the animation screen can be better restored in the game interface, better game content can be output, and the card game streamers can also obtain an immersive game scene experience, further creating higher-quality live broadcast content and optimizing the live broadcast experience of the streamers and the viewing experience of the audience, realizing the game requirements of two types of users, namely ordinary game players and game streamers, in multiple dimensions.

[0054] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure. Obviously, the accompanying drawings in the following description are only some embodiments of the present disclosure, and those of ordinary skill in the art can obtain other drawings based on these drawings without creative efforts.

[0056] Figure 1 A schematic flowchart showing a display control method of a card game in an exemplary embodiment of the present disclosure;

[0057] Figure 2 A schematic flowchart showing a method for responding to a card-playing operation in an exemplary embodiment of the present disclosure;

[0058] Figure 3 A schematic flowchart showing a method of using a target card in an exemplary embodiment of the present disclosure;

[0059] Figure 4 A flowchart showing a method of identifying position information of a card-playing operation in an exemplary embodiment of the present disclosure;

[0060] Figure 5 A schematic interface diagram showing the establishment of a first coordinate axis in an exemplary embodiment of the present disclosure;

[0061] Figure 6 A schematic flowchart showing a method of determining a mapping relationship in an exemplary embodiment of the present disclosure;

[0062] Figure 7 A schematic flowchart showing a method of determining a second trajectory in an exemplary embodiment of the present disclosure;

[0063] Figure 8 A schematic flowchart showing a method of determining a display position in an exemplary embodiment of the present disclosure;

[0064] Figure 9 A schematic flowchart showing a method of further determining a display position in an exemplary embodiment of the present disclosure;

[0065] Figure 10 A schematic interface diagram showing the determination of a display position in an exemplary embodiment of the present disclosure;

[0066] Figure 11 A schematic structural diagram showing a display control device for a card game in an exemplary embodiment of the present disclosure;

[0067] Figure 12 A schematic diagram showing an electronic device for implementing a display control method of a card game in an exemplary embodiment of the present disclosure;

[0068] Figure 13 A schematic diagram showing a computer-readable storage medium for implementing a display control method of a card game in an exemplary embodiment of the present disclosure. Detailed implementation manners

[0069] Example embodiments will now be described more fully with reference to the accompanying drawings. However, the example embodiments can be implemented in various 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 features, structures, or characteristics described 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 the embodiments of the present disclosure. However, those skilled in the art will recognize that one or more of the specific details may be omitted, or other methods, components, devices, steps, etc. may be used. In other instances, well-known technical solutions are not shown or described in detail to avoid obscuring aspects of the present disclosure.

[0070] As used in this specification, the terms "a", "an", "the", and "said" are used to indicate the presence of one or more elements / components / etc.; the terms "comprising" and "having" are used to mean an open inclusion and mean that there may be additional elements / components / etc. in addition to the listed elements / components / etc.; the terms "first", "second", etc. are used only as labels and are not a limitation on the quantity of their objects.

[0071] In addition, the accompanying drawings are only 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 repeated descriptions thereof will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities.

[0072] Currently, more and more users choose to watch game live videos through game live streaming platforms, especially watching live streams of card games. During the current card game live streaming process, the host usually live streams the entire game screen through a computer. The host can select cards and select positions to place and use the cards.

[0073] However, the live streaming screen effect of this live streaming method is not good, and it is difficult to output good live streaming content.

[0074] In view of the problems in the related art, the present disclosure proposes a display control method for a card game, which is applied to an electronic terminal. The electronic terminal displays a game interface for the card game, and the electronic terminal connects to a handheld device, and the handheld device provides card positions. Figure 1 The flowchart of the display control method for the card game is shown, as Figure 1 shown, the display control method for the card game at least includes the following steps:

[0075] Step S110: In response to a card play operation on a card position, determine a target card corresponding to the card position in the card game.

[0076] Step S120: Use the target card in the card game.

[0077] In an exemplary embodiment of the present disclosure, the target card is determined by the card position provided by the handheld device, which provides support for a new game form of card games. In addition, the use of the target card in the card game according to the card-playing operation can better restore the animation screen in the game interface, output better game content, and enable the anchor of the card game to obtain an immersive game scene experience, further create more high-quality live broadcast content, optimize the anchor's live broadcast experience and the audience's viewing experience, and meet the game needs of both ordinary game players and game anchors in multiple dimensions.

[0078] The following is a detailed description of each step of the display control method for the card game.

[0079] In step S110, in response to a card play operation on a card position, a target card corresponding to the card position in the card game is determined.

[0080] In an exemplary embodiment of the present disclosure, the handheld device may be a device with a plurality of card slots on the top, and the card slots may contain a plurality of game cards of a card game.

[0081] The number of card slots may be 5 or any other number. Furthermore, the card slots may be in the form of card slots or any other form, which is not specifically limited in this exemplary embodiment.

[0082] Furthermore, a card-playing operation on a card position may be responded to so as to determine a target card corresponding to the card position.

[0083] In an alternative embodiment, Figure 2 A flow chart of a method for responding to a card-playing operation is shown, such as Figure 2 As shown, the method at least includes the following steps: In step S210, respond to the card-playing operation by detecting the operating force of the card-playing operation acting on the card position.

[0084] The card slots can sense the disappearance of cards in a variety of ways.

[0085] Specifically, the trigger operation is determined to be a card-discharging operation by sensing the operating force of the trigger operation acting in the card position, such as the squeezing force, so as to respond to the card-discharging operation.

[0086] Among them, the way to determine that the trigger operation is a card-playing operation can be to determine that the operation force of the trigger operation is greater than the corresponding force threshold, or other ways. This exemplary embodiment does not make special limitations on this.

[0087] In step S220, the sensing element built in the card position responds to the card-playing operation acting on the card position.

[0088] Another way to sense the card-playing operation of the card position can be to sense the disappearance of the game card through the sensing element built in the card position. Among them, the sensing element can be a built-in chip or other elements. This exemplary embodiment does not make special limitations on this.

[0089] In this exemplary embodiment, the two ways of responding to the card-playing operation enrich the ways of sensing the disappearance behavior of the game card, and also provide multiple ways for the implementation of the handheld device, enriching the application scenarios of the handheld device.

[0090] When the host draws the game card on any card position through the card-playing operation, the game card can be determined as the target card.

[0091] For example, each card position has a corresponding position area, and it can be judged which position area the acting position of the card-playing operation falls into to determine the corresponding game card as the target card.

[0092] Or when the host of the card game uses this handheld device to play the card game on the host side, after the card position senses it, the corresponding signal can be sent to the live server side, so that the live server side processes the signal and then sends it to the game server side.

[0093] Specifically, after receiving the signal, the live server side can start monitoring the behaviors in the live broadcast room. After receiving the signal, the game server side can send the corresponding signal to the game client to select the game card at the corresponding position as the target card according to the card-playing operation.

[0094] In step S120, use the target card in the card game.

[0095] In the exemplary embodiment of the present disclosure, after determining the target card in the card game according to the card-playing operation, the determined target card can be used in the card game. In an alternative embodiment, Figure 3 shows a flowchart of the method for using the target card, as Figure 3 shown, the method at least includes the following steps: In step S310, identify the position information corresponding to the card-playing operation.

[0096] In an alternative embodiment, Figure 4 shows a flowchart of the method for identifying the position information of the card-playing operation, asFigure 4 As shown, the method at least includes the following steps: In step S410, a first coordinate axis is established according to the handheld device.

[0097] Taking the handheld device as the coordinate origin, the horizontal direction where the handheld device is located as the x-axis, and the vertical direction as the y-axis, a first coordinate axis is established.

[0098] For example, when the first coordinate axis is the coordinate axis in the live broadcast screen of the host side, the establishment of the first coordinate axis can be implemented by the live broadcast platform client of the host side.

[0099] Figure 5 The schematic diagram of the interface for establishing the first coordinate axis is shown. As Figure 5 shown, the first coordinate axis is established with the center point of the handheld device as the coordinate origin, the horizontal direction where the handheld device is located as the x-axis, and the vertical direction as the y-axis.

[0100] In step S420, the position information corresponding to the card-playing operation is identified by using the first coordinate axis.

[0101] After the first coordinate axis is established, the position information of the card-playing operation can be determined on the first coordinate axis.

[0102] In an alternative embodiment, the position information includes: part position information and card position information.

[0103] Among them, the part position information may be the position information of the target part of the host, such as hand position information, or the position information of the part where other operations for playing cards are performed. This exemplary embodiment does not make special limitations on this.

[0104] The card position is the information of the position where the card is located when the host plays the card.

[0105] In this exemplary embodiment, the position information can be determined through the established first coordinate axis, providing data support for further determining the display position of the target card to be used.

[0106] In step S320, the display position when using the target card is determined in the game interface according to the position information.

[0107] In an alternative embodiment, the mapping relationship corresponding to the position information is determined, and the display position when using the target card is determined in the game interface according to the mapping relationship and the position information.

[0108] The mapping relationship may be an association relationship established according to the position information and the display position.

[0109] In an alternative embodiment, Figure 6 The flowchart of the method for determining the mapping relationship is shown. As Figure 6As shown, the method at least includes the following steps: In step S610, obtain the ratio of the game interface.

[0110] The ratio of the game interface can be the width-to-height ratio of the game interface or other forms of ratios, and this exemplary embodiment does not make special limitations on this.

[0111] For example, the ratio of the game interface can be 1:2, that is, the width-to-height ratio of the game screen is 1:2.

[0112] In step S620, establish a mapping relationship between the position information and the display position according to the ratio.

[0113] After obtaining the ratio of the game interface, a mapping relationship between the position information and the display position can be established according to this ratio.

[0114] 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.

[0115] For example, when the hand or arm part of the anchor moves horizontally by one unit in the live broadcast screen, the display position also moves horizontally by one unit; when the hand or arm part of the anchor moves vertically by one unit in the live broadcast interface, the display position correspondingly moves vertically by two units.

[0116] The ratio of the game interface can also be obtained by the game server side, so that the mapping relationship is determined by the game server side.

[0117] In this exemplary embodiment, according to the ratio of the game interface, the mapping relationship between the card-playing position information and the display position can be determined, establishing a very fitting corresponding relationship for accurately determining the display position in the game interface and ensuring the accuracy of the determined display position.

[0118] Further, after determining the mapping relationship, the trajectory in the game interface can also be determined according to this mapping relationship.

[0119] In an alternative embodiment, Figure 7 shows a schematic flowchart of the method for determining the second trajectory, as Figure 7 shown, the method at least includes the following steps: In step S710, obtain the first trajectory of the position represented by the arrival position information.

[0120] For example, the anchor side can generate the first trajectory of the position information for reaching the card-playing position by collecting the part position information and the card position information in real time. Therefore, this first trajectory can include the trajectory of the part position information and the trajectory of the card position information.

[0121] In step S720, based on the mapping relationship, the second trajectory in the game interface is determined according to the first trajectory.

[0122] After determining the mapping relationship between the position information of playing a card and the display position, this mapping relationship can be used to determine the coordinate information corresponding to each coordinate information in the first trajectory in the game interface, so as to form the second trajectory in the game interface according to all the coordinate information in the game interface.

[0123] Therefore, this second trajectory also correspondingly includes a trajectory of part position information and a trajectory of card position information.

[0124] After obtaining the position information of reaching the position of playing a card, the coordinate information can be sent to the live server side, so that the live server side transmits the coordinate information to the game client through the game server side, so that the coordinate information takes effect in real time to generate the second trajectory for drag preview.

[0125] In this exemplary embodiment, according to the determined mapping relationship, the second trajectory in the game interface can also be generated to indicate the preview trajectory of using the target card for the player in real time, optimizing the game experience of the player in the card game.

[0126] Furthermore, the display position of the position information of playing a card in the game interface can be determined by the part position information and the card position information.

[0127] In an alternative embodiment, Figure 8 shows a schematic flowchart of a method for determining the display position, as Figure 8 shown, this method at least includes the following steps: In step S810, distance recognition processing is performed on the part position information and the card position information to obtain a distance recognition result.

[0128] Since the position information of the card-playing operation includes two parts, namely the part position information and the card position information, but at this time, whether to determine the corresponding display position according to the card position information requires distance recognition processing of the distance between the part position information and the card position information.

[0129] For example, it can be to calculate the distance between the part position information and the card position information, and obtain a distance threshold corresponding to this distance. Furthermore, this distance is compared with the distance threshold to obtain a distance recognition result.

[0130] Among them, the distance threshold can be 0 or other values, and this exemplary embodiment does not make special limitations on this.

[0131] For example, this distance recognition processing can be performed after the live platform client monitors the live broadcast screen.

[0132] In step S820, based on the distance recognition result, the display position of using the target card is determined in the game interface according to the position information.

[0133] When the distance recognition result is that the distance between the part position information and the card position information is greater than the corresponding distance threshold, the display position can be further determined.

[0134] In an alternative embodiment, Figure 9 A flowchart showing a method for further determining the display position is shown, as Figure 9 shown. The method at least includes 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 based on the game character and the character orientation.

[0135] To determine the display position in the game interface, a second coordinate axis in the game interface can be established first.

[0136] Specifically, the game character can be used as the coordinate origin, and the horizontal direction of the current character orientation of the game character is used as the x-axis, and the vertical direction is used as the y-axis to establish the second coordinate axis.

[0137] For example, the establishment of this second coordinate axis can be implemented by the game client of the host side.

[0138] In step S920, on the second coordinate axis, the display position when using the target card in the game interface is determined according to the mapping relationship.

[0139] After determining the second coordinate axis, the display position corresponding to the position information of the card-playing operation can be determined on this second coordinate axis according to the mapping relationship.

[0140] It should be noted that this display position can be determined according to the card position information.

[0141] Figure 10 An interface diagram showing the determination of the display position is shown, as Figure 10 shown. When the card-playing operation is a sliding operation, the corresponding game card can be selected as the target card on the card position in the game interface through the sliding start point of this sliding operation.

[0142] Furthermore, the game character is used as the coordinate origin, and the horizontal direction of the current character orientation of the game character is used as the x-axis, and the vertical direction is used as the y-axis to establish the second coordinate axis.

[0143] After establishing the second coordinate axis, the display position of the target card is determined in the game interface according to the sliding end point of the first trajectory corresponding to the sliding operation, so as to use this target card for spellcasting combat.

[0144] In this exemplary embodiment, the establishment of the second coordinate axis depends on the character's orientation, which is consistent with the orientation of the player's card-playing operations during the game and is also consistent with the player's living habits, ensuring the accuracy and fit of the display position, allowing players to be more immersed in the game scene and create a better gaming atmosphere.

[0145] In addition, after the host performs a card-playing operation, a card-changing attack or an attack abandonment may also occur. Therefore, when responding to a card-insertion operation on a card position, the corresponding card-playing position information can be discarded.

[0146] In an optional embodiment, in response to an insert operation on a card slot, the target card is deselected.

[0147] When the player wants to change cards or give up attacking, he will insert the target card selected by the card play operation back into the card position of the handheld device. At this time, the electronic terminal will cancel the selection of the corresponding target card, discard the position information determined by the card play operation, and no longer perform subsequent operations.

[0148] In the exemplary embodiment of the present disclosure, the display control method of the card game determines the target card through the card position provided by the handheld device, which provides support for a new game form of the card game. In addition, the use of the target card in the card game according to the card-playing operation can better restore the animation screen in the game interface, output better game content, and enable the anchor of the card game to obtain an immersive game scene experience, further create more high-quality live broadcast content, optimize the anchor's live broadcast experience and the audience's viewing experience, and realize the game needs of both ordinary game players and game anchors in multiple dimensions.

[0149] Not only that, the display control method of the card game can also be combined with the virtual live broadcast method to achieve a more perfect game animation effect.

[0150] In addition, in an exemplary embodiment of the present disclosure, a display control device for a card game is also provided, which is applied to an electronic terminal. 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 card slots. Figure 11 The structure diagram of the display control device of the card game is shown as follows: Figure 11 As shown, the display control device 1100 for a card game may include: a card determination module 1110 and a card use module 1120. Among them:

[0151] The card determination module 1110 is configured to determine a target card corresponding to the card position in the card game in response to a card play operation on the card position;

[0152] The card usage module 1120 is configured to use the target card in the card game.

[0153] In an exemplary embodiment of the present invention,

[0154] The using the target card in the card game includes:

[0155] Identifying the position information corresponding to the card-playing operation;

[0156] Determining the display position when using the target card in the game interface according to the position information.

[0157] In an exemplary embodiment of the present invention,

[0158] The identifying the position information corresponding to the card-playing operation includes:

[0159] Establishing a first coordinate axis based on the handheld device;

[0160] Identifying the position information corresponding to the card-playing operation by using the first coordinate axis.

[0161] In an exemplary embodiment of the present invention,

[0162] The determining the display position when using the target card in the game interface according to the position information includes:

[0163] Determining the mapping relationship corresponding to the position information, and determining the display position when using the target card in the game interface according to the mapping relationship and the position information.

[0164] In an exemplary embodiment of the present invention,

[0165] The determining the mapping relationship corresponding to the position information includes:

[0166] Obtaining the ratio of the game interface;

[0167] Establishing the mapping relationship between the position information and the display position according to the ratio.

[0168] In an exemplary embodiment of the present invention,

[0169] After determining the mapping relationship corresponding to the position information, the method further includes:

[0170] Obtaining a first trajectory to the position represented by the position information;

[0171] Determining a second trajectory in the game interface based on the mapping relationship according to the first trajectory.

[0172] In an exemplary embodiment of the present invention,

[0173] Determining the display position when using the target card in the game interface according to the mapping relationship and the position information includes:

[0174] Determining the character orientation of the game character in the game interface, and establishing a second coordinate axis based on the game character and the character orientation;

[0175] On the second coordinate axis, determining the display position of the position information in the game interface when using the target card according to the mapping relationship.

[0176] In an exemplary embodiment of the present invention, the position information includes: part position information and card position information.

[0177] In an exemplary embodiment of the present invention,

[0178] Determining the display position when using the target card in the game interface according to the position information includes:

[0179] Performing distance recognition processing on the part position information and the card position information to obtain a distance recognition result;

[0180] Based on the distance recognition result, determining the display position when using the target card in the game interface according to the position information.

[0181] In an exemplary embodiment of the present invention,

[0182] Responding to the card-playing operation on the card position includes:

[0183] Responding to the card-playing operation by detecting the operation force of the card-playing operation on the card position; or

[0184] Responding to the card-playing operation on the card position through the sensing element built in the card position.

[0185] In an exemplary embodiment of the present invention,

[0186] After responding to the card-playing operation on the card position, the method further includes:

[0187] Responding to the card-inserting operation on the card position and canceling the determination of the target card.

[0188] The specific details of the above display control device 1100 for the card game have been described in detail in the corresponding display control method for the card game, and thus will not be elaborated here.

[0189] It should be noted that although several modules or units of the display control device 1100 of the card game are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of the two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0190] In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.

[0191] Hereinafter, reference is made to Figure 12 to describe the electronic device 1200 according to this embodiment of the present invention. Figure 12 The electronic device 1200 shown is merely an example and should not impose any limitation on the functions and usage scope of the embodiments of the present invention.

[0192] As Figure 12 shown, the electronic device 1200 is presented in the form of a general-purpose computing device. The components of the electronic device 1200 may include, but are not limited to: at least one of the above-mentioned processing units 1210, at least one of the above-mentioned storage units 1220, a bus 1230 connecting different system components (including the storage unit 1220 and the processing unit 1210), and a display unit 1240.

[0193] Among them, the storage unit stores program code, and the program code can be executed by the processing unit 1210, so that the processing unit 1210 executes the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of this specification.

[0194] The storage unit 1220 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 1221 and / or a cache storage unit 1222, and may further include a read-only storage unit (ROM) 1223.

[0195] The storage unit 1220 may further include a program / utility 1224 having a set (at least one) of program modules 1225. Such program modules 1225 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data. The implementation of a network environment may be included in each or some combination of these examples.

[0196] The bus 1230 may represent one or more of several types of bus structures, including a storage unit bus or a storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any bus structure in a variety of bus structures.

[0197] The electronic device 1200 can also communicate with one or more external devices 1400 (such as keyboards, pointing devices, Bluetooth devices, etc.), and can also communicate with one or more devices that enable a user to interact with the electronic device 1200, and / or communicate with any device that enables the electronic device 1200 to communicate with one or more other computing devices (such as routers, modems, etc.). Such communication can be carried out through the input / output (I / O) interface 1250. Moreover, the electronic device 1200 can also communicate with one or more networks (such as local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) through the network adapter 1260. As shown in the figure, the network adapter 1260 communicates with other modules of the electronic device 1200 through the bus 1230. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in combination 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, etc.

[0198] Through the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described herein can be implemented by software, or can be implemented by the way of software combined with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, and the software product can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can 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.

[0199] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is further provided, on which a program product capable of implementing the above method of this specification is stored. In some possible embodiments, various aspects of the present invention can also be implemented in the form of a program product, which includes program code. When the program product runs on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of this specification.

[0200] Reference Figure 13 As shown, a program product 1300 for implementing the above method according to an embodiment of the present invention is described. It can adopt a portable compact disc read-only memory (CD-ROM) and include program code, and can run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, the readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device.

[0201] The program product may employ any combination of one or more readable media. The readable media may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, 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.

[0202] The computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which the readable program code is carried. Such a propagated data signal may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The readable signal medium may also be any readable medium other than the readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0203] The program code contained on the readable medium may be transmitted with any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0204] The program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and also including conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computing device, partially on the user's device, executed as a stand-alone software package, partially on the user's computing device and partially 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's computing device through any type 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).

[0205] Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the claims.

Claims

1. A display control method for a card game, characterized in that, applied to an electronic terminal, 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. The method includes: Responding to a card-playing operation on the card position to determine a target card corresponding to the card position in the card game; Identifying position information corresponding to the card-playing operation; determining a display position when using the target card in the game interface according to the position information; the position information includes: part position information and card position information; the part position information is the position information of the target part of the anchor; the determining the display position when using the target card in the game interface according to the position information includes: performing distance recognition processing on the part position information and the card position information to obtain a distance recognition result; based on the distance recognition result, determining the display position when using the target card in the game interface according to the position information.

2. The display control method for a card game according to claim 1, characterized in that, the identifying the position information corresponding to the card-playing operation includes: Establishing a first coordinate axis according to the handheld device; Using the first coordinate axis to identify the position information corresponding to the card-playing operation.

3. The display control method for a card game according to claim 1, characterized in that, the determining the display position when using the target card in the game interface according to the position information includes: Determining a mapping relationship corresponding to the position information, and determining the display position when using the target card in the game interface according to the mapping relationship and the position information.

4. The display control method for a card game according to claim 3, characterized in that, the determining the mapping relationship corresponding to the position information includes: Obtaining the ratio of the game interface; Establishing a mapping relationship between the position information and the display position according to the ratio.

5. The display control method for a card game according to claim 3, characterized in that, after the determining the mapping relationship corresponding to the position information, the method further includes: Obtaining a first trajectory to the position represented by the position information; Based on the mapping relationship, determining a second trajectory in the game interface according to the first trajectory.

6. The display control method for a card game according to claim 3, characterized in that, the determining the display position when using the target card in the game interface according to the mapping relationship and the position information includes: Determining the character orientation of the game character in the game interface, and establishing a second coordinate axis according to the game character and the character orientation; On the second coordinate axis, determining the display position when using the target card in the game interface according to the mapping relationship and the position information.

7. The display control method for a card game according to claim 1, characterized in that, the responding to a card-playing operation on the card position includes: Respond to the card-playing operation by detecting the operation force acting on the card position; or Respond to the card-playing operation acting on the card position through the sensing element built into the card position.

8. The display control method of the card game according to claim 1, characterized in that after responding to the card-playing operation acting on the card position, the method further includes: Respond to the card-inserting operation acting on the card position and cancel the determination of the target card.

9. A display control device for a card game, characterized in that applied to an electronic terminal, 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, including: A card determination module configured to respond to the card-playing operation acting on the card position and determine the target card corresponding to the card position in the card game; A card usage module configured to identify the position information corresponding to the card-playing operation; determine the display position when using the target card in the game interface according to the position information; the position information includes: part position information and card position information; the part position information is the position information of the target part of the host; the determining the display position when using the target card in the game interface according to the position information includes: performing distance recognition processing on the part position information and the card position information to obtain a distance recognition result; based on the distance recognition result, determining the display position when using the target card in the game interface according to the position information.

10. A computer-readable storage medium, on which a computer program is stored, characterized in that when the computer program is executed by a processor, it implements the display control method of the card game according to any one of claims 1-8.

11. An electronic device, characterized in that includes: 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 according to any one of claims 1-8 by executing the executable instructions.

Citation Information

Patent Citations

  • Animation display method and device, electronic equipment and storage medium

    CN113485617A