An interactive control method and device, electronic equipment and storage medium
By coordinating the operation of the first and second terminals, the system uses a gyroscope to detect attitude changes and generate control commands, while simultaneously displaying animations of a virtual fishing rod and auxiliary fishing tools. This solves the problem of monotonous operation in fishing games and achieves a more flexible and realistic fishing experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING ZITIAO NETWORK TECH CO LTD
- Filing Date
- 2023-06-06
- Publication Date
- 2026-07-03
Smart Images

Figure CN116672710B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and in particular to an interactive control method, device, electronic device, and storage medium. Background Technology
[0002] Currently, fishing games generally rely on users clicking corresponding buttons, resulting in relatively simple gameplay and controls that lack flexibility. Summary of the Invention
[0003] To solve the above-mentioned technical problems, or at least partially solve them, this disclosure provides an interactive control method, apparatus, electronic device, and storage medium.
[0004] According to one aspect of the present disclosure, an interactive control method is provided, the method being applied to a terminal system composed of a first terminal and a second terminal, the method comprising:
[0005] The user interface of the first terminal displays the main fishing screen, which is a screen showing the control of a virtual fishing rod for fishing in a virtual scene.
[0006] The user interface of the second terminal displays a first auxiliary screen, which is any one of a plurality of auxiliary screens related to the main fishing screen. Each of the auxiliary screens includes auxiliary fishing tools associated with the virtual fishing rod.
[0007] In response to a preset event being triggered on a first terminal or a second terminal, a first animation of the virtual fishing rod performing the action corresponding to the preset event is displayed on the main fishing screen, and a second animation of the auxiliary fishing tool performing the action corresponding to the preset event is displayed on the first auxiliary screen.
[0008] According to another aspect of the embodiments of this disclosure, an interactive system is also provided, including a first terminal and a second terminal, wherein the first terminal is used to execute the above-described method, and the second terminal is used to execute the above-described method.
[0009] According to another aspect of the embodiments of this disclosure, a storage medium is also provided, the storage medium including a stored program that executes the above steps when the program is run.
[0010] According to another aspect of the present disclosure, an electronic device is also provided, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; wherein: the memory is used to store computer programs; and the processor is used to execute the steps in the above method by running the programs stored in the memory.
[0011] This disclosure also provides a computer program product containing instructions that, when run on a computer, cause the computer to perform the steps in the above-described method.
[0012] Compared with the prior art, the technical solution provided in this disclosure has the following advantages: This disclosure increases the playability of the game by using a first device and a second device to fish in coordination, solves the problem of monotonous gameplay, and enables users to achieve a simulated fishing effect when operating through a terminal. Attached Figure Description
[0013] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0014] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0015] Figure 1 Flowcharts of interactive control methods provided in some embodiments of this disclosure;
[0016] Figure 2 This is a schematic diagram illustrating the wire feeding operation provided in some embodiments of this disclosure;
[0017] Figure 3 Flowcharts of interactive control methods provided in some embodiments of this disclosure;
[0018] Figure 4 This is a schematic diagram illustrating a wire take-up operation provided in some embodiments of this disclosure;
[0019] Figure 5 Flowcharts of interactive control methods provided in some embodiments of this disclosure;
[0020] Figure 6 This is a schematic diagram illustrating screen switching operations provided in some embodiments of this disclosure;
[0021] Figure 7 Flowcharts of interactive control methods provided in some embodiments of this disclosure;
[0022] Figure 8 This is a schematic diagram illustrating screen adjustment operations provided in some embodiments of this disclosure;
[0023] Figure 9 This is a schematic diagram of the structure of an electronic device provided in some embodiments of this disclosure. Detailed Implementation
[0024] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this disclosure. The illustrative embodiments and their descriptions are used to explain this disclosure and do not constitute an improper limitation of this disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without creative effort are within the scope of protection of this disclosure.
[0025] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another similar entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0026] This disclosure provides an interactive control method, apparatus, electronic device, and storage medium. The method provided in this disclosure can be applied to any electronic device as needed, such as a server, terminal, or other electronic device. No specific limitation is made here, and for ease of description, it will be referred to as an electronic device below.
[0027] According to one aspect of the embodiments of this disclosure, a method embodiment of an interactive control method is provided. Figure 1 A flowchart of an interactive control method provided in an embodiment of this disclosure is shown below. Figure 1 As shown, the method includes:
[0028] Step S11: The user interface of the first terminal displays the main fishing screen, which is a screen in a virtual scene where a virtual fishing rod is controlled to fish.
[0029] The method provided in this disclosure is applied to a terminal system consisting of a first terminal and a second terminal. The first terminal may be a smart mobile phone, an iPad, etc., and the second terminal may be a smart wearable device, a smartwatch, etc.
[0030] In this embodiment, an application client runs on the first terminal. The application client can be understood as an application that provides various services, such as an instant messaging client or a game client. The user can trigger a login operation using the application client running on the first terminal. After successful login, a fishing main screen is displayed on the user interface of the first terminal. The fishing main screen can be a screen showing the user controlling a virtual fishing rod in a virtual environment. The fishing main screen can show the virtual fishing rod before casting line, the virtual fishing rod casting line, the virtual fishing rod reeling in line, etc. The virtual environment can be a virtual lake, a virtual ocean, etc.
[0031] It's important to clarify that the User Interface (UI) refers to any visible control or element on an application's user interface, such as images, input fields, text boxes, buttons, and labels. Some of these UI controls respond to user actions; for example, a user triggers the UI control corresponding to the virtual fishing rod to control the casting or reeling in the line. The virtual environment in the application client simulates a real-world scene, allowing users to control the virtual fishing rod in the game to perform a series of fishing actions within the virtual environment.
[0032] Step S12: Display a first auxiliary screen on the user interface of the second terminal. The first auxiliary screen is any one of a plurality of auxiliary screens related to the main fishing screen. Each auxiliary screen includes auxiliary fishing tools associated with the virtual fishing rod.
[0033] In this embodiment of the disclosure, the auxiliary fishing tools include: a virtual fishhook, a virtual fishing reel, a virtual float, and a virtual lure, etc. The auxiliary screens that the second terminal can display include the image of the virtual fishhook underwater, the image of the virtual fishing reel rotating, the image of the virtual float on the water surface, and the image of the virtual lure flying. The first auxiliary screen is any one of the above-mentioned auxiliary screens.
[0034] In step S13, in response to a preset event being triggered on the first terminal or the second terminal, a first animation of the virtual fishing rod performing the action corresponding to the preset event is displayed on the main fishing screen, and a second animation of the auxiliary fishing tool performing the action corresponding to the preset event is displayed on the first auxiliary screen.
[0035] In this embodiment of the disclosure, in response to a preset event being triggered on a first terminal or a second terminal, a first animation of a virtual fishing rod performing an action corresponding to the preset event is displayed on the main fishing screen, and a second animation of an auxiliary fishing tool performing an action corresponding to the preset event is displayed on a first auxiliary screen, including the following steps A1-A3:
[0036] Step A1: When a wire-laying operation triggered by the first terminal is detected, it is determined that a preset event has been triggered by the first terminal.
[0037] In this embodiment of the disclosure, before detecting a line-laying operation triggered by the first terminal, the method further includes: detecting whether the posture of the first terminal has changed; when the posture of the first terminal changes, obtaining the corresponding movement direction and movement speed of the first terminal; generating a first control command based on the movement direction and movement speed, wherein the first control command is used to indicate that a line-laying action is currently triggered on the first terminal.
[0038] It should be noted that detecting changes in the posture of the first terminal's position is crucial to determining whether a line-casting operation has been triggered on the first terminal. For example, if the user is swinging the first terminal to simulate a real line-casting action, a change in the position of the first terminal indicates a swinging operation has occurred. The gyroscope on the first terminal then detects its direction and speed of movement. Based on these parameters, a first control command is generated. The direction of movement in the first control command determines the line-casting direction of the virtual fishing rod, and the speed of movement determines the line-casting speed. For example, the direction of movement could be to the left or right front of the virtual tool.
[0039] In this embodiment of the disclosure, a wire-laying operation is triggered on the first terminal by a first control command, at which time a preset event (wire-laying event) is determined to be triggered on the first terminal.
[0040] Step A2: In response to a preset event being triggered on the first terminal, a first animation is displayed on the main fishing screen, wherein the first animation is an animation of the virtual fishing rod performing a line-releasing action.
[0041] In this embodiment of the disclosure, the first animation is a scene of a virtual fishing rod performing a line-releasing action according to the direction and speed of movement.
[0042] Step A3: Display the second animation on the first auxiliary screen, wherein the second animation is a screen showing the fishing tool performing the line-releasing action.
[0043] In this embodiment of the disclosure, the images show the line-releasing action of the second auxiliary fishing tool, such as the image of the fishing reel rotating, the image of the hook entering the water, and the image of the float on the water surface.
[0044] As an example, such as Figure 2 As shown, firstly, the movement direction and speed of the first terminal 101 are detected, thereby triggering a line-casting event. Based on the movement direction and speed, the line-casting direction and speed of the virtual fishing rod are determined. Then, the main fishing screen displays a view of the virtual fishing rod executing the line-casting action according to the specified direction and speed. Simultaneously, the second terminal 102 displays auxiliary fishing footage. This auxiliary fishing footage can include: images of the hook entering the water, images of the float on the water's surface, etc.
[0045] In this embodiment, during the casting process, the first terminal displays the casting animation of the virtual fishing rod, while the second terminal displays the casting animation of the auxiliary fishing tool. This allows the relevant screen of the auxiliary fishing tool to be displayed synchronously on the second terminal while the virtual fishing rod is casting. Furthermore, the casting event is triggered by the movement speed and direction of the first terminal during interaction, increasing the game's playability and solving the problem of monotonous gameplay. It also allows users to experience the simulated effect of casting during fishing.
[0046] Figure 3 A flowchart of an interactive control method provided in an embodiment of this disclosure is shown below. Figure 3 As shown, the method includes:
[0047] Step S21: The user interface of the first terminal displays the main fishing screen, which is a screen showing the control of a virtual fishing rod for fishing in a virtual scene. See the above embodiment for details, which will not be repeated here.
[0048] Step S22: A first auxiliary screen is displayed on the user interface of the second terminal. The first auxiliary screen is any one of multiple auxiliary screens related to the main fishing screen, and each auxiliary screen includes auxiliary fishing tools associated with the virtual fishing rod. See the above embodiment for details, which will not be repeated here.
[0049] Step S23: In response to a preset event being triggered on the first terminal or the second terminal, a first animation of the virtual fishing rod performing the action corresponding to the preset event is displayed on the main fishing screen, and a second animation of the auxiliary fishing tool performing the action corresponding to the preset event is displayed on the first auxiliary screen.
[0050] In this embodiment of the disclosure, in response to a preset event being triggered on a first terminal or a second terminal, a first animation of a virtual fishing rod performing an action corresponding to the preset event is displayed on the main fishing screen, and a second animation of an auxiliary fishing tool performing an action corresponding to the preset event is displayed on a first auxiliary screen, including the following steps B1-B3:
[0051] Step B1: When a take-up operation triggered on the second terminal is detected, it is determined that a preset event has been triggered on the second terminal.
[0052] In this embodiment of the disclosure, before detecting the take-up operation triggered by the second terminal, the method further includes: detecting whether the posture of the second terminal has changed; when the posture of the second terminal changes, obtaining the motion direction and axial velocity of the second terminal; generating a second control command based on the motion direction and axial velocity, wherein the second control command is used to indicate that the take-up operation is currently triggered on the second terminal.
[0053] It should be noted that by detecting whether the position of the first terminal corresponding to the first terminal changes posture, the purpose is to determine whether a line-releasing operation is currently triggered on the first terminal. For example, the user may be swinging the first terminal to simulate a real line-releasing action. Therefore, if a change in the position of the second terminal corresponding to the second terminal is detected, the movement direction and axial velocity of the second terminal can be obtained. When the movement direction matches the preset line-retrieving direction (the preset line-retrieving direction can be the rotation direction of the fishing reel when retrieving the line), a second control command is generated based on the movement direction and axial velocity. The axial velocity in the second control command is used to determine the line-retrieving speed of the auxiliary fishing tool.
[0054] In this embodiment of the disclosure, a wire-laying operation is triggered on the second terminal by a second control command, at which time a preset event (wire-reeling event) is determined to be triggered on the second terminal.
[0055] Step B2: In response to a preset event being triggered on the second terminal, a second animation is displayed on the first auxiliary screen, wherein the second animation is a screen showing the fishing tool performing a line-reeling action.
[0056] In this embodiment of the disclosure, the second animation may be a scene of the fishing reel rotating and reeling in the line, a scene of the fishing hook moving, a scene of the float moving, and so on.
[0057] Step B3: Display the first animation on the main fishing screen. The first animation is the animation of the virtual fishing rod performing the reeling action.
[0058] In this embodiment of the disclosure, displaying a first animation on the main fishing screen includes: detecting a third control command triggered on a first terminal, wherein the third control command is used to determine the dragging direction and dragging speed of the virtual fishing rod; and displaying a first screen on the main fishing screen showing the virtual fishing rod performing a reeling action according to the dragging direction and dragging speed.
[0059] It should be noted that during the reeling process, the third control command triggered by the first terminal is determined based on the first terminal's direction and speed of movement during the reeling process. The direction of the virtual fishing rod's dragging is determined by the first terminal's direction of movement during the reeling process, and the dragging speed of the virtual fishing rod is determined by the first terminal's speed of movement during the reeling process. Finally, the first screen displayed on the main fishing screen shows the virtual fishing rod performing the reeling action according to the dragging direction and speed.
[0060] As an example, such as Figure 4As shown, firstly, the user drives the second terminal to simulate a real reeling-in action. This allows the detection of the movement direction and axial speed of the second terminal 102, thus determining the trigger for a reeling-in event. Then, the axial speed of the second terminal 102 determines the reeling speed of the auxiliary fishing tool (e.g., a fishing reel). Next, the auxiliary fishing screen displays the screen showing the auxiliary fishing tool performing the reeling-in action according to the reeling speed. Simultaneously, the movement direction and speed of the first terminal 101 are detected to determine the dragging direction and speed of the virtual fishing rod. The main fishing screen then displays the screen showing the virtual fishing rod performing the reeling-in action according to the movement direction and speed.
[0061] In this embodiment of the disclosure, a line-reeling event is triggered by a second terminal, and the line-reeling speed is controlled by the second terminal during the line-reeling process. At the same time, the dragging direction and dragging speed of the virtual fishing rod during the line-reeling process are controlled by the first terminal. This interactive method increases the playability of the game and allows users to experience the simulation effect of line reeling during fishing.
[0062] Figure 5 A flowchart of an interactive control method provided in an embodiment of this disclosure is shown below. Figure 4 As shown, the method includes:
[0063] Step S31: In response to the screen switching event being triggered on the second terminal, determine the second auxiliary screen to be displayed, wherein the second auxiliary screen is any one of the multiple auxiliary screens related to the main fishing screen, excluding the first auxiliary screen.
[0064] In this embodiment of the disclosure, before the screen switching event is triggered on the second terminal, the method further includes: detecting whether the posture of the second terminal has changed; when the posture of the second terminal changes, obtaining the flip direction corresponding to the second terminal; and generating a fourth control instruction based on the flip direction, wherein the fourth control instruction is used to instruct the screen switching event to be triggered on the second terminal.
[0065] Specifically, the user can rotate their wrist to synchronously rotate the second terminal. The gyroscope within the second terminal detects any changes in its posture. If a change in posture occurs, the corresponding rotation direction is determined, such as clockwise or counter-clockwise. A fourth control command is generated based on the rotation direction, instructing the second terminal to trigger a screen switching event. At this point, the second terminal selects the second auxiliary screen to be displayed from among multiple auxiliary screens according to the rotation direction indicated by the fourth control command.
[0066] Step S32: Display the second auxiliary screen on the user interface of the second terminal.
[0067] It should be noted that since the second terminal displays multiple auxiliary screens, such as the underwater hook screen, the float screen, and the fishing reel screen, users can trigger screen switching events on the second terminal during virtual fishing to select different auxiliary screens to display. This improves human-computer interaction efficiency and facilitates the display of the current status of various auxiliary fishing tools, increasing the game's playability. For example, switching auxiliary screens can show whether the hook has been bitten, whether the float has sunk, etc.
[0068] As an example, such as Figure 6 As shown, the first auxiliary screen displayed on the second terminal is a view of the fishhook underwater. At this time, the second terminal flips clockwise, and from among multiple auxiliary screens, it acquires a second auxiliary screen located clockwise from the first auxiliary screen. This second auxiliary screen is the fishing reel screen. Alternatively, the flip direction is counter-clockwise, and the second terminal acquires a second auxiliary screen located counter-clockwise from the first auxiliary screen. This second auxiliary screen is the lure screen.
[0069] The method provided in this disclosure determines whether a screen switching event is triggered on the second terminal by detecting whether the second terminal is flipped. This eliminates the need for the user to select the screen display by clicking a button, thus improving the efficiency of human-computer interaction. On the other hand, it facilitates the display of the current status of various auxiliary fishing tools, increasing the playability of the game.
[0070] Figure 7 A flowchart of an interactive control method provided in an embodiment of this disclosure is shown below. Figure 6 As shown, the method includes:
[0071] Step S41: In response to the screen adjustment event being triggered on the second terminal, determine the third auxiliary screen to be displayed, wherein the third auxiliary screen and the first auxiliary screen are in the same virtual environment;
[0072] In this embodiment of the disclosure, before the screen adjustment event is triggered on the second terminal, the method further includes: detecting whether the posture of the second terminal has changed; when the posture of the second terminal changes, obtaining the tilt direction and tilt angle of the second terminal; generating a fifth control command based on the tilt direction and tilt angle, wherein the fifth control command is used to instruct the screen adjustment event to be triggered on the second terminal.
[0073] Specifically, when the second terminal displays a fishhook underwater, if the user wants to see if any virtual fish are approaching the hook from other directions, they can adjust the view by tilting their arm. This allows the gyroscope within the second terminal to detect any attitude changes. If an attitude change occurs, the tilt direction and angle relative to its plane are detected; for example, the tilt direction is the X o'clock position, and the tilt angle is 30°. Based on the tilt direction and angle, a fifth control command is generated, instructing the second terminal to trigger a view adjustment event. At this point, the second terminal acquires the virtual environment of the first auxiliary view according to the tilt angle indicated by the fifth control command and extracts a third auxiliary view from that virtual environment that matches the tilt angle.
[0074] Step S42: Display the third auxiliary screen on the user interface of the second terminal.
[0075] It should be noted that due to the limited display area of the second terminal's user interface, only a portion of the virtual environment where the fishing aid is located can be shown when displaying the assisted fishing screen. When the user needs to expand the field of view, a screen adjustment event can be triggered on the second terminal, thereby displaying the assisted fishing screen from other perspectives. This improves control flexibility by eliminating the need for manual selection when moving the viewpoint, allowing users to simply tilt the second terminal. Furthermore, it provides a richer field of view, increasing the game's playability; for example, switching assisted pages can display whether virtual fish are approaching the hook.
[0076] As an example, such as Figure 8 As shown, the first auxiliary screen displayed on the second terminal is a view of the fishhook underwater. At this time, the second terminal tilts to determine the direction of tilt (e.g., Figure 7 The second terminal obtains a third auxiliary screen from the virtual environment where the first auxiliary screen is located, matching the tilt direction and tilt angle (the direction of the middle arrow) and tilt angle.
[0077] The method provided in this disclosure determines whether a screen adjustment event is triggered on the second terminal by detecting whether the second terminal is tilted. Compared with the user manually adjusting the screen display angle, this simplifies the screen adjustment process and provides a wider field of view, increasing the playability of the game.
[0078] As an example, this disclosure provides an interactive control method, which includes:
[0079] Step 1: Display the main fishing screen on the user interface of the first terminal. The main fishing screen is a screen in which you control a virtual fishing rod to fish in a virtual scene.
[0080] Step 2: Display the first auxiliary screen on the user interface of the second terminal. The first auxiliary screen is any one of multiple auxiliary screens related to the main fishing screen. Each auxiliary screen includes auxiliary fishing tools associated with the virtual fishing rod.
[0081] Step 3: When the position of the first terminal corresponding to the first terminal changes, obtain the moving direction and moving speed of the first terminal; generate a first control command based on the moving direction and moving speed.
[0082] Step 4: Respond to control command P1, trigger the line-releasing event on the first terminal, and display an animation of the virtual fishing rod performing the line-releasing action on the main fishing screen.
[0083] Step 5: In response to the first control command P1, display an animation of the auxiliary fishing tool performing the line-laying action on the first auxiliary screen.
[0084] For example: When the first terminal triggers a line-casting event, the first terminal displays a screen showing the virtual fishing rod performing the line-casting action, while the second terminal displays a screen showing the float drifting on the water surface (auxiliary screen). Alternatively, the first terminal displays a screen showing the virtual fishing rod performing the line-casting action, while the second terminal displays a screen showing the hook moving underwater during the line-casting process (auxiliary screen). Or, the first terminal displays a screen showing the virtual fishing rod performing the line-casting action, while the second terminal displays a screen showing the reel rotating during the line-casting process (auxiliary screen).
[0085] Step 6: When the second terminal changes posture (the user tilts the second terminal synchronously by tilting their wrist), obtain the tilt direction and tilt angle of the second terminal; generate control command P2 based on the tilt direction and tilt angle, wherein control command P2 is used to instruct the second terminal to trigger a screen adjustment event.
[0086] Step 7: In response to control command P2, the second terminal determines to obtain a third auxiliary screen that matches the tilt direction and tilt angle from the virtual environment where the first auxiliary screen is located, and displays the third auxiliary screen on the user interface of the second terminal.
[0087] For example, the second terminal displays a picture of a fishhook in the water. In order to determine whether there are fish approaching the fishhook, the user controls the second terminal to tilt. At this time, the tilt direction and tilt angle are obtained through the gyroscope on the second terminal. The second terminal then obtains the corresponding auxiliary picture from the underwater virtual environment based on the tilt direction and tilt angle for display.
[0088] Step 8: When the second terminal changes its posture (the user rotates the wrist to rotate the second terminal synchronously), obtain the corresponding rotation direction of the second terminal; generate control command P3 based on the rotation direction, wherein control command P3 is used to instruct the second terminal to trigger a screen switching event.
[0089] Step 9: In response to the screen switching event, the second terminal determines the second auxiliary screen to be displayed from multiple auxiliary screens and displays the second auxiliary screen on the user interface of the second terminal. The second auxiliary screen is any screen other than the first auxiliary screen among the multiple auxiliary screens related to the main fishing screen.
[0090] For example, the display order of the auxiliary screens on the second terminal is: fishing reel screen, fishing hook screen, float screen. The currently displayed auxiliary screen is the fishing hook screen. When the user needs to switch the display screen, the second terminal is controlled to flip. At this time, the flip direction is obtained through the gyroscope on the second terminal. The flip direction is clockwise. The second terminal switches to the next auxiliary screen (float screen) based on the flip direction.
[0091] Step 10: When the position of the second terminal corresponding to the second terminal changes, obtain the movement direction and axial velocity of the second terminal; generate control command P4 based on the movement direction and axial velocity, wherein control command P4 is used to indicate that the take-up operation is triggered at the second terminal.
[0092] Step 11: In response to control command P4, display the screen of the auxiliary fishing tool performing the line reeling action on the first auxiliary screen. Also, detect control command P5 triggered on the first terminal, where control command P5 is used to indicate the dragging direction and speed of the virtual fishing rod; display the screen of the virtual fishing rod performing the line reeling action according to the dragging direction and speed on the main fishing screen.
[0093] For example: When the second terminal triggers a reel-in event, the first terminal displays a screen showing the virtual fishing rod performing the reel-in action, while the second terminal displays a screen showing the movement of the float (auxiliary screen). Alternatively, the first terminal displays a screen showing the virtual fishing rod performing the reel-in action, while the second terminal displays a screen showing the fish biting the hook (auxiliary screen). Alternatively, the first terminal displays a screen showing the virtual fishing rod performing the reel-in action, while the second terminal displays a screen showing the reel rotating during the reel-in process (auxiliary screen). Alternatively, the first terminal displays a screen showing the virtual fishing rod performing the reel-in action, while the second terminal displays a screen showing the lure flying during the reel-in process (auxiliary screen).
[0094] This disclosure also provides an interactive system, including a first terminal and a second terminal, wherein the first terminal is used to execute the interactive method in the above embodiments, and the second terminal is used to execute the interactive method in the above embodiments.
[0095] This disclosure also provides an electronic device, such as... Figure 9As shown, the electronic device may include: a processor 1501, a communication interface 1502, a memory 1503, and a communication bus 1504, wherein the processor 1501, the communication interface 1502, and the memory 1503 communicate with each other through the communication bus 1504.
[0096] Memory 1503 is used to store computer programs;
[0097] When the processor 1501 executes the computer program stored in the memory 1503, it implements the steps of the above embodiments.
[0098] The communication bus mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.
[0099] The communication interface is used for communication between the aforementioned terminal and other devices.
[0100] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0101] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0102] In another embodiment provided in this disclosure, a computer-readable storage medium is also provided, which stores instructions that, when executed on a computer, cause the computer to perform any of the interactive control methods described in the above embodiments.
[0103] In yet another embodiment provided in this disclosure, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to perform any of the interactive control methods described in the above embodiments.
[0104] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this disclosure are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk).
[0105] The above description is merely a preferred embodiment of this disclosure and is not intended to limit the scope of protection of this disclosure. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure are included within the scope of protection of this disclosure.
[0106] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. An interactive control method, characterized in that, The method is applied to a terminal system consisting of a first terminal and a second terminal, and the method includes: The user interface of the first terminal displays the main fishing screen, which is a screen showing the control of a virtual fishing rod for fishing in a virtual scene. The user interface of the second terminal displays a first auxiliary screen, which is any one of a plurality of auxiliary screens related to the main fishing screen. Each of the auxiliary screens includes auxiliary fishing tools associated with the virtual fishing rod. In response to a preset event being triggered on a first terminal or a second terminal, a first animation of the virtual fishing rod performing the action corresponding to the preset event is displayed on the main fishing screen, and a second animation of the auxiliary fishing tool performing the action corresponding to the preset event is displayed on the first auxiliary screen.
2. The method according to claim 1, characterized in that, The response to a preset event being triggered on a first terminal or a second terminal, displaying a first animation of the virtual fishing rod performing the action corresponding to the preset event on the main fishing screen, and displaying a second animation of the auxiliary fishing tool performing the action corresponding to the preset event on the first auxiliary screen, includes: When a wire-laying operation triggered at the first terminal is detected, it is determined that the preset event has been triggered at the first terminal; In response to the preset event being triggered on the first terminal, the first animation is displayed on the main fishing screen, wherein the first animation is an animation of a virtual fishing rod performing a line-releasing action; and, The second animation is displayed on the first auxiliary screen, wherein the second animation is a screen showing the auxiliary fishing tool performing a line-releasing action.
3. The method according to claim 2, characterized in that, Before detecting a wire-laying operation triggered at the first terminal, the method further includes: Detect whether the posture of the first terminal has changed; When the posture of the first terminal changes, the corresponding moving direction and moving speed of the first terminal are obtained; A first control command is generated based on the direction of movement and the speed of movement, wherein the first control command is used to indicate that a line-laying action is triggered at the first terminal.
4. The method according to claim 1, characterized in that, The response to a preset event being triggered on a first terminal or a second terminal, displaying a first animation of the virtual fishing rod performing the action corresponding to the preset event on the main fishing screen, and displaying a second animation of the auxiliary fishing tool performing the action corresponding to the preset event on the first auxiliary screen, includes: When a take-up operation is detected on the second terminal, it is determined that the preset event has been triggered on the second terminal; In response to the preset event being triggered on the second terminal, the second animation is displayed on the first auxiliary screen, wherein the second animation is a scene of the auxiliary fishing tool performing a line-reeling action; and, The first animation is displayed on the main fishing screen, wherein the first animation is an animation of a virtual fishing rod performing a reeling action.
5. The method according to claim 4, characterized in that, Before detecting a take-up operation triggered at the second terminal, the method further includes: Detect whether the posture of the second terminal has changed; When the posture of the second terminal changes, the corresponding motion direction and axial velocity of the second terminal are obtained; A second control command is generated based on the direction of motion and the axial velocity, wherein the second control command is used to indicate that a take-up operation is currently triggered at the second terminal.
6. The method according to claim 4, characterized in that, The display of the first animation on the main fishing screen includes: The third control command triggered at the first terminal is detected, wherein the third control command is used to indicate the dragging direction and dragging speed of the virtual fishing rod; The main fishing screen displays the first frame showing the virtual fishing rod performing the line-reeling action according to the dragging direction and speed.
7. The method according to claim 1, characterized in that, The method further includes: In response to a screen switching event being triggered on the second terminal, a second auxiliary screen to be displayed is determined, wherein the second auxiliary screen is any one of the multiple auxiliary screens related to the main fishing screen, excluding the first auxiliary screen; The second auxiliary screen is displayed on the user interface of the second terminal.
8. The method according to claim 7, characterized in that, Before the screen switching event is triggered on the second terminal, the method further includes: Detect whether the posture of the second terminal has changed; When the posture of the second terminal changes, the corresponding flipping direction of the second terminal is obtained; A fourth control command is generated based on the flip direction, wherein the fourth control command is used to instruct the screen switching event to be triggered on the second terminal.
9. The method according to claim 1, characterized in that, The method further includes: In response to a screen adjustment event being triggered on the second terminal, a third auxiliary screen to be displayed is determined, wherein the third auxiliary screen and the first auxiliary screen are in the same virtual environment; The third auxiliary screen is displayed on the user interface of the second terminal.
10. The method according to claim 9, characterized in that, Before the second terminal is triggered by the screen adjustment event, the method further includes: Detect whether the posture of the second terminal has changed; When the posture of the second terminal changes, the tilt direction and tilt angle of the second terminal are obtained; A fifth control command is generated based on the tilt direction and the tilt angle, wherein the fifth control command is used to instruct the triggering of a screen adjustment event on the second terminal.
11. An interactive system, characterized in that, The device includes a first terminal and a second terminal, wherein the first terminal is used to perform the method described in any one of claims 1-10, and the second terminal is used to perform the method described in any one of claims 1-10.
12. A storage medium, characterized in that, The storage medium includes a stored program, wherein the program executes the method of any one of claims 1 to 10 when it is run.
13. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, communication interface, and memory communicate with each other through the communication bus; wherein: A memory for storing computer programs; a processor for executing the method of any one of claims 1 to 10 by running the programs stored in the memory.