Information processing method and device in game, electronic equipment and storage medium
By displaying the release trajectory of virtual skills and adjusting the virtual camera in the mobile game, the problem of low accuracy of non-directional skill release and untimely information feedback is solved, and the accuracy of skill release and the timeliness of information feedback are improved.
Patent Information
- Application Number
- CN202410910759.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-10-15
AI Technical Summary
In mobile games, the release accuracy of non-directional skills is low and the information feedback is not timely, resulting in complex operations and difficulty for users to hit the target, and the inability to view skill feedback in real time.
By providing a graphical user interface, it displays the release trajectory of virtual skills, and controls the virtual camera to move along the trajectory in response to user operations, adjusting the game screen so that users can view the attack target position in real time, while reducing the operational complexity when releasing virtual skills.
It improves the release accuracy of non-directional skills and the timeliness of information feedback, reduces the complexity of user operations, and enables users to observe the feedback of attack targets in a timely manner.
Smart Images

Figure CN118767424A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an information processing method, device, electronic device and storage medium in a game. Background Art
[0002] With the rapid development of mobile phones and other terminal devices, mobile games have brought great convenience and fun to people's lives. At present, many types of mobile games provide virtual skills for long-range attacks or even ultra-long-range attacks, such as full-screen non-directional skills in MOBA (Multiplayer Online Battle Arena) games. This type of non-directional skill can be released without specifying an attack target, and after release, it will cause damage to all targets on the attack path. However, the attack range of full-screen or half-screen non-directional skills usually exceeds the current display range provided by the game screen, and the user needs to change the position of the virtual camera's observation center by clicking on the small map with a finger or sliding in the blank area (non-skill control area) in the game scene to change the display content in the game screen.
[0003] That is to say, when the aiming, release and hit feedback of virtual skills are beyond the current observation range, the user needs to use three fingers to perform the three operations of game character movement control, virtual skill release and game screen adjustment respectively. This requires a high level of user operation, which makes it impossible for the user to perform control operations efficiently. Not only is it difficult to hit the target, but it is also easy to cause misoperation, resulting in low accuracy of virtual skill release. At the same time, the user cannot view the hit feedback of the attacked target after releasing the virtual skill in real time, resulting in the problem of untimely information feedback. Summary of the invention
[0004] In view of this, the purpose of this application is to provide an information processing method, device, electronic device and storage medium in a game to solve the problems of low accuracy of virtual skill release and untimely information feedback when releasing non-directional skills.
[0005] In a first aspect, an embodiment of the present application provides an information processing method in a game, wherein a graphical user interface is provided through a terminal device, and a game screen including at least part of a game scene captured by a virtual camera is displayed in the graphical user interface, including:
[0006] In response to a first operation for triggering a target virtual skill, a release track corresponding to the target virtual skill is provided on the game screen, and the target virtual skill is released along the release track in the game scene;
[0007] In response to the first operation satisfying a preset trigger condition, controlling the observation center of the virtual camera to move along a release trajectory, so that the game screen changes correspondingly according to the movement of the observation center;
[0008] In response to the end of the first operation, the controlled virtual character is controlled to release the target virtual skill in the game scene.
[0009] In a second aspect, an embodiment of the present application further provides an information processing device in a game, which provides a graphical user interface through a terminal device, and displays a game screen including at least part of a game scene shot by a virtual camera in the graphical user interface, and the device includes:
[0010] A release track display module, for providing a release track corresponding to the target virtual skill on the game screen in response to a first operation for triggering the target virtual skill, and the target virtual skill is released along the release track in the game scene;
[0011] A camera movement module, for controlling the observation center of the virtual camera to move along a release trajectory in response to the first operation satisfying a preset trigger condition, so that the game screen changes correspondingly according to the movement of the observation center;
[0012] The virtual skill releasing module is used to control the controlled virtual character to release the target virtual skill in the game scene in response to the end of the first operation.
[0013] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the information processing method in the game as described above are performed.
[0014] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the information processing method in the game as described above are executed.
[0015] The embodiments of the present application bring the following beneficial effects:
[0016] The information processing method, device, electronic device and storage medium in a game provided by the embodiment of the present application can adjust the position of the observation center of the virtual camera according to the release trajectory when the virtual skill is triggered, so as to change the display content of the game screen while triggering the virtual skill, so that the user can view the position of the attack target on the release trajectory in real time, without the need for the user to control the game through three-finger operation, thereby reducing the complexity of skill release and improving the accuracy of skill release. At the same time, the user can timely observe the feedback information of the attacked target in the changed current game screen, which also improves the timeliness of information feedback. Compared with the information processing method in the game in the prior art, it solves the problem of low accuracy of virtual skill release and untimely information feedback when releasing non-directional skills.
[0017] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 A flowchart showing an information processing method in a game provided by an embodiment of the present application is shown;
[0020] Figure 2 A schematic diagram showing a release trajectory provided by an embodiment of the present application is shown;
[0021] Figure 3 A schematic diagram showing a game screen after the observation center of the virtual camera provided in an embodiment of the present application moves;
[0022] Figure 4 A schematic diagram showing the structure of an information processing device in a game provided by an embodiment of the present application is shown;
[0023] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0024] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application.
[0025] It is worth noting that before the present application was filed, with the rapid development of terminal devices such as mobile phones, mobile games have brought great convenience and fun to people's lives. At present, many types of mobile games provide virtual skills for long-range attacks or even ultra-long-range attacks, such as full-screen non-directional skills in MOBA (Multiplayer Online Battle Arena) games. This type of non-directional skill can be released without specifying the attack target, and after release, it will cause damage to all targets on the attack path. For example, a full-screen non-directional skill is to release a light wave, which will move in a straight line according to the direction of the virtual character's face, and pass through the entire game scene, and cause damage to the hostile target that collides with it during the movement. However, the attack range of full-screen or half-screen non-directional skills usually exceeds the current display range provided by the game screen, and the user needs to change the position of the observation center of the virtual camera by clicking on the small map with a finger or sliding in the blank area (non-skill control area) in the game scene, that is, by adjusting the display content in the game screen to observe the real-time position of the hostile target, to determine the timing of skill release, and observe the attack situation of the hostile target. That is to say, when the aiming, release and hit feedback of virtual skills are beyond the current observation range, the user needs to use three fingers to perform the three operations of game character movement control, virtual skill release and game screen adjustment respectively, which requires a high level of user operation and makes it impossible for the user to control effectively. Not only is it difficult for the skills to hit the target, but it is also easy to operate incorrectly, resulting in low accuracy of virtual skill release. At the same time, the user cannot view the hit feedback of the attacked target after releasing the virtual skill in real time, resulting in the problem of untimely information feedback.
[0026] Based on this, an embodiment of the present application provides an information processing method in a game to improve the accuracy of releasing non-directional virtual skills and the timeliness of information feedback.
[0027] The terms involved in the embodiments of the present application are explained below.
[0028] Graphical User Interface:
[0029] It is an interface display format for communication between people and computers, allowing users to manipulate icons, logos or menu options on the screen using input devices such as a mouse or keyboard, and also allowing users to manipulate icons or menu options on the screen by performing touch operations on the touch screen of a touch terminal to select commands, start programs or perform other tasks.
[0030] Virtual scene:
[0031] It is a virtual scene displayed (or provided) when the application is running on a terminal device or server, that is, the scene used in the normal game process. In other words, the virtual scene refers to the virtual game control that carries the virtual object during the game process. The virtual object can perform actions such as movement and skill release in the virtual scene under the operation instructions issued by the user (i.e., the player) to the terminal device. Optionally, the virtual scene can be a simulation environment of the real world, or a semi-simulation and semi-fictitious virtual environment, or a purely fictitious virtual environment. The virtual scene can be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, and a three-dimensional virtual scene. The virtual environment can be the sky, land, ocean, etc., wherein the land includes environmental elements such as deserts and cities. Among them, the virtual scene is a scene in which the user controls the complete game logic of the virtual object. Optionally, the virtual scene can also be used for a virtual environment battle between at least two virtual objects, and there are virtual resources available for at least two virtual objects in the virtual scene. Exemplarily, the virtual scene can include any one or more of the following elements: game background elements, game virtual character elements, game prop elements, etc.
[0032] In an optional implementation, the information processing method in the game in one embodiment of the present disclosure can be run on a local terminal device or a server. When the information processing method in the game is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0033] In an optional implementation, various cloud applications, such as cloud games, can be run under the cloud interaction system. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the game loading method are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0034] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0035] In a possible implementation, an embodiment of the present invention provides an information processing method in a game, providing a graphical user interface through a terminal device, wherein the terminal device can be the local terminal device mentioned above, or can be a client device in the cloud interaction system mentioned above.
[0036] See also Figure 1 , Figure 1 This is a flow chart of an information processing method in a game provided by an embodiment of the present application. Figure 1 As shown, a graphical user interface is provided by a terminal device, and a game screen including at least a part of a game scene shot by a virtual camera is displayed in the graphical user interface. The information processing method in the game provided by the embodiment of the present application includes:
[0037] Step S101, in response to a first operation for triggering a target virtual skill, providing a release trajectory corresponding to the target virtual skill on a game screen.
[0038] In this step, the first operation may refer to an operation for triggering the target virtual skill.
[0039] Exemplarily, if the terminal device carrying the game is a mobile terminal, such as a mobile phone, the first operation may be a touch operation on the skill control of the target virtual skill; if the terminal device carrying the game is a fixed terminal, such as a computer, the first operation may be a pressing operation on the target physical button of an external input device connected to the terminal device, and the external input device may detect the pressure of the pressing operation.
[0040] The target virtual skill is a non-directional skill that can be released without specifying an attack target. The target virtual skill is released along the release trajectory in the game scene.
[0041] The release trajectory may refer to the moving trajectory of particles, special effects or virtual objects emitted by the target virtual skill after the target virtual skill is released. Exemplarily, the release trajectory may be a straight line or a fan.
[0042] In an embodiment of the present application, taking a MOBA game played on a mobile phone as an example, the virtual camera of the game uses a bird's-eye view to shoot the game scene to obtain a game screen. When the user applies a first operation to the skill control of the target virtual skill, the release trajectory corresponding to the target virtual skill will be displayed on the game screen. At this time, the user has selected the target virtual skill and is ready to release the target virtual skill. If the target virtual skill is a full-screen non-directional skill, the release trajectory extends from the position of the controlled virtual character to the edge of the scene. Among them, from a bird's-eye view, the user can look down at the game scene. In the prior art, the user can adjust the position of the virtual camera's observation center by sliding his finger in a blank area in the game screen or controlling the movement of the controlled virtual character.
[0043] Refer to the following Figure 2 Let's introduce the display effect of the release trajectory provided on the game screen.
[0044] Figure 2 A schematic diagram of the release trajectory provided by the embodiment of the present application is shown, such as Figure 2 As shown, the target virtual skill is the virtual skill corresponding to the skill control 220. When the target virtual skill is triggered by the first operation, the release trajectory 210 of the target virtual skill corresponding to the skill control 220 will be displayed on the game screen. The release trajectory 210 starts from the position of the controlled virtual character 230 and extends outside the game screen.
[0045] Step S102, in response to the first operation satisfying a preset trigger condition, controlling the observation center of the virtual camera to move along a release trajectory, so that the game screen changes accordingly according to the movement of the observation center.
[0046] In this step, the preset trigger condition may refer to a condition for triggering the observation center of the virtual camera to move along the release trajectory.
[0047] The preset trigger conditions include at least one of the following items: the pressure value applied by the first operation to the target physical key of the terminal device or an external input device connected to the terminal device is not less than a preset pressure threshold, the contact area between the first operation and the target physical key of the terminal device or an external input device connected to the terminal device is not less than a preset area threshold, and the distance moved by the first operation along the release trajectory is greater than a preset distance threshold.
[0048] In the embodiment of the present application, when the pressure value applied by the first operation is greater than or equal to the preset pressure threshold, it can be determined that the first operation meets the preset trigger condition, and / or, when the contact area between the first operation and the object is greater than or equal to the preset area threshold, it can be determined that the first operation meets the preset trigger condition, and / or, when the first operation is sliding along the release trajectory, when the sliding distance is greater than the preset distance threshold, it can be determined that the first operation meets the preset trigger condition. Among them, the object to which the first operation applies pressure or the object to which it contacts can be a terminal device such as a mobile phone, or an external input device when the terminal device is a computer, such as a keyboard.
[0049] When the first operation meets the preset trigger condition, during the duration of the first operation, the observation center of the virtual camera is controlled to move at a uniform speed along the release trajectory at a set moving speed, or, during the duration of the first operation, according to the operating parameters of the first operation, the observation center of the virtual camera is controlled to move at a variable speed along the release trajectory. For example: if the first operation lasts for a total of 3 seconds and the release trajectory is a straight line, then within 3 seconds, the observation center of the virtual camera is controlled to move at a uniform speed or at a variable speed along the straight line. Taking the example where the preset trigger condition is only that the pressure is greater than or equal to the preset pressure threshold, as long as the pressure applied by the user to the skill control of the target virtual skill is not less than the preset pressure threshold, the virtual camera can be controlled to move along the release trajectory to display the images of different game scenes on the release trajectory in real time.
[0050] Refer to the following Figure 3 To introduce the display effect after the observation center of the virtual camera moves.
[0051] Figure 3 FIG. 1 is a schematic diagram showing a game screen after the observation center of the virtual camera provided in an embodiment of the present application moves. Figure 3As shown, after the observation center of the virtual camera is controlled to move along the release trajectory, the game screen is also updated accordingly. After the update, the release trajectory 210, the controlled virtual character 230, the grass, the stone and other virtual objects in the game scene are all in new positions in the game screen, so that the user can observe the game scene in the extension direction of the release trajectory, so as to help the user decide the appropriate time to release the target virtual skill.
[0052] In this way, when there are hostile virtual objects in part of the game scene on the release trajectory or our teammates are fighting with enemy virtual targets, the user can obtain the real-time game screen in that part of the game scene by controlling the movement of the virtual camera, and decide whether to release the target virtual skills based on the real-time game screen, so as to cause damage to the hostile virtual objects in the game screen at this time through the target virtual skills.
[0053] It can be seen that at this time, the user only needs two fingers to simultaneously complete the three controls of movement control of the controlled virtual character, skill release and position movement of the virtual camera, which greatly reduces the complexity of operation control and can obtain real-time images of the game scene that the user expects to view, providing the user with timely and accurate feedback information.
[0054] In a possible implementation of the present application, when controlling the observation center of the virtual camera to move at a uniform speed, a fixed movement speed can be set, for example: 300 pixels / second. No matter how much pressure the user applies or how large the contact area is, the virtual camera is controlled to move according to the set movement speed.
[0055] In a possible implementation of the present application, when the observation center of the virtual camera is controlled to move at a variable speed, the parameter range corresponding to the preset trigger condition can be divided into multiple parameter intervals according to the size of the operation parameter of the first operation, and the moving speed corresponding to each parameter interval is determined, so as to control the movement of the virtual camera according to the target moving speed corresponding to the parameter interval in which the operation parameter of the first operation is located. Wherein, the parameter range is the range of the operation parameter. Taking the preset trigger condition as a condition for the pressure value as an example, assuming that the preset pressure threshold is 20Mpa, the pressure greater than 20Mpa is divided into multiple pressure value intervals (parameter intervals) such as [20,40] and [40,60], and the moving speed corresponding to the parameter interval of [20,40] is set to 300 pixels / second, and the moving speed corresponding to the parameter interval of [40,60] is set to 400 pixels / second. When the pressure average value in the 0.2 second interval from the current moment is detected during the duration of the first operation, it is 30, and the 300 pixels / second corresponding to the parameter interval of [20,40] is used as the target moving speed to control the virtual camera to move along the release trajectory at a speed of 300 pixels / second. When the average pressure value in the next 0.2 second interval is detected to be 50 during the first operation, 400 pixels / second corresponding to the parameter interval [40,60] is used as the target movement speed to control the virtual camera to move along the release trajectory at a speed of 400 pixels / second.
[0056] In a possible implementation of the present application, after determining the moving speed corresponding to the speed change process, in order to make the movement process of the virtual camera smoother, the moving acceleration corresponding to the speed change process can be determined to control the movement of the virtual camera according to the target moving speed and the moving acceleration. For example: during the duration of the first operation, the applied pressure value changes from the average value of 30Mpa in the previous 0.2 seconds to the average value of 50Mpa in the current 0.2 seconds, then the moving speed of the virtual camera needs to be increased. For this purpose, the positive moving acceleration corresponding to the speed change process can be determined to gradually change from 300 pixels / second to 400 pixels / second according to the positive moving acceleration. Similarly, during the duration of the first operation, the applied pressure value changes from 50Mpa in the previous 0.2 seconds to 30Mpa in the current 0.2 seconds, then the moving speed of the virtual camera needs to be reduced. For this purpose, the negative moving acceleration corresponding to the speed change process can be determined to gradually change from 400 pixels / second to 300 pixels / second according to the negative moving acceleration.
[0057] The preset trigger condition is: when the pressure value applied by the first operation to the target physical key of the terminal device or the external input device connected to the terminal device is not less than the preset pressure threshold, the preset trigger condition is not met if: the pressure value applied by the first operation to the target physical key of the terminal device or the external input device connected to the terminal device is greater than 0 and less than the preset pressure threshold.
[0058] The preset trigger condition is: when the contact area between the first operation and the target physical key of the terminal device or the external input device connected to the terminal device is not less than the preset area threshold, the preset trigger condition is not met if: the contact area between the first operation and the target physical key of the terminal device or the external input device connected to the terminal device is greater than 0 and less than the preset area threshold.
[0059] In the embodiment of the present application, not only can the observation center of the virtual camera be controlled to move along the release trajectory when the first operation meets the preset trigger condition, but the observation center of the virtual camera can also be controlled to stop moving when the first operation changes from meeting the preset trigger condition to not meeting the preset trigger condition. Assuming that the preset trigger condition is that the pressure value applied by the first operation is not less than the preset pressure threshold of 20Mpa, when the pressure value applied by the first operation changes from 21Mpa pressure in the previous 0.2 seconds to 18Mpa pressure in the current 0.2 seconds, since the pressure applied by the first operation in the current time interval is greater than 0 and less than 20Mpa, it is determined that the first operation does not meet the preset trigger condition. At this time, in response to the first operation changing from meeting the preset trigger condition to not meeting the preset trigger condition, the observation center of the virtual camera is controlled to stop moving, so that the virtual camera at this time stays at the current position.
[0060] In one example, in response to the first operation satisfying the direction adjustment condition, the release track is updated on the game screen according to the operation parameters of the first operation. Here, the direction adjustment condition may refer to the condition that needs to be satisfied when the first operation is used to change the direction of the release track. The direction adjustment condition may be the condition that the moving angle of the first operation exceeds the angle threshold. For example, when the first operation is a sliding operation, the moving angle corresponding to the sliding operation is detected. If the moving angle is greater than or equal to the angle threshold, it is determined that the direction adjustment condition is satisfied. At this time, the position of the release track is updated according to the moving angle of the first operation. The moving angle is the operation parameter used to update the release track.
[0061] Step S103, in response to the end of the first operation, controlling the controlled virtual character to release the target virtual skill in the game scene.
[0062] In this step, the end of the first operation may refer to stopping the touch operation on the terminal device or the pressing operation on the target physical button of the external input device connected to the terminal device. When the first operation ends, the pressure value and / or contact area applied by the first operation are both 0.
[0063] In an embodiment of the present application, if the first operation is completed, the controlled virtual character is controlled to release the target virtual skill. At this time, the target virtual skill will emit particles or objects that move along the release trajectory. The emitted particles or objects will cause damage to the hostile virtual objects that collide with them according to the release logic of the target virtual skill until the emitted particles or objects move out of the game scene.
[0064] After controlling the controlled virtual character to release the target virtual skill in the game scene, the observation center of the virtual camera can be controlled to move to the starting position before moving along the release trajectory. Specifically, the observation center of the virtual camera can be controlled to move to the starting position at a uniform speed according to the set back movement speed; or, the observation center of the virtual camera can be controlled to move to the starting position at a gradual speed according to the set acceleration. For example: the virtual camera can be controlled to move from the current position to the starting position at a uniform speed at a set back movement speed of 360 pixels / second, or, the virtual camera can be controlled to move from the current position to the starting position at an accelerated speed according to the set positive acceleration.
[0065] In order to more accurately show the user the pressure applied by the first operation and / or the size of the contact area, an identifier representing the pressure value and / or the size of the contact area applied by the first operation, i.e., the operation identifier, may be displayed on the skill control when the first operation meets a preset trigger condition.
[0066] In a possible implementation of the present application, in response to the first operation satisfying a preset trigger condition, the display state of the operation identifier corresponding to the operation parameter of the first operation is determined, so as to present the operation identifier on the target skill control according to the display state. Among them, the operation identifier may refer to an identifier used to display the pressure value applied by the first operation, and / or the size of the contact area, and / or the moving distance. The operation identifier is used to characterize the relevant information of the first operation. The operation identifier can be a picture or a particle special effect. The display state is determined by the pressure value or contact area applied by the first operation. The larger the pressure value and / or contact area applied by the first operation, the more obvious the display state is; the smaller the pressure value and / or contact area applied by the first operation, the weaker the display state is. Here, the display state includes: color and / or area. Taking the display state as area as an example, the larger the pressure value and / or contact area applied by the first operation, the larger the area of the presented operation identifier is; the smaller the pressure value and / or contact area applied by the first operation, the smaller the area of the presented operation identifier is. Taking the display status as color as an example, the greater the pressure value and / or contact area applied by the first operation, the darker the color of the presented operation icon; the smaller the pressure value and / or contact area applied by the first operation, the lighter the color of the presented operation icon.
[0067] While controlling the observation center of the virtual camera to move along the release trajectory, the present application can also control the movement of the controlled virtual character, so as to control the virtual camera to move along the new release trajectory while the release trajectory changes, thereby improving the flexibility and convenience of operational control.
[0068] In a possible implementation of the present application, in response to a first operation satisfying a preset trigger condition and a second operation for controlling the movement of a controlled virtual character, the release trajectory is updated on the game screen according to the operating parameters of the second operation to control the observation center of the virtual camera to move along the updated release trajectory.
[0069] Among them, the second operation may refer to the operation of the mobile control that controls the movement of the controlled virtual character. For example, if the terminal device is a mobile phone, the second operation is the touch operation of the virtual joystick; if the terminal device is a desktop computer, the second operation is the pressing operation of the direction button that controls the movement of the controlled virtual character.
[0070] The second operation can control the movement and orientation of the controlled virtual character. When the position and / or orientation of the controlled virtual character changes, the release trajectory of the target virtual skill will also change accordingly. In order to respond to changes in the release trajectory in a timely manner, when the first operation meets the triggering conditions, the virtual camera is moving along the original release trajectory. If the release trajectory changes, the observation center of the virtual camera can be controlled to move along the changed latest release trajectory. Similarly, when the first operation ends, the controlled virtual character is controlled to release the target virtual skill in the game scene, so that the particles or virtual objects emitted by the target virtual skill move along the changed release trajectory.
[0071] In one embodiment, the user can release the target virtual skill by ending the first operation when the preset trigger condition is met, or can release the target virtual skill by ending the first operation when the preset trigger condition is not met. Here, in response to the end of the first operation that does not meet the preset trigger condition, the controlled virtual character is controlled to release the target virtual skill in the game scene to attack the virtual object that is outside the game screen and on the release track. At this time, even if the attacked hostile target is outside the game screen, as long as the attacked hostile target is on the release track, then, when the preset trigger condition is not met, the target virtual skill can be released at the end of the first operation to attack the hostile target in the game scene.
[0072] Compared with the information processing method in the game in the prior art, the present application can adjust the position of the observation center of the virtual camera according to the release trajectory when the virtual skill is triggered, so as to change the display content of the game screen while triggering the virtual skill, so that the user can view the position of the attack target on the release trajectory in real time, without the need for the user to control the game through three-finger operation, thereby reducing the complexity of skill release and improving the accuracy of skill release. At the same time, the user can timely observe the feedback information of the attacked target in the changed current game screen, which also improves the timeliness of information feedback. Compared with the information processing method in the game in the prior art, the present application solves the problem of low accuracy of skill release and untimely information feedback when releasing non-directional skills.
[0073] Based on the same inventive concept, the embodiments of the present application also provide an information processing device in the game corresponding to the information processing method in the game. Since the principle of solving the problem by the device in the embodiments of the present application is similar to the information processing method in the above-mentioned game in the embodiments of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0074] See also Figure 4 , Figure 4 This is a schematic diagram of the structure of an information processing device in a game provided by an embodiment of the present application. Figure 4 As shown in , a graphical user interface is provided by a terminal device, and a game screen including at least part of a game scene shot by a virtual camera is displayed in the graphical user interface. The information processing device 300 in the game includes:
[0075] A release track display module 301 is used to provide a release track corresponding to the target virtual skill on the game screen in response to a first operation for triggering the target virtual skill, and the target virtual skill is released along the release track in the game scene;
[0076] The camera movement module 302 is used to control the observation center of the virtual camera to move along the release trajectory in response to the first operation satisfying a preset trigger condition, so that the game screen changes accordingly according to the movement of the observation center;
[0077] The virtual skill releasing module 303 is used to control the controlled virtual character to release the target virtual skill in the game scene in response to the end of the first operation.
[0078] In a feasible implementation of the present application, the preset trigger condition includes at least one of the following items: the pressure value applied by the first operation to the target physical key of the terminal device or an external input device connected to the terminal device is not less than a preset pressure threshold, the contact area between the first operation and the target physical key of the terminal device or an external input device connected to the terminal device is not less than a preset area threshold, and the distance moved by the first operation along the release trajectory is greater than a preset distance threshold.
[0079] In a feasible implementation scheme of the present application, the camera movement module 302 includes a uniform speed movement module and a variable speed movement module. The uniform speed movement module is used to: during the duration of the first operation, control the observation center of the virtual camera to move uniformly along the release trajectory at a set moving speed; or, the variable speed movement module is used to: during the duration of the first operation, control the observation center of the virtual camera to move at a variable speed along the release trajectory according to the operating parameters of the first operation.
[0080] In a feasible implementation of the present application, the information processing device 300 in the game also includes a camera stop module, which is used to: in response to the first operation changing from satisfying a preset trigger condition to not satisfying the preset trigger condition, control the observation center of the virtual camera to stop moving.
[0081] In a feasible implementation of the present application, the information processing device 300 in the game further includes a camera retraction module, which is used to control the observation center of the virtual camera to move to the starting position before moving along the release trajectory.
[0082] In a feasible implementation of the present application, the information processing device 300 in the game also includes a trajectory update module, which is used to: in response to a first operation satisfying a preset trigger condition and a second operation for controlling the movement of a controlled virtual character, update a release trajectory on the game screen according to the operation parameters of the second operation; and control the observation center of the virtual camera to move along the updated release trajectory.
[0083] In a feasible implementation scheme of the present application, the information processing device 300 in the game also includes an operation display module, which is used to: in response to the first operation satisfying a preset trigger condition, determine the display area of the operation identifier corresponding to the operation parameter of the first operation, so as to present the operation identifier on the target skill control according to the display area, and the operation identifier is used to represent the first operation.
[0084] In a feasible implementation scheme of the present application, the variable speed movement module is specifically used to: divide the parameter range corresponding to the preset trigger condition into multiple parameter intervals, the parameter range is the range of the operation parameter; determine the movement speed corresponding to each parameter interval, so as to control the movement of the virtual camera according to the target movement speed corresponding to the parameter interval in which the operation parameter of the first operation is located.
[0085] In a feasible implementation scheme of the present application, the speed-changing movement module is further specifically used to: determine the movement acceleration corresponding to the speed-changing process, so as to control the movement of the virtual camera according to the target movement speed and movement acceleration.
[0086] In a feasible implementation scheme of the present application, the camera reversal module is specifically used to: control the observation center of the virtual camera to move to the starting position at a uniform speed according to the set reversal speed; or control the observation center of the virtual camera to move to the starting position at a gradual speed according to the set acceleration.
[0087] In a feasible implementation of the present application, the information processing device 300 in the game also includes a direction adjustment module, which is used to: in response to the first operation satisfying the direction adjustment condition, update the release trajectory on the game screen according to the operation parameters of the first operation.
[0088] In a feasible implementation scheme of the present application, the information processing device 300 in the game also includes a skill release submodule, which is used to: in response to the end of the first operation that does not meet the preset trigger condition, control the controlled virtual character to release the target virtual skill in the game scene to attack the virtual object outside the game screen and on the release trajectory.
[0089] Through the above device, the present application can adjust the position of the observation center of the virtual camera according to the release trajectory when the virtual skill is triggered, so as to change the display content of the game screen while triggering the virtual skill, so that the user can view the position of the attack target on the release trajectory in real time, without the need for the user to control the game through three-finger operation, thereby reducing the complexity of skill release and improving the accuracy of skill release. At the same time, the user can timely observe the feedback information of the attacked target in the changed current game screen, which also improves the timeliness of information feedback. Compared with the information processing method in the game in the prior art, it solves the problem of low skill release accuracy and untimely information feedback when releasing non-directional skills.
[0090] See also Figure 5 , Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 5 As shown in , the electronic device 400 includes a processor 410 , a memory 420 and a bus 430 .
[0091] The memory 420 stores machine-readable instructions executable by the processor 410. When the electronic device 400 is running, the processor 410 communicates with the memory 420 via the bus 430. When the machine-readable instructions are executed by the processor 410, the above-mentioned Figure 1 The steps of the information processing method in the game in the method embodiment shown are to provide a graphical user interface through a terminal device, and the graphical user interface displays a game screen including at least part of the game scene shot by a virtual camera, and the specific implementation method is as follows:
[0092] In response to a first operation for triggering a target virtual skill, a release track corresponding to the target virtual skill is provided on the game screen, and the target virtual skill is released along the release track in the game scene;
[0093] In response to the first operation satisfying a preset trigger condition, controlling the observation center of the virtual camera to move along a release trajectory, so that the game screen changes correspondingly according to the movement of the observation center;
[0094] In response to the end of the first operation, the controlled virtual character is controlled to release the target virtual skill in the game scene.
[0095] In a feasible implementation of the present application, the preset trigger condition includes at least one of the following items: the pressure value applied by the first operation to the target physical key of the terminal device or an external input device connected to the terminal device is not less than a preset pressure threshold, the contact area between the first operation and the target physical key of the terminal device or an external input device connected to the terminal device is not less than a preset area threshold, and the distance moved by the first operation along the release trajectory is greater than a preset distance threshold.
[0096] In a feasible implementation scheme of the present application, when the processor 410 controls the observation center of the virtual camera to move along the release trajectory, it is specifically used to: during the duration of the first operation, control the observation center of the virtual camera to move at a uniform speed along the release trajectory at a set moving speed; or, during the duration of the first operation, control the observation center of the virtual camera to move at a variable speed along the release trajectory according to the operating parameters of the first operation.
[0097] In a feasible implementation of the present application, the processor 410 is further used to: in response to the first operation changing from satisfying a preset trigger condition to not satisfying the preset trigger condition, control the observation center of the virtual camera to stop moving.
[0098] In a feasible implementation of the present application, after controlling the controlled virtual character to release the target virtual skill in the game scene, the processor 410 is also used to: control the observation center of the virtual camera to move to the starting position before moving along the release trajectory.
[0099] In a feasible implementation scheme of the present application, the processor 410 is also used to: in response to the first operation satisfying a preset trigger condition and the second operation for controlling the movement of the controlled virtual character, update the release trajectory on the game screen according to the operation parameters of the second operation to control the observation center of the virtual camera to move along the updated release trajectory.
[0100] In a feasible implementation scheme of the present application, the processor 410 is also used to: in response to the first operation satisfying a preset trigger condition, determine the display area of the operation identifier corresponding to the operation parameters of the first operation, so as to present the operation identifier on the target skill control according to the display area, wherein the operation identifier is used to represent the first operation.
[0101] In a feasible implementation scheme of the present application, when the processor 410 controls the observation center of the virtual camera to move at a variable speed along the release trajectory according to the operating parameters of the first operation, it is specifically used to: divide the parameter range corresponding to the preset trigger condition into multiple parameter intervals, and the parameter range is the range of the operating parameters; determine the moving speed corresponding to each parameter interval, so as to control the movement of the virtual camera according to the target moving speed corresponding to the parameter interval in which the operating parameters of the first operation are located.
[0102] In a feasible implementation scheme of the present application, after determining the moving speed corresponding to each parameter interval, the processor 410 is also used to: determine the moving acceleration corresponding to the speed change process, so as to control the movement of the virtual camera according to the target moving speed and moving acceleration.
[0103] In a feasible implementation scheme of the present application, when the processor 410 controls the observation center of the virtual camera to move to the starting position before moving along the release trajectory, it is specifically used to: control the observation center of the virtual camera to move to the starting position at a uniform speed according to a set return speed; or, control the observation center of the virtual camera to move to the starting position at a gradual speed according to a set acceleration.
[0104] In a feasible implementation of the present application, the processor 410 is further configured to execute: in response to the first operation satisfying a direction adjustment condition, updating a release trajectory on the game screen according to an operation parameter of the first operation.
[0105] In a feasible implementation scheme of the present application, the processor 410 is also used to execute: in response to the end of the first operation that does not meet the preset trigger condition, control the controlled virtual character to release the target virtual skill in the game scene to attack the virtual object outside the game screen and on the release trajectory.
[0106] Through the above method, the present application can adjust the position of the observation center of the virtual camera according to the release trajectory when the virtual skill is triggered, so as to change the display content of the game screen while triggering the virtual skill, so that the user can view the position of the attack target on the release trajectory in real time, without the need for the user to control the game through three-finger operation, thereby reducing the complexity of skill release and improving the accuracy of skill release. At the same time, the user can timely observe the feedback information of the attacked target in the changed current game screen, which also improves the timeliness of information feedback. Compared with the information processing method in the game in the prior art, it solves the problem of low skill release accuracy and untimely information feedback when releasing non-directional skills.
[0107] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program can execute the above-mentioned Figure 1 The steps of the information processing method in the game in the method embodiment shown are to provide a graphical user interface through a terminal device, and the graphical user interface displays a game screen including at least part of the game scene shot by a virtual camera, and the specific implementation method is as follows:
[0108] In response to a first operation for triggering a target virtual skill, a release track corresponding to the target virtual skill is provided on the game screen, and the target virtual skill is released along the release track in the game scene;
[0109] In response to the first operation satisfying a preset trigger condition, controlling the observation center of the virtual camera to move along a release trajectory, so that the game screen changes correspondingly according to the movement of the observation center;
[0110] In response to the end of the first operation, the controlled virtual character is controlled to release the target virtual skill in the game scene.
[0111] In a feasible implementation of the present application, the preset trigger condition includes at least one of the following items: the pressure value applied by the first operation to the target physical key of the terminal device or an external input device connected to the terminal device is not less than a preset pressure threshold, the contact area between the first operation and the target physical key of the terminal device or an external input device connected to the terminal device is not less than a preset area threshold, and the distance moved by the first operation along the release trajectory is greater than a preset distance threshold.
[0112] In a feasible implementation scheme of the present application, when the processor controls the observation center of the virtual camera to move along the release trajectory, it is specifically used to: during the duration of the first operation, control the observation center of the virtual camera to move at a uniform speed along the release trajectory at a set moving speed; or, during the duration of the first operation, control the observation center of the virtual camera to move at a variable speed along the release trajectory according to the operating parameters of the first operation.
[0113] In a feasible implementation of the present application, the processor is further used to: in response to the first operation changing from satisfying a preset trigger condition to not satisfying the preset trigger condition, control the observation center of the virtual camera to stop moving.
[0114] In a feasible implementation of the present application, after controlling the controlled virtual character to release the target virtual skill in the game scene, the processor is also used to: control the observation center of the virtual camera to move to the starting position before moving along the release trajectory.
[0115] In a feasible implementation scheme of the present application, the processor is also used to: in response to a first operation satisfying a preset trigger condition and a second operation for controlling the movement of a controlled virtual character, update the release trajectory on the game screen according to the operation parameters of the second operation to control the observation center of the virtual camera to move along the updated release trajectory.
[0116] In a feasible implementation scheme of the present application, the processor is also used to: in response to the first operation satisfying a preset trigger condition, determine the display area of the operation identifier corresponding to the operation parameters of the first operation, so as to present the operation identifier on the target skill control according to the display area, wherein the operation identifier is used to represent the first operation.
[0117] In a feasible implementation scheme of the present application, when the processor controls the observation center of the virtual camera to move at a variable speed along the release trajectory according to the operating parameters of the first operation, it is specifically used to: divide the parameter range corresponding to the preset trigger condition into multiple parameter intervals, and the parameter range is the range of the operating parameters; determine the moving speed corresponding to each parameter interval, so as to control the movement of the virtual camera according to the target moving speed corresponding to the parameter interval in which the operating parameters of the first operation are located.
[0118] In a feasible implementation scheme of the present application, after determining the moving speed corresponding to each parameter interval, the processor is also used to: determine the moving acceleration corresponding to the speed change process, so as to control the movement of the virtual camera according to the target moving speed and moving acceleration.
[0119] In a feasible implementation scheme of the present application, when the processor controls the observation center of the virtual camera to move to the starting position before moving along the release trajectory, it is specifically used to: control the observation center of the virtual camera to move to the starting position at a uniform speed according to a set return speed; or control the observation center of the virtual camera to move to the starting position at a gradual speed according to a set acceleration.
[0120] In a feasible implementation of the present application, the processor is further used to execute: in response to the first operation satisfying the direction adjustment condition, updating the release trajectory on the game screen according to the operation parameters of the first operation.
[0121] In a feasible implementation of the present application, the processor is also used to execute: in response to the end of the first operation that does not meet the preset trigger condition, control the controlled virtual character to release the target virtual skill in the game scene to attack the virtual object outside the game screen and on the release trajectory.
[0122] Through the above method, the present application can adjust the position of the observation center of the virtual camera according to the release trajectory when the virtual skill is triggered, so as to change the display content of the game screen while triggering the virtual skill, so that the user can view the position of the attack target on the release trajectory in real time, without the need for the user to control the game through three-finger operation, thereby reducing the complexity of skill release and improving the accuracy of skill release. At the same time, the user can timely observe the feedback information of the attacked target in the changed current game screen, which also improves the timeliness of information feedback. Compared with the information processing method in the game in the prior art, it solves the problem of low skill release accuracy and untimely information feedback when releasing non-directional skills.
[0123] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0124] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0125] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0126] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0127] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially or in other words, the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0128] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for processing information in a game, characterized in that: Providing a graphical user interface through a terminal device, wherein the graphical user interface displays a game screen including at least a part of a game scene shot by a virtual camera, including: In response to a first operation for triggering a target virtual skill, providing a release track corresponding to the target virtual skill on the game screen, and the target virtual skill is released along the release track in the game scene; In response to the first operation satisfying a preset trigger condition, controlling the observation center of the virtual camera to move along the release trajectory, so that the game screen changes accordingly according to the movement of the observation center; In response to the end of the first operation, the controlled virtual character is controlled to release the target virtual skill in the game scene.
2. The method according to claim 1, characterized in that The preset trigger condition includes at least one of the following items: The pressure value applied by the first operation to a target physical key of the terminal device or an external input device connected to the terminal device is not less than a preset pressure threshold; The contact area between the first operation and a target physical key of the terminal device or an external input device connected to the terminal device is not less than a preset area threshold; The distance moved by the first operation along the release trajectory is greater than a preset distance threshold.
3. The method according to claim 1, characterized in that The controlling the observation center of the virtual camera to move along the release trajectory comprises: During the duration of the first operation, controlling the observation center of the virtual camera to move at a uniform speed along the release trajectory according to a set moving speed; or, During the duration of the first operation, the observation center of the virtual camera is controlled to move along the release trajectory at a variable speed according to the operation parameters of the first operation.
4. The method according to claim 1, characterized in that: The method further comprises: In response to the first operation changing from satisfying a preset trigger condition to not satisfying the preset trigger condition, the observation center of the virtual camera is controlled to stop moving.
5. The method according to claim 1, characterized in that After controlling the controlled virtual character to release the target virtual skill in the game scene, the method further includes: The observation center of the virtual camera is controlled to move to the starting position before moving along the release trajectory.
6. The method according to claim 1, characterized in that The method further comprises: In response to the first operation satisfying a preset trigger condition and a second operation for controlling the movement of a controlled virtual character, the release trajectory is updated on the game screen according to the operation parameters of the second operation to control the observation center of the virtual camera to move along the updated release trajectory.
7. The method according to claim 1, characterized in that The method further comprises: In response to the first operation satisfying a preset trigger condition, a display state of an operation identifier corresponding to an operation parameter of the first operation is determined, so as to present the operation identifier on a target skill control according to the display state, wherein the operation identifier is used to characterize the first operation.
8. The method according to claim 3, characterized in that The step of controlling the observation center of the virtual camera to move at a variable speed along the release trajectory according to the operation parameters of the first operation includes: Dividing a parameter range corresponding to a preset trigger condition into a plurality of parameter intervals, wherein the parameter range is a range of the operating parameter; The movement speed corresponding to each parameter interval is determined, so as to control the movement of the virtual camera according to the target movement speed corresponding to the parameter interval in which the operation parameter of the first operation is located.
9. The method according to claim 8, characterized in that After determining the moving speed corresponding to each parameter interval, the method further includes: The movement acceleration corresponding to the speed change process is determined to control the movement of the virtual camera according to the target movement speed and the movement acceleration.
10. The method according to claim 5, characterized in that The controlling the observation center of the virtual camera to move to a starting position before moving along the release trajectory includes: According to the set back movement speed, the observation center of the virtual camera is controlled to move to the starting point at a uniform speed; or, According to the set acceleration, the observation center of the virtual camera is controlled to move to the starting point at a gradually changing speed.
11. The method according to claim 1, characterized in that: The method further comprises: In response to the first operation satisfying a direction adjustment condition, the release trajectory is updated on the game screen according to an operation parameter of the first operation.
12. The method according to claim 1, characterized in that The method further comprises: In response to the end of the first operation that does not meet the preset trigger condition, the controlled virtual character is controlled to release the target virtual skill in the game scene to attack the virtual object that is outside the game screen and located on the release trajectory.
13. An information processing device in a game, characterized in that: Providing a graphical user interface through a terminal device, wherein the graphical user interface displays a game screen including at least a part of a game scene shot by a virtual camera, including: a release track display module, configured to provide, in response to a first operation for triggering a target virtual skill, a release track corresponding to the target virtual skill on the game screen, wherein the target virtual skill is released along the release track in the game scene; A camera moving module, configured to control the observation center of the virtual camera to move along the release trajectory in response to the first operation satisfying a preset trigger condition, so that the game screen changes correspondingly according to the movement of the observation center; The virtual skill releasing module is used to control the controlled virtual character to release the target virtual skill in the game scene in response to the end of the first operation.
14. An electronic device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the storage medium communicate via the bus, and the processor executes the machine-readable instructions to perform the steps of the information processing method in the game as described in any one of claims 1 to 12.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the information processing method in the game as claimed in any one of claims 1 to 12 are executed.
