CN111701225B - Interactive control method and device in game system, storage medium and electronic device - Google Patents
Interactive control method and device in game system, storage medium and electronic device Download PDFInfo
- Publication number
- CN111701225B CN111701225B CN202010531195.8A CN202010531195A CN111701225B CN 111701225 B CN111701225 B CN 111701225B CN 202010531195 A CN202010531195 A CN 202010531195A CN 111701225 B CN111701225 B CN 111701225B
- Authority
- CN
- China
- Prior art keywords
- contact
- mobile terminal
- contacts
- determining
- virtual prop
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 230000002452 interceptive effect Effects 0.000 title claims description 24
- 238000004590 computer program Methods 0.000 claims description 19
- 230000003993 interaction Effects 0.000 abstract description 9
- 238000001514 detection method Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 6
- 230000007123 defense Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000002708 enhancing effect Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 210000003811 finger Anatomy 0.000 description 2
- 239000011521 glass Substances 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 210000003813 thumb Anatomy 0.000 description 1
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/20—Input arrangements for video game devices
- A63F13/21—Input arrangements for video game devices characterised by their sensors, purposes or types
- A63F13/214—Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
- A63F13/42—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses an interaction control method and device in a game system, a storage medium and an electronic device. The method comprises the following steps: responding to a holding operation of the mobile terminal, and acquiring a plurality of contacts corresponding to the holding operation; determining virtual props controlled by the mobile terminal in a game scene according to the plurality of contacts; after the virtual prop is determined, responding to the triggering operation received by the mobile terminal, and controlling the virtual prop to execute an instruction corresponding to the triggering operation in the game scene. The invention solves the technical problems of single operation mode of the game handle, lack of flexibility and increased game cost.
Description
Technical Field
The present invention relates to the field of computers, and in particular, to an interactive control method and apparatus in a game system, a storage medium, and an electronic apparatus.
Background
Currently, in some games (such as Switch games, PS4 games or virtual reality games, etc.), a game pad and a display device are generally provided, wherein the display device (such as a television or VR glasses) is used to provide a game screen, and a player controls a relevant virtual object in the game screen by manipulating the game pad. However, the game can be controlled by being provided with the game handle, the game handle has low universality, and different game handles are required to be provided for different types of games, so that the game cost of a player is greatly increased; in addition, it is not clear how VR gamepads are used by some game players (especially new players) who are not familiar with VR, and it takes a certain time for the game players to learn to use VR gamepads, which reduces the game experience.
In view of the above problems, no effective solution has been proposed at present.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
At least some embodiments of the present invention provide an interactive control method, an interactive control device, a storage medium, and an electronic device in a game system, so as to at least solve the technical problems of a single operation mode of a game handle, lack of flexibility, and increase of game cost.
According to one embodiment of the present invention, there is provided an interactive control method in a game system including a display device and a control device, the control device being a mobile terminal, the method including:
responding to a holding operation of the mobile terminal, and acquiring a plurality of contacts corresponding to the holding operation; determining virtual props controlled by the mobile terminal in a game scene according to the plurality of contacts; after the virtual prop is determined, responding to the triggering operation received by the mobile terminal, and controlling the virtual prop to execute an instruction corresponding to the triggering operation in the game scene.
Optionally, acquiring the plurality of contacts corresponding to the holding operation includes: acquiring a plurality of contacts corresponding to holding operation on at least three outer surfaces of a plurality of outer surfaces of the mobile terminal; determining virtual props controlled by the mobile terminal in the game scene according to the plurality of contacts comprises: determining a distribution area based on the plurality of contacts; and determining the virtual prop according to the distribution area.
Optionally, the mobile terminal includes a plurality of external surfaces, and the plurality of external surfaces includes a front surface, a back surface, two parallel first side surfaces and two parallel second side surfaces of the mobile terminal, the first side surfaces are perpendicular to the second side surfaces, and the front surface and the back surface are perpendicular to the first side surfaces and the second side surfaces respectively.
Optionally, the mobile terminal includes a plurality of outer surfaces, and each of the plurality of outer surfaces is configured with a touch screen, where the touch screen is used to obtain the plurality of contacts.
Optionally, the triggering operation includes a first sliding operation or a second sliding operation; the method for controlling the virtual prop to execute the instruction corresponding to the triggering operation in the game scene comprises the following steps: controlling a virtual prop to execute a virtual attack instruction corresponding to the first sliding operation in a game scene; or controlling the virtual prop to execute the virtual bullet changing instruction corresponding to the second sliding operation in the game scene.
Alternatively, the first sliding operation is a sliding operation acting on the first side or the second side, the first sliding operation corresponding to a sliding locus formed by a contact of the first side or the second side.
Alternatively, the second sliding operation is a sliding operation acting on the front surface and/or the rear surface, the second sliding operation corresponding to a sliding track formed by contacts of the front surface and/or the rear surface.
Optionally, determining the virtual prop controlled by the mobile terminal in the game scene according to the plurality of contacts includes: selecting a first contact, a second contact and at least one third contact from a plurality of contacts, wherein the first contact and the second contact are respectively positioned on a first side surface which is relatively parallel to each other, and the at least one third contact is positioned on at least one of a front surface and a back surface; determining a determination area based on the first contact and the second contact; and when the first contact, the second contact and at least one third contact are all positioned in the judging area, determining that the virtual prop is a near combat type virtual prop.
Optionally, determining the virtual prop controlled by the mobile terminal in the game scene according to the plurality of contacts includes: selecting a first contact, a second contact and at least one third contact from a plurality of contacts, wherein the first contact is positioned on a first side surface, the second contact is positioned on a second side surface, and the at least one third contact is positioned on at least one of a front surface and a back surface; determining a determination area based on the first contact and the second contact; and when the first contact, the second contact and the at least one third contact are all positioned in the judging area, determining that the virtual prop is a remote type virtual prop.
Optionally, the method further comprises: selecting at least one fourth contact from the plurality of contacts, wherein the at least one fourth contact is located on at least one of the front side and the back side, and the second sliding operation corresponds to a sliding track formed by the at least one fourth contact; and when the first contact, the second contact and the at least one third contact are all positioned in the judging area and at least one fourth contact exists, determining that the virtual prop is a remote type virtual prop.
Optionally, determining the virtual prop controlled by the mobile terminal in the game scene according to the plurality of contacts includes: selecting a first contact, a second contact and at least one third contact from a plurality of contacts, wherein the first contact and the second contact are respectively positioned on a first side surface which is relatively parallel to each other, and the at least one third contact is positioned on at least one of a front surface and a back surface; and when the pressure value of the first contact and the pressure value of the second contact exceed the pressure value of at least one third contact, determining that the virtual prop is a near combat type virtual prop.
Optionally, determining the virtual prop controlled by the mobile terminal in the game scene according to the plurality of contacts includes: selecting a first contact, a second contact and at least one third contact from a plurality of contacts, wherein the first contact is positioned on a first side surface, the second contact is positioned on a second side surface, and the at least one third contact is positioned on at least one of a front surface and a back surface; and when the pressure value of the first contact and the pressure value of the second contact do not exceed the pressure value of at least one third contact, determining that the virtual prop is a remote type virtual prop.
Optionally, the game scene is a virtual display game scene presented by the head mounted display device.
According to one embodiment of the present invention, there is also provided an interaction control apparatus in a game system including a display device and a control device, the control device being a mobile terminal, the apparatus including:
the acquisition module is used for responding to the holding operation of the mobile terminal and acquiring a plurality of contacts corresponding to the holding operation; the determining module is used for determining virtual props controlled by the mobile terminal in the game scene according to the plurality of contacts; and the control module is used for responding to the triggering operation received by the mobile terminal after the virtual prop is determined, and controlling the virtual prop to execute the instruction corresponding to the triggering operation in the game scene.
Optionally, the acquiring module is used for acquiring a plurality of contacts corresponding to the holding operation on at least three external surfaces of the plurality of external surfaces of the mobile terminal; a determination module for determining a distribution area based on the plurality of contacts; and determining the virtual prop according to the distribution area.
Optionally, the mobile terminal includes a plurality of external surfaces, and the plurality of external surfaces includes a front surface, a back surface, two parallel first side surfaces and two parallel second side surfaces of the mobile terminal, the first side surfaces are perpendicular to the second side surfaces, and the front surface and the back surface are perpendicular to the first side surfaces and the second side surfaces respectively.
Optionally, the mobile terminal includes a plurality of outer surfaces, and each of the plurality of outer surfaces is configured with a touch screen, where the touch screen is used to obtain the plurality of contacts.
Optionally, the triggering operation includes a first sliding operation or a second sliding operation; the control module is used for controlling the virtual prop to execute a virtual attack instruction corresponding to the first sliding operation in the game scene; or controlling the virtual prop to execute the virtual bullet changing instruction corresponding to the second sliding operation in the game scene.
Alternatively, the first sliding operation is a sliding operation acting on the first side or the second side, the first sliding operation corresponding to a sliding locus formed by a contact of the first side or the second side.
Alternatively, the second sliding operation is a sliding operation acting on the front surface and/or the rear surface, the second sliding operation corresponding to a sliding track formed by contacts of the front surface and/or the rear surface.
Optionally, the determining module is configured to select a first contact, a second contact and at least one third contact from the plurality of contacts, where the first contact and the second contact are respectively located on a first side surface that is relatively parallel to each other, and the at least one third contact is located on at least one of a front surface and a back surface; determining a determination area based on the first contact and the second contact; and when the first contact, the second contact and at least one third contact are all positioned in the judging area, determining that the virtual prop is a near combat type virtual prop.
Optionally, the determining module is configured to select a first contact, a second contact and at least one third contact from the plurality of contacts, where the first contact is located on the first side, the second contact is located on the second side, and the at least one third contact is located on at least one of the front and the back; determining a determination area based on the first contact and the second contact; and when the first contact, the second contact and the at least one third contact are all positioned in the judging area, determining that the virtual prop is a remote type virtual prop.
A selection module for selecting at least one fourth contact from the plurality of contacts, wherein the at least one fourth contact is located on at least one of the front surface and the back surface, and the second sliding operation corresponds to a sliding track formed by the at least one fourth contact; and the confirmation module is used for determining that the virtual prop is a remote type virtual prop when the first contact, the second contact and at least one third contact are all positioned in the judging area and at least one fourth contact exists.
Optionally, the determining module is configured to select a first contact, a second contact and at least one third contact from the plurality of contacts, where the first contact and the second contact are respectively located on a first side surface that is relatively parallel to each other, and the at least one third contact is located on at least one of a front surface and a back surface; and when the pressure value of the first contact and the pressure value of the second contact exceed the pressure value of at least one third contact, determining that the virtual prop is a near combat type virtual prop.
Optionally, the determining module is configured to select a first contact, a second contact and at least one third contact from the plurality of contacts, where the first contact is located on the first side, the second contact is located on the second side, and the at least one third contact is located on at least one of the front and the back; and when the pressure value of the first contact and the pressure value of the second contact do not exceed the pressure value of at least one third contact, determining that the virtual prop is a remote type virtual prop.
Optionally, the game scene is a virtual display game scene presented by the head mounted display device.
According to an embodiment of the present invention, there is also provided a storage medium in which a computer program is stored, wherein the computer program is configured to execute the interactive control method in the game system of any one of the above-described items when run.
According to an embodiment of the present invention, there is also provided a processor for running a program, wherein the program is configured to execute the interactive control method in the game system of any one of the above-mentioned claims at run time.
According to one embodiment of the present invention, there is also provided an electronic device including a memory having a computer program stored therein and a processor configured to run the computer program to perform interactive control in the gaming system of any of the above.
In at least some embodiments of the present application, a manner of responding to a holding operation of a mobile terminal to obtain a plurality of contacts corresponding to the holding operation is adopted, a virtual prop controlled by the mobile terminal in a game scene is determined through the plurality of contacts, and after the virtual prop is determined, a trigger operation received by the mobile terminal is responded to control the virtual prop in the game scene so as to execute an instruction corresponding to the trigger operation, thereby achieving the purpose of determining a virtual prop to be controlled in the game scene by utilizing a multi-point touch manner of the mobile terminal so as to perform game control on the virtual prop, thereby realizing the technical effects of enriching the game control manner, improving the game control experience, and enhancing the game control flexibility, further realizing game control by adopting the mobile terminal instead of a game handle, solving the technical problems of single operation manner and lack of flexibility of the game handle, reducing the game cost to a certain extent, and improving the game device universality.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a flow chart of a method of interactive control in a gaming system according to one embodiment of the present invention;
FIG. 2 is a schematic illustration of a plurality of external surface settings of a mobile terminal according to an alternative embodiment of the present invention;
FIG. 3 is a schematic diagram of interactive control in a gaming system according to an alternative embodiment of the present invention;
FIG. 4 is a schematic diagram of interactive control in a gaming system according to a second alternative embodiment of the present invention;
FIG. 5 is a block diagram of an interactive control device in a gaming system according to one embodiment of the present invention;
fig. 6 is a block diagram of an interactive control device in a game system according to an alternative embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to one embodiment of the present invention, there is provided an embodiment of an interactive control method in a game system, it being noted that the steps shown in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases the steps shown or described may be performed in an order different from that shown or described herein.
The method embodiments may be performed in a gaming system. The game system includes a display device and a control device. Wherein the display device is used for outputting game pictures. The display device may be a head mounted display device (e.g., VR glasses) in a VR game or other type of game that is displayed on a display screen (e.g., television, computer display). The control device may be a mobile terminal, and it should be noted that, although the mobile terminal may be provided with a display screen, the mobile terminal as the control device is only used for game control, and does not output a game screen on the display screen of the mobile terminal, and a one-to-one mapping relationship is not established between the content displayed on the display screen of the mobile terminal and the game screen output by the display device of the game system. Therefore, in the process of displaying the game picture by adopting the display device, a game player does not need to particularly use a handle or a controller special for the game, but only needs to associate the mobile terminal (such as a smart phone) with a specific virtual prop used in the game, so that the virtual prop can be controlled in the game scene to execute the instruction corresponding to the triggering operation. The control device is a mobile terminal. The mobile terminal may be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a mobile internet device (Mobile Internet Devices, MID), a PAD, etc.
A mobile terminal may include one or more processors (which may include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processor (GPU), a Digital Signal Processing (DSP) chip, a Microprocessor (MCU), a programmable logic device (FPGA), a neural Network Processor (NPU), a Tensor Processor (TPU), an Artificial Intelligence (AI) type processor, etc.) and a memory for storing data. Optionally, the mobile terminal may further include a transmission device, an input/output device, and a display device for a communication function. It will be appreciated by those of ordinary skill in the art that the foregoing structural descriptions are merely illustrative and are not intended to limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than the above structural description, or have a different configuration than the above structural description.
The memory may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to the interactive control method in the game system in the embodiment of the present invention, and the processor executes various functional applications and data processing by running the computer program stored in the memory, that is, implements the interactive control method in the game system. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory may further include memory remotely located with respect to the processor, the remote memory being connectable to the mobile terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through the base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly.
Display devices may be, for example, touch screen type Liquid Crystal Displays (LCDs) and touch displays (also referred to as "touch screens" or "touch display screens"). The liquid crystal display may enable a user to interact with a user interface of the mobile terminal. In some embodiments, the mobile terminal has a Graphical User Interface (GUI), and the user may interact with the GUI by touching finger contacts and/or gestures on the touch-sensitive surface, where the man-machine interaction functions optionally include the following interactions: executable instructions for performing the above-described human-machine interaction functions, such as creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving electronic mail, talking interfaces, playing digital video, playing digital music, and/or web browsing, are configured/stored in a computer program product or readable storage medium executable by one or more processors.
In this embodiment, there is provided an interaction control method for running in a game system of the mobile terminal, fig. 1 is a flowchart of an interaction control method in a game system according to one embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S11, responding to the holding operation of the mobile terminal, and acquiring a plurality of contacts corresponding to the holding operation;
step S12, determining virtual props controlled by the mobile terminal in a game scene according to the plurality of contacts;
and step S13, after the virtual prop is determined, responding to the trigger operation received by the mobile terminal, and controlling the virtual prop to execute an instruction corresponding to the trigger operation in the game scene. Through the steps, a mode of responding to the holding operation of the mobile terminal to obtain a plurality of contacts corresponding to the holding operation can be adopted, the virtual prop controlled by the mobile terminal in the game scene is determined through the plurality of contacts, and after the virtual prop is determined, the virtual prop is controlled in the game scene to execute the instruction corresponding to the triggering operation in response to the triggering operation received by the mobile terminal, so that the purpose of utilizing the multi-point touch mode of the mobile terminal to determine the virtual prop to be controlled in the game scene to perform VR game control on the virtual prop is achieved, the technical effects of enriching the game control mode, improving the game control experience and enhancing the game control flexibility are achieved, the mobile terminal can be used for replacing a game handle to achieve game control, the technical problems that the operation mode of the game handle is single and lacks flexibility are solved, the game cost is reduced to a certain extent, and the game equipment universality is improved.
Compared with the prior art that when the mobile terminal is used as the control device, only clicking can be performed on the mobile terminal or the control command is sent through the built-in screw instrument, the game control mode is richer and more flexible, the game control device can adapt to different types of games, the compatibility is higher, and the game cost is greatly saved.
In step S11 described above, in response to a holding operation by a game player acting on the mobile terminal, a plurality of contacts obtained by the holding operation making contact with a plurality of outer surfaces on the mobile terminal can be obtained. In the above step S12, after the plurality of contacts are obtained, the type of the virtual prop may be determined according to the positions of the plurality of contacts. For example: when the mobile terminal is in a vertical state, the plurality of contacts are mainly concentrated in the middle and lower half areas of the front and/or back of the mobile terminal and the middle and lower half areas of the two side surfaces in the vertical direction, so that the type of the virtual prop can be judged to be a near combat weapon. For another example: when the mobile terminal is in a horizontal state, the plurality of contacts are mainly concentrated in one corner area of the front and/or the back of the mobile terminal and the side area adjacent to the corner area in two mutually vertical side surfaces, so that the type of the virtual prop can be judged to be a remote weapon. Alternatively, the type of virtual prop may be determined based on pressure information of the plurality of contacts. For example: when the mobile terminal is in a vertical state, the contacts with larger pressure values among the contacts are mainly concentrated on two vertical sides of the mobile terminal, which are parallel to each other, so that the type of the virtual prop can be judged to be a near combat weapon. For another example: when the mobile terminal is in a horizontal state, the contacts with larger pressure values among the contacts are mainly concentrated in one corner area of the front and/or the back of the terminal, so that the type of the virtual prop can be judged to be a remote weapon.
The triggering operation may be a first sliding operation, which is a physical operation for controlling the virtual prop to launch an attack, where the sliding operation corresponds to a sliding track formed by a contact of the first side or the second side, for example: the mobile terminal is rocked to control virtual props such as daggers, magic sticks, whips and guns in the game scene to launch attacks, or sliding operation is performed in the side edge area of the mobile terminal to control the virtual props such as guns and bow crossbows in the game scene to launch attacks; a second sliding operation may also be used, which is a physical operation for controlling the virtual prop to change the shell, and corresponds to a sliding track formed by the contacts on the front and/or the back, for example: on the basis that a player holds one corner area of the mobile terminal by one hand, the other hand performs sliding operation in the front and/or back area of the mobile terminal to control virtual props such as guns in a game scene to change bullets. Therefore, by setting different types of sliding operations, various game instructions (such as virtual attack instructions and virtual bullet changing instructions) in a game scene are flexibly executed, and game playing methods are enriched.
In an alternative embodiment, the game scene may be a virtual display game scene presented by a head mounted display device. But it does not unduly limit the scope of the invention. The game scene may also be other types of game scenes (e.g., gunfight type) displayed on a display screen (e.g., television). In the process of displaying game pictures by adopting the display screen, a game player does not need to particularly use a handle or a controller special for the game, and only needs to associate the mobile terminal (such as a smart phone) with a specific virtual prop used in the game, so that the virtual prop can be controlled in a game scene to execute instructions corresponding to triggering operations.
The mobile terminal may include a plurality of outer surfaces. Since the outer surface of the mobile terminal is generally hexahedral and includes six sides, the plurality of outer surfaces may include a front surface, a back surface, two first sides disposed in parallel (e.g., a left side surface of the mobile terminal in a viewing direction of a game player and a right side surface of the mobile terminal in a viewing direction of the game player) and two second sides disposed in parallel (e.g., a bottom surface of the mobile terminal in a viewing direction of the game player and a top surface of the mobile terminal in a viewing direction of the game player), where the first sides are perpendicular to the second sides, and the front surface and the back surface are perpendicular to the first sides and the second sides, respectively.
Fig. 2 is a schematic view showing the arrangement of a plurality of external surfaces of a mobile terminal according to an alternative embodiment of the present invention, where two first side surfaces (for example, a left side surface of the mobile terminal in the viewing direction of a game player and a right side surface of the mobile terminal in the viewing direction of the game player) are arranged relatively parallel along a first symmetry axis, and the front surface and the back surface are also arranged relatively parallel along the first symmetry axis, and two second side surfaces (for example, a bottom surface of the mobile terminal in the viewing direction of the game player and a top surface of the mobile terminal in the viewing direction of the game player) are arranged relatively parallel along a second symmetry axis, as shown in fig. 2. The first symmetry axis is perpendicular to the second symmetry axis, and the length of the first symmetry axis is greater than the length of the second symmetry axis.
In an alternative embodiment, first, a plurality of contacts may be acquired on at least three of a plurality of external surfaces of a mobile terminal; secondly, determining a distribution area based on the plurality of contacts; and then determining the virtual prop according to the distribution area. As an alternative example, a plurality of contacts are first obtained on both the first side and the front side; then, determining the distribution area as two first side surfaces and a front surface based on the plurality of contacts; and then determining that the virtual prop is a near combat type virtual prop (such as a sword, a dagger, a crow bar and the like) according to the distribution areas of the two first side surfaces and the front surface.
Optionally, the mobile terminal includes a plurality of outer surfaces, and each of the plurality of outer surfaces is configured with a touch screen, where the touch screen is used to obtain the plurality of contacts.
The method can be applied to a mobile terminal provided with a single-sided (i.e. front) touch display screen, a mobile terminal provided with double-sided (i.e. front and back) touch display screens, and a mobile terminal provided with an annular (including front, back and side) touch display screen. When the method is suitable for a mobile terminal provided with a single-sided touch display screen or a mobile terminal provided with a double-sided touch display screen, the plurality of contacts can be determined by adopting a mode of combining touch detection and pressure detection. When the method is suitable for the mobile terminal provided with the annular touch display screen, the plurality of contacts can be determined by adopting a mode of combining touch detection and pressure detection, or can be determined by adopting a touch detection mode alone. That is, the touch point in the area of the touch display screen can be determined by adopting a touch detection mode; the contacts in the wrapping area of the housing except the area where the touch display screen is located can be determined in a pressure detection mode.
Optionally, in step S13, controlling the virtual prop to execute the instruction corresponding to the triggering operation in the game scene may include the following execution steps:
step S131, controlling the virtual prop to execute a virtual attack action corresponding to the first sliding operation in the game scene;
step S132, controlling the virtual prop to execute the virtual bullet changing action corresponding to the second sliding operation in the game scene.
When the first sliding operation is a physical operation for controlling the virtual prop to launch an attack, the sliding operation corresponds to a sliding track formed by a contact point of the first side surface or the second side surface (for example, a mobile terminal is rocked to control a virtual prop such as a dagger, a magic wand, a whip, a gun and the like in a game scene to launch an attack, or a mobile terminal is executed in a side edge area to control a virtual prop such as a gun, a bow and the like in the game scene to launch an attack), the virtual prop is controlled to execute a virtual attack instruction corresponding to the first sliding operation in the game scene. When the second sliding operation is a physical operation for controlling the virtual prop to change the shell, the sliding operation corresponds to a sliding track formed by the contacts on the front and/or the back (for example, when the player performs the sliding operation on the front and/or the back of the mobile terminal by one hand and controls the virtual prop such as a gun in the game scene to change the shell by the other hand on the basis of holding one corner area of the mobile terminal by one hand), the virtual prop is controlled to perform a virtual shell changing instruction corresponding to the second sliding operation in the game scene.
Optionally, in step S12, determining, according to the plurality of contacts, a virtual prop controlled by the mobile terminal in the game scene may include performing the steps of:
step S121-1, selecting a first contact, a second contact and at least one third contact from a plurality of contacts, wherein the first contact and the second contact are respectively positioned on a first side surface which is relatively parallel to each other, and the at least one third contact is positioned on at least one of a front surface and a back surface;
step S122-1, determining a judging area based on the first contact and the second contact;
in step S123-1, when the first contact, the second contact and at least one third contact are all located in the determination area, the virtual prop is determined to be a near combat type virtual prop.
When the mobile terminal is configured with the annular touch display screen, the plurality of contacts can be determined by adopting a touch detection mode independently. And selecting the first contact, the second contact and at least one third contact from the plurality of contacts. The first contact and the second contact are located on a first side surface (i.e., a left side surface of the mobile terminal and a right side surface of the mobile terminal) which are relatively parallel to each other. At least one third contact is located on at least one of the front and back surfaces. Namely, at least one third contact positioned on the back of the mobile terminal is acquired; or, at least one third contact positioned on the front surface of the mobile terminal is acquired; alternatively, a plurality of third contacts on the front and back sides are acquired simultaneously. Then, a determination area is determined based on the first contact and the second contact. The determination area has a plurality of determination modes. In one alternative example, the decision region may be determined based on a relative height difference between the first contact, the second contact, and the at least one third contact. In another alternative example, the determination region may be determined based on a line between the first contact and the second contact.
Fig. 3 is a schematic diagram of interactive control in a game system according to an alternative embodiment of the present invention, and as shown in fig. 3, the contact 1 is a first contact, which is the highest contact of the left side surface of the mobile terminal in the direction of a first symmetry axis (for example, the Y axis). The contact 3 is the second contact, which is the highest contact of the right side of the mobile terminal in the direction of the first symmetry axis (e.g. Y-axis). Contacts 2 and 4 are third contacts, wherein contact 2 is the highest contact of the back of the mobile terminal in the direction of the first symmetry axis (for example: Y axis), and contact 4 is the highest contact of the front of the mobile terminal in the direction of the first symmetry axis (for example: Y axis). The width of the judgment area is D.5 and 6 represent first sides arranged relatively parallel. When the contact 1, the contact 2, the contact 3 and the contact 4 are all located in the judging area, the equipment type to be used by the virtual game character in the VR game scene is determined to be near combat weapon equipment (such as a sword, a dagger, a stick and the like) so that the virtual game character can launch near combat attack or near combat defense.
It should be noted that the highest contact is only an optional example of the present invention, which does not limit the present invention unduly, and other contacts may be selected, for example: a lowest contact.
Optionally, in step S12, determining, according to the plurality of contacts, a virtual prop controlled by the mobile terminal in the game scene may include performing the steps of:
step S121-2, selecting a first contact, a second contact and at least one third contact from a plurality of contacts, wherein the first contact is positioned on a first side, the second contact is positioned on a second side, and the at least one third contact is positioned on at least one of a front surface and a back surface;
step S122-2, determining a judging area based on the first contact and the second contact;
in step S123-2, when the first contact, the second contact and the at least one third contact are all located in the determination area, the virtual prop is determined to be a remote type virtual prop.
When the mobile terminal is configured with the annular touch display screen, the plurality of contacts can be determined by adopting a touch detection mode independently. And selecting the first contact, the second contact and at least one third contact from the plurality of contacts. The first contact and the second contact are respectively positioned on the bottom surface of the mobile terminal and the right side surface of the mobile terminal which are adjacently and vertically arranged. At least one third contact is located on at least one of the front and back surfaces. Namely, at least one third contact positioned on the back of the mobile terminal is obtained; or at least acquiring at least one third contact positioned on the front surface of the mobile terminal; alternatively, a plurality of third contacts on the front and back sides are acquired simultaneously. Then, a determination area is determined based on the first contact and the second contact. The determination area has a plurality of determination modes. In one alternative example, the decision region may be determined based on a relative height difference between the first contact, the second contact, and the at least one third contact. In another alternative example, the determination region may be determined based on a line between the first contact and the second contact.
Fig. 4 is a schematic diagram of interactive control in a game system according to a second alternative embodiment of the present invention, as shown in fig. 4, the contact 1 is a first contact, which is the highest contact of the bottom surface of the mobile terminal in the direction of the second symmetry axis (for example, X axis). The contact 3 is the second contact, which is the highest contact of the right side of the mobile terminal in the direction of the first symmetry axis (e.g. Y-axis). Contacts 2 and 4 are third contacts, wherein contact 2 is the highest contact of the back of the mobile terminal in the direction of the second symmetry axis (for example: X axis), and contact 4 is the highest contact of the front of the mobile terminal in the direction of the second symmetry axis (for example: X axis). The width of the judgment area is D. The contact 5 is an auxiliary confirmation contact. And 6 and 7 represent the bottom surface of the mobile terminal and the right side surface of the mobile terminal which are arranged perpendicular to each other. When contact 1, contact 2, contact 3, and contact 4 are all located within the decision area, the type of equipment to be used by the virtual game character within the VR game scene is determined to be remote weaponry (e.g., firearm, crossbow, etc.), so that the virtual game character initiates a remote attack or remote defense.
Optionally, the method may further include the following steps:
step S14-2, selecting at least one fourth contact from the plurality of contacts, wherein the at least one fourth contact is positioned on at least one of the front surface and the back surface, and the second sliding operation corresponds to a sliding track formed by the at least one fourth contact;
In step S15-2, when the first contact, the second contact and the at least one third contact are all located in the determination area and at least one fourth contact is present, the virtual prop is determined to be a remote type virtual prop.
At least one fourth contact may also be selected from the plurality of contacts after determining a virtual prop controlled by the mobile terminal in the game scene based on the plurality of contacts. The at least one fourth contact may include, but is not limited to: and the contact point is positioned on at least one of the back surface and the front surface of the mobile terminal, and the second sliding operation corresponds to a sliding track formed by at least one fourth contact point. The equipment type is then further confirmed based on the contact position of the at least one fourth contact. Still as shown in fig. 4, when contact 1, contact 2, contact 3, and contact 4 are all located within the decision area, it may be initially determined that the type of equipment to be used by the virtual game character within the VR game scenario is remote weaponry (e.g., firearm, crossbow, etc.) so that the virtual game character initiates a remote attack or remote defense. Further, in order to confirm the accuracy of the equipment type, in the process that the game player performs the holding operation on the mobile terminal, a plurality of contacts 5 (i.e., the fourth contacts) are generated in addition to the contacts 1, 2, 3 and 4, and the second sliding operation corresponds to the sliding track formed by the plurality of contacts 5, and its most important effect is that: the current gesture of the game player can be restored in an assisted mode. In fig. 4, the mobile terminal is in a horizontal placement state, and the plurality of contacts 5 are also horizontally distributed in the upper half area of the mobile terminal and the second sliding operation corresponds to the sliding track formed by the plurality of contacts 5, so that it can be determined that the plurality of contacts 5 represent contacts generated by the contact of the four fingers of the other hand, except for the thumb, with the front surface of the mobile terminal in the horizontal direction when the game player performs the holding operation by one hand, and finally the virtual prop is determined to be a remote virtual prop, thereby improving the accuracy of determining the type of the virtual prop and enabling the virtual prop to be used for executing corresponding control instructions more accurately.
Optionally, in step S12, determining, according to the plurality of contacts, a virtual prop controlled by the mobile terminal in the game scene may include performing the steps of:
step S121-3, selecting a first contact, a second contact and at least one third contact from a plurality of contacts, wherein the first contact and the second contact are respectively positioned on a first side surface which is relatively parallel to each other, and the at least one third contact is positioned on at least one of a front surface and a back surface;
and step S122-3, when the pressure value of the first contact and the pressure value of the second contact both exceed the pressure value of at least one third contact, determining that the virtual prop is a near combat type virtual prop.
In an alternative embodiment, the first contact, the second contact, and the at least one third contact may be selected from a plurality of contacts, whereby the equipment type is determined based on a relative pressure relationship between the respective contacts. At this time, the equipment type is determined by comparing the magnitudes of the pressure values between the plurality of contacts.
When the mobile terminal is configured with a single-sided touch display screen or a double-sided touch display screen, the plurality of contacts can be determined by combining touch detection and pressure detection. And selecting the first contact, the second contact and at least one third contact from the plurality of contacts. The first contact and the second contact are respectively positioned on the left side surface of the mobile terminal and the right side surface of the mobile terminal which are arranged in parallel. At least one third contact is located on at least one of the front and back surfaces. Namely, at least one third contact positioned on the back of the mobile terminal is obtained; or at least acquiring at least one third contact positioned on the front surface of the mobile terminal; alternatively, a plurality of third contacts on the front and back sides are acquired simultaneously. Then, when the pressure value of the first contact point and the pressure value of the second contact point exceed the pressure value of at least one third contact point, the equipment type is determined to be near combat weapon equipment.
As also shown in fig. 3, contact 1 is the first contact, which is the highest contact on the left side of the mobile terminal in the direction of the first axis of symmetry (e.g., the Y axis). The contact 3 is the second contact, which is the highest contact of the right side of the mobile terminal in the direction of the first symmetry axis (e.g. Y-axis). Contacts 2 and 4 are third contacts, wherein contact 2 is the highest contact of the back of the mobile terminal in the direction of the first symmetry axis (for example: Y axis), and contact 4 is the highest contact of the front of the mobile terminal in the direction of the first symmetry axis (for example: Y axis). 5 and 6 represent first sides arranged relatively parallel. When the pressure values of the contact 1 and the contact 3 exceed the pressure values of the contact 2 and the contact 4, the type of equipment to be used by the virtual game character in the VR game scene is determined to be near combat weapon equipment (such as a sword, a dagger, a stick and the like) so that the virtual game character can launch near combat attack or near combat defense.
Optionally, in step S12, determining, according to the plurality of contacts, a virtual prop controlled by the mobile terminal in the game scene may include performing the steps of:
step S121-4, selecting a first contact, a second contact and at least one third contact from a plurality of contacts, wherein the first contact is positioned on a first side, the second contact is positioned on a second side, and the at least one third contact is positioned on at least one of a front surface and a back surface;
And S121-5, determining that the virtual prop is a remote type virtual prop when the pressure value of the first contact and the pressure value of the second contact do not exceed the pressure value of at least one third contact.
When the mobile terminal is configured with a single-sided touch display screen or a double-sided touch display screen, the plurality of contacts can be determined by combining touch detection and pressure detection. And selecting the first contact, the second contact and at least one third contact from the plurality of contacts. The first contact and the second contact are respectively positioned on the bottom surface of the mobile terminal and the right side surface of the mobile terminal which are adjacently and vertically arranged. At least one third contact is located on at least one of the front and back surfaces. Namely, at least one third contact positioned on the back of the mobile terminal is obtained; or at least acquiring at least one third contact positioned on the front surface of the mobile terminal; alternatively, a plurality of third contacts on the front and back sides are acquired simultaneously. Then, when neither the pressure value of the first contact nor the pressure value of the second contact exceeds the pressure value of the at least one third contact, determining that the equipment type is remote weapon equipment.
As also shown in fig. 4, contact 1 is the first contact, which is the highest contact of the bottom surface of the mobile terminal in the direction of the second symmetry axis (e.g., X-axis). The contact 3 is the second contact, which is the highest contact of the right side of the mobile terminal in the direction of the first symmetry axis (e.g. Y-axis). Contacts 2 and 4 are third contacts, wherein contact 2 is the highest contact of the back of the mobile terminal in the direction of the second symmetry axis (for example: X axis), and contact 4 is the highest contact of the front of the mobile terminal in the direction of the second symmetry axis (for example: X axis). When neither of the pressure values of contact 1 and contact 3 exceeds the pressure values of contact 2 and contact 4, the type of equipment to be used by the virtual game character within the VR game scene is determined to be remote weaponry (e.g., firearm, crossbow, etc.), so that the virtual game character initiates a remote attack or remote defense. According to the method and the device for determining the virtual prop, the mode of holding the mobile terminal can be more accurately determined by further combining the mode of determining the pressure value on the basis of the contact mode, and then the type of the virtual prop controlled by the mobile terminal in a game scene is determined, so that a game system can accurately display the corresponding virtual prop according to the mode that a player holds the mobile terminal, and game experience of the player is improved.
In another alternative embodiment, the current gesture of the game player can be determined through the connection line between the contacts in the first part of contacts in a machine learning manner, so as to determine the equipment type.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiment also provides an interaction control device in a game system, which is used for implementing the above embodiment and the preferred implementation manner, and the description is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 5 is a block diagram showing the structure of an interactive control apparatus in a game system according to one embodiment of the present invention, the game system including a display device and a control device, as shown in fig. 5, the apparatus comprising: an acquisition module 10 for acquiring a plurality of contacts corresponding to a holding operation in response to the holding operation of the mobile terminal; a determining module 20, configured to determine virtual props controlled by the mobile terminal in the game scene according to the plurality of contacts; and the control module 30 is used for responding to the triggering operation received by the mobile terminal after the virtual prop is determined, and controlling the virtual prop to execute the instruction corresponding to the triggering operation in the game scene.
Optionally, the acquiring module 10 is configured to acquire a plurality of contacts corresponding to a holding operation on at least three external surfaces among the plurality of external surfaces of the mobile terminal; a determining module 20 for determining a distribution area based on the plurality of contacts; and determining the virtual prop according to the distribution area.
Optionally, the mobile terminal includes a plurality of external surfaces, and the plurality of external surfaces includes a front surface, a back surface, two parallel first side surfaces and two parallel second side surfaces of the mobile terminal, the first side surfaces are perpendicular to the second side surfaces, and the front surface and the back surface are perpendicular to the first side surfaces and the second side surfaces respectively.
Optionally, the mobile terminal includes a plurality of outer surfaces, and each of the plurality of outer surfaces is configured with a touch screen, where the touch screen is used to obtain the plurality of contacts.
Optionally, the triggering operation includes a first sliding operation or a second sliding operation; the control module 30 is configured to control the virtual prop to execute a virtual attack instruction corresponding to the first sliding operation in the game scene; or controlling the virtual prop to execute the virtual bullet changing instruction corresponding to the second sliding operation in the game scene.
Alternatively, the first sliding operation is a sliding operation acting on the first side or the second side, the first sliding operation corresponding to a sliding locus formed by a contact of the first side or the second side.
Alternatively, the second sliding operation is a sliding operation acting on the front surface and/or the rear surface, the second sliding operation corresponding to a sliding track formed by contacts of the front surface and/or the rear surface.
Optionally, the determining module 20 is configured to select a first contact, a second contact, and at least one third contact from a plurality of contacts, where the first contact and the second contact are respectively located on a first side surface that is relatively parallel to each other, and the at least one third contact is located on at least one of a front surface and a back surface; determining a determination area based on the first contact and the second contact; and when the first contact, the second contact and at least one third contact are all positioned in the judging area, determining that the virtual prop is a near combat type virtual prop.
Optionally, the determining module 20 is configured to select a first contact, a second contact, and at least one third contact from the plurality of contacts, where the first contact is located on the first side, the second contact is located on the second side, and the at least one third contact is located on at least one of the front and the back; determining a determination area based on the first contact and the second contact; and when the first contact, the second contact and the at least one third contact are all positioned in the judging area, determining that the virtual prop is a remote type virtual prop.
Optionally, fig. 6 is a block diagram of an interaction control apparatus in a game system according to an alternative embodiment of the present invention, as shown in fig. 6, which includes, in addition to all the modules shown in fig. 5, the above apparatus further including: a selecting module 40, configured to select at least one fourth contact from the plurality of contacts, where the at least one fourth contact is located on at least one of the front surface and the back surface, and the second sliding operation corresponds to a sliding track formed by the at least one fourth contact; the confirmation module 50 is further configured to determine that the virtual prop is a remote type virtual prop when the first contact, the second contact, and the at least one third contact are all located within the determination area, and the at least one fourth contact is present.
Optionally, the determining module 20 is configured to select a first contact, a second contact, and at least one third contact from a plurality of contacts, where the first contact and the second contact are respectively located on a first side surface that is relatively parallel to each other, and the at least one third contact is located on at least one of a front surface and a back surface; and when the pressure value of the first contact and the pressure value of the second contact exceed the pressure value of at least one third contact, determining that the virtual prop is a near combat type virtual prop.
Optionally, the determining module 20 is configured to select a first contact, a second contact, and at least one third contact from the plurality of contacts, where the first contact is located on the first side, the second contact is located on the second side, and the at least one third contact is located on at least one of the front and the back; and when the pressure value of the first contact and the pressure value of the second contact do not exceed the pressure value of at least one third contact, determining that the virtual prop is a remote type virtual prop.
Optionally, the game scene is a virtual display game scene presented by the head mounted display device.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
An embodiment of the invention also provides a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
Alternatively, in the present embodiment, the above-described storage medium may be configured to store a computer program for performing the steps of:
s1, responding to a holding operation of a mobile terminal, and acquiring a plurality of contacts corresponding to the holding operation;
s2, determining virtual props controlled by the mobile terminal in a game scene according to the plurality of contacts;
and S3, after the virtual prop is determined, responding to the triggering operation received by the mobile terminal, and controlling the virtual prop to execute an instruction corresponding to the triggering operation in the game scene.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the invention also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, responding to a holding operation of a mobile terminal, and acquiring a plurality of contacts corresponding to the holding operation;
s2, determining virtual props controlled by the mobile terminal in a game scene according to the plurality of contacts;
and S3, after the virtual prop is determined, responding to the triggering operation received by the mobile terminal, and controlling the virtual prop to execute an instruction corresponding to the triggering operation in the game scene.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.
Claims (16)
1. An interactive control method in a game system, wherein the game system comprises a display device and a control device, the control device is a mobile terminal, the method comprising:
responding to a holding operation of a mobile terminal, and acquiring a plurality of contacts corresponding to the holding operation from at least three external surfaces of a plurality of external surfaces of the mobile terminal;
determining virtual props controlled by the mobile terminal in a game scene according to the plurality of contacts;
after the virtual prop is determined, responding to the triggering operation received by the mobile terminal, and controlling the virtual prop to execute an instruction corresponding to the triggering operation in the game scene;
the method for determining the virtual prop controlled by the mobile terminal in the game scene according to the plurality of contacts comprises the following steps:
selecting a first contact, a second contact and at least one third contact from the plurality of contacts, wherein the first contact, the second contact and the at least one third contact are respectively positioned on different outer surfaces of the at least three outer surfaces;
Determining a decision area based on a relative difference in height between the first contact, the second contact, and the at least one third contact;
and determining the type of the virtual prop by utilizing the judging area.
2. The method of claim 1, wherein determining virtual props controlled by the mobile terminal in a game scene from the plurality of contacts comprises:
determining a distribution area based on the plurality of contacts;
and determining the virtual prop according to the distribution area.
3. The method of claim 1, wherein the mobile terminal comprises a plurality of external surfaces including a front surface, a back surface, two parallel first side surfaces, and two parallel second side surfaces of the mobile terminal, the first side surfaces being perpendicular to the second side surfaces, the front surface, the back surface being perpendicular to the first side surfaces, the second side surfaces, respectively.
4. The method of claim 1, wherein the mobile terminal comprises a plurality of external surfaces, each of the plurality of external surfaces configured with a touch screen, wherein the touch screen is configured to obtain the plurality of contacts.
5. A method according to claim 3, wherein the triggering operation comprises a first sliding operation or a second sliding operation; the method for controlling the virtual prop to execute the instruction corresponding to the triggering operation in the game scene comprises the following steps:
controlling the virtual prop to execute a virtual attack instruction corresponding to the first sliding operation in the game scene; or,
and controlling the virtual prop to execute a virtual bullet changing instruction corresponding to the second sliding operation in the game scene.
6. The method of claim 5, wherein the first sliding operation is a sliding operation on the first side or the second side, the first sliding operation corresponding to a sliding track formed by a contact of the first side or the second side.
7. The method according to claim 5, characterized in that the second sliding operation is a sliding operation on the front side and/or the back side, which corresponds to a sliding track formed by contacts of the front side and/or the back side.
8. The method of claim 3 or 5, wherein determining the virtual prop controlled by the mobile terminal in the game scene from the plurality of contacts comprises:
Selecting the first contact, the second contact and the at least one third contact from the plurality of contacts, wherein the first contact and the second contact are respectively positioned on the first side surface which is relatively parallel to each other, and the at least one third contact is positioned on at least one of the front surface and the back surface;
determining the decision area based on the first contact and the second contact;
and when the first contact, the second contact and the at least one third contact are all positioned in the judging area, determining that the virtual prop is a near combat type virtual prop.
9. The method of claim 3, wherein determining the virtual prop controlled by the mobile terminal in the game scene from the plurality of contacts comprises:
selecting the first contact, the second contact and the at least one third contact from the plurality of contacts, wherein the first contact is located on the first side, the second contact is located on the second side, and the at least one third contact is located on at least one of the front surface and the back surface;
determining the decision area based on the first contact and the second contact;
And when the first contact, the second contact and the at least one third contact are all positioned in the judging area, determining that the virtual prop is a remote type virtual prop.
10. The method according to claim 9, wherein the method further comprises:
selecting at least one fourth contact from the plurality of contacts, wherein the at least one fourth contact is located on at least one of the front surface and the back surface, and a second sliding operation corresponds to a sliding track formed by the at least one fourth contact;
and when the first contact, the second contact and the at least one third contact are all located in the judging area and the at least one fourth contact exists, determining that the virtual prop is a remote type virtual prop.
11. The method of claim 3, wherein determining the virtual prop controlled by the mobile terminal in the game scene from the plurality of contacts comprises:
selecting a first contact, a second contact and at least one third contact from the plurality of contacts, wherein the first contact and the second contact are respectively positioned on the first side surface which is relatively parallel to each other, and the at least one third contact is positioned on at least one of the front surface and the back surface;
And when the pressure value of the first contact and the pressure value of the second contact exceed the pressure value of the at least one third contact, determining that the virtual prop is a near combat type virtual prop.
12. The method of claim 3, wherein determining the virtual prop controlled by the mobile terminal in the game scene from the plurality of contacts comprises:
selecting a first contact, a second contact and at least one third contact from the plurality of contacts, wherein the first contact is positioned on the first side surface, the second contact is positioned on the second side surface, and the at least one third contact is positioned on at least one of the front surface and the back surface;
and when the pressure value of the first contact and the pressure value of the second contact do not exceed the pressure value of the at least one third contact, determining that the virtual prop is a remote type virtual prop.
13. The method of claim 1, wherein the game scene is a virtual display game scene presented by a head mounted display device.
14. An interactive control device in a game system, wherein the game system includes a display device and a control device, the control device being a mobile terminal, the device comprising:
The acquisition module is used for responding to the holding operation of the mobile terminal and acquiring a plurality of contacts corresponding to the holding operation from at least three outer surfaces of the plurality of outer surfaces of the mobile terminal;
the determining module is used for determining virtual props controlled by the mobile terminal in a game scene according to the plurality of contacts;
the control module is used for responding to the triggering operation received by the mobile terminal after the virtual prop is determined, and controlling the virtual prop to execute an instruction corresponding to the triggering operation in the game scene;
the determining module is used for determining virtual props controlled by the mobile terminal in a game scene according to the plurality of contacts through the following steps:
selecting a first contact, a second contact and at least one third contact from the plurality of contacts, wherein the first contact, the second contact and the at least one third contact are respectively positioned on different outer surfaces of the at least three outer surfaces;
determining a decision area based on a relative difference in height between the first contact, the second contact, and the at least one third contact;
and determining the type of the virtual prop by utilizing the judging area.
15. A storage medium having a computer program stored therein, wherein the computer program is arranged to execute the interactive control method in the game system of any one of claims 1 to 13 at run-time.
16. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the interactive control method in the gaming system of any of claims 1 to 13.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010531195.8A CN111701225B (en) | 2020-06-11 | 2020-06-11 | Interactive control method and device in game system, storage medium and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010531195.8A CN111701225B (en) | 2020-06-11 | 2020-06-11 | Interactive control method and device in game system, storage medium and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111701225A CN111701225A (en) | 2020-09-25 |
CN111701225B true CN111701225B (en) | 2023-09-26 |
Family
ID=72540335
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010531195.8A Active CN111701225B (en) | 2020-06-11 | 2020-06-11 | Interactive control method and device in game system, storage medium and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111701225B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109865284A (en) * | 2019-03-29 | 2019-06-11 | 网易(杭州)网络有限公司 | Game of mobile terminal exchange method and device, storage medium, electronic equipment |
CN110841290A (en) * | 2019-11-08 | 2020-02-28 | 腾讯科技(深圳)有限公司 | Processing method and device of virtual prop, storage medium and electronic device |
CN111054066A (en) * | 2019-12-17 | 2020-04-24 | 腾讯科技(深圳)有限公司 | Operation method and device of virtual prop, storage medium and electronic device |
CN111228793A (en) * | 2020-01-21 | 2020-06-05 | 腾讯科技(深圳)有限公司 | Interactive interface display method and device, storage medium and electronic device |
-
2020
- 2020-06-11 CN CN202010531195.8A patent/CN111701225B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109865284A (en) * | 2019-03-29 | 2019-06-11 | 网易(杭州)网络有限公司 | Game of mobile terminal exchange method and device, storage medium, electronic equipment |
CN110841290A (en) * | 2019-11-08 | 2020-02-28 | 腾讯科技(深圳)有限公司 | Processing method and device of virtual prop, storage medium and electronic device |
CN111054066A (en) * | 2019-12-17 | 2020-04-24 | 腾讯科技(深圳)有限公司 | Operation method and device of virtual prop, storage medium and electronic device |
CN111228793A (en) * | 2020-01-21 | 2020-06-05 | 腾讯科技(深圳)有限公司 | Interactive interface display method and device, storage medium and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN111701225A (en) | 2020-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7038817B2 (en) | Information processing methods, devices, storage media and electronic devices | |
US10857462B2 (en) | Virtual character controlling method and apparatus, electronic device, and storage medium | |
US11577171B2 (en) | Method and apparatus for prompting that virtual object is attacked, terminal, and storage medium | |
CN110075522B (en) | Control method, device and terminal of virtual weapon in shooting game | |
EP2820528B1 (en) | Systems and methods for presenting visual interface content | |
CN102985142A (en) | Server, game device, and program executed by said server | |
WO2023029828A9 (en) | Method and apparatus for controlling avatar, and terminal and storage medium | |
JP6912995B2 (en) | Programs, control methods, and information processing equipment | |
CN111905363A (en) | Virtual object control method, device, terminal and storage medium | |
JP2019535351A (en) | Coordinate capture game system and method | |
CN111054065A (en) | Control method and device of virtual prop, storage medium and electronic device | |
CN108744513A (en) | Method of sight, device, electronic equipment in shooting game and storage medium | |
CN111921188A (en) | Virtual object control method, device, terminal and storage medium | |
JP2023503547A (en) | Image display method, apparatus, computer program and electronic equipment | |
JP2024026661A (en) | Control method of virtual object, device, terminal, and computer program | |
CN111359214B (en) | Virtual item control method and device, storage medium and electronic device | |
CN111701225B (en) | Interactive control method and device in game system, storage medium and electronic device | |
CN115105835A (en) | Operation method and device in game, nonvolatile storage medium and electronic device | |
US20200164272A1 (en) | Video game processing program and video game processing system | |
CN113680062A (en) | Information viewing method and device in game | |
US12128312B2 (en) | Method and apparatus for prompting that virtual object is attacked, terminal, and storage medium | |
CN114642880A (en) | Information display method and device of virtual role | |
WO2024101451A1 (en) | Program, information processing device, method, and system | |
CN118649416A (en) | Game control method and device, electronic equipment and readable storage medium | |
JP2021176548A (en) | Program, control method, and information processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |