CN117412134A - Virtual game realization method and device, electronic equipment and readable storage medium - Google Patents
Virtual game realization method and device, electronic equipment and readable storage medium Download PDFInfo
- Publication number
- CN117412134A CN117412134A CN202311348064.6A CN202311348064A CN117412134A CN 117412134 A CN117412134 A CN 117412134A CN 202311348064 A CN202311348064 A CN 202311348064A CN 117412134 A CN117412134 A CN 117412134A
- Authority
- CN
- China
- Prior art keywords
- game
- scene
- sports event
- behavior
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000009877 rendering Methods 0.000 claims abstract description 19
- 230000006399 behavior Effects 0.000 claims description 71
- 230000009471 action Effects 0.000 claims description 39
- 230000000386 athletic effect Effects 0.000 claims description 4
- 230000009977 dual effect Effects 0.000 description 7
- 230000000694 effects Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 5
- 230000008901 benefit Effects 0.000 description 3
- 238000010276 construction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 230000007123 defense Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000008921 facial expression Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000007654 immersion Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000011022 operating instruction Methods 0.000 description 1
- 230000033764 rhythmic process Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4781—Games
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44012—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving rendering scenes according to scene graphs, e.g. MPEG-4 scene graphs
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Processing Or Creating Images (AREA)
Abstract
The application provides a method, a device, an electronic device and a readable storage medium for realizing a virtual game, wherein the method comprises the following steps: acquiring a video frame of a sports event; constructing a game scene consistent with the scene of the sports event according to the video frame of the sports event, wherein the game scene comprises at least one selectable controllable role; acquiring a target role selected by a user from the at least one selectable operable role, and acquiring at least one behavior instruction input by the user aiming at the target role; and in the game scene, rendering the behavior information corresponding to the at least one behavior instruction executed by the target role. In the method, the sports competition event is presented in the game in real time, the behavior instructions of the user can be received at any time in the game and are rendered through the game engine, so that the user can enjoy unique game experience while watching the competition, and the user has participation in the ongoing competition.
Description
Technical Field
The embodiment of the application relates to the technical field of video acquisition, in particular to a method and a device for realizing a virtual game, electronic equipment and a readable storage medium.
Background
At present, a user can only watch real-time sports games through a video application, or can only play games of virtual sports games through a game application, so that the leisure experience is not rich enough, and dual experience of watching the sports games and playing the same sports games cannot be experienced.
Disclosure of Invention
The embodiment of the application provides a virtual game realization method, a virtual game realization device, electronic equipment and a readable storage medium, so as to solve the problem that the prior art cannot experience dual experience of watching a sports game and playing the same sports game.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, an embodiment of the present application provides a method for implementing a virtual game, including:
acquiring a video frame of a sports event;
constructing a game scene consistent with the scene of the sports event according to the video frame of the sports event, wherein the game scene comprises at least one selectable controllable role;
acquiring a target role selected by a user from the at least one selectable operable role, and acquiring at least one behavior instruction input by the user aiming at the target role;
and in the game scene, rendering the behavior information corresponding to the at least one behavior instruction executed by the target role.
Optionally, the behavior information includes: location information and action information of the implementation behavior;
the rendering the action information corresponding to the at least one action instruction executed by the target character in the game scene comprises the following steps:
taking the moment corresponding to the input behavior instruction as the starting moment, taking the position of the target role in the game scene at the starting moment as the starting position, and taking the action of the target role in the game scene at the starting moment as the starting action, so as to generate a behavior information sequence corresponding to the execution of the at least one behavior instruction by the target role at the subsequent moment;
and rendering the behavior information sequence in the game scene at the subsequent moment.
Optionally, constructing a game scene consistent with the scene of the sports event according to the video frame of the sports event includes:
analyzing the video frames of the sports events to obtain related information of the sports events;
and constructing the game scene consistent with the scene in the video frame of the sports event according to the sports event related information. Optionally, the athletic event related information includes at least one of: the game field, the team, the player, the referee, the coach, the score and the key event data.
Alternatively, the selectable steerable characters are obtained by identifying characters in the video frame of the sporting event or are created autonomously by a user inputting related information through an external input device.
Alternatively to this, the method may comprise,
in the game scene, rendering the behavior information corresponding to the at least one behavior instruction executed by the target character, and then further including:
if the behavior instruction newly input by the user is not obtained within the preset duration, continuing to obtain the video frame of the new sports event;
constructing a new game scene consistent with the scene of the sports event according to the video frame of the new sports event, wherein the new game scene comprises at least one selectable controllable role.
Optionally, the video frame of the sports event is obtained by extracting frames from the video frame of the original sports event video.
In a second aspect, an embodiment of the present application provides an implementation apparatus for a virtual game, including:
the first acquisition module is used for acquiring video frames of the sports event;
a first processing module, configured to construct a game scene consistent with a scene of the sports event according to video frames of the sports event, where the game scene includes at least one selectable steerable character;
the second acquisition module is used for acquiring a target role selected by a user from the at least one selectable operable role and acquiring at least one behavior instruction input by the user aiming at the target role;
and the second processing module is used for rendering the behavior information corresponding to the at least one behavior instruction executed by the target role in the game scene.
Optionally, the behavior information includes: location information and action information of the implementation behavior;
the second processing module includes:
the first processing submodule is used for generating a behavior information sequence corresponding to the at least one behavior instruction executed by the target role at a subsequent moment by taking the moment corresponding to the input behavior instruction as a starting moment, the position of the target role in the game scene at the starting moment as a starting position and the action of the target role in the game scene at the starting moment as a starting action;
and the second processing sub-module is used for rendering the behavior information sequence in the game scene at the subsequent moment.
Optionally, the first processing module includes:
the analysis submodule is used for analyzing the video frames of the sports event to obtain relevant information of the sports event;
and the construction sub-module is used for constructing the game scene consistent with the scene in the video frame of the sports event according to the sports event related information.
Optionally, the athletic event related information includes at least one of: the game field, the team, the player, the referee, the coach, the score and the key event data.
Alternatively, the selectable steerable characters are obtained by identifying characters in the video frame of the sporting event or are created autonomously by a user inputting related information through an external input device.
Optionally, the method further comprises:
the third acquisition module is used for continuously acquiring the video frame of the new sports event if the behavior instruction newly input by the user is not acquired within the preset duration;
a third processing module for constructing a new game scene consistent with the scene of the sports event from the video frames of the new sports event, the new game scene including at least one selectable steerable character therein.
Optionally, the video frame of the sports event is obtained by extracting frames from the video frame of the original sports event video.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement steps in a method for implementing a virtual game according to any one of the first aspects.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement steps in a method of implementing a virtual game as described in any of the first aspects.
In this application, make video end and the game terminal of sports match carry out linkage interaction through real-time data transmission to can be at the arbitrary moment of match according to user input's role and action render corresponding bandwagon effect in the recreation, simulate the scene that the user participated in the match, solve current unable experience watch the sports match with play the problem of the dual experience of same sports match recreation.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 is a flowchart of a method for implementing a virtual game according to an embodiment of the present application;
FIG. 2 is a general flow chart of a method for implementing a virtual game provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an implementation apparatus for virtual game according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
Referring to fig. 1, an embodiment of the present application provides a method for implementing a virtual game, including:
step 11: acquiring a video frame of a sports event;
in this embodiment of the present application, the video frame of the sports event is obtained by performing frame extraction on a video frame of an original sports event video, where the sports event may be a live sports event performed in real time, or may be a recorded sports event acquired on the internet; when a user watches a sports game through a video application, video streaming in the video application is converted into a picture set in a video frame extraction mode, the picture set is transmitted to a game application in real time, and the video end and the game end of the sports game are in linkage interaction through real-time data transmission, so that dual experience of watching the sports game and playing the same sports game is realized.
Step 12: constructing a game scene consistent with the scene of the sports event according to the video frame of the sports event, wherein the game scene comprises at least one selectable controllable role;
in the embodiment of the application, analyzing the video frame of the sports event to obtain the related information of the sports event; constructing a game scene which is the same as the scene in the sports event video frame according to the sports event related information, wherein the sports event related information comprises at least one of the following: the method comprises the steps of playing a game on a field, participating teams, referees, coaches, match scores and key event data, wherein the key event data comprise the number of red and yellow cards in football, the number of angular balls, the number of goals, the ball control rate and the like, and a match scene in a game application is constructed according to the related information of the sports event, and is completely consistent with the real-time playing match progress in a video application, such as: the football match played in real time in the video application virtually shows completely consistent match scenes in the game application, and the dual experience of watching the sports match and playing the same sports match game is realized.
Step 13: acquiring a target role selected by a user from the at least one selectable operable role, and acquiring at least one behavior instruction input by the user aiming at the target role;
in the embodiment of the application, optionally, the selectable steerable roles are obtained by identifying characters in the video frame of the sports event or are created and obtained autonomously by a user by inputting related information through an external input device; wherein the user can make a character selection, i.e., the user can select any one character in the course of the game, such as referees, coaches, team members and spectators; the role can be switched, namely, the user can switch among the roles at will to experience any role, so that dual experience of watching sports games and playing the same sports game is realized.
In the embodiment of the application, after a user selects a role, a behavior instruction input by the user through a medium input mode or a limb action mode is acquired, and after the behavior instruction is identified according to the behavior instruction, the behavior of the current role is controlled and presented in a game application in real time; wherein, the medium input can be but not limited to a mode of a game handle, a keyboard, a screen click and the like; limb movements may be, but are not limited to, the user having his or her limb behavior captured and identified by the system.
Step 14: and in the game scene, rendering the behavior information corresponding to the at least one behavior instruction executed by the target role.
In this embodiment of the present application, the behavior information includes: location information and action information of the implementation behavior;
the rendering the action information corresponding to the at least one action instruction executed by the target character in the game scene comprises the following steps: taking the moment corresponding to the input behavior instruction as the starting moment, taking the position of the target role in the game scene at the starting moment as the starting position, and taking the action of the target role in the game scene at the starting moment as the starting action, so as to generate a behavior information sequence corresponding to the execution of the at least one behavior instruction by the target role at the subsequent moment; rendering the behavior information sequence in the game scene at the subsequent moment; the specific implementation process of the application is as follows: when the moment when a behavior instruction of a user is acquired is marked as the T moment, a sports event video frame At the T moment is taken, the position information of the target role selected by the user is identified according to the behavior instruction and is marked as Pt, and the action information corresponding to the target role At the T moment is acquired and identified and is marked as At, wherein the action information comprises At least one of the following items: limb movements and facial expressions of the target character; at the next moment, namely the T+DeltaT moment, the position information PDeltat and the action information ADeltat input by the action instruction of the user are acquired, and a set { Pt, at } of the action instruction of the user is generated within a period of continuous time, and the action instruction is used for rendering the game scene.
In this embodiment of the application, make video end and the game terminal of sports match carry out linkage interaction through real-time data transmission to can render corresponding bandwagon effect in the recreation according to user's input's role and action at any moment of match, simulate the scene that the user participated in the match, solve current unable experience watch the sports match with play the problem of the dual experience of same sports match recreation.
In this embodiment, optionally, in the game scenario, rendering behavior information corresponding to the execution of the at least one behavior instruction by the target character further includes:
if the behavior instruction newly input by the user is not obtained within the preset duration, continuing to obtain the video frame of the new sports event;
constructing a new game scene consistent with the scene of the sports event according to the video frame of the new sports event, wherein the new game scene comprises at least one selectable controllable role.
In the embodiment of the application, when no input behavior instruction is acquired from the user, the video data from the video application is still synchronized, the current competition process is presented in real time, and the user can input the behavior instruction at any time so as to be put into the game experience again.
Referring to fig. 2, in the embodiment of the present application, data acquisition of a video frame of a sports event is performed by a video application and transmitted to a game application;
the game application receives the data of the video frames of the sports event and constructs a game scene according to the video frames of the sports event;
acquiring character selection and character switching of a user on at least one selectable operable character in the game scene;
continuously judging whether the user terminal has input, when the user has input, determining the position information of the target role according to the sports event video frame at the moment corresponding to the behavior instruction input by the user, executing the behavior instruction on the target role in the game scene according to the position information, and immersing in the game application to experience the sports event.
In this embodiment, taking a football match as an example, in the football match, the operable characters that the user can select include at least one of the following: team members, coaches, referees, spectators, etc. of two teams; the game method and presentation effect for each character may be, but is not limited to,: when the user selects the player character of the team, the player character can be divided into a ball-holding player and a non-ball-holding player to pass, when the user selects the ball-holding player, the user can control the speed, the direction, the selected passing time, the shooting force and the like of the player, the current position information and the action information of the target character are obtained according to the action instruction of the user, and the corresponding position information and action information sets are generated for rendering according to the position information of the current ball-holding player by the action information of other non-ball-holding players on the scene; when the user selects a non-ball-holding player, the user can control the speed and the direction of the running player, and when a good ball passing opportunity appears, the user can select the ball-holding player to transmit the ball to the non-ball-holding player controlled by the user, so that a better game effect is achieved;
when the user selects a coach character, the current team tactic may be arranged or adjusted by translating the user's operating instructions into specific attributes that can be performed by the system, such as: when a user selects a tactic of high-order detrusion, the specific attribute and position information which can be executed by the system are translated into the actions that each player is closer to the position of the opponent ball holding player and performs the robbing; or when the user selects a tactic for enhancing defense, translating the specific attribute and the position information which can be executed by the system into that all players on the field are returned to the half field area, the occupation of each player is closer to the half field area, the defense action is carried out, the ball is robbed, and the like; when the user selects the role of the coach, the matrix of the team can be selected, for example, the position of each player and the role in the team can be controlled by the action instruction of the user, and the coach can also select the replacement, namely, the players on the replacement seats and the players on the field can be exchanged, so that the expected tactical effect is achieved.
When the user selects the role of the referee, different penalties can be made from the referee in the ongoing competition in the video, namely, the user can make penalties which are considered to be correct by himself according to his own understanding; for example: in an actual game, when an attacking party is penalized in a forbidden zone of a defending party, a judge does not make a penalty, a user can make a penalty different from the penalty in a game scene at the moment, penalty defending party penalty is given to the attacking party, the game of penalty point ball is carried out in the game scene, when the penalty is disputed, the user does not continuously input a behavior instruction, the game scene is ended, the game data is continuously synchronized from the video application, the synchronization with the game progress in the video application is maintained, and the participation feeling of the user on the game is constantly maintained.
When the user selects the spectator character, the user may select the sitting position and generate the viewing angle of the user according to the current user selected position, and the spectator character selected by the user may also interact with the live spectator, for example: according to the current running competition progress, for example, a goal is generated, and a user can celebrate the goal through the limb action input system, so that the goal is completely integrated into a competition scene, and the sense of immersion is brought; when the competition is in progress, the live audience makes waves, and the user makes the waves along with the live rhythm; when a user sings a song to refuel a team in the viewing area, the user can follow the singing song to refuel the team.
In the embodiment of the application, real-time competition data are synchronized into a game scene in real time, so that instant sense of video and games is brought to users; and the construction of the game scene comes from the ongoing sports game video stream, and based on the existing video pictures, the identical game scene is constructed, especially the positions, actions, expressions and the like of all the characters in the game, is much simpler and easier than the complete virtual game scene, and is closer to reality.
Referring to fig. 3, an embodiment of the present application provides an implementation apparatus of a virtual game, including:
a first obtaining module 31, configured to obtain a video frame of a sports event;
a first processing module 32 for constructing a game scene consistent with a scene of the sports event from video frames of the sports event, the game scene including at least one selectable steerable character therein;
a second obtaining module 33, configured to obtain a target role selected by a user from the at least one selectable operable role, and obtain at least one behavior instruction input by the user for the target role;
and the second processing module 34 is configured to render, in the game scene, behavior information corresponding to the at least one behavior instruction executed by the target character.
In this embodiment, optionally, the behavior information includes: location information and action information of the implementation behavior;
the second processing module includes:
the first processing submodule is used for generating a behavior information sequence corresponding to the at least one behavior instruction executed by the target role at a subsequent moment by taking the moment corresponding to the input behavior instruction as a starting moment, the position of the target role in the game scene at the starting moment as a starting position and the action of the target role in the game scene at the starting moment as a starting action;
and the second processing sub-module is used for rendering the behavior information sequence in the game scene at the subsequent moment.
In this embodiment of the present application, optionally, the first processing module includes:
the analysis submodule is used for analyzing the video frames of the sports event to obtain relevant information of the sports event;
and the construction sub-module is used for constructing the game scene consistent with the scene in the video frame of the sports event according to the sports event related information.
In an embodiment of the present application, optionally, the athletic event related information includes at least one of: the game field, the team, the player, the referee, the coach, the score and the key event data.
In this embodiment, optionally, the selectable steerable characters are obtained by identifying characters in the video frame of the sports event, or are created autonomously by the user by inputting related information through an external input device.
In this embodiment of the present application, optionally, further includes:
the third acquisition module is used for continuously acquiring the video frame of the new sports event if the behavior instruction newly input by the user is not acquired within the preset duration;
a third processing module for constructing a new game scene consistent with the scene of the sports event from the video frames of the new sports event, the new game scene including at least one selectable steerable character therein.
In this embodiment, optionally, the video frame of the sports event is obtained by extracting a video frame of an original video of the sports event.
The device for implementing the virtual game provided in the embodiment of the present application can implement each process implemented by the method embodiment of fig. 1, and achieve the same technical effects, so that repetition is avoided, and no further description is provided herein.
An electronic device 40 is provided in this embodiment, and referring to fig. 4, fig. 4 is a schematic block diagram of the electronic device 40 in this embodiment, including a processor 41, a memory 42, and a program or an instruction stored in the memory 42 and capable of running on the processor 41, where the program or the instruction implements steps in a method for implementing any one of the virtual games in this application when executed by the processor.
The embodiment of the application provides a readable storage medium, on which a program or an instruction is stored, where the program or the instruction, when executed by a processor, implements each process of the embodiment of the method for implementing a virtual game according to any one of the foregoing embodiments, and can achieve the same technical effect, so that repetition is avoided, and no further description is given here.
Computer-readable media include both permanent and non-permanent, removable and non-removable media, and information storage may be implemented by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a service classification device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application and are intended to be comprehended within the scope of the present application.
Claims (10)
1. A method for implementing a virtual game, comprising:
acquiring a video frame of a sports event;
constructing a game scene consistent with the scene of the sports event according to the video frame of the sports event, wherein the game scene comprises at least one selectable controllable role;
acquiring a target role selected by a user from the at least one selectable operable role, and acquiring at least one behavior instruction input by the user aiming at the target role;
and in the game scene, rendering the behavior information corresponding to the at least one behavior instruction executed by the target role.
2. The method for implementing a virtual game according to claim 1, wherein the behavior information includes: location information and action information of the implementation behavior;
the rendering the action information corresponding to the at least one action instruction executed by the target character in the game scene comprises the following steps:
taking the moment corresponding to the input behavior instruction as the starting moment, taking the position of the target role in the game scene at the starting moment as the starting position, and taking the action of the target role in the game scene at the starting moment as the starting action, so as to generate a behavior information sequence corresponding to the execution of the at least one behavior instruction by the target role at the subsequent moment;
and rendering the behavior information sequence in the game scene at the subsequent moment.
3. The method for implementing a virtual game according to claim 1, wherein said constructing a game scene consistent with a scene of the sports event from video frames of the sports event comprises:
analyzing the video frames of the sports events to obtain related information of the sports events;
and constructing the game scene consistent with the scene in the video frame of the sports event according to the sports event related information.
4. The method for realizing a virtual game according to claim 3, wherein,
the athletic event related information includes at least one of: the game field, the team, the player, the referee, the coach, the score and the key event data.
5. The method for implementing a virtual game according to claim 1, wherein,
the selectable steerable characters are obtained by identifying characters in the video frame of the sporting event or are created autonomously by a user inputting related information through an external input device.
6. The method for implementing a virtual game according to claim 1, wherein in the game scene, rendering behavior information corresponding to the target character executing the at least one behavior instruction, and then further includes:
if the behavior instruction newly input by the user is not obtained within the preset duration, continuing to obtain the video frame of the new sports event;
constructing a new game scene consistent with the scene of the sports event according to the video frame of the new sports event, wherein the new game scene comprises at least one selectable controllable role.
7. The method for implementing a virtual game according to claim 1, wherein,
the video frame of the sports event is obtained by extracting frames from the video frame of the original sports event video.
8. An apparatus for implementing a virtual game, comprising:
the first acquisition module is used for acquiring video frames of the sports event;
a first processing module, configured to construct a game scene consistent with a scene of the sports event according to video frames of the sports event, where the game scene includes at least one selectable steerable character;
the second acquisition module is used for acquiring a target role selected by a user from the at least one selectable operable role and acquiring at least one behavior instruction input by the user aiming at the target role;
and the second processing module is used for rendering the behavior information corresponding to the at least one behavior instruction executed by the target role in the game scene.
9. An electronic device, characterized in that: comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, which when executed by the processor, implement the steps in the method of implementing a virtual game as claimed in any one of claims 1 to 7.
10. A readable storage medium, characterized by: the readable storage medium stores thereon a program or instructions that when executed by a processor implement the steps in the method of implementing a virtual game as claimed in any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311348064.6A CN117412134A (en) | 2023-10-18 | 2023-10-18 | Virtual game realization method and device, electronic equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311348064.6A CN117412134A (en) | 2023-10-18 | 2023-10-18 | Virtual game realization method and device, electronic equipment and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117412134A true CN117412134A (en) | 2024-01-16 |
Family
ID=89497426
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311348064.6A Pending CN117412134A (en) | 2023-10-18 | 2023-10-18 | Virtual game realization method and device, electronic equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117412134A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117809001A (en) * | 2024-02-28 | 2024-04-02 | 深圳市广通软件有限公司 | VR-based stadium management event viewing method, device and equipment |
CN118118643A (en) * | 2024-04-15 | 2024-05-31 | 腾讯科技(深圳)有限公司 | Video data processing method and related device |
-
2023
- 2023-10-18 CN CN202311348064.6A patent/CN117412134A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117809001A (en) * | 2024-02-28 | 2024-04-02 | 深圳市广通软件有限公司 | VR-based stadium management event viewing method, device and equipment |
CN118118643A (en) * | 2024-04-15 | 2024-05-31 | 腾讯科技(深圳)有限公司 | Video data processing method and related device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11065539B2 (en) | Method and system for sharing video game content | |
Hebbel-Seeger | The relationship between real sports and digital adaptation in e-sport gaming | |
US8177611B2 (en) | Scheme for inserting a mimicked performance into a scene and providing an evaluation of same | |
CN117412134A (en) | Virtual game realization method and device, electronic equipment and readable storage medium | |
Miah et al. | Virtual reality and sports: The rise of mixed, augmented, immersive, and esports experiences | |
US8973083B2 (en) | Phantom gaming in broadcast media system and method | |
CN109120990A (en) | Live broadcasting method, device and storage medium | |
US9210473B2 (en) | Phantom gaming in a broadcast media, system and method | |
JP2001347074A (en) | Device and method for playing sport game | |
Canning et al. | The culture of deep learning in esports: An insider's perspective | |
US11617962B2 (en) | System for creating play-recording video | |
CN113209640B (en) | Comment generation method, device, equipment and computer-readable storage medium | |
Sell | E-Sports broadcasting | |
US20210275930A1 (en) | Spectating support apparatus, spectating support method, and spectating support program | |
Ryall et al. | Watching sport during COVID-19 | |
Ratliff | Integrating video game research and practice in library and information science | |
Vermeer et al. | League of lasers: A superhuman sport using motion tracking | |
Arlt et al. | The Computer as Game, Toy, and Player | |
Felczak | Narratives of Spectatorship: E-sports in Poland | |
US20230381655A1 (en) | High Definition American Football Video Game | |
Besz et al. | Three apps for shooting sports: the design, development, and deployment | |
WO2024152670A1 (en) | Virtual venue generation method and apparatus, device, medium, and program product | |
JPH0998345A (en) | Image display device | |
Vivo Montero | Using Virtual Reality to increase technical performance during rowing workouts | |
Toivanen | How streaming has affected the growth of competitive gaming |
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 |