Interaction method and device in virtual scene, equipment, storage medium and program product
By displaying multiple answers in the virtual screen and shooting and return mechanism of interactive props in the virtual scene of a baseball game, the problem of a single interactive process of the existing game is solved, and the interaction efficiency and fun is improved.
Patent Information
- Application Number
- CN202510569978.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-29
- Publication Date
- 2025-06-13
AI Technical Summary
The interaction process in existing baseball games is relatively single, resulting in low human-computer interaction efficiency.
The first virtual object and the virtual screen are displayed in the virtual scene. The virtual screen displays multiple answers to the question, and different answers are in different display areas. When the interaction condition is satisfied, the interactive props shot from the virtual screen towards the first virtual object are displayed, and the interactive props are returned to the virtual screen in response to the control command, and the result of the interactive props hitting the answer is displayed based on the interactive operation.
It improves the diversity of the interactive process and human-computer interaction efficiency in the virtual scene, enhances the user's reaction speed and interactive experience, and increases the fun of the interactive process.
Smart Images

Figure CN120132329A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet technologies, and in particular, to an interaction method, device, electronic device, computer-readable storage medium, and computer program product in a virtual scenario. Background Art
[0002] In a baseball game, the target of baseball hitting is a target. The only changes that the target can make are in size and position, and the display of the target is relatively single. As a result, the interaction process based on the target is relatively single, which also leads to a low human-computer interaction efficiency. Summary of the Invention
[0003] Embodiments of this application provide an interaction method, device, electronic device, computer-readable storage medium, and computer program product in a virtual scenario, which can improve the diversity of the interaction process and the human-computer interaction efficiency in the virtual scenario.
[0004] The technical solution of the embodiments of this application is implemented as follows:
[0005] Embodiments of this application provide an interaction method in a virtual scenario, including:
[0006] In a virtual scenario, display a first virtual object and a virtual screen, where multiple answers to a first question are displayed in the virtual screen, and different answers are in different first display areas in the virtual screen;
[0007] In response to the satisfaction of an interaction condition, display an interactive prop shot from the virtual screen towards the first virtual object;
[0008] In response to a control instruction for the first virtual object, control the first virtual object to perform an interaction operation on the interactive prop, where the interaction operation is used to control the interactive prop to return to the virtual screen;
[0009] Based on the interaction operation, in response to the interactive prop hitting the first display area where the first answer among the multiple answers is located, display an interaction result for the interactive prop.
[0010] Embodiments of this application provide an interaction device in a virtual scenario, including:
[0011] A first display module, configured to display a first virtual object and a virtual screen in a virtual scenario, where multiple answers to a first question are displayed in the virtual screen, and different answers are in different first display areas in the virtual screen;
[0012] A second display module, configured to display an interactive prop shot from the virtual screen towards the first virtual object in response to the satisfaction of an interaction condition;
[0013] A control module, configured to control the first virtual object to perform an interaction operation on the interactive prop in response to a control instruction for the first virtual object, where the interaction operation is used to control the interactive prop to return to the virtual screen;
[0014] A third display module, configured to display an interaction result for the interactive prop based on the interaction operation in response to the interactive prop hitting a first display area where the first answer among the multiple answers is located.
[0015] In the above solution, the third display module is further configured to, based on the interaction operation, in response to the interactive prop hitting the first display area where the first answer is located, when the first answer is the correct answer to the first question, display a successful interaction message, where the successful interaction message is used to indicate a successful interaction for the interactive prop; when the first answer is not the correct answer to the first question, display a failed interaction message, where the failed interaction message is used to indicate a failed interaction for the interactive prop.
[0016] In the above solution, the device further includes a fourth display module, where the fourth display module is configured to display the first question and a first countdown in the virtual screen, where the first countdown is used to indicate the display duration of the first question; in response to the first countdown expiring, cancel the display of the first question and display the multiple answers to the first question in the virtual screen.
[0017] In the above solution, the fourth display module is further configured to evenly divide the virtual screen into the number of first display areas based on the number of answers, and display each answer in a different first display area.
[0018] In the above solution, the fourth display module is further configured to display a second countdown, where the second countdown is used to indicate the display duration of the multiple answers; in response to the second countdown expiring, determine that the interaction condition is satisfied.
[0019] In the above solution, the fourth display module is further configured to display a first prop launching object at an associated position of the virtual screen in the virtual scene, where the first prop launching object is used to launch the interactive prop; the second display module is further configured to, in response to the interaction condition being satisfied, display the process of the first prop launching object launching the interactive prop towards the first virtual object.
[0020] In the above solution, the fourth display module is further configured to display a virtual aiming sight in the virtual screen, where the virtual aiming sight is used to indicate the hitting position when the interactive prop returns to the virtual screen; control the interactive prop to return to the virtual screen, and control the interactive prop to hit the first display area where the virtual aiming sight is located.
[0021] In the above solution, the fourth display module is further configured to, in response to a movement operation on the virtual aiming sight, move the virtual aiming sight from a first position in the virtual screen to a second position, where the second position and the first position are respectively located in different first display areas; control the interactive prop to hit the first display area where the second position is located.
[0022] In the above solution, the first virtual object holds a first virtual prop, and the interaction operation is a hitting operation performed by the first virtual object on the interactive prop based on the first virtual prop; the control module is further configured to, when the virtual aiming sight is in the first display area where the first answer is located, in response to a control instruction for the first virtual object, control the first virtual object to perform a hitting operation on the interactive prop based on the first virtual prop, so that the interactive prop returns to the first display area where the first answer is located in the virtual screen.
[0023] In the above solution, the interactive prop is launched by at least one first prop launching object, and the number of the first prop launching objects is associated with the number of the first display areas; the fourth display module is further configured to determine the positions of the first prop launching objects in the virtual scene based on the layout of the multiple first display areas in the virtual screen, and display the first prop launching objects at the respective positions; the second display module is further configured to, in response to the satisfaction of the interaction condition, display the process of the target first prop launching object among the at least one first prop launching object launching the interactive prop towards the first virtual object; where the position of the target first prop launching object corresponds to the position of the virtual aiming sight.
[0024] In the above solution, the fourth display module is further configured to, when controlling the first virtual object to perform an interaction operation on the interactive prop, display a first prompt message in response to the interaction position corresponding to the interactive prop being in a first spatial area; the first prompt message is used to prompt that the interaction operation on the interactive prop is an effective operation, and the effective interaction operation is used to return the interactive prop to the virtual screen.
[0025] In the above solution, the fourth display module is further configured to display a second prompt message in response to the interaction position corresponding to the interactive prop being in the second spatial region; wherein, the center of the second spatial region coincides with the center of the first spatial region, and the outer boundary of the first spatial region coincides with the second spatial region; the second prompt message is used to prompt that the interaction operation for the interactive prop is an invalid operation.
[0026] In the above solution, the virtual scene includes at least two interaction modes, and the device further includes a mode switching control. The mode switching control is configured to switch the interaction mode of the virtual scene from the first interaction mode to the second interaction mode in response to the satisfaction of the switching condition of the interaction mode of the virtual scene; in the second interaction mode, a second prop emission object is displayed in the virtual scene; wherein, the second prop emission object is configured to continuously emit a plurality of the interactive props within a target time period, the virtual screen includes a plurality of second display regions, and different second display regions correspond to different interaction results; in response to a control instruction for the first virtual object that is continuously triggered, control the first virtual object to continuously perform an interaction operation for the interactive prop, so that each interactive prop returns to the virtual screen; based on each interaction operation, in response to the corresponding interactive prop hitting any one of the second display regions, display the interaction result corresponding to the hit second display region.
[0027] In the above solution, the interaction result includes interaction points, and the interaction points are used to affect the virtual resources obtained by the first virtual object when the second interaction mode ends. Different second display regions correspond to different interaction points; the mode switching control is further configured to, for each interaction operation, in response to the corresponding interactive prop hitting any one of the second display regions, display the interaction points corresponding to the hit second display region; dynamically display the sum of the interaction points corresponding to the hit second display region, and the sum of the interaction points is used to indicate the sum of the interaction points corresponding to the currently hit second display region and the interaction points corresponding to each previously hit second display region.
[0028] In the above solution, the mode switching control is further configured to display the interaction duration, and the interaction duration is used to indicate the interaction duration of the first virtual object in the first interaction mode; when the interaction duration reaches a duration threshold, determine that the switching condition of the interaction mode of the virtual scene is satisfied; or, in response to the interaction result indicating that the first virtual object has completed the interaction target in the first interaction mode, determine that the switching condition of the interaction mode of the virtual scene is satisfied.
[0029] In the above solution, the mode switching control is further configured to, in response to the satisfaction of the switching condition of the interaction mode of the virtual scene, scroll and display the at least two interaction modes in the virtual screen; when the scrolling display process stops, display the second interaction mode in the virtual screen, and switch the interaction mode of the virtual scene from the first interaction mode to the second interaction mode.
[0030] In the above solution, the mode switching control is further configured to, based on each of the interaction operations, in response to each of the interactive props emitted by the second prop emission object returning to the virtual screen, display the process of the second prop emission object being destroyed.
[0031] In the above solution, the virtual scene includes at least two interaction modes, and the mode switching control is further configured to, in response to the satisfaction of the switching condition of the interaction mode of the virtual scene, display a continue interaction control, where the continue interaction control is used to indicate to continue the interaction process of the virtual scene; in response to a trigger operation on the continue interaction control, display the at least two interaction modes; and in response to a selection operation on a third interaction mode among the at least two interaction modes, switch the interaction mode of the virtual scene from the first interaction mode to the third interaction mode.
[0032] In the above solution, the mode switching control is further configured to, in the third interaction mode, display a moving interaction identifier in the virtual screen, where the interaction identifier is used to indicate the position that the interactive prop needs to hit; in response to the satisfaction of the interaction condition, display an interactive prop shot from the virtual screen towards the first virtual object; in response to a control instruction for the first virtual object, control the first virtual object to perform an interaction operation on the interactive prop; and based on the interaction operation, in response to the interactive prop hitting the interaction identifier, display an interaction success message for the interactive prop.
[0033] In the above solution, the mode switching control is further configured to display a virtual aiming sight, where the virtual aiming sight is used to indicate the hitting position when the interactive prop returns to the virtual screen; in response to a moving operation on the virtual aiming sight, move the virtual aiming sight to a target position; in the case where the virtual aiming sight moves to the target position, in response to a control instruction for the first virtual object, control the first virtual object to perform an interaction operation on the interactive prop; and based on the interaction operation, when the interactive prop hits the target position, in response to the interaction identifier moving to the area where the target position is located, display an interaction success message for the interactive prop.
[0034] In the above solution, the virtual scene further includes a second virtual object. The fourth display module is further configured to, in response to a movement operation on the first virtual object, control the first virtual object to move towards the interactive prop and display the process of the second virtual object moving towards the interactive prop; the control module is further configured to, when the first virtual object moves to the interactive area corresponding to the interactive prop, in response to a control instruction for the first virtual object, control the first virtual object to perform an interaction operation on the interactive prop.
[0035] An embodiment of the present application provides an electronic device, including:
[0036] A memory for storing computer-executable instructions or computer programs;
[0037] A processor, when executing the computer-executable instructions or computer programs stored in the memory, implements the interaction method in the virtual scene provided by the embodiment of the present application.
[0038] An embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions or computer programs, which are used to cause a processor to implement the interaction method in the virtual scene provided by the embodiment of the present application when executed.
[0039] An embodiment of the present application provides a computer program product. The computer program product includes computer-executable instructions or computer programs, and the computer-executable instructions or computer programs are stored in a computer-readable storage medium. A processor of an electronic device reads the computer-executable instructions or computer programs from the computer-readable storage medium, and the processor executes the computer-executable instructions or computer programs, so that the electronic device executes the interaction method in the virtual scene provided by the embodiment of the present application.
[0040] The embodiments of the present application have the following beneficial effects:
[0041] In a virtual scenario, a first virtual object and a virtual screen including multiple answers to a first question are displayed. Different answers are in different first display areas on the virtual screen. When an interaction condition is met, an interactive prop is displayed shooting from the virtual screen towards the first virtual object. Then, during the process of the interactive prop shooting towards the first virtual object, in response to a control instruction for the first virtual object, the first virtual object is controlled to perform an interaction operation for controlling the interactive prop to return to the virtual screen. Finally, based on the interaction operation, in response to the interactive prop hitting the first display area where the first answer among the multiple answers is located, an interaction result for the interactive prop is displayed. In this way, multiple answers to a certain question are displayed on the virtual screen, and at the same time, different answers are in different display areas on the virtual screen. Thus, compared with the solution of directly determining the hitting position of the interactive prop based on the displayed target, determining the hitting position of the interactive prop on the virtual screen through the answers for answering the question not only enriches the display method of the hitting position, improves the diversity of the interaction process, the human-computer interaction efficiency, and the utilization rate of the hardware resources of the electronic device, but also tests the reaction speed of the user, enriches the user's interaction experience, and improves the interestingness of the interaction process. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 is a schematic structural diagram of an interaction system 100 in a virtual scenario provided by an embodiment of the present application;
[0043] Figure 2 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
[0044] Figure 3 is a schematic flowchart of an interaction method in a virtual scenario provided by an embodiment of the present application;
[0045] Figure 4 is a schematic diagram of a virtual screen provided by an embodiment of the present application;
[0046] Figure 5 is a schematic diagram of the display process of a first question and multiple answers provided by an embodiment of the present application;
[0047] Figure 6 is a schematic diagram of a second countdown provided by an embodiment of the present application;
[0048] Figure 7 is a schematic diagram of a first prop launching object provided by an embodiment of the present application;
[0049] Figure 8 is a schematic diagram of a virtual aiming sight provided by an embodiment of the present application;
[0050] Figure 9 is a schematic diagram of the moving process of a virtual aiming sight provided by an embodiment of the present application;
[0051] Figure 10 Schematic diagram of multiple first prop launching objects provided by an embodiment of the present application;
[0052] Figure 11 Schematic diagram of a target first prop launching object provided by an embodiment of the present application;
[0053] Figure 12 Schematic diagram of a first spatial region provided by an embodiment of the present application;
[0054] Figure 13 Schematic diagram of a first prompt message provided by an embodiment of the present application;
[0055] Figure 14 Schematic diagram of a second prompt message provided by an embodiment of the present application;
[0056] Figure 15 Schematic diagram of a successful interaction message provided by an embodiment of the present application;
[0057] Figure 16 Schematic diagram of a failed interaction message provided by an embodiment of the present application;
[0058] Figure 17 Schematic diagram of a process for interaction based on a second interaction mode provided by an embodiment of the present application;
[0059] Figure 18 Schematic diagram of a second prop launching object provided by an embodiment of the present application;
[0060] Figure 19 Schematic diagram of a second display area provided by an embodiment of the present application;
[0061] Figure 20 Schematic diagram of the sum of interaction points provided by an embodiment of the present application;
[0062] Figure 21 Schematic diagram of a process for interaction based on a third interaction mode provided by an embodiment of the present application;
[0063] Figure 22 Schematic diagram of a continue interaction control provided by an embodiment of the present application;
[0064] Figure 23 Schematic diagram of an exit interaction control provided by an embodiment of the present application;
[0065] Figure 24 Schematic diagram of the moving process of an interaction identifier provided by an embodiment of the present application. Detailed implementation manners
[0066] In order to make the objectives, technical solutions, and advantages of this application clearer, the following will further describe this application in detail with reference to the accompanying drawings. The described embodiments should not be construed as limitations on this application. All other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this application.
[0067] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments. However, it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.
[0068] In the following description, the terms "first / second / third" are only used to distinguish similar objects and do not represent a specific order for the objects. It can be understood that "first / second / third" can be interchanged with a specific order or sequence when permitted, so that the embodiments of this application described here can be implemented in an order other than that illustrated or described here.
[0069] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0070] Before further elaborating on the embodiments of this application, the nouns and terms involved in the embodiments of this application are explained. The nouns and terms involved in the embodiments of this application are subject to the following explanations.
[0071] 1) Responsive to, used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations to be executed can be real-time or can have a set delay; without special instructions, there is no limitation on the execution order of multiple operations to be executed.
[0072] 2) Client, also known as the user side, refers to a program that provides local services corresponding to the server. Except for some applications that can only run locally, it is generally installed on the terminal and needs to cooperate with the server to run, that is, there needs to be a corresponding server and service program in the network to provide corresponding services. In this way, a specific communication connection needs to be established between the client side and the server side to ensure the normal operation of the application program, such as a virtual scenario client (such as a game client), a video client.
[0073] 3) Artificial Intelligence (AI) is the theory, method, technology, and application system that uses digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can react in a way similar to human intelligence. Artificial intelligence also studies the design principles and implementation methods of various intelligent machines to enable machines to have the functions of perception, reasoning, and decision-making.
[0074] 4) A virtual scene is a virtual scene displayed (or provided) when an application runs on a terminal. The virtual scene can be a simulation environment of the real world, a semi-simulated virtual environment, or a purely fictional virtual environment. The virtual scene can be any one of a two-dimensional virtual scene, a 2.5D virtual scene, or a three-dimensional virtual scene. The embodiments of the present application do not limit the dimension of the virtual scene. For example, the virtual scene can include the sky, land, ocean, etc. The land can include environmental elements such as deserts and cities. Users can control virtual objects to move in the virtual scene.
[0075] 5) A virtual object is the image of various people and objects that can interact in a virtual scene, or an active object in a virtual scene. The active object can be a virtual character, a virtual animal, an anime character, etc. For example, the people, animals, plants, oil drums, walls, stones, etc. displayed in the virtual scene. The virtual object can be a virtual image in the virtual scene used to represent the user. The virtual scene can include multiple virtual objects. Each virtual object has its own shape and volume in the virtual scene and occupies a part of the space in the virtual scene.
[0076] For example, the virtual object can be a user role controlled by operations on the client, an artificial intelligence (AI) set in a virtual scene battle through training, or a non-player character (NPC) set in a virtual scene interaction. Among them, the number of virtual objects participating in the interaction in the virtual scene can be preset or dynamically determined according to the number of clients joining the interaction.
[0077] See Figure 1 , Figure 1It is a schematic architecture diagram of an interaction system 100 in a virtual scene provided by an embodiment of the present application. A terminal (exemplarily showing terminal 400), the terminal 400 is connected to the server 200 through the network 300. Among them, the network 300 can be a wide area network or a local area network, or a combination of the two, and uses wireless or wired links to achieve data transmission.
[0078] Among them, the server 200 is used to send game data of the virtual scene to the terminal 400;
[0079] The terminal 400 is used to display the virtual scene based on the received game data of the virtual scene; in the virtual scene, display a first virtual object and a virtual screen, and multiple answers to a first question are displayed in the virtual screen, and different answers are in different first display areas in the virtual screen; in response to the satisfaction of the interaction condition, display an interactive prop shot from the virtual screen towards the first virtual object; in response to a control instruction for the first virtual object, control the first virtual object to perform an interaction operation on the interactive prop, and the interaction operation is used to control the interactive prop to return to the virtual screen; based on the interaction operation, in response to the interactive prop hitting the first display area where the first answer among the multiple answers is located, display an interaction result for the interactive prop.
[0080] In this way, multiple answers to a certain question are displayed in the virtual screen, and at the same time, different answers are in different display areas in the virtual screen. In this way, compared with the solution of directly determining the hitting position of the interactive prop based on the displayed target, determining the hitting position of the interactive prop on the virtual screen through the answers for answering questions not only enriches the display method of the hitting position, improves the diversity of the interaction process, the human-computer interaction efficiency, and the utilization rate of the hardware resources of the electronic device, but also tests the user's reaction speed, enriches the user's interaction experience, and improves the fun of the interaction process.
[0081] In some embodiments, the server 200 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN, Content Deliver Network), and big data and artificial intelligence platforms. The terminal 400 can be a smart phone, a tablet computer, a notebook computer, a desktop computer, a set-top box, a smart voice interaction device, a smart home appliance, a virtual reality device, a vehicle-mounted terminal, an aircraft, a portable music player, a personal digital assistant, a dedicated messaging device, a portable game device, a smart speaker, and a smart watch, etc., but is not limited thereto. The terminal and the server can be directly or indirectly connected through wired or wireless communication methods, and are not limited in the embodiments of the present application.
[0082] Next, the electronic device for implementing the interaction method in the virtual scenario provided by the embodiments of the present application will be described. Refer to Figure 2 , Figure 2 FIG. is a schematic structural diagram of the electronic device provided by the embodiments of the present application. The electronic device can be a server or a terminal. Taking the terminal shown in Figure 1 as an example, Figure 2 The electronic device shown in FIG. includes: at least one processor 410, a memory 450, at least one network interface 420, and a user interface 430. Each component in the terminal 400 is coupled together through a bus system 440. It can be understood that the bus system 440 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 440 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clear illustration, in Figure 2 all kinds of buses are labeled as the bus system 440.
[0083] The processor 410 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0084] The user interface 430 includes one or more output devices 431 that enable the display of media content, including one or more speakers and / or one or more visual display screens. The user interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, a mouse, a microphone, a touch screen display, a camera, other input buttons, and controls.
[0085] The memory 450 can be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. The memory 450 optionally includes one or more storage devices that are physically located away from the processor 410.
[0086] The memory 450 includes volatile memory or non-volatile memory, and may also include both volatile and non-volatile memory. The non-volatile memory can be a read-only memory (ROM, Read Only Memory), and the volatile memory can be a random access memory (RAM, Random Access Memory). The memory 450 described in the embodiments of the present application is intended to include any suitable type of memory.
[0087] In some embodiments, the memory 450 is capable of storing data to support various operations. Examples of such data include programs, modules, and data structures, or subsets or supersets thereof, which are illustrated below.
[0088] An operating system 451, including system programs for handling various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and handling hardware-based tasks;
[0089] A network communication module 452, for reaching other electronic devices via one or more (wired or wireless) network interfaces 420. Exemplary network interfaces 420 include: Bluetooth, Wireless Fidelity (WiFi), and Universal Serial Bus (USB), etc.;
[0090] A presentation module 453, for enabling the display of information (such as a user interface for operating peripheral devices and displaying content and information) via one or more output devices 431 associated with the user interface 430 (such as a display screen, a speaker, etc.);
[0091] An input processing module 454, for detecting and translating one or more user inputs or interactions from one of one or more input devices 432.
[0092] In some embodiments, the device provided by the embodiments of the present application can be implemented in software. Figure 2 An interaction device 455 shown in a virtual scenario stored in the memory 450, which can be software in the form of programs and plugins, etc., including the following software modules: a first display module 4551, a second display module 4552, a control module 4553, and a third display module 4554. These modules are logical, so they can be combined arbitrarily or further split according to the functions implemented. The functions of each module will be described below.
[0093] In some other embodiments, the device provided by the embodiments of the present application may be implemented in a hardware manner. As an example, the interaction device in the virtual scenario provided by the embodiments of the present application may be a processor in the form of a hardware decoding processor, which is programmed to execute the interaction method in the virtual scenario provided by the embodiments of the present application. For example, the processor in the form of a hardware decoding processor may employ one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0094] In some embodiments, the terminal or the server may implement the interaction method in the virtual scenario provided by the embodiments of the present application by running a computer program. For example, the computer program may be a native program or a software module in the operating system; it may be a native application (APP), that is, a local client, that is, a program that needs to be installed in the operating system to run, such as an instant messaging APP or a web browser APP; it may also be a small program, that is, a program that only needs to be downloaded to the browser environment to run; it may also be a small program that can be embedded into any APP. In short, the above computer program may be any form of client, module, or plug-in.
[0095] Based on the above description of the interaction system and electronic device in the virtual scenario provided by the embodiments of the present application, the interaction method in the virtual scenario provided by the embodiments of the present application will be described below. In actual implementation, the interaction method in the virtual scenario provided by the embodiments of the present application may be implemented by the terminal or the server alone, or by the cooperation of the terminal and the server, taking the Figure 1 terminal 400 in as an example to separately execute the interaction method in the virtual scenario provided by the embodiments of the present application for description. Refer to Figure 3 , Figure 3 which is a schematic flowchart of the interaction method in the virtual scenario provided by the embodiments of the present application. Next, the steps shown in Figure 3 will be described.
[0096] Step 101, the terminal displays a first virtual object and a virtual screen in the virtual scenario. Multiple answers to a first question are displayed in the virtual screen, and different answers are in different first display areas in the virtual screen.
[0097] It should be noted that before displaying the virtual scene, first, the server receives a request for obtaining the screen of the virtual scene sent by the terminal. Here, the terminal is provided with a client that supports interactions in the virtual scene, such as a game client. When the user opens the client on the terminal and the terminal runs the client, a request for obtaining the game data of the virtual scene is generated and sent to the server. Consequently, in response to this obtaining request, the server sends the game data of the virtual scene to the terminal so that the terminal can display the virtual scene.
[0098] Among them, an application program that supports the virtual scene is installed on the terminal. The application program can be any one of a first-person shooting game, a third-person shooting game, a multiplayer online battle arena game, a virtual reality application program, a three-dimensional map program, or a multiplayer gunfight survival game. The user can use the terminal to operate virtual objects located in the virtual scene for activities. When the user opens the application program on the terminal and the terminal runs the application program, the terminal presents the virtual scene. Here, the virtual scene is obtained by observing the virtual scene from the perspective of a first-person object or from a third-person perspective. The screen of the virtual scene includes a first virtual object and a virtual screen. The first virtual object can be controlled by the current player or by other players (teammates) in the same group as the current player.
[0099] Among them, the virtual screen is a virtual interface for displaying the hitting position of an interactive prop, that is, a virtual interface for defining the effective range of the hitting position of the interactive prop and determining the interaction result, usually presented in the form of a grid, an area with specific markings, or other visual elements. For example, after indicating that the player counterattacks an interactive prop shooting at himself, the virtual object that the interactive prop needs to hit after returning is shown. When the game corresponding to the virtual scene is a baseball game and the interactive prop is a baseball, the virtual screen is a virtual interface for defining the effective range of hitting the ball and determining the hitting result. For example: an interface for displaying different hitting areas, an interface for displaying circular targets marked with different scores or rewards, or an interface simulating the home plate of a real baseball field. Among them, the target is located at a specific position on the virtual screen, and the player needs to hit the target to obtain the corresponding score or reward. Exemplarily, see Figure 4 , Figure 4 is a schematic diagram of the virtual screen provided by the embodiment of the present application. Based on Figure 4 , Figure 4 As shown, it is a baseball game, and what 401 indicates is the virtual screen, and what 402 indicates is the target displayed on the virtual screen.
[0100] It should be noted that the game corresponding to the virtual scene can be a ball game, such as a baseball game, a badminton game, or a volleyball game. In this case, the interactive prop is the ball in the ball game. It can also be a shooting game. In this case, the interactive prop can be a virtual bomb in the shooting game, etc. In this regard, the embodiments of the present application do not make any limitations.
[0101] In actual implementation, the multiple answers to the first question and the first question displayed on the virtual screen can be displayed together or sequentially. For example, the first question is displayed first, and then the multiple answers are displayed. In this regard, the embodiments of the present application do not make any limitations. Among them, the first question can be any question, which can be associated with the game corresponding to the virtual scene or irrelevant to the corresponding game. In this regard, the embodiments of the present application also do not make any limitations.
[0102] In some embodiments, for the process of displaying the multiple answers and the first question together, specifically, in the virtual scene, after displaying the first virtual object and the virtual screen, on the virtual screen, display the first question and the multiple answers corresponding to the first question; display a third countdown timer, which is used to indicate the display duration of the first question and the multiple answers; in response to the third countdown timer reaching zero, it is determined that the interaction condition is satisfied.
[0103] It should be noted that the third countdown timer can be preset. For example, it can be 5 seconds, etc. In this regard, the embodiments of the present application do not make any limitations.
[0104] In some other embodiments, for the process of displaying the multiple answers and the first question sequentially, specifically, in the virtual scene, after displaying the first virtual object and the virtual screen, it is also possible to, on the virtual screen, display the first question and a first countdown timer, which is used to indicate the display duration of the first question; in response to the first countdown timer reaching zero, cancel the display of the first question and, on the virtual screen, display the multiple answers to the first question.
[0105] It should be noted that the first countdown timer is used to indicate the remaining display duration of the first question. When the first countdown timer has not reached zero, the first question will be displayed. When the first countdown timer reaches zero, cancel the display of the first question and, on the virtual screen, display the multiple answers to the first question. Among them, the first countdown timer can be preset, and the number of multiple answers can also be preset. In this regard, the embodiments of the present application do not make any limitations.
[0106] Exemplarily, refer to Figure 5 , Figure 5 is a schematic diagram of the display process of the first question and multiple answers provided by the embodiments of the present application. Based on Figure 5 , Figure 5In a, what 501 indicates is the first question, and what 502 indicates is the first countdown. Thus, when the first countdown is cleared, the display of the first question is cancelled, and in the virtual screen, as shown in Figure 5 b, the nine answers to the first question indicated by the dashed box 503 are displayed.
[0107] In this way, first the first question and the first countdown are displayed, and then when the first countdown ends, multiple answers to the first question are displayed. In this way, by using the first countdown to prompt the user's reading time of the question, a sense of urgency can be created, attracting the user's attention, making the user more focused on the current question, and also enabling the user to have time to think about the question and deepen the understanding of the question; at the same time, the question and the answers are displayed separately, making the interface clearer, and the user can clearly distinguish the question and the answers, so as to facilitate subsequent interactive operations based on the first display area where the answers are located.
[0108] In actual implementation, in the virtual screen, the process of displaying the multiple answers to the first question can be to divide the virtual screen into the same number of first display areas based on the number of answers, and in different first display areas, each answer is respectively displayed.
[0109] It should be noted that based on the number of multiple answers, the virtual screen is divided into corresponding first display areas of the corresponding number. Among them, the sizes of the multiple first display areas can be the same. For example, the virtual screen is evenly divided into the corresponding number of first display areas; or, the sizes of the multiple first display areas can also be different. For example, the size of the first display area corresponding to the correct answer among the multiple answers can be the smallest. In this regard, the embodiments of the present application do not make any limitations; then, after the virtual screen is evenly divided into the same number of first display areas, in different first display areas, each answer is respectively displayed. Exemplarily, continue to refer to Figure 5 , as Figure 5 shown in b, the virtual screen is evenly divided into nine first display areas, so that in different first display areas, each answer is respectively displayed.
[0110] In this way, based on the number of answers, the virtual screen is evenly divided into the same number of first display areas, and in different first display areas, each of the said answers is respectively displayed. In this way, not only the utilization rate of the virtual screen is improved, but also the interface is clearer, facilitating subsequent interactive operations by the user based on the first display area where the answers are located.
[0111] Step 102, in response to the satisfaction of the interaction condition, display an interactive prop that shoots from the virtual screen towards the first virtual object.
[0112] In some embodiments, for the process of determining that the interaction condition is satisfied, specifically, in a virtual scene, after displaying a first virtual object and a virtual screen, a second countdown may further be displayed, where the second countdown is used to indicate the display duration of multiple answers; in response to the second countdown reaching zero, it is determined that the interaction condition is satisfied.
[0113] It should be noted that the second countdown is used to indicate the remaining display duration of multiple answers. When the second countdown has not reached zero, multiple answers will be displayed. When the second countdown reaches zero, it is determined that the interaction condition is satisfied, which is equivalent to waiting for the launch of an interactive prop. Exemplarily, see Figure 6 , Figure 6 is a schematic diagram of the second countdown provided by an embodiment of the present application. Based on Figure 6 , what is indicated by 601 is the second countdown. Thus, when the second countdown reaches zero, it is determined that the interaction condition is satisfied.
[0114] In this way, first, the second countdown for indicating the display duration of multiple answers is displayed, and then after the second countdown ends, the user is allowed to perform interactive operations based on the multiple answers. In this way, the display duration of the multiple answers is clearly indicated, guiding the user to focus on reading and understanding the answers during this period, and also ensuring that the user has sufficient cognition of the content, preventing the user from making misoperations before fully understanding the answers, improving the operation efficiency, that is, the human-computer interaction efficiency; at the same time, it can also let the user know when to start interacting, reducing uncertainty and enhancing the fluency of the experience.
[0115] In actual implementation, the process of displaying an interactive prop shooting from the virtual screen towards the first virtual object includes various types. For example, it can be launched through a launching device or directly fly from a distance. In this regard, the embodiments of the present application do not make any limitations.
[0116] In some embodiments, for the case where the interactive prop is launched through a launching device, at an associated position of the virtual screen in the virtual scene, a first prop launching object is displayed, and the first prop launching object is used to launch the interactive prop; thus, in response to the interaction condition being satisfied, the process of displaying the interactive prop shooting from the virtual screen towards the first virtual object can be that, in response to the interaction condition being satisfied, the first prop launching object launches the interactive prop towards the first virtual object.
[0117] It should be noted that the number of the first prop launching objects can be one or more, and the embodiments of the present application do not limit this; meanwhile, the form of the first prop launching objects can be preset, which can be a non-living object form, such as directly displaying a prop launching device, or can be a living object form, for example, displaying a virtual object such as a virtual character, a virtual animal, or a virtual plant, and launching an interactive prop through this virtual object; the embodiments of the present application do not limit this. Among them, the associated position of the virtual screen can be one of the upper position, lower position, middle position, left position, and right position of the virtual screen, and the embodiments of the present application also do not limit this.
[0118] Exemplarily, referring to Figure 7 , Figure 7 is a schematic diagram of the first prop launching object provided by the embodiments of the present application. Based on Figure 7 , what 701 indicates is the first prop launching object. Here, the first prop launching object is in the form of a non-living object, that is, a prop launching device, which is displayed at the middle position of the virtual screen.
[0119] In this way, the interactive prop is launched through the displayed first prop launching object, thus providing an intuitive prop launching source for players, enhancing the realism and immersion of the scene, and improving the player experience.
[0120] Step 103, in response to a control instruction for the first virtual object, control the first virtual object to perform an interaction operation on the interactive prop, and the interaction operation is used to control the interactive prop to return to the virtual screen.
[0121] It should be noted that the control instruction for the first virtual object is used to control the first virtual object to perform an interaction operation on the interactive prop; as described above, when the interactive prop is a ball such as a baseball or a badminton, the interaction operation is used to indicate a backhand counterattack operation for the corresponding ball, which is used to hit the corresponding ball back, that is, to hit the corresponding ball back to the virtual screen.
[0122] In some embodiments, before controlling the first virtual object to perform an interaction operation on the interactive prop in response to a control instruction for the first virtual object, a virtual aiming sight can also be displayed in the virtual screen, and the virtual aiming sight is used to indicate the hitting position when the interactive prop returns to the virtual screen; after controlling the first virtual object to perform an interaction operation on the interactive prop in response to a control instruction for the first virtual object, the interactive prop can also be controlled to return to the virtual screen, and the interactive prop is controlled to hit the first display area where the virtual aiming sight is located.
[0123] It should be noted that the display style of the virtual aiming sight can be preset, and the embodiments of the present application are not limited thereto. At the same time, the virtual aiming sight is a visual mark displayed on the virtual screen, which is used to indicate the aiming direction of the player character, that is, the virtual object. It is equivalent to the aiming target of the player character, that is, the core reference point for interactive operations, and is used to indicate the hitting position when the interactive prop returns to the virtual screen. Therefore, after controlling the first virtual object to perform an interactive operation on the interactive prop, the interactive prop is controlled to return to the virtual screen, and the interactive prop is controlled to hit the first display area where the virtual aiming sight is located.
[0124] Exemplarily, referring to Figure 8 , Figure 8 is a schematic diagram of the virtual aiming sight provided by the embodiments of the present application. Based on Figure 8 , the virtual aiming sight is indicated by the dashed box 801. Therefore, after controlling the first virtual object to perform an interactive operation on the interactive prop, the interactive prop is controlled to return to the virtual screen, and the interactive prop is controlled to hit the first display area where the virtual aiming sight indicated by the dashed box 801 is located, that is, the area where the answer "6" is located.
[0125] It should be noted that as described above, different answers are displayed in different first display areas on the virtual screen. Therefore, the user can select the correct answer from multiple answers, so as to control the virtual aiming sight to be located in the first display area where the correct answer is located, and then control the interactive prop to hit the first display area where the virtual aiming sight is located, that is, control the interactive prop to hit the first display area where the correct answer is located.
[0126] In this way, the hitting position when the interactive prop returns to the virtual screen is determined by the virtual aiming sight displayed on the virtual screen. In this way, the player can adjust the aiming strategy, that is, the hitting position, in real time, so as to improve the hit rate and the human-computer interaction efficiency.
[0127] In actual implementation, after the virtual aiming sight is displayed on the virtual screen, in response to a moving operation on the virtual aiming sight, the virtual aiming sight can be moved from a first position on the virtual screen to a second position, and the second position and the first position are respectively located in different first display areas. Therefore, the process of controlling the interactive prop to hit the first display area where the virtual aiming sight is located can be to control the interactive prop to hit the first display area where the second position is located.
[0128] It should be noted that the operation of moving the virtual aiming point can be triggered by at least one of a control, a keyboard, a mouse, and a joystick, or can be a dragging operation on the virtual aiming point, etc. In this regard, the embodiments of the present application do not make any limitations. At the same time, as described above, the user can select the correct answer from multiple answers, so as to control the virtual aiming point to be located in the first display area where the correct answer is located. Therefore, when the virtual aiming point is first displayed at the first position, if the answer corresponding to the first display area where the first position is located is not the correct answer considered by the user, the virtual aiming point can be moved from the first position in the virtual screen to the second position in response to the operation of moving the virtual aiming point, where the answer corresponding to the first display area where the second position is located is the correct answer considered by the user, so as to control the interactive prop to hit the first display area where the second position is located.
[0129] Exemplarily, referring to Figure 9 , Figure 9 is a schematic diagram of the virtual aiming point moving process provided by the embodiments of the present application. Based on Figure 9 , Figure 9 in a, the virtual aiming point indicated by the dashed box 901 is at the first position. Move the virtual aiming point from the first position indicated by the dashed box 901 in Figure 9 a of the virtual screen to Figure 9 the second position indicated by the dashed box 902 in b of
[0130] Then control the interactive prop to hit the first display area where the second position is located, that is, the area where the answer "6" is located.
[0131] In some embodiments, the first virtual object holds the first virtual prop, and the interaction operation is a hitting operation of the first virtual object on the interactive prop based on the first virtual prop; thus, in the process of controlling the first virtual object to perform the interaction operation on the interactive prop in response to the control instruction for the first virtual object, it can be that when the virtual aiming point is in the first display area where the first answer is located, in response to the control instruction for the first virtual object, control the first virtual object to perform a hitting operation on the interactive prop based on the first virtual prop, so that the interactive prop returns to the first display area where the first answer is located in the virtual screen.
[0132] It should be noted that, as described above, the interactive prop can be a ball. When the interactive prop is a ball, the first virtual prop here is a racket, a bat, etc. The embodiments of the present application do not make any limitations in this regard. Then, when the virtual aiming reticle is in the first display area where the first answer is located, in response to a control instruction for the first virtual object, the first virtual object is controlled to perform a hitting operation on the interactive prop based on the first virtual prop. Here, the first answer is the correct answer selected by the user, that is, the answer considered by the user to be correct. Therefore, after the first virtual object is controlled to perform a hitting operation on the interactive prop based on the first virtual prop in response to a control instruction for the first virtual object when the virtual aiming reticle is in the first display area where the first answer is located, the interactive prop returns to the first display area where the first answer is located in the virtual screen.
[0133] In this way, the interactive operation is defined as being performed by the first virtual prop held by the first virtual object, and at the same time, the interactive operation is a hitting operation performed by the first virtual object on the interactive prop based on the first virtual prop. In this way, a clear interactive tool is provided for the player through the first virtual prop, enhancing the player's sense of immersion and presence. At the same time, defining the interactive operation as a hitting operation can also improve the realism of the interaction and the player's sense of participation.
[0134] In some embodiments, the interactive prop is launched by at least one first prop launching object, and the number of first prop launching objects is associated with the number of first display areas. Therefore, it is also possible to determine the positions of the respective first prop launching objects in the virtual scene based on the layout of the multiple first display areas in the virtual screen, and display the corresponding first prop launching objects at the respective positions. Thus, the process of displaying the first prop launching object launching the interactive prop towards the first virtual object in response to the satisfaction of the interaction condition can be the process of displaying the target first prop launching object among at least one first prop launching object launching the interactive prop towards the first virtual object in response to the satisfaction of the interaction condition. Here, the position of the target first prop launching object corresponds to the position of the virtual aiming reticle.
[0135] It should be noted that the number of first prop launching objects being associated with the number of first display areas means that the number of first prop launching objects is determined based on the number of first display areas and the layout of the first display areas in the virtual screen. For example, when the number of first display areas is nine and the nine first display areas are displayed in a nine - grid layout on the virtual screen, the number of first prop launching objects is three, and the corresponding positions can be below each column or row of the first display areas, so as to be at an associated position (such as one of the positions below, below, to the left, and to the right) of each column or row of the first display areas; or, when the number of first display areas is six and the six first display areas are displayed in rows and columns on the virtual screen, including the 2×3 form or the 3×2 form, the number of first prop launching objects can be two or three. Correspondingly, the corresponding positions can be below each column or row of the first display areas, so as to be at an associated position (such as one of the positions below, below, to the left, and to the right) of each column or row of the first display areas to display the first prop launching objects; based on this, in some embodiments, the number of first prop launching objects is the same as the number of columns or rows of the first display areas, and the display position of the first launching object is associated with each column or row of the first display areas, such as below each column of the first display areas, or to the right of each row of the first display areas, etc.
[0136] Exemplarily, referring to Figure 10 , Figure 10 is a schematic diagram of multiple first prop launching objects provided by an embodiment of the present application. Based on Figure 10 , when the number of first display areas is nine and the nine first display areas are displayed in a nine - grid layout on the virtual screen, the number of first prop launching objects is three. As Figure 10 shown by the dashed box 1001 in a of Figure 10 indicates three first prop launching objects, so that the positions of the first prop launching objects can be below each column of the first display areas, so as to display the first prop launching objects below each column of the first display areas; when the number of first display areas is three and the three first display areas are displayed in sequence from top to bottom on the virtual screen, the number of first prop launching objects is also three. As
[0137] In actual implementation, for the target first prop launcher object, the position where the target first prop launcher object is located corresponds to the position of the virtual aiming reticle. That is, the target first prop launcher object is determined from at least one first prop launcher object based on the position of the virtual aiming reticle. As described above, since the number of first prop launcher objects is the same as the number of rows and columns of the first display area, and the display position of the first launcher object is associated with each row or column of the first display area, there is a first prop launcher object at the associated position of each row or column of the first display area. Therefore, based on which row or column of the first display area the virtual aiming reticle is located in, the first prop launcher object at the associated position of the corresponding row or column of the first display area is used as the target first prop launcher object. Specifically, based on the position of the first virtual aiming reticle, determine the row or column to which the first display area where the virtual aiming reticle is located belongs; then, based on the row or column to which the first display area where the virtual aiming reticle is located belongs, select the corresponding first prop launcher object from at least one first prop launcher object, that is, select the first prop launcher object whose position corresponds to the corresponding row or column as the target first prop launcher object. Thus, in response to the satisfaction of the interaction condition, the process of the target first prop launcher object among at least one first prop launcher object launching an interactive prop towards the first virtual object is displayed.
[0138] Exemplarily, refer to Figure 11 , Figure 11 which is a schematic diagram of the target first prop launcher object provided by an embodiment of the present application. Based on Figure 11 , the dotted box 1101 indicates the virtual aiming reticle. Since the position where the target first prop launcher object is located corresponds to the position of the virtual aiming reticle, 1102 indicates the target first prop launcher object among the three first prop launcher objects.
[0139] In this way, by defining that the interactive prop is launched by at least one first prop launcher object, the number of first prop launcher objects is associated with the number of the first display area, and the first prop launcher object that launches the interactive prop corresponds to the position of the virtual aiming reticle; in this way, a clear prop launch source is provided for the player by the first prop launcher object, enhancing the player's sense of substitution and immersion; at the same time, defining that the launch object of the prop corresponds to the position of the virtual aiming reticle can further improve the player's sense of substitution and immersion.
[0140] In some embodiments, the interaction operation includes two states, namely valid and invalid. A valid interaction operation can return the interactive prop to the virtual screen, while an invalid interaction operation cannot return the interactive prop to the virtual screen. For the process of determining whether the interaction operation is a valid interaction operation, specifically, after responding to a control instruction for a first virtual object and controlling the first virtual object to perform an interaction operation on the interactive prop, when controlling the first virtual object to perform an interaction operation on the interactive prop, a first prompt message is displayed in response to the interaction position corresponding to the interactive prop being in a first spatial region. The first spatial region is a spatial region formed by positions on the launch trajectory of the interactive prop where the distance from the launch position of the interactive prop is between a first distance and a second distance. The first prompt message is used to prompt that the interaction operation on the interactive prop is a valid operation.
[0141] It should be noted that when the interactive prop shoots towards the first virtual object, it will have a certain flight trajectory, and the user needs to determine the hitting timing by judging the distance. Among them, there will be a certain target area on the flight trajectory. As long as it is detected that the user performs an interaction operation when the interactive prop is within the target area, it is determined that the interaction operation is successfully executed, that is, the interaction operation is a valid interaction operation. Here, the first spatial region is in the air. When the flight distance of the interactive prop is between the first distance and the second distance, it is determined that the interactive prop is in the first spatial region, that is, the target area. The first spatial region is a spatial region formed by positions on the launch trajectory of the interactive prop where the distance from the launch position of the interactive prop is between the first distance and the second distance. Here, the launch trajectory can be visible or invisible. The second distance is greater than the first distance. Equivalently, the first spatial region is a cylinder with the launch trajectory, that is, the flight trajectory, as the axis. The length of the cylinder is the difference between the second distance and the first distance, and the area of the circle corresponding to the cylinder is not limited. Exemplarily, refer to Figure 12 , Figure 12 is a schematic diagram of the first spatial region provided by an embodiment of the present application. Based on Figure 12 , what is indicated by 1202 is the launch trajectory of the interactive prop, and the air region corresponding to the position indicated by 1201 is the first spatial region.
[0142] It should be noted that when controlling the first virtual object to perform an interaction operation on the interactive prop, the first prompt message displayed in response to the interaction position corresponding to the interactive prop being in the first spatial region is used to prompt that the interaction operation on the interactive prop is a valid operation, that is, to indicate that the interaction operation is successfully executed. Among them, the first prompt message can be in the form of at least one of text and pictures. Exemplarily, refer to Figure 13 , Figure 13 is a schematic diagram of the first prompt information provided by an embodiment of the present application. Based onFigure 13 The indication from 1301 is the first prompt message, which is used to prompt that the interaction operation on the interactive prop is a valid operation.
[0143] In this way, when the first virtual object performs an interaction operation on the interactive prop, if the interaction position corresponding to the interactive prop is within the first spatial region, it is determined that the interaction operation is a valid operation. In this way, by setting the first spatial region, the interaction operation can be judged, the operation validity can be clarified, and at the same time, the difficulty and diversity of the interaction process can be increased, which helps to motivate the user to improve the interaction accuracy, thereby improving the human-computer interaction efficiency.
[0144] In actual implementation, when controlling the first virtual object to perform an interaction operation on the interactive prop, it is also possible to display a second prompt message in response to the interaction position corresponding to the interactive prop being within the second spatial region; wherein, the center of the second spatial region coincides with that of the first spatial region, and the outer boundary of the first spatial region coincides with the second spatial region; the second prompt message is used to prompt that the interaction operation on the interactive prop is an invalid operation.
[0145] It should be noted that as described above, there will be a certain target region on the flight trajectory. When the flight distance of the interactive prop is between the first distance and the second distance, it is determined that the interactive prop is within the first spatial region, that is, the target region; accordingly, the second spatial region is a non-target region, that is, when the flight distance of the interactive prop is less than the first distance or greater than the second distance, it is determined that the interactive prop is within the second spatial region, that is, the non-target region. Here, the second spatial region is also in the air. The second spatial region is the spatial region corresponding to the launch trajectory of the interactive prop, excluding the first spatial region, that is, on the launch trajectory of the interactive prop, the spatial region formed by the positions where the distance from the launch position of the interactive prop is less than the first distance or greater than the second distance.
[0146] It should be noted that when controlling the first virtual object to perform an interaction operation on the interactive prop, the second prompt message displayed in response to the interaction position corresponding to the interactive prop being within the second spatial region is used to prompt that the interaction operation on the interactive prop is an invalid operation, that is, to indicate that the interaction operation fails; wherein, the second prompt message can be in the form of at least one of text and pictures. Exemplarily, see Figure 14 , Figure 14 is a schematic diagram of the second prompt message provided by the embodiment of the present application. Based on Figure 14 ,the indication from 1401 is the second prompt message, which is used to prompt that the interaction operation on the interactive prop is an invalid operation.
[0147] In this way, when the first virtual object performs an interaction operation on the interactive prop, if the interaction position corresponding to the interactive prop is in the second spatial region, it is determined that the interaction operation is an invalid operation. In this way, the difficulty and diversity of the interaction process can be increased, which helps to motivate the user to improve the interaction accuracy, thereby improving the human-computer interaction efficiency.
[0148] Step 104: Based on the interaction operation, in response to the interactive prop hitting the first display area where the first answer among multiple answers is located, display the interaction result for the interactive prop.
[0149] In actual implementation, as described above, the first answer is only the answer that the user selects and considers to be the correct answer. Therefore, depending on whether the first answer is actually the correct answer, the corresponding interaction result is different. Specifically, the process of displaying the interaction result for the interactive prop based on the interaction operation and in response to the interactive prop hitting the first display area where the first answer among multiple answers is located can be as follows: Based on the interaction operation, in response to the interactive prop hitting the first display area where the first answer is located, when the first answer is the correct answer to the first question, display a successful interaction message, where the successful interaction message is used to indicate the success of the interaction for the interactive prop; when the first answer is not the correct answer to the first question, display a failed interaction message, where the failed interaction message is used to indicate the failure of the interaction for the interactive prop.
[0150] It should be noted that the user can select the correct answer from multiple answers, thereby controlling the virtual sight to be located in the first display area where the correct answer is located. Therefore, the first answer is the answer that the user selects and considers to be the correct answer. However, the first answer may actually be the correct answer or may not be the correct answer. Therefore, when the first answer is the correct answer to the first question, display a successful interaction message; when the first answer is not the correct answer to the first question, display a failed interaction message. Among them, the interaction prompt message can be in the form of at least one of text and pictures, and the failed interaction message can also be in the form of at least one of text and pictures. In this regard, the embodiments of the present application do not make any limitations.
[0151] Exemplarily, refer to Figure 15 and Figure 16 , Figure 15 is a schematic diagram of the successful interaction message provided by the embodiments of the present application, Figure 16 is a schematic diagram of the failed interaction message provided by the embodiments of the present application. Based on Figure 15 , what 1501 indicates is the successful interaction message. Based on Figure 16 , what 1601 indicates is the failed interaction message.
[0152] Thus, when the interactive prop hits the first display area where the first answer is located, if the first answer is the correct answer to the first question, an interaction success message is displayed; if the first answer is not the correct answer to the first question, an interaction failure message is displayed. In this way, instant operation feedback is provided to the player, enabling the player to immediately know whether their choice is correct, which not only improves the player experience but also enriches the diversity of the interaction process.
[0153] In actual implementation, the virtual scene includes at least two interaction modes. The above process can be carried out in the first interaction mode. After displaying the interaction result for the interactive prop in response to the interactive prop hitting the first display area where the first answer among multiple answers is located based on the interactive operation, it is also possible to switch to other interaction modes, so as to perform interactive operations in other interaction modes. At the same time, the interaction processes in different interaction modes are different. Next, taking two interaction modes as examples, the interaction process after switching the interaction mode will be described.
[0154] In some embodiments, refer to Figure 17 , Figure 17 is a schematic flowchart of the interaction based on the second interaction mode provided by the embodiments of the present application. Based on Figure 17 , after displaying the interaction result for the interactive prop in response to the interactive prop hitting the first display area where the first answer among multiple answers is located based on the interactive operation, the process of switching from the first interaction mode to the second interaction mode and performing the interaction based on the second interaction mode is implemented through the following steps.
[0155] Step 201, the terminal responds to the satisfaction of the switching condition of the interaction mode of the virtual scene, and switches the interaction mode of the virtual scene from the first interaction mode to the second interaction mode.
[0156] In actual implementation, for the process of determining that the switching condition of the interaction mode of the virtual scene is satisfied, specifically, before responding to the satisfaction of the switching condition of the interaction mode of the virtual scene and switching the interaction mode of the virtual scene from the first interaction mode to the second interaction mode, it is also possible to display the interaction duration, where the interaction duration is used to indicate the interaction duration of the first virtual object in the first interaction mode; when the interaction duration reaches the duration threshold, it is determined that the switching condition of the interaction mode of the virtual scene is satisfied; or, in response to the interaction result indicating that the first virtual object has completed the interaction goal in the first interaction mode, it is determined that the switching condition of the interaction mode of the virtual scene is satisfied.
[0157] It should be noted that the duration threshold can be preset, for example, it can be three minutes, etc. In this regard, the embodiments of the present application do not make any limitations; and the interaction target in the first interaction mode can also be preset. For example, the number of correct answers reaches the number threshold (equivalent to the number of successful interactions reaching the number threshold based on multiple interaction operations), or, corresponding interaction points will be obtained after each successful interaction, so that based on multiple interaction operations, the sum of the interaction points reaches the point threshold, etc. In this regard, the embodiments of the present application do not make any limitations.
[0158] In this way, when the interaction duration reaches the duration threshold, or the first virtual object completes the interaction target in the first interaction mode, it is determined that the switching condition of the interaction mode of the virtual scene is satisfied; in this way, the switching condition of the interaction mode is clarified, and the convenience when switching the interaction mode is improved, which not only enriches the interaction process, but also can improve the human-computer interaction efficiency and the utilization rate of the hardware resources of the electronic device.
[0159] In actual implementation, in response to the switching condition of the interaction mode of the virtual scene being satisfied, the process of switching the interaction mode of the virtual scene from the first interaction mode to the second interaction mode can be that, in response to the switching condition of the interaction mode of the virtual scene being satisfied, at least two interaction modes are scrolled and displayed on the virtual screen; when the scrolling display process stops, the second interaction mode is displayed on the virtual screen, and the interaction mode of the virtual scene is switched from the first interaction mode to the second interaction mode.
[0160] It should be noted that the scrolling display process can stop automatically. For example, the scrolling duration is obtained, and when the scrolling duration reaches the duration threshold, the scrolling display process stops; or, the scrolling display process can stop based on the user's operation. For example, during the scrolling display process, in response to a scrolling stop operation, the scrolling display process stops; among them, the scrolling stop operation can be a triggering operation on the virtual screen such as a click operation, etc. In this regard, the embodiments of the present application do not make any limitations.
[0161] In this way, by scrolling and displaying at least two interaction modes, when the scrolling display process stops, the interaction mode of the virtual scene is switched from the first interaction mode to the currently displayed second interaction mode; in this way, the display method of multiple interaction modes is enriched, which not only improves the visual experience of the player, but also can improve the diversity of the interaction process.
[0162] Step 202, in the second interaction mode, display a second prop launching object in the virtual scene; wherein, the second prop launching object is used to continuously launch a plurality of interactive props within a target time period, and the virtual screen includes a plurality of second display areas, and different second display areas correspond to different interaction results.
[0163] It should be noted that, as described for the first prop emission object above, the form of the second prop emission object can also be preset, and it can be a non-human form, such as directly displaying a prop emission device, or it can be a human form, such as displaying a virtual object that emits interactive props within a target period; in this regard, the embodiments of the present application do not make any limitations; among them, the target period is also preset, such as 1 minute or 3 minutes, etc., and continuous means that the emission time interval between two adjacent emitted interactive props does not exceed a preset time interval, such as 1 second, etc., and in this regard, the embodiments of the present application do not make any limitations. Exemplarily, refer to Figure 18 , Figure 18 is a schematic diagram of the second prop emission object provided by the embodiments of the present application. Based on Figure 18 , what is indicated by 1801 is the second prop emission object.
[0164] In actual implementation, the display methods of multiple second display areas displayed on the virtual screen can be the same as those of multiple first display areas. For example, the virtual screen is divided into multiple second display areas, and the sizes of different second display areas can be the same or different; or, it can be centered on a position of the virtual screen, and then the areas of multiple second display areas increase in sequence and include this position in circles. Exemplarily, refer to Figure 19 , Figure 19 is a schematic diagram of the second display area provided by the embodiments of the present application. Based on Figure 19 , what is indicated by 1901 are multiple second display areas, where the central circular area is the second display area corresponding to the first spatial area, and then each ring area is a second display area.
[0165] It should be noted that in the second interaction mode, when the interactive prop returns to different second display areas, the corresponding interaction results are different. Here, the interaction result indicates the interaction score, and the interaction score is used to affect the virtual resources obtained by the first virtual object when the second interaction mode ends. For example, when the second interaction mode ends, the size of the interaction score obtained by the first virtual object is in a direct proportional relationship with the value of the obtained virtual resources.
[0166] Step 203, in response to continuously triggered control instructions for the first virtual object, control the first virtual object to continuously perform interaction operations on the interactive prop so that each interactive prop returns to the virtual screen.
[0167] In some embodiments, for each of the interactive props, in response to a continuously triggered control instruction for a first virtual object, the process of controlling the first virtual object to continuously perform an interaction operation on the interactive prop can be referred to the foregoing. A virtual aiming reticle is displayed on the virtual screen. For each of the interactive props, after controlling the first virtual object to continuously perform an interaction operation on the interactive prop in response to a continuously triggered control instruction for the first virtual object, the interactive prop is controlled to return to the virtual screen, and the interactive prop is controlled to hit a second display area where the virtual aiming reticle is located.
[0168] In other embodiments, the second display area hit by the interactive prop can also be determined based on the position of the interactive prop when the first virtual object performs the interaction operation. Specifically, after controlling the first virtual object to continuously perform an interaction operation on the interactive prop in response to a continuously triggered control instruction for the first virtual object, for each interactive prop, the current position of the interactive prop is obtained, and based on the current position; wherein, the first virtual object corresponds to multiple spatial regions, and there is a corresponding relationship between the multiple spatial regions and multiple second display areas; then, when the current position of the interactive prop is in a target spatial region among the multiple spatial regions corresponding to the first virtual object, it is determined that the second display area hit by the interactive prop is the target second display area, that is, the interactive prop is controlled to hit the target second display area.
[0169] It should be noted that the spatial regions here are as described for the first spatial region and the second spatial region above, and are determined based on the flight trajectory and flight distance of the interactive prop. For example, the first spatial region among the multiple spatial regions corresponds to the second display area with the highest corresponding interaction score among the multiple second display areas, the second spatial region among the multiple spatial regions corresponds to the second display area with the second highest corresponding interaction score among the multiple second display areas, the third spatial region among the multiple spatial regions corresponds to the second display area with the third highest corresponding interaction score among the multiple second display areas, and so on;
[0170] Among them, the first spatial region here is the same as the first spatial region described above, which is a spatial region formed at a position on the launch trajectory of the interactive prop, where the distance from the launch position of the interactive prop is between the first distance and the second distance; while the second spatial region here is slightly different from the second spatial region described above. The second spatial region here is a spatial region formed at a position where the distance from the launch position of the interactive prop is between the second distance and the third distance, and the third spatial region is a spatial region formed at a position where the distance from the launch position of the interactive prop is between the third distance and the fourth distance, and so on; here, the second position is greater than the first position, the third position is greater than the second position, and the fourth position is greater than the third position; it is equivalent to dividing the distance between the second prop launch object and the first virtual object into multiple segments of distances, and each segment of distance corresponds to a spatial region. When the first virtual object performs an interaction operation, it is determined which spatial region the current position of the interactive prop is in, so as to determine the second display area that the interactive prop will hit after returning based on the corresponding spatial region.
[0171] Specifically, divide the distance between the second prop launch object and the first virtual object into multiple segments of distances, and each segment of distance corresponds to a spatial region; in response to a continuously triggered control instruction for the first virtual object, after controlling the first virtual object to continuously perform an interaction operation on the interactive prop, for each interactive prop, obtain the current position of the interactive prop, based on the current position, select the target spatial region corresponding to the current position from multiple spatial regions, then determine the target second display area corresponding to the target spatial region, and control the interactive prop to hit the target second display area.
[0172] Step 204, based on each interaction operation, in response to the corresponding interactive prop hitting any one of the second display areas, display the interaction result corresponding to the hit second display area.
[0173] In some embodiments, as described above, when determining the second display area hit by the interactive prop based on the position of the interactive prop when the first virtual object performs an interaction operation, the process of displaying the interaction result corresponding to the hit second display area when the corresponding interactive prop hits any one of the second display areas can be that when the current position of the interactive prop is in the target spatial region among the multiple spatial regions corresponding to the first virtual object, it is determined that the second display area hit by the interactive prop is the target second display area, and in response to the corresponding interactive prop hitting the target second display area, display the interaction result corresponding to the target second display area.
[0174] Exemplarily, when the target spatial region is the first spatial region described above, the first spatial region corresponds to the second display region with the highest corresponding interaction integral among multiple second display regions. Accordingly, in response to the corresponding interactive prop hitting the target second display region, the interaction result corresponding to the displayed target second display region is the highest interaction integral.
[0175] In some embodiments, as described above, the interaction result includes an interaction integral, and the interaction integral is used to affect the virtual resources obtained by the first virtual object at the end of the second interaction mode. Different second display regions correspond to different interaction integrals. Accordingly, the process of displaying the interaction result corresponding to the hit second display region in response to the corresponding interactive prop hitting any one of the second display regions may be that, for each interaction operation, in response to the corresponding interactive prop hitting any one of the second display regions, the interaction integral corresponding to the hit second display region is displayed. Accordingly, the sum of the interaction integrals corresponding to the hit second display regions is dynamically displayed, and the sum of the interaction integrals is used to indicate the sum of the interaction integral corresponding to the currently hit second display region and the interaction integrals corresponding to each previously hit second display region.
[0176] It should be noted that when the second interaction mode ends, the sum of the interaction integrals obtained by the first virtual object is in a direct proportional relationship with the value of the obtained virtual resources. Here, the hit second display region may be determined based on the virtual aiming sight described above or based on the position of the interactive prop described above. The embodiments of the present application do not make any limitations in this regard. Exemplarily, referring to Figure 20 , Figure 20 is a schematic diagram of the sum of the interaction integrals provided by the embodiments of the present application. Based on Figure 20 , 2001 indicates multiple second display regions, and 2002 indicates the dynamically displayed sum of the interaction integrals.
[0177] In this way, different second display regions are defined to correspond to different interaction integrals, and then the interaction integrals corresponding to each hit second display region are accumulated, so as to display the sum of the accumulated interaction integrals. In this way, the player's interaction operations are quantified, providing the player with a clear goal and reward mechanism. At the same time, different display regions corresponding to different interaction integrals can encourage the player to choose high-integral regions for interaction, thereby improving the human-computer interaction efficiency. In addition, through the accumulation of interaction integrals, instant positive feedback is provided to the player, enabling the player to intuitively see the results of their operations, which can motivate the player to continue the interaction process, thereby improving the utilization rate of the hardware resources of the electronic device.
[0178] In actual implementation, after, based on each interaction operation, in response to any interactive prop hitting any second display area, displaying an interaction result corresponding to the hit second display area, it is also possible to, based on each interaction operation, in response to each interactive prop launched by a second prop launching object returning to the virtual screen, display the process of the second prop launching object being destroyed.
[0179] It should be noted that when the second prop launching object is in the form of a living object, the destruction of the second prop launching object means that the second prop launching object is defeated, that is, to display the process of the second prop launching object being defeated and falling down; when the second prop launching object is in the form of a non-living object, the destruction of the second prop launching object means to display the second prop launching object being disassembled into parts, that is, to display the process of the second prop launching object being disassembled into parts.
[0180] In this way, when each interactive prop launched by the second prop launching object returns to the virtual screen, the process of the second prop launching object being destroyed is displayed. In this way, by displaying the process of the second prop launching object being destroyed, a strong visual impact is provided to the player, enhancing the immersion of the game; at the same time, combining the return of the interactive prop with the destruction process also enriches the diversity of the interaction process.
[0181] Applying the above embodiments, when the switching condition of the interaction mode of the virtual scene is satisfied, the interaction mode of the virtual scene is switched from the first interaction mode to the second interaction mode, and the interaction process of the second interaction mode is defined; in this way, different interaction modes are introduced into the virtual scene, increasing the diversity and richness of the scene; at the same time, by switching different interaction modes, different interaction modes can also be compared, enabling players to experience different interaction styles and avoiding the monotony of the interaction mode.
[0182] In other embodiments, refer to Figure 21 , Figure 21 is a schematic flowchart of interaction based on the third interaction mode provided by an embodiment of the present application. Based on Figure 21 , based on the interaction operation, in response to the interactive prop hitting the first display area where the first answer is located among multiple answers, after displaying the interaction result for the interactive prop, switching from the first interaction mode to the third interaction mode, and the process of interacting based on the third interaction mode is implemented through the following steps.
[0183] Step 301, the terminal, in response to the switching condition of the interaction mode of the virtual scene being satisfied, displays a continue interaction control, where the continue interaction control is used to indicate continuing the interaction process of the virtual scene.
[0184] In actual implementation, the continue interaction control can be displayed in any area of the display interface corresponding to the virtual scene. Exemplarily, refer toFigure 22 , Figure 22 is a schematic diagram of a continue interaction control provided by an embodiment of the present application. Based on Figure 22 , what is indicated by 2201 is the continue interaction control. Thus, in response to a trigger operation on the continue interaction control indicated by 2201, at least two interaction modes are displayed.
[0185] In some embodiments, when the continue interaction control is displayed, an exit interaction control is also displayed. The exit interaction control is used to indicate the process of exiting the interaction in the virtual scene. Thus, in response to a trigger operation on the exit interaction control, the interaction process in the virtual scene is exited. Exemplarily, referring to Figure 23 , Figure 23 is a schematic diagram of the exit interaction control provided by an embodiment of the present application. Based on Figure 23 , what is indicated by 2301 is the continue interaction control, and what is indicated by 2302 is the exit interaction control.
[0186] It should be noted that the process of determining that the switching condition of the interaction mode in the virtual scene is satisfied is as described above, and here, the embodiments of the present application will not elaborate.
[0187] Step 302, in response to a trigger operation on the continue interaction control, display at least two interaction modes.
[0188] It should be noted that the trigger operation on the continue interaction control may be a click operation on the continue interaction control, and the at least two interaction modes include the third interaction mode and the second interaction mode described above. Here, the embodiments of the present application do not make any limitations.
[0189] Meanwhile, the process of displaying at least two interaction modes may be to directly display at least two interaction modes, or may be to scroll and display at least two interaction modes as described above. In this regard, the embodiments of the present application do not make any limitations. Correspondingly, during the interaction process of the second interaction mode described above, in response to the switching condition of the interaction mode in the virtual scene being satisfied, it may also be to display the continue interaction control. Thus, in response to a trigger operation on the continue interaction control, at least two interaction modes are scrolled and displayed on the virtual screen.
[0190] Step 303, in response to a selection operation on the third interaction mode among the at least two interaction modes, switch the interaction mode of the virtual scene from the first interaction mode to the third interaction mode.
[0191] It should be noted that when the process of displaying at least two interaction modes is to directly display at least two interaction modes, the selection operation for the third interaction mode among the at least two interaction modes, that is, the click operation on the third interaction mode among the at least two displayed interaction modes; when the process of displaying at least two interaction modes is to scroll and display at least two interaction modes, the selection operation for the third interaction mode among the at least two interaction modes, as described above, can be a trigger operation on the virtual screen, that is, a click operation; in this regard, the embodiments of the present application do not make a limitation; correspondingly, in the interaction process of the second interaction mode described above, it is also possible not to scroll and display at least two display modes, but to directly display at least two interaction modes, so as to switch the interaction mode of the virtual scene from the first interaction mode to the second interaction mode in response to the selection operation for the second interaction mode among the at least two interaction modes. In this regard, the embodiments of the present application do not elaborate.
[0192] In some embodiments, after switching the interaction mode of the virtual scene from the first interaction mode to the third interaction mode in response to the selection operation for the third interaction mode among the at least two interaction modes, it is also possible to display a moving interaction identifier on the virtual screen in the third interaction mode, where the interaction identifier is used to indicate the position that the interactive prop needs to hit; in response to the satisfaction of the interaction condition, display an interactive prop shot from the virtual screen towards the first virtual object; in response to the control instruction for the first virtual object, control the first virtual object to perform an interaction operation on the interactive prop; based on the interaction operation, in response to the interactive prop hitting the interaction identifier, display an interaction success message for the interactive prop.
[0193] It should be noted that the interaction identifier here is equivalent to a moving target, which is used to indicate the position that the interactive prop needs to hit. Among them, the style of the interaction identifier can also be preset, and in this regard, the embodiments of the present application do not make a limitation; and the process of displaying an interactive prop shot from the virtual screen towards the first virtual object in response to the satisfaction of the interaction condition, and the process of controlling the first virtual object to perform an interaction operation on the interactive prop in response to the control instruction for the first virtual object, as described above, the embodiments of the present application do not elaborate here.
[0194] Then, after controlling the first virtual object to perform an interaction operation on the interactive prop in response to the control instruction for the first virtual object, based on the interaction operation, when the interactive prop hits the interaction identifier, display an interaction success message for the interactive prop; among them, the interaction success message can be in the form of at least one of text and pictures, and in this regard, the embodiments of the present application do not make a limitation.
[0195] Exemplarily, refer to Figure 24 , Figure 24It is a schematic diagram of the process of moving an interaction identifier provided by an embodiment of the present application. Based on Figure 24 , Figure 24 in a, 2401 indicates the interaction identifier. Among them, the interaction identifier moves in the virtual screen, so as to move from Figure 24 the position indicated by 2401 in a to Figure 24 the position indicated by 2402 in b.
[0196] In this way, when the switching condition of the interaction mode of the virtual scene is satisfied, the interaction mode of the virtual scene is switched from the first interaction mode to the third interaction mode, and the interaction process of the third interaction mode is defined. In this way, different interaction modes are introduced into the virtual scene, increasing the diversity and richness of the scene; at the same time, by switching different interaction modes, different interaction modes can also be compared, enabling players to experience different interaction styles and avoiding the monotony of the interaction mode.
[0197] In actual implementation, before responding to a control instruction for a first virtual object and controlling the first virtual object to perform an interaction operation on an interactive prop, a virtual aiming sight can also be displayed. The virtual aiming sight is used to indicate the hitting position when the interactive prop returns to the virtual screen; in response to a movement operation on the virtual aiming sight, the virtual aiming sight is moved to a target position; thus, the process of responding to a control instruction for the first virtual object and controlling the first virtual object to perform an interaction operation on the interactive prop can be that, when the virtual aiming sight moves to the target position, in response to a control instruction for the first virtual object, the first virtual object is controlled to perform an interaction operation on the interactive prop; and the process of displaying an interaction success message for the interactive prop based on the interaction operation and in response to the interactive prop hitting the interaction identifier can be that, based on the interaction operation, when the interactive prop hits the target position, in response to the interaction identifier moving to the area where the target position is located, an interaction success message for the interactive prop is displayed.
[0198] It should be noted that, as described above, the display style of the virtual aiming sight here can be preset, and the embodiments of the present application do not make any limitations in this regard; at the same time, since the interaction identifier is dynamic, it is necessary to pre-judge the position where the interaction identifier will move, so as to move the virtual aiming sight to the corresponding position, that is, the target position. Thus, when the virtual aiming sight moves to the target position, in response to a control instruction for the first virtual object, the first virtual object is controlled to perform an interaction operation on the interactive prop, so that when the interactive prop hits the target position, the interaction identifier will move to the area where the target position is located.
[0199] In actual implementation, after responding to a control instruction for a first virtual object and controlling the first virtual object to perform an interaction operation on an interactive prop, it is also possible to, based on the interaction operation, when the interactive prop hits the target position, and in response to the interaction identifier not being in the area where the target position is located, display an interaction failure message for the interactive prop.
[0200] It should be noted that the interaction failure message can also be in the form of at least one of text and pictures, and the embodiments of the present application do not limit this; at the same time, the area where the interaction identifier is not in the area where the target position is located can be the area where it has not moved to the area where the target position is located, or the area where it has moved past the area where the target position is located, and the embodiments of the present application also do not limit this.
[0201] In this way, when the interaction identifier moves, by adjusting the position of the virtual sight, it is possible to control whether the interactive prop can hit the interaction identifier. In this way, it helps the player to lock the target more accurately. At the same time, it also enables the player to adjust the aiming strategy in real time, improve the hit rate, and thus improve the human-computer interaction efficiency.
[0202] In some embodiments, the virtual scene further includes a second virtual object. Thus, after responding to the satisfaction of the interaction condition and displaying the interactive prop shot from the virtual screen towards the first virtual object, it is also possible to, in response to a movement operation for the first virtual object, control the first virtual object to move towards the interactive prop and display the process of the second virtual object moving towards the interactive prop; and the process of controlling the first virtual object to perform an interaction operation on the interactive prop in response to a control instruction for the first virtual object can be that when the first virtual object moves to the interactive area corresponding to the interactive prop, in response to the control instruction for the first virtual object, control the first virtual object to perform an interaction operation on the interactive prop.
[0203] It should be noted that the second virtual object can be controlled by other players (teammates) in the same group as the current player, or can be controlled by other players (opponents) in a different group from the current player, and the embodiments of the present application do not limit this.
[0204] Among them, for the process of controlling the first virtual object to perform an interaction operation on the interactive prop in response to a control instruction for the first virtual object when the first virtual object moves to the interactive area corresponding to the interactive prop, the interactive area is the area where the first virtual object can perform an interaction operation on the interactive prop, and when the first virtual object is the first virtual object to move to the interactive area corresponding to the interactive prop, it is possible to control the first virtual object to perform an interaction operation on the interactive prop in response to the control instruction for the first virtual object.
[0205] In actual implementation, for the interaction result in the process of displaying the interaction result of an interactive prop based on an interaction operation in response to the interactive prop hitting the first display area where the first answer among multiple answers is located, when the first virtual object and the second virtual object belong to the same group, this interaction result corresponds to the corresponding group, and when the first virtual object and the second virtual object do not belong to the same group, this interaction result only corresponds to the first virtual object.
[0206] In this way, by specifying that the number of virtual objects related to the interactive prop can be multiple, it is possible to promote cooperation among players or trigger disputes among players, which not only improves the interactivity between virtual objects during the interaction process but also enriches the user's interaction process.
[0207] Applying the above embodiments of the present application, in a virtual scene, a first virtual object and a virtual screen including multiple answers to a first question are displayed. Different answers are located in different first display areas on the virtual screen. When the interaction condition is met, an interactive prop shot from the virtual screen towards the first virtual object is displayed. Then, during the process of the interactive prop shooting towards the first virtual object, in response to a control instruction for the first virtual object, the first virtual object is controlled to perform an interaction operation for controlling the interactive prop to return to the virtual screen. Finally, based on the interaction operation, in response to the interactive prop hitting the first display area where the first answer among multiple answers is located, the interaction result of the interactive prop is displayed. In this way, multiple answers to a certain question are displayed on the virtual screen, and at the same time, different answers are located in different display areas on the virtual screen. Thus, compared with the solution of directly determining the hitting position of the interactive prop based on the displayed target, determining the hitting position of the interactive prop on the virtual screen through the answers used to answer the question not only enriches the display method of the hitting position, improves the diversity of the interaction process, the human-computer interaction efficiency, and the utilization rate of the hardware resources of the electronic device, but also tests the user's reaction speed, enriches the user's interaction experience, and improves the interestingness of the interaction process.
[0208] Next, an exemplary application of the embodiments of the present application in an actual application scenario will be described.
[0209] Most of the related baseball games use the gameplay of hitting a large screen with a baseball to play the game. Players need to aim and hit the baseball according to the baseball target that appears in the game, and finally, rewards are distributed according to the player's hitting situation. However, such a way has a relatively single long-term experience and is prone to boredom. At the same time, the target of baseball hitting is the target, and the only changes that the target can make are size and position changes, and there are not many dimensions for controlling the game difficulty.
[0210] Based on this, the present application provides an interaction method in a virtual scenario. By displaying an interactive display screen (virtual screen), a series of baseball-related knowledge quizzes or logic puzzles are dynamically presented on the screen. Then, multiple answer options are provided below each question to simulate the batter's box on a baseball field.
[0211] In actual implementation, the player acts as a virtual batter. In some rounds of the game, questions are randomly selected, mainly consisting of simple math questions. Then, the answer to the question is used as a target. In this way, the player can choose the correct answer from multiple options to aim at and then swing based on the aiming target. This provides more diverse target forms for baseball games, adds changes and experience fun to the targets in baseball games, and also facilitates the control of the game rhythm by regulating the answering and non-answering content. At the same time, because the answering mechanism is added, worldview content and other content can be added to the questions, thereby improving the player's gaming experience.
[0212] Next, the technical solution of the present application will be described from the product side.
[0213] In actual implementation, as Figure 7 shown, after a certain time when a baseball (interactive prop) is launched by a ball launcher (the first prop launch object), when the aiming target is set, in response to a control operation on the baseball batter (the first virtual object), a swing is made at the baseball to hit the baseball and complete the level.
[0214] In actual implementation, as Figure 9 shown, the aiming crosshair (reticle) of the baseball hit can be controlled by a mouse or by dragging the screen to aim at the content on the screen that needs to be hit. Among them, the target on the screen can be in any form, including Figure 4 the circle shown or the answering-form target described later.
[0215] In actual implementation, it is necessary to judge the flying distance of the baseball when it is approaching, and then judge whether to hit the ball. As Figure 12 shown, the baseball has a certain flight trajectory. Therefore, it is necessary to determine the hitting timing by judging the distance. Among them, there is a judgment area (the first spatial area). As long as a hitting operation (interaction operation) is performed on the baseball within the judgment area, the hitting is determined to be successful.
[0216] In some embodiments, based on the above baseball game mechanism, a baseball answering mechanism can also be introduced. Specifically, as Figure 5 shown, the displayed answering questions can be preset, which can be any text. Then, a question countdown is displayed. After the countdown ends, the player is required to hit the answer, that is, the answer to the question is displayed for the user to select, as Figure 10As shown in the figure. Here, the question type can be any type, and the embodiments of the present application do not make any limitations on this.
[0217] It should be noted that the answers to the displayed questions are also preset. Among them, multiple answers include the correct answer; the form of the answer can be a nine-square grid form (for numerical answers), such as Figure 10 shown in a of Figure 10 as shown in b.
[0218] In actual implementation, first, in response to the aiming operation based on the aiming crosshair, the aiming crosshair is aligned with the area where a certain answer (that is, the answer selected by the player from multiple answers and considered correct by the player) is located. Then, when the baseball approaches, in response to the control operation for the baseball batter (the first virtual object), the baseball is swung to hit the area where the corresponding answer is located. Finally, when the corresponding answer is the correct answer, it is determined that the hitting is successful.
[0219] Next, the technical solution of the present application will be described from a technical perspective. Among them, the technical solution of the present application requires two technical points to be implemented. The first technical point is the three-dimensional user interface, and the second technical point is ray detection.
[0220] In actual implementation, for the first technical point, the three-dimensional user interface is a technology for creating and presenting a user interface in a three-dimensional space, which provides developers with the ability to create an immersive interaction experience in a virtual environment. First, a user control blueprint is created, which is the basis for building the three-dimensional user interface. The user control blueprint can contain various UI elements, such as buttons, text boxes, images, etc. An Actor blueprint is created and a control component is added, and the control component is added therein. The control component is used to place the UI elements in the user control blueprint in the three-dimensional scene. Then, in the embodiments of the present application, based on the three-dimensional user interface, the large screen of the baseball is displayed, which can enable the screen to normally hang the content that the user interface needs to display, and ray detection of the baseball can be performed. Among them, the target of the baseball is also made using the three-dimensional user interface, so that parameters such as its size and displacement movement can be flexibly controlled. In addition, the subsequent answering content is also made using the three-dimensional user interface. In this way, since the UI can better support the replacement of multilingual texts, multilingual support can be provided to meet the distribution requirements of each channel.
[0221] In actual implementation, for the second technical point, ray tracing is a basic technique in computer graphics used to detect whether a ray of light intersects with an object in a three-dimensional scene to determine the position of the intersection point and other relevant information. Here, ray tracing functions provided by UE5 (such as LineTraceSingleByChannel or LineTraceMultiByChannel) are used to perform ray tracing. These functions return a structure containing collision information (such as FHitResult), which includes information such as the position of the collision point, the collision normal, and a reference to the collided object. In the embodiments of this application, the player uses ray tracing to draw the baseball hitting target, performs ray tracing from the player's position to the aiming point, and thereby determines the actual hitting position of the baseball. For the target and the answer to the question, ray tracing can be performed in this way. After determining the coordinates in the three-dimensional user interface, it is detected whether the target or the correct answer to the question is hit.
[0222] Applying the above embodiments of this application, in a virtual scene, a first virtual object and a virtual screen including multiple answers to a first question are displayed. Different answers are in different first display areas in the virtual screen. When the interaction condition is met, an interactive prop emitted from the virtual screen towards the first virtual object is displayed. Then, during the process of the interactive prop shooting towards the first virtual object, in response to a control instruction for the first virtual object, the first virtual object is controlled to perform an interaction operation for controlling the interactive prop to return to the virtual screen. Finally, based on the interaction operation, in response to the interactive prop hitting the first display area where the first answer among the multiple answers is located, an interaction result for the interactive prop is displayed. In this way, multiple answers to a certain question are displayed in the virtual screen. At the same time, different answers are in different display areas in the virtual screen. In this way, compared with the solution of directly determining the hitting position of the interactive prop based on the displayed target, determining the hitting position of the interactive prop on the virtual screen through the answers to the questions not only enriches the display method of the hitting position, improves the diversity of the interaction process, the human-computer interaction efficiency, and the utilization rate of the hardware resources of the electronic device, but also tests the reaction speed of the user, enriches the user's interaction experience, and improves the interest of the interaction process.
[0223] The following continues to describe the exemplary structure of the interactive device 455 in the virtual scene provided by the embodiments of this application as software modules. In some embodiments, as Figure 2 shown, the software modules in the interactive device 455 in the virtual scene stored in the memory 450 may include:
[0224] The first display module 4551 is configured to display a first virtual object and a virtual screen in a virtual scene. Multiple answers to a first question are displayed in the virtual screen, and different answers are located in different first display areas in the virtual screen.
[0225] The second display module 4552 is configured to display an interactive prop that shoots from the virtual screen towards the first virtual object in response to the satisfaction of an interaction condition.
[0226] The control module 4553 is configured to control the first virtual object to perform an interaction operation on the interactive prop in response to a control instruction for the first virtual object. The interaction operation is used to control the interactive prop to return to the virtual screen.
[0227] The third display module 4554 is configured to display an interaction result for the interactive prop based on the interaction operation in response to the interactive prop hitting the first display area where the first answer among the multiple answers is located.
[0228] In some embodiments, the third display module 4554 is further configured to, based on the interaction operation, in response to the interactive prop hitting the first display area where the first answer is located, display a successful interaction message when the first answer is the correct answer to the first question. The successful interaction message is used to indicate the success of the interaction for the interactive prop; when the first answer is not the correct answer to the first question, display a failed interaction message, and the failed interaction message is used to indicate the failure of the interaction for the interactive prop.
[0229] In some embodiments, the device further includes a fourth display module. The fourth display module is configured to display the first question and a first countdown in the virtual screen. The first countdown is used to indicate the display duration of the first question; in response to the first countdown reaching zero, cancel the display of the first question and display the multiple answers to the first question in the virtual screen.
[0230] In some embodiments, the fourth display module is further configured to evenly divide the virtual screen into the number of first display areas based on the number of answers, and display each answer in a different first display area.
[0231] In some embodiments, the fourth display module is further configured to display a second countdown. The second countdown is used to indicate the display duration of the multiple answers; in response to the second countdown reaching zero, determine that the interaction condition is satisfied.
[0232] In some embodiments, the fourth display module is further configured to display a first prop launching object at an associated position of the virtual screen in the virtual scene, where the first prop launching object is used to launch the interactive prop; the second display module 4552 is further configured to display the process of the first prop launching object launching the interactive prop towards the first virtual object in response to the satisfaction of the interaction condition.
[0233] In some embodiments, the fourth display module is further configured to display a virtual aiming sight in the virtual screen, where the virtual aiming sight is used to indicate the hitting position when the interactive prop returns to the virtual screen; control the interactive prop to return to the virtual screen, and control the interactive prop to hit the first display area where the virtual aiming sight is located.
[0234] In some embodiments, the fourth display module is further configured to, in response to a moving operation on the virtual aiming sight, move the virtual aiming sight from a first position in the virtual screen to a second position, where the second position and the first position are respectively located in different first display areas; control the interactive prop to hit the first display area where the second position is located.
[0235] In some embodiments, the first virtual object holds a first virtual prop, and the interaction operation is a hitting operation performed by the first virtual object on the interactive prop based on the first virtual prop; the control module 4553 is further configured to, when the virtual aiming sight is in the first display area where the first answer is located, in response to a control instruction for the first virtual object, control the first virtual object to perform a hitting operation on the interactive prop based on the first virtual prop, so that the interactive prop returns to the first display area where the first answer is located in the virtual screen.
[0236] In some embodiments, the interactive prop is launched by at least one first prop launching object, and the number of the first prop launching objects is associated with the number of the first display areas; the fourth display module is further configured to determine the positions of the first prop launching objects in the virtual scene based on the layout of the multiple first display areas in the virtual screen, and display the first prop launching objects at the respective positions; the second display module 4552 is further configured to display the process of the target first prop launching object among the at least one first prop launching object launching the interactive prop towards the first virtual object in response to the satisfaction of the interaction condition; where the position of the target first prop launching object corresponds to the position of the virtual aiming sight.
[0237] In some embodiments, the fourth display module is further configured to, when controlling the first virtual object to perform an interaction operation on the interactive prop, display a first prompt message in response to the interaction position corresponding to the interactive prop being in a first spatial region; the first prompt message is used to prompt that the interaction operation on the interactive prop is a valid operation, and the valid interaction operation is used to return the interactive prop to the virtual screen.
[0238] In some embodiments, the fourth display module is further configured to display a second prompt message in response to the interaction position corresponding to the interactive prop being in a second spatial region; wherein, the center of the second spatial region coincides with the center of the first spatial region, and the outer boundary of the first spatial region coincides with the second spatial region; the second prompt message is used to prompt that the interaction operation on the interactive prop is an invalid operation.
[0239] In some embodiments, the virtual scene includes at least two interaction modes, and the device further includes a mode switching control. The mode switching control is configured to switch the interaction mode of the virtual scene from a first interaction mode to a second interaction mode in response to the satisfaction of the switching condition of the interaction mode of the virtual scene; in the second interaction mode, a second prop launching object is displayed in the virtual scene; wherein, the second prop launching object is configured to continuously launch a plurality of the interactive props within a target period, the virtual screen includes a plurality of second display regions, and different second display regions correspond to different interaction results; in response to a continuously triggered control instruction for the first virtual object, control the first virtual object to continuously perform interaction operations on the interactive props, so that each of the interactive props returns to the virtual screen; based on each of the interaction operations, in response to the corresponding interactive prop hitting any one of the second display regions, display the interaction result corresponding to the hit second display region.
[0240] In some embodiments, the interaction result includes interaction points, and the interaction points are used to affect the virtual resources obtained by the first virtual object when the second interaction mode ends. Different second display regions correspond to different interaction points; the mode switching control is further configured to, for each of the interaction operations, display the interaction points corresponding to the hit second display region in response to the corresponding interactive prop hitting any one of the second display regions; dynamically display the sum of the interaction points corresponding to the hit second display regions, and the sum of the interaction points is used to indicate the sum of the interaction points corresponding to the currently hit second display region and the interaction points corresponding to each of the previously hit second display regions.
[0241] In some embodiments, the mode switching control is further configured to display an interaction duration, where the interaction duration is used to indicate the interaction duration of the first virtual object in the first interaction mode; when the interaction duration reaches a duration threshold, it is determined that the switching condition of the interaction mode of the virtual scene is satisfied; or, in response to the interaction result indicating that the first virtual object has completed the interaction goal in the first interaction mode, it is determined that the switching condition of the interaction mode of the virtual scene is satisfied.
[0242] In some embodiments, the mode switching control is further configured to, in response to the switching condition of the interaction mode of the virtual scene being satisfied, scroll and display the at least two interaction modes on the virtual screen; when the scrolling display process stops, display the second interaction mode on the virtual screen and switch the interaction mode of the virtual scene from the first interaction mode to the second interaction mode.
[0243] In some embodiments, the mode switching control is further configured to, based on each of the interaction operations, in response to each of the interactive props emitted by the second prop emission object returning to the virtual screen, display the process of the second prop emission object being destroyed.
[0244] In some embodiments, the virtual scene includes at least two interaction modes, and the mode switching control is further configured to, in response to the switching condition of the interaction mode of the virtual scene being satisfied, display a continue interaction control, where the continue interaction control is used to indicate continuing the interaction process of the virtual scene; in response to a trigger operation on the continue interaction control, display the at least two interaction modes; in response to a selection operation on a third interaction mode among the at least two interaction modes, switch the interaction mode of the virtual scene from the first interaction mode to the third interaction mode.
[0245] In some embodiments, the mode switching control is further configured to, in the third interaction mode, display a moving interaction identifier on the virtual screen, where the interaction identifier is used to indicate the position that the interactive prop needs to hit; in response to the interaction condition being satisfied, display an interactive prop shooting out from the virtual screen towards the first virtual object; in response to a control instruction for the first virtual object, control the first virtual object to perform an interaction operation on the interactive prop; based on the interaction operation, in response to the interactive prop hitting the interaction identifier, display an interaction success message for the interactive prop.
[0246] In some embodiments, the mode switching control is further configured to display a virtual aiming sight, where the virtual aiming sight is used to indicate the hitting position when the interactive prop returns to the virtual screen; in response to a movement operation on the virtual aiming sight, move the virtual aiming sight to a target position; in the case where the virtual aiming sight moves to the target position, in response to a control instruction for the first virtual object, control the first virtual object to perform an interaction operation on the interactive prop; based on the interaction operation, when the interactive prop hits the target position, in response to the interactive identifier moving to the area where the target position is located, display an interaction success message for the interactive prop.
[0247] In some embodiments, the virtual scene further includes a second virtual object, and the fourth display module is further configured to, in response to a movement operation on the first virtual object, control the first virtual object to move towards the interactive prop and display the process of the second virtual object moving towards the interactive prop; the control module 4553 is further configured to, when the first virtual object moves to the interactive area corresponding to the interactive prop, in response to a control instruction for the first virtual object, control the first virtual object to perform an interaction operation on the interactive prop.
[0248] An embodiment of the present application provides a computer program product, which includes computer executable instructions or a computer program, and the computer executable instructions or the computer program are stored in a computer-readable storage medium. A processor of an electronic device reads the computer executable instructions or the computer program from the computer-readable storage medium, and the processor executes the computer executable instructions or the computer program, so that the electronic device executes the interaction method in the virtual scene in the embodiment of the present application.
[0249] An embodiment of the present application provides a computer-readable storage medium storing computer executable instructions or a computer program, and when the computer executable instructions or the computer program are executed by a processor, it will cause the processor to execute the interaction method in the virtual scene provided by the embodiment of the present application, for example, Figure 3 the interaction method in the virtual scene shown.
[0250] In some embodiments, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disc, or a memory such as a CD-ROM; it may also be various devices including one or any combination of the above memories.
[0251] In some embodiments, the computer-executable instructions may be in the form of a program, software, a software module, a script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including being deployed as an independent program or being deployed as a module, a component, a subroutine, or other units suitable for use in a computing environment.
[0252] As an example, the computer-executable instructions may or may not correspond to files in a file system, may be stored as part of a file that stores other programs or data. For example, they may be stored in one or more scripts in a hypertext markup language (HTML) document, stored in a single file dedicated to the program under discussion, or stored in multiple cooperating files (e.g., files that store one or more modules, subroutines, or code portions).
[0253] As an example, the computer-executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one location, or on multiple electronic devices distributed at multiple locations and interconnected by a communication network.
[0254] In summary, the embodiments of the present application have the following beneficial effects:
[0255] Multiple answers to a certain question are displayed in the virtual screen. At the same time, different answers are in different display areas of the virtual screen. In this way, compared with the solution of directly determining the hitting position of the interactive prop based on the displayed target, determining the hitting position of the interactive prop in the virtual screen through the answers used to answer the question not only enriches the display method of the hitting position, improves the diversity of the interaction process, the human-computer interaction efficiency, and the utilization rate of the hardware resources of the electronic device, but also tests the reaction speed of the user, enriches the user's interaction experience, and improves the interestingness of the interaction process.
[0256] It should be noted that in the embodiments of the present application, for data related to user operations and the like, when the embodiments of the present application are applied to specific products or technologies, user permission or consent needs to be obtained, and the collection, use, and processing of relevant data need to comply with relevant laws, regulations, and standards of relevant countries and regions.
[0257] As described above, the above are only embodiments of the present application and are not intended to limit the protection scope of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and scope of the present application are all included in the protection scope of the present application.
Claims
1. An interactive method in a virtual scene, characterized in that: The method comprises: In a virtual scene, a first virtual object and a virtual screen are displayed, wherein a plurality of answers to a first question are displayed on the virtual screen, and different answers are located in different first display areas of the virtual screen; In response to the interaction condition being satisfied, displaying an interactive prop that is ejected from the virtual screen toward the first virtual object; In response to a control instruction for the first virtual object, controlling the first virtual object to perform an interactive operation for the interactive prop, wherein the interactive operation is used to control the interactive prop to return to the virtual screen; Based on the interaction operation, in response to the interactive prop hitting the first display area where the first answer among the multiple answers is located, the interaction result for the interactive prop is displayed.
2. The method according to claim 1, characterized in that: Based on the interactive operation, in response to the interactive item hitting a first display area where a first answer among the multiple answers is located, displaying an interactive result for the interactive item includes: Based on the interaction operation, in response to the interactive item hitting the first display area where the first answer is located, when the first answer is a correct answer to the first question, displaying an interaction success message, wherein the interaction success message is used to indicate that the interaction with the interactive item is successful; When the first answer is not a correct answer to the first question, an interaction failure message is displayed, where the interaction failure message is used to indicate that the interaction with the interactive prop has failed.
3. The method according to claim 1, characterized in that After displaying the first virtual object and the virtual screen in the virtual scene, the method further includes: On the virtual screen, displaying the first question and a first countdown, where the first countdown is used to indicate the display duration of the first question; In response to the first countdown being cleared to zero, the first question is canceled from being displayed, and the plurality of answers to the first question are displayed on the virtual screen.
4. The method according to claim 3, characterized in that: Displaying the plurality of answers to the first question on the virtual screen includes: Based on the number of the answers, the virtual screen is equally divided into the number of first display areas, and each of the answers is displayed in a different first display area.
5. The method according to claim 1, characterized in that After displaying the first virtual object and the virtual screen in the virtual scene, the method further includes: Displaying a second countdown, where the second countdown is used to indicate the display duration of the multiple answers; In response to the second countdown being cleared, it is determined that the interaction condition is satisfied.
6. The method according to claim 1, characterized in that The method further comprises: Displaying a first prop launching object at a position associated with the virtual screen in the virtual scene, wherein the first prop launching object is used to launch the interactive prop; In response to the interaction condition being satisfied, displaying the interactive prop ejected from the virtual screen toward the first virtual object comprises: In response to the interaction condition being satisfied, a process of the first prop-launching object launching the interactable prop toward the first virtual object is displayed.
7. The method according to claim 1, characterized in that Before controlling the first virtual object to perform an interactive operation on the interactive prop in response to a control instruction on the first virtual object, the method further includes: Displaying a virtual crosshair on the virtual screen, the virtual crosshair being used to indicate a hit position when the interactive prop returns to the virtual screen; After controlling the first virtual object to perform an interactive operation on the interactive prop in response to the control instruction on the first virtual object, the method further includes: The interactive prop is controlled to return to the virtual screen, and the interactive prop is controlled to hit the first display area where the virtual crosshair is located.
8. The method according to claim 7, characterized in that After displaying the virtual crosshairs on the virtual screen, the method further includes: In response to a movement operation on the virtual crosshair, the virtual crosshair is moved from a first position to a second position in the virtual screen, the second position and the first position being located in different first display areas respectively; The controlling the interactive item to hit the first display area where the virtual crosshair is located includes: The interactive prop is controlled to hit the first display area where the second position is located.
9. The method according to claim 7, characterized in that: The first virtual object holds a first virtual prop, and the interactive operation is a hitting operation performed by the first virtual object on the interactive prop based on the first virtual prop; The step of controlling the first virtual object to perform an interactive operation on the interactive prop in response to a control instruction on the first virtual object includes: When the virtual crosshairs is in the first display area where the first answer is located, in response to a control instruction for the first virtual object, the first virtual object is controlled to perform a hitting operation on the interactive prop based on the first virtual prop, so that the interactive prop returns to the first display area where the first answer is located in the virtual screen.
10. The method according to claim 7, characterized in that The interactive prop is launched by at least one first prop launch object, and the number of the first prop launch objects is associated with the number of the first display areas; the method further includes: Based on the layout of the plurality of first display areas in the virtual screen, determine the position of each of the first prop launching objects in the virtual scene, and display the first prop launching object at each of the positions; The process of displaying the first prop-launching object to launch the interactive prop toward the first virtual object in response to the interaction condition being satisfied includes: In response to the interaction condition being satisfied, displaying a process in which a target first prop launching object among the at least one first prop launching object launches the interactive prop toward the first virtual object; Wherein, the position of the target first prop launching object corresponds to the position of the virtual crosshair.
11. The method according to claim 1, characterized in that After controlling the first virtual object to perform an interactive operation on the interactive prop in response to the control instruction on the first virtual object, the method further includes: When the first virtual object is controlled to perform an interactive operation on the interactive prop, in response to the interactive position corresponding to the interactive prop being in the first spatial area, displaying a first prompt message; The first prompt message is used to prompt that the interactive operation on the interactive prop is a valid operation, and the valid interactive operation is used to return the interactive prop to the virtual screen.
12. The method according to claim 11, characterized in that The method further comprises: In response to the interactive position corresponding to the interactive prop being in the second spatial area, displaying second prompt information; The second spatial area coincides with the center of the first spatial area, and the outer boundary of the first spatial area coincides with the second spatial area; the second prompt information is used to prompt that the interactive operation on the interactive prop is an invalid operation.
13. The method according to claim 1, characterized in that The virtual scene includes at least two interaction modes. Based on the interaction operation, in response to the interactive item hitting the first display area where the first answer among the multiple answers is located, after displaying the interaction result for the interactive item, the method further includes: In response to a switching condition of the interaction mode of the virtual scene being satisfied, switching the interaction mode of the virtual scene from a first interaction mode to a second interaction mode; In the second interaction mode, a second prop launching object is displayed in the virtual scene; Wherein, the second prop launch object is used to continuously launch a plurality of the interactive props within a target period, and the virtual screen includes a plurality of second display areas, and different second display areas correspond to different interaction results; In response to the continuously triggered control instructions for the first virtual object, controlling the first virtual object to continuously perform interactive operations on the interactive props, so that each of the interactive props returns to the virtual screen; Based on each of the interactive operations, in response to the corresponding interactive prop hitting any one of the second display areas, the interactive result corresponding to the hit second display area is displayed.
14. The method according to claim 13, characterized in that The interaction result includes an interaction score, and the interaction score is used to affect the virtual resources obtained by the first virtual object when the second interaction mode ends, and different second display areas correspond to different interaction scores; In response to the corresponding interactive prop hitting any one of the second display areas, displaying the interaction result corresponding to the hit second display area includes: For each of the interactive operations, in response to the corresponding interactive item hitting any one of the second display areas, displaying the interaction score corresponding to the hit second display area; The method further comprises: The sum of interaction points corresponding to the second display area that is hit is dynamically displayed, and the sum of interaction points is used to indicate the sum of the interaction points corresponding to the second display area that is currently hit and the interaction points corresponding to each of the second display areas that were previously hit.
15. The method according to claim 13, characterized in that In response to the switching condition of the interaction mode of the virtual scene being satisfied, before switching the interaction mode of the virtual scene from the first interaction mode to the second interaction mode, the method further includes: Display interaction duration, where the interaction duration is used to indicate the interaction duration of the first virtual object in the first interaction mode; when the interaction duration reaches a duration threshold, it is determined that a switching condition of the interaction mode of the virtual scene is satisfied; or In response to the interaction result indicating that the first virtual object completes the interaction goal in the first interaction mode, it is determined that a switching condition of the interaction mode of the virtual scene is satisfied.
16. The method according to claim 13, characterized in that In response to a switching condition of the interaction mode of the virtual scene being satisfied, switching the interaction mode of the virtual scene from the first interaction mode to the second interaction mode includes: In response to a switching condition of the interaction mode of the virtual scene being satisfied, scrolling and displaying the at least two interaction modes on the virtual screen; When the scrolling display process stops, the second interaction mode is displayed in the virtual screen, and the interaction mode of the virtual scene is switched from the first interaction mode to the second interaction mode.
17. The method according to claim 13, characterized in that Based on each of the interactive operations, in response to the corresponding interactive prop hitting any one of the second display areas, after displaying the interactive result corresponding to the hit second display area, the method further includes: Based on each of the interactive operations, each of the interactive props launched by the second prop launching object is returned to the virtual screen to display the process of the second prop launching object being destroyed.
18. The method according to claim 1, characterized in that The virtual scene includes at least two interaction modes. Based on the interaction operation, in response to the interactive item hitting the first display area where the first answer among the multiple answers is located, after displaying the interaction result for the interactive item, the method further includes: In response to a switching condition of the interaction mode of the virtual scene being met, displaying a continue interaction control, wherein the continue interaction control is used to indicate to continue the interaction process of the virtual scene; In response to a trigger operation on the continue interaction control, displaying the at least two interaction modes; In response to a selection operation on a third interaction mode among the at least two interaction modes, the interaction mode of the virtual scene is switched from the first interaction mode to the third interaction mode.
19. The method according to claim 18, characterized in that After the interaction mode of the virtual scene is switched from the first interaction mode to the third interaction mode in response to the selection operation of the third interaction mode among the at least two interaction modes, the method further includes: In the third interaction mode, a moving interaction mark is displayed on the virtual screen, and the interaction mark is used to indicate the position where the interactive prop needs to be hit; In response to the interaction condition being satisfied, displaying an interactive prop that is ejected from the virtual screen toward the first virtual object; In response to a control instruction for the first virtual object, controlling the first virtual object to perform an interactive operation for the interactive prop; Based on the interaction operation, in response to the interactive item hitting the interaction mark, an interaction success message for the interactive item is displayed.
20. The method according to claim 19, characterized in that Before controlling the first virtual object to perform an interactive operation on the interactive prop in response to a control instruction on the first virtual object, the method further includes: Displaying a virtual crosshair, wherein the virtual crosshair is used to indicate the hit position of the interactive prop when it returns to the virtual screen; In response to a movement operation on the virtual crosshair, moving the virtual crosshair to a target position; The step of controlling the first virtual object to perform an interactive operation on the interactive prop in response to a control instruction on the first virtual object includes: When the virtual crosshair moves to a target position, in response to a control instruction for the first virtual object, controlling the first virtual object to perform an interactive operation for the interactive prop; The method of displaying a successful interaction message for the interactive item based on the interactive operation and in response to the interactive item hitting the interactive identifier comprises: Based on the interaction operation, when the interactive item hits the target location, in response to the interaction marker moving to the area where the target location is located, a successful interaction message for the interactive item is displayed.
21. The method according to claim 1, characterized in that The virtual scene also includes a second virtual object. After displaying the interactive props ejected from the virtual screen toward the first virtual object in response to the interaction condition being satisfied, the method further includes: In response to a movement operation on the first virtual object, controlling the first virtual object to move toward the interactive prop, and displaying a process of the second virtual object moving toward the interactive prop; The step of controlling the first virtual object to perform an interactive operation on the interactive prop in response to a control instruction on the first virtual object includes: When the first virtual object moves to the interactive area corresponding to the interactive prop, in response to a control instruction for the first virtual object, the first virtual object is controlled to perform an interactive operation for the interactive prop.
22. An interactive device in a virtual scene, characterized in that: The device comprises: A first display module, configured to display a first virtual object and a virtual screen in a virtual scene, wherein a plurality of answers to a first question are displayed on the virtual screen, and different answers are located in different first display areas of the virtual screen; A second display module, configured to display an interactive prop ejected from the virtual screen toward the first virtual object in response to an interaction condition being satisfied; a control module, configured to control the first virtual object to perform an interactive operation on the interactive prop in response to a control instruction on the first virtual object, wherein the interactive operation is used to control the interactive prop to return to the virtual screen; The third display module is used to display the interaction result for the interactive prop based on the interaction operation and in response to the interactive prop hitting the first display area where the first answer among the multiple answers is located.
23. An electronic device, characterized in that: include: Memory for storing computer executable instructions or computer programs; A processor is used to implement the interaction method in a virtual scene as described in any one of claims 1 to 21 when executing the computer executable instructions or computer programs stored in the memory.
24. A computer-readable storage medium, characterized in that: Computer executable instructions or computer programs are stored, which are used to cause a processor to execute and implement the interactive method in a virtual scene as described in any one of claims 1 to 21.
25. A computer program product comprising computer executable instructions or a computer program, characterized in that When the computer executable instructions or computer programs are executed by a processor, the interactive method in a virtual scene described in any one of claims 1 to 21 is implemented.