CN-122006244-A - Interaction method, device, equipment and storage medium based on virtual displacement prop
Abstract
The application discloses an interaction method, device and equipment based on virtual displacement props and a storage medium, and belongs to the field of virtual environments. The method comprises the steps of displaying at least two virtual objects and a virtual displacement prop, wherein the at least two virtual objects and the virtual displacement prop are located in a virtual environment, the virtual displacement prop corresponds to a speed changing device, displaying that the virtual displacement prop carries at least two virtual object movements at a first displacement speed, responding to interaction operation of the at least two virtual objects on the speed changing device in a cooperative mode, changing the first displacement speed of the virtual displacement prop into a second displacement speed, and displaying that the virtual displacement prop carries at least two virtual object movements at the second displacement speed. Thus expanding the man-machine interaction mode.
Inventors
- XIE LINYING
Assignees
- 腾讯科技(深圳)有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20241111
Claims (15)
- 1. An interaction method based on virtual displacement props is characterized by comprising the following steps: Displaying at least two virtual objects and virtual displacement props in a virtual environment, wherein the virtual displacement props correspond to a speed change device; displaying that the virtual displacement prop bears the movement of the at least two virtual objects at a first displacement speed; changing the first displacement speed of the virtual displacement prop to a second displacement speed in response to the at least two virtual objects cooperatively interacting with the transmission; and displaying that the virtual displacement prop bears the movement of the at least two virtual objects at the second displacement speed.
- 2. The method of claim 1, wherein the transmission includes an interactive component that changes the first displacement speed of the virtual displacement prop to a second displacement speed in response to the at least two virtual objects cooperatively interacting with the transmission, comprising: and changing the first displacement speed of the virtual displacement prop to a second displacement speed in response to an interactive operation of the at least two virtual objects in a coordinated manner to switch the interactive component to a target state.
- 3. The method of claim 2, wherein the interactive components are at least two; The changing the first displacement speed of the virtual displacement prop to a second displacement speed in response to an interactive operation of the at least two virtual objects cooperatively switching the interactive component to a target state, comprising: displaying a first virtual object to switch the state of an ith interaction component in the at least two interaction components, and displaying a second virtual object to switch the state of a jth interaction component in the at least two interaction components, wherein the first virtual object is at least one virtual object in the at least two virtual objects, and the second virtual object is at least one virtual object in the at least two virtual objects except the first virtual object; the method comprises the steps of responding to the condition that an updating interaction part is in a target state, and changing the first displacement speed of the virtual displacement prop into a second displacement speed, wherein the updating interaction part comprises an ith interaction part after the state is switched and a jth interaction part after the state is switched; wherein i and j are both positive integers.
- 4. A method according to claim 3, wherein the interactive component has a first state and a second state, the method further comprising: Randomly or strategically controlling an ith interaction component of the at least two interaction components to be in the first state, wherein the jth interaction component is in the second state; and in response to displaying the first virtual object to switch the ith interaction component from the first state to the second state, displaying the jth interaction component to switch from the second state to the first state.
- 5. A method according to claim 3, wherein the interaction means is at least two interaction pedals, any of which having a first state and a second state.
- 6. The method of claim 5, wherein an i-th interaction pedal of the at least two interaction pedals is in a first state and a j-th interaction pedal of the at least two interaction pedals is in a second state; the first virtual object comprises an ith virtual object, the second virtual object comprises a jth virtual object, and both i and j are positive integers; The displaying the state of the first virtual object switching the ith interaction component of the at least two interaction components and the displaying the state of the second virtual object switching the jth interaction component of the at least two interaction components includes: displaying that an ith virtual object treads the ith interaction component, and switching the ith interaction component from the first state to the second state after the ith interaction component is treaded; responsive to the ith interactive component switching to the second state, displaying a state of the jth interactive component switching from the second state to the first state; displaying the j-th virtual object to pedal the j-th interaction component, and switching from the first state to the second state after the j-th interaction component is pedal.
- 7. The method of any of claims 3 to 6, wherein the changing the first displacement speed of the virtual displacement prop to a second displacement speed in response to updating the interactive component to be in the target state comprises: determining the second displacement speed corresponding to the target state in response to the update interaction component being in the target state; Changing the first displacement speed of the virtual displacement prop to a second displacement speed.
- 8. The method of any of claims 3 to 7, wherein said determining the second displacement speed corresponding to the target state in response to the update interaction component being in the target state comprises: Determining at least one of a number, an order, a frequency, and a success rate of the at least two interaction components being changed state in response to the transmission switching to the target state corresponding to the updated interaction component; And determining the second displacement speed corresponding to the target state based on at least one of the times, the sequence, the frequency and the success rate.
- 9. The method according to any one of claims 1 to 8, further comprising: And displaying the speed changing device on the virtual displacement prop in response to an activation operation of the virtual displacement prop.
- 10. The method according to any one of claims 1 to 9, further comprising: And in response to the virtual displacement prop reaching a target position, cancelling display of the speed change device.
- 11. The method according to any one of claims 1 to 10, further comprising: And responding to the virtual displacement prop reaching a target position, and displaying that the virtual displacement prop is converted from an activated state to a to-be-activated state.
- 12. An interactive device based on virtual displacement props, the device comprising: The display module is used for displaying at least two virtual objects and virtual displacement props which are positioned in the virtual environment, and the virtual displacement props correspond to the speed changing device; The display module is further used for displaying that the virtual displacement prop bears the movement of the at least two virtual objects at a first displacement speed; a speed change module for changing the first displacement speed of the virtual displacement prop to a second displacement speed in response to an interactive operation of the at least two virtual objects in a coordinated manner for the speed change device; the display module is further configured to display that the virtual displacement prop carries the movement of the at least two virtual objects at the second displacement speed.
- 13. A computer device comprising a processor and a memory, wherein the memory stores at least one computer program, the at least one computer program being loaded and executed by the processor to cause the computer device to implement the virtual displacement prop-based interaction method of any of claims 1 to 11.
- 14. A computer readable storage medium having stored therein at least one computer program loaded and executed by a processor to cause a computer to implement the virtual displacement prop-based interaction method of any of claims 1 to 11.
- 15. A computer program product comprising computer instructions that are loaded and executed by a processor to cause the computer to implement the virtual displacement prop-based interaction method of any of claims 1 to 11.
Description
Interaction method, device, equipment and storage medium based on virtual displacement prop Technical Field The embodiment of the application relates to the field of virtual environments, in particular to an interaction method, device and equipment based on virtual displacement props and a storage medium. Background In the application program based on the virtual environment, the virtual object located in the virtual environment is displayed on the terminal device, and the user can interact in the virtual environment by controlling the virtual object. In the related art, a user controls a virtual object to mount a virtual displacement prop to move in a virtual environment, so that the virtual object is displaced from an initial position to a target position of the virtual environment by the virtual displacement prop. In the process of carrying the virtual displacement prop, the virtual object can only wait for the virtual displacement prop to move to the target position, and the man-machine interaction mode is limited. Disclosure of Invention The embodiment of the application provides an interaction method, device, equipment and storage medium based on virtual displacement props, which can be used for expanding a human-computer interaction mode. The technical scheme is as follows: In one aspect, an embodiment of the present application provides an interaction method based on virtual displacement props, where the method includes: Displaying at least two virtual objects and virtual displacement props in a virtual environment, wherein the virtual displacement props correspond to a speed change device; displaying that the virtual displacement prop bears the movement of the at least two virtual objects at a first displacement speed; changing the first displacement speed of the virtual displacement prop to a second displacement speed in response to the at least two virtual objects cooperatively interacting with the transmission; and displaying that the virtual displacement prop bears the movement of the at least two virtual objects at the second displacement speed. In another aspect, there is provided an interaction device based on virtual displacement props, the device comprising: The display module is used for displaying at least two virtual objects and virtual displacement props which are positioned in the virtual environment, and the virtual displacement props correspond to the speed changing device; The display module is further used for displaying that the virtual displacement prop bears the movement of the at least two virtual objects at a first displacement speed; a speed change module for changing the first displacement speed of the virtual displacement prop to a second displacement speed in response to an interactive operation of the at least two virtual objects in a coordinated manner for the speed change device; the display module is further configured to display that the virtual displacement prop carries the movement of the at least two virtual objects at the second displacement speed. In one possible implementation, the speed change device includes an interaction component, and the speed change module is configured to change the first displacement speed of the virtual displacement prop to a second displacement speed in response to an interaction operation in which the at least two virtual objects cooperatively switch the interaction component to a target state. In one possible implementation manner, the interactive components are at least two, the speed changing module is used for displaying a first virtual object to switch the state of an ith interactive component in the at least two interactive components and displaying a second virtual object to switch the state of a jth interactive component in the at least two interactive components, the first virtual object is at least one virtual object in the at least two virtual objects, the second virtual object is at least one virtual object except the first virtual object in the at least two virtual objects, the first displacement speed of the virtual displacement prop is changed into a second displacement speed in response to the updating interactive component being in the target state, and the updating interactive component comprises the ith interactive component after the switching state and the jth interactive component after the switching state, wherein i and j are positive integers. In one possible implementation manner, the interactive component has a first state and a second state, the display module is further configured to randomly control or strategically control an ith interactive component in the at least two interactive components to be in the first state and a jth interactive component to be in the second state, and in response to displaying the first virtual object, switch the ith interactive component from the first state to the second state and display the jth interactive component from the second state to the first state. In one possib