CN117839207A - Interaction control method and device in game, electronic equipment and readable storage medium - Google Patents

Interaction control method and device in game, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN117839207A
CN117839207A CN202311747846.7A CN202311747846A CN117839207A CN 117839207 A CN117839207 A CN 117839207A CN 202311747846 A CN202311747846 A CN 202311747846A CN 117839207 A CN117839207 A CN 117839207A
Authority
CN
China
Prior art keywords
game
interface
control
cursor
virtual
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.)
Pending
Application number
CN202311747846.7A
Other languages
Chinese (zh)
Inventor
李云鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202311747846.7A priority Critical patent/CN117839207A/en
Publication of CN117839207A publication Critical patent/CN117839207A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an interaction control method, an interaction control device, electronic equipment and a computer readable storage medium in a game, wherein the method comprises the following steps: displaying a game interface of a game, wherein a game cursor is not displayed in the game interface; responding to display operation for a menu interface, and displaying the menu interface and the game cursor in the game interface; the menu interface is used for providing at least one first virtual control in the game interface, and the game cursor is used for selecting the first virtual control. The method can reduce the operation and learning cost of the player for the game, lighten the memory burden of the player and improve the game experience of the player.

Description

Interaction control method and device in game, electronic equipment and readable storage medium
Technical Field
The present invention relates to the field of computers, and in particular, to a method and apparatus for interactive control in a game, an electronic device, and a computer readable storage medium.
Background
In some PC (Personal Computer) games, it is often desirable to hide the mouse cursor displayed in the game interface, so that the player is better immersed in the game environment. When the player needs to click on each UI control (User Interface Control) in the game interface, the player exhales a cursor through a shortcut key or other modes and displays the cursor in the game interface, so that the player can click on each UI control through a mouse to play the game.
However, according to the method, the player needs to additionally learn how to hide and display the mouse cursor, or memorize the shortcut keys corresponding to the UI controls, so that the operation learning cost and the memory burden of the player are increased.
It should be noted that the information disclosed in the foregoing background section is only for enhancing understanding of the background of the present application and thus may include information that does not form the prior art that is already known to those of ordinary skill in the art.
Disclosure of Invention
In view of this, the present application provides an interactive control method, apparatus, electronic device, and computer readable storage medium in a game, which can reduce the operation learning cost of a player for the game, reduce the memory burden of the player, and improve the game experience of the player.
In a first aspect, an embodiment of the present application provides an interaction control method in a game, where the method includes:
displaying a game interface of a game, wherein a game cursor is not displayed in the game interface;
responding to display operation for a menu interface, and displaying the menu interface and the game cursor in the game interface; the menu interface is used for providing at least one first virtual control in the game interface, and the game cursor is used for selecting the first virtual control.
In a second aspect, an embodiment of the present application provides an interaction control apparatus in a game, including: a first display unit and a second display unit;
the first display unit is used for displaying a game interface of a game, and a game cursor is not displayed in the game interface;
the second display unit is used for responding to the display operation of the menu interface and displaying the menu interface and the game cursor in the game interface; the menu interface is used for providing at least one first virtual control in the game interface, and the game cursor is used for selecting the first virtual control.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a processor; and
a memory for storing a data processing program, the electronic device being powered on and executing the program by the processor, to perform the method as in the first aspect.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium storing a data processing program for execution by a processor to perform a method as in the first aspect.
According to the interactive control method in the game, a game interface of the game is displayed through a display screen of the electronic equipment, the game interface comprises at least one first virtual control, and each first virtual control is resident in the game interface and displayed; that is, each of the first virtual controls is not displayed hidden along with the switching of the game scene in the game, and in addition, the game cursor is not displayed in the game interface, it can be understood that the game cursor may represent a graphic element of the player for the control position of the game interface, for example, the game cursor is a graphic element displayed in the game interface corresponding to the external input device mouse of the electronic device. In response to a display operation for the menu interface, displaying the menu interface and a cursor in the game interface; the menu interface is used for providing at least one second virtual control in the game interface, and the player can be helped to select the first virtual control or the second virtual control through the cursor so as to execute game logic corresponding to the first virtual control or the second virtual control.
Therefore, the display operation of the cursor and the display operation of the menu interface are combined into a whole through the method, and compared with the method for respectively setting the shortcut keys for the two functions of displaying the menu interface and the cursor in the related art, the method has the advantages that after learning the display operation for the menu interface, a player can realize the simultaneous display of the menu interface and the cursor, the operation and learning cost of the player in a game is reduced, and the memory burden of the player is lightened; meanwhile, the method can reduce the occupation of the shortcut key, and is convenient for expanding the core game function in the game design stage.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments of the present application will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an example of a game system for implementing an interactive control method in a game according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating an example of an interactive control method in a game according to an embodiment of the present application;
FIG. 3 is a schematic diagram illustrating an example of a menu interface and a game cursor according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of another example of a menu interface and a game cursor according to an embodiment of the present disclosure;
FIG. 5 is a schematic illustration of an example of highlighting a second virtual control according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram illustrating an example of a game cursor moving according to a control operation according to an embodiment of the present application;
FIG. 7 is a schematic diagram of an example of a display of a target virtual control according to a cursor position of a game cursor according to an embodiment of the present application;
FIG. 8 is a schematic diagram of another example of a display of a target virtual control according to a cursor position of a game cursor according to an embodiment of the present application;
fig. 9 is a schematic display diagram illustrating an example of displaying interface content corresponding to a target virtual control according to an operation on the target virtual control provided in an embodiment of the present application;
FIG. 10 is a schematic structural diagram of an example of an interactive control device in a game according to an embodiment of the present application;
fig. 11 is a block diagram of an electronic device according to an embodiment of the present application for implementing an interactive control method in a game.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is, however, susceptible of embodiment in many other ways than those herein described and similar generalizations can be made by those skilled in the art without departing from the spirit of the application and the application is therefore not limited to the specific embodiments disclosed below.
It should be noted that the terms "first," "second," "third," and the like in the claims, specification, and drawings herein are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. The data so used may be interchanged where appropriate to facilitate the embodiments of the present application described herein, and may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and their variants 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.
It should be understood that in embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or" is merely an association relationship describing an association object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship. "comprising A, B and/or C" means comprising any 1 or any 2 or 3 of A, B, C.
It should be understood that in the embodiments of the present application, "B corresponding to a", "a corresponding to B", or "B corresponding to a", means that B is associated with a, from which B may be determined. Determining B from a does not mean determining B from a alone, but may also determine B from a and/or other information.
Before describing in detail the interactive control method in the game provided in the present application, first, related concepts related to the embodiments of the present application will be described.
1. Hand tour: an electronic game running on a mobile terminal, such as a game that may be run on a mobile terminal such as a smart phone or tablet.
2. End-stream: electronic games running on non-mobile terminals such as computers (desktop or notebook) typically require games that are controlled by a keyboard, mouse, or joystick.
3. A mouse: is an external input device of computer equipment and is also an indicator for positioning the longitudinal and transverse coordinates on a computer display screen.
4. A cursor: the graphic elements corresponding to the mouse and displayed on the computer display screen represent the positions of the mouse on the screen. When the player moves the mouse, the cursor will also move correspondingly on the screen. In the embodiment of the present application, a cursor displayed in a game is referred to as a game cursor.
Before describing the embodiments of the present application in detail, the related art will be further described first.
In some PC (Personal Computer) games, the mouse cursor displayed in the game interface is hidden, so that the player can be better immersed in the game environment. When the player needs to click on each UI control (User Interface Control) in the game interface, the player exhales a cursor through a shortcut key or other modes and displays the cursor in the game interface, so that the player can click on each UI control through a mouse to play the game. In the method, the player needs to additionally learn how to carry out hiding operation and display operation of the mouse cursor, so that the operation learning cost of the player is increased.
Further, different game functions can be set for the mouse through whether the cursor is displayed or not. For example, in the case of a hidden cursor, the player can realize the view angle switching of the controlled virtual character by sliding the mouse; under the condition of cursor display, the triggering operation of each UI control can be realized through the mouse, and the function of visual angle switching can not be realized. For such games, if the cursor is resident in the game interface, the function of rapidly switching the viewing angle through the mouse cannot be realized. The player needs to additionally learn how to perform the hiding operation and the displaying operation of the mouse cursor to realize different game functions in the game, which increases the operation learning cost of the player.
Alternatively, in some games, the display cursor may be completely hidden, i.e., not displayed in the game interface. For such games, under the condition of realizing the game function of rapidly switching the view angle through a mouse, corresponding shortcut keys are required to be configured for all UI controls in a game interface so as to realize game logic corresponding to the UI controls through the shortcut keys. However, the number of shortcut keys of the current electronic device is limited, and the game function cannot be well expanded.
Alternatively, in some games, the cursor may be displayed on the game interface, in which case, the game view angle cannot be switched by shaking the mouse, and the game scene needs to be dragged by the mouse to achieve the view angle switching. This reduces the operational sensitivity of the player in a game in which the game is more vigorous, reducing the game experience of the player.
Or, for part of the hand tour running on the mobile terminal, when the player operates on the display screen through the touch pen or the finger, when the target object operated by the player is small, or when the user wants to precisely position a specific position, the operation difficulty is high only through the touch pen or the finger, and the user requirement is difficult to meet.
Based on the above-mentioned problems, embodiments of the present application provide a method, an apparatus, an electronic device, and a computer-readable storage medium for controlling interaction in a game.
The interaction control method in the game provided by the embodiment of the application can be executed by electronic equipment, and the electronic equipment can be a terminal or a server and other equipment. The terminal can be a non-mobile terminal device such as a notebook computer, a desktop computer and the like. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs, basic cloud computing services such as big data and artificial intelligence platforms, and the like.
In an alternative embodiment, the terminal device stores the game application when the interactive control method in the game is run on the terminal device. The terminal device interacts with the player through a graphical user interface. The manner in which the terminal device provides the graphical user interface to the player may include a variety of ways, for example, the graphical user interface may be rendered for display on a display screen of the terminal device, or presented by holographic projection.
In an alternative embodiment, when the interactive control method in the game is run on a server, the method may be implemented and executed based on a cloud game system. Cloud gaming systems refer to gaming modalities based on cloud computing. The cloud game system comprises a server and client equipment. The running main body of the game application program and the game picture presentation main body are separated, and the storage and running of the interaction control method in the game are completed on a server. The game screen presentation is completed at a client, and the client is mainly used for receiving and sending game data and presenting the game screen, for example, the client may be a display device with a data transmission function near the player side, such as a television, a desktop computer, a notebook computer, a personal digital assistant, a head-mounted display device, etc., but the terminal device for processing the game data is a cloud server. When playing the game, the player operates the client to send an instruction to the server, the server controls the game to run according to the instruction, codes and compresses data such as game pictures and the like, the data is returned to the client through a network, and finally, the game pictures are decoded and output through the client.
It should be noted that in the embodiment of the present application, the execution body of the interaction control method in the game may be a terminal device or a server, where the terminal device may be a local terminal device or a client device in the aforementioned cloud game. The embodiment of the application does not limit the type of the execution body.
By way of example, in connection with the above description, fig. 1 illustrates a gaming system 1000 for implementing an interactive control method in a game provided in an embodiment of the present application, the gaming system 1000 may include at least one terminal 1001, at least one server 1002, at least one database 1003, and a network. The terminal 1001 held by the player may be connected to a server of a different game through a network. A terminal is any device having computing hardware capable of supporting software application tools corresponding to executing a game.
In the above-described game system 1000, the terminal 1001 is used to install and run a game application, and in some cases, the game application may not be installed in advance in the terminal 1001, and a player may directly access to enter a game through a client such as a browser. And the player logs in the game application program by using the registered game account number, and can control the virtual character corresponding to the game account number to participate in the game. When a player logs in to a game application, terminal 1001 sends a login request to server 1002, server 1002 verifies the game account number used by the player, and server 1002 determines the game mechanism corresponding to the game account number according to the login request, and the verification passes returns a login success notification to terminal 1001. During the game of a player through a game application, data interaction is performed between the terminal 1001 and the server 1002, the terminal 1001 transmits various information to the server 1002, the server 1002 determines display data of the terminal 1001 according to a stored game mechanism and the received information, and transmits the display data to the terminal 1001 to show the display data transmitted by the server 1002 to the player through the terminal 1001.
In a possible application scenario, different terminals 1001 may be served by different servers 1002, and thus in order to distinguish between the servers 1002 corresponding to the different gaming terminals 1001, the description will be made in the first and second manners hereinafter. In practice, the servers 1002 corresponding to the different gaming terminals 1001 may be the same server 1002. It can be understood that the terminals 1001 corresponding to the virtual characters located in the same game scene are served by the same server 1002 without distinguishing the first and second.
In addition, when the game system 1000 includes a plurality of terminals, a plurality of servers, a plurality of networks, different terminals may be connected to each other through different networks, through different servers. The network may be a wireless network or a wired network, such as a Wireless Local Area Network (WLAN), a Local Area Network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc. In addition, the different terminals may be connected to other terminals or to a server or the like using their own bluetooth network or hotspot network. In addition, the system 100 may include multiple databases coupled to different servers and information related to the game may be continuously stored in the databases as different players play the multiplayer game online.
It should be noted that, in the embodiment of the present application, when the electronic device is a server, displaying the game interface through the display screen of the electronic device may be understood as displaying the game interface through the display screen of the terminal device corresponding to the server.
It should be noted that, the schematic game system shown in fig. 1 is only an example, and the game system 1000 described in the embodiment of the present application is for more clearly describing the technical solution of the embodiment of the present application, and does not constitute a limitation to the technical solution provided in the embodiment of the present application, and those skilled in the art can know that, with the evolution of the game system and the appearance of a new service scenario, the technical solution provided in the embodiment of the present application is equally applicable to similar technical problems.
The technical scheme of the present application is described in detail below through specific embodiments. It should be noted that the following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 2 is a flowchart of an example of an interactive control method in a game according to an embodiment of the present application, as shown in fig. 2. It should be noted that the steps shown may be performed in a different logical order than that shown in the method flow diagram. The method may include the following steps S210 to S220.
Step S210: and displaying a game interface of the game, wherein a game cursor is not displayed in the game interface.
Step S220: responding to the display operation of the menu interface, and displaying the menu interface and a game cursor in the game interface; the menu interface is used for providing at least one first virtual control in the game interface, and the game cursor is used for selecting the first virtual control.
The above game may include a hand game and an end game, and the present embodiment is not particularly limited.
In an electronic game, game interfaces including different interface contents can be presented to a player according to game progress, and the game interfaces are used for providing game scenes and various UI controls for the player, so that the player can control virtual characters in the game, acquire information and enjoy the whole game process.
The game scene can be understood as a simulation environment of a real world in a game, can be a half-simulation and half-fictional virtual environment, and can be a pure fictional virtual environment. The game scene may be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, and a three-dimensional virtual scene. A virtual scene may generally include a plurality of scene elements, which refer to individual elements required to construct the virtual scene. For example, at least one of the following may be included, but is not limited to: virtual character elements, virtual article elements, virtual building elements, virtual terrain elements, virtual vegetation elements, and the like. Wherein, the virtual topography elements can include, but are not limited to, natural topography element virtual scenes such as land, sea, lake, river, etc., as scenes where players control virtual characters to complete game logic.
The virtual control in the game interface is provided with corresponding game logic. And the player interacts with the game by controlling the virtual control, and executes game logic corresponding to the virtual control. Types of virtual controls include, but are not limited to, skill controls, prop controls, information cue controls, and the like. Such as a control to move a virtual character, a skill control to attack an enemy, a prop control to use a prop, etc. The virtual controls may be designed according to the type and play of the game to allow the player to more conveniently control the game. In the game design stage, a designer designs virtual controls to be displayed on a game interface according to game play, and the virtual controls are provided for players in the game so that the players can interact with the game.
The game cursor is a graphical element displayed in the game interface for representing the player's manipulation position with respect to the game interface, and may be used to select a virtual control displayed in the game interface. The game scene of the embodiment is a game scene in which a game cursor is not displayed in the game interface. It is to be understood that the pattern of the graphical element may include, but is not limited to, arrow form, finger form, heart form, weapon prop form in a game, and the like. The present embodiment is not particularly limited.
In a game interface, various interface contents to be displayed are usually presented in a layer, wherein the layer refers to a layered display mode in the game interface, and different contents can be placed on different layers so as to better control the display and hiding of the interface contents. Such as: in a game, a game scene may be placed on the scene layer and a virtual control may be placed on the control layer, it being understood that when a game cursor is displayed, the game cursor may be displayed in the control layer. Because virtual controls are interface elements for players to interact with the game, the display layer of the control layer on which the virtual controls are placed is typically higher than the scene layer of the game scene. That is, the display level of each first virtual control is higher than the display level of the scene picture. It should be noted that, in this embodiment, the scene picture is a game scene, and both express the same meaning.
The menu interface is an interface for integrally displaying one or more virtual controls provided with different game logics in a game. In this embodiment, each virtual control located in the menu interface is used as a first virtual control to distinguish between virtual controls located outside the menu interface.
It can be appreciated that the first virtual controls are displayed in the menu interface in a centralized manner, so that shielding of the game scene by the virtual controls can be reduced, and the visual experience of the player is better.
In the game, if the player needs to use a certain first virtual control in the menu interface, the menu interface needs to be opened and displayed in the game interface, and then the first virtual control in the menu interface is selected for control. The display operation for the menu interface is the operation of displaying the menu interface in the game interface.
It should be noted that the game scene of the game cursor is not displayed in the above game interface. Therefore, in this scenario, if the electronic device is a touch screen device such as a mobile phone, a tablet computer, or a game console, the display operation for the menu interface may include a touch operation, a shortcut operation, a space gesture operation, or a voice command operation on the game interface by any suitable object or accessory such as a finger, a stylus, or the like.
If the electronic device is a non-touch screen device such as a desktop computer or a notebook computer, touch operation on the game interface through a mouse cannot be realized to display the menu interface, at this time, the display operation for the menu interface may include triggering operation on a preset shortcut key, space gesture operation or voice command operation, and which operation mode is specifically used may be determined according to the type of the electronic device.
The shortcut key operation for the touch screen device may be a triggering operation of hardware such as a shutdown key, a volume key, etc. of the touch screen device. The shortcut key operation of the non-touch screen device may be any key on a keyboard or a mouse, and the embodiment is not particularly limited. The operation of the gesture in the space may be understood as detecting a gesture of the player by a camera of the electronic device, and if the gesture of the player is a preset gesture of displaying the menu interface, displaying the menu interface.
In summary, the menu interface may be triggered to display by triggering a preset shortcut key, a space gesture operation or a voice command, whether the touch screen electronic device or the non-touch screen electronic device is used.
It will be appreciated that, because of the higher demand for cursors in non-touch screen devices, the preferred application of the present application is a gaming system where the electronic device running the game described above is a non-touch screen device.
However, in the case where the game cursor is not displayed, the operation of each virtual control in the game interface displayed by the non-touch screen device is realized, and the player is required to memorize more shortcut keys, which increases the memory burden of the player. Therefore, in the present embodiment, in response to a display operation for a menu interface, the menu interface and the game cursor are simultaneously displayed in the above-described game interface.
According to the method, the display operation of the cursor and the display operation of the menu interface are combined, and compared with the method for setting shortcut keys for the two functions of displaying the menu interface and the cursor in the related art, a player can realize simultaneous display of the menu interface and the cursor after learning the display operation for the menu interface, and after displaying the game cursor in the game interface, the player can clearly know that the first virtual control can be selected through the game cursor, so that the operation learning cost of the player in a game is reduced, and the memory burden of the player is reduced; meanwhile, the method can reduce the occupation of the shortcut key, and is convenient for expanding the core game function in the game design stage.
In addition, when the electronic device running the method is a touch screen device, by displaying a game cursor in the game interface, a player can realize the selection of a smaller virtual control or the accurate positioning of a specific position by controlling the game cursor. The problem that the selection difficulty is high or the false touch is caused by the fact that the touch area operated by a touch pen or a finger is large is avoided.
As shown in FIG. 3, FIG. 3 provides a schematic representation of an example game interface, as shown in FIG. 3. In the game interface 300 provided in fig. 3, a game scene 100 is displayed in which a virtual character 10 controlled by a terminal device displaying the game interface 300 is included. In the control layer above the display layer of the game scene 100, first virtual controls are also displayed, which may include, for example, a thumbnail map control 11, a character attribute control 12, a setting control 13, and a game interface exit control 14. Note that a game cursor is not displayed in the game interface 300.
The thumbnail map control is used for showing the game scene to the player in a global view angle, so that the player can be helped to know the global game scene and the position of the player in the game scene; the character attribute control 12 is used to present to the player a detailed description of the virtual character 10, for example, a character story, a game level, a life value, an attack, and other game attributes of the virtual character; the setup controls 13 provide players with a game experience that allows the players to adjust various game parameters in the game according to personal preferences and needs. For example, after the setting control 13 is triggered, the player may be presented with functions such as display resolution of the game interface, game sound setting, or shortcut key adjustment; the game interface exit control 14 is used to provide the player with the ability to exit the currently displayed game interface. In general, the virtual space can be resident in a game interface for being convenient for a player to control.
As shown in fig. 3, in the case of displaying the game interface 300, assuming that the display operation for the menu interface is the trigger operation for the shortcut key "ESC", the game interface 300 is switched to be displayed as the game interface 301, the menu interface 400 and the game cursor 20 are displayed in the game interface 301, and the character attribute control 12, the setting control 13, and the game interface exit control 14 displayed in the game interface 300 are displayed hidden. Wherein the game cursor 20 is in the form of an arrow; menu interface exit control 15, prop knapsack control 16, mailbox control 17, buddy list control 18, setup control 13, chat control 19, and character identification control 21 for virtual character 10 are displayed in menu interface 400.
The prop knapsack control 16 is used for providing the player with a function of showing game resources in each game owned by the player in the game, for example, after the prop knapsack control 16 is triggered, a series of virtual resources such as weapons, clothes, liquid medicine and the like acquired by the player in the game can be shown; mailbox control 17 is used to provide the player with the ability to receive and view system messages, notifications, or other social information in the game; the buddy list control 18 is used to provide the player with the functionality to show the player's buddy list in the game; chat control 19 is used to provide the player with the ability to chat with the remaining game players in the game.
It can be seen that, after the game cursor 20 is displayed in the game interface 301, the player easily perceives that the controls in the game interface 301 can be operated by the mouse, so that the learning cost of how the player learns in the game to select the operations of the first virtual controls through the shortcut keys is reduced, and the memory burden of the player is reduced.
Some optional embodiments provided in the present application are described in detail below.
For the technical solution in fig. 3, when the game interface 301 is displayed, the character attribute control 12, the setting control 13 and the game interface exit control 14 displayed in the game interface 300 are hidden, and when the player needs to view the character attribute of the virtual character 10, the player needs to first exit the menu interface 400 to view through the character attribute control 12 in the game interface 300, which is inconvenient for the player to operate.
Therefore, in an alternative embodiment, the game interface further includes at least one second virtual control, and when the player does not perform the display operation of the menu interface, for each second virtual control in the game interface, the player needs to memorize the shortcut key corresponding to each second virtual control, which places a memory burden on the player. The interactive control method in the above game may further include the following step S230 to solve the above problems.
Step S230: and adjusting the display position of each second virtual control according to the interface layout mode indicated by the display operation of the menu interface so that the display position of the menu interface in the game interface is not overlapped with the display position of each second virtual control.
It will be appreciated that the second virtual control displayed in the game interface is located in the control layer. And the second virtual control may reside in the above-described game interface without being affected by the display of the models in the game scene, i.e., the second virtual control is always visible in the game interface regardless of the change in the shooting position or shooting angle of the virtual camera. For example, the second virtual control may include, but is not limited to, a setup control in a game, a game interface exit control, a character attribute control, a game task control, a course control, a screen capture control, and the like. The type of the second virtual control is not particularly limited in this embodiment, and is different for different game types, where the virtual control is displayed above the game scene. The display level of each second virtual control is higher than the display level of the scene picture.
It should be noted that the game logic corresponding to each first virtual control in the menu interface may be the same as the game logic corresponding to the second virtual control. That is, the second virtual control may also be displayed in the menu interface, for example, the first virtual control such as a setting control, a character attribute control, a game task control, a course control, a screen capturing control, and the like is displayed in the menu interface. Or the game logic corresponding to the first virtual control is different from the game logic corresponding to the second virtual control. The present embodiment is not particularly limited to the kind of the second virtual control that is resident displayed in the game interface and the kind of the first virtual control that is displayed in the menu interface. The first and second are used only to distinguish between the display positions of the virtual controls.
Optionally, when a second virtual control with the same game logic as that corresponding to the first virtual control exists in the second virtual control, the second virtual control can be hidden and displayed when the display position of each second virtual control is adjusted, so that the occupation of the virtual control with the same game logic to the game interface is reduced.
The interface layout mode is a preset layout mode associated with the display operation of the menu interface, and the principle of the layout mode is that the display position of the menu interface in the game interface is not overlapped with the display position of each second virtual control, and the specific position of each second virtual control after adjustment is not particularly limited in this embodiment. Therefore, under the condition of displaying the game cursor, the player can select the first virtual control without exiting the menu interface, and the operation mode of the player is simplified.
As shown in fig. 4, fig. 4 provides a schematic display of another example menu interface. In the case of displaying the game interface 300 through the display screen of the electronic device, assuming that the display operation for the menu interface is the trigger operation for the shortcut key "ESC", the menu interface 400 and the game cursor 20 are displayed in the game interface 302 shown in fig. 4, which is different from the game interface 301 shown in fig. 3 in that the character attribute control 12, the setting control 13, and the game interface exit control 14, which are originally located above the game interface 300, are adjusted to the left side of the game interface 302 in the game interface 302 for presentation. In this way, the player can select the character attribute control 12, the setup control 13, and the game interface exit control 14 via the game cursor without exiting the menu interface 400.
Under the condition that the game cursor is not displayed and the electronic device is a non-touch screen device, the player is difficult to think that each second virtual control displayed on the game interface can be touched, so that the player needs to learn how to display the game cursor through the shortcut key or how to control each second virtual control through the shortcut key, and the operation learning cost and the memory burden of the player are increased. And the display positions of the second virtual controls are adjusted and the game cursors are displayed, so that a player can more easily think that the second virtual controls can be controlled when seeing the displayed game cursors, and the game experience of the player is improved.
In an alternative embodiment, after adjusting the display position of each of the first virtual controls, each of the first virtual controls is highlighted. Therefore, the player can quickly recognize that the first virtual control is included in the game interface besides the second virtual controls in the menu interface, the attention of the player is attracted, the player can better think that the first virtual control in the game interface can be touched, and the usability of the game interface and the game experience of the player are improved.
Highlighting refers to displaying the first virtual control in a different manner than the current first virtual control. Highlighting may include one or more of the following exemplary display modes: highlighting, stroking, control style adjustment, or strobing. Highlighting refers to displaying the display brightness of the first virtual control after the display position is adjusted at a brightness exceeding the original display brightness. The description display refers to thickening display or display with preset color of the frame of the first virtual control after the display position is adjusted. The control style adjustment display refers to that the control display style after the display position adjustment is different from the original control display style, for example, the square control is adjusted to be a round control, that is, the control display style with different shapes is used for distinguishing the first virtual control before the display position adjustment and the first virtual control after the display position adjustment. The stroboscopic display means that the first virtual control after the display position is adjusted in a preset time flashes according to a preset frequency. In this embodiment, the first virtual control after the position adjustment is exemplarily described by using a description display as an example.
As shown in FIG. 5, FIG. 5 provides a schematic display of another example menu interface. In the case of displaying the game interface 300 through the display screen of the electronic device, assuming that the display operation for the menu interface is the trigger operation for the shortcut key "ESC", the menu interface 400 and the game cursor 20 are displayed in the game interface 303 shown in fig. 5, which is different from the game interface 302 shown in fig. 3 in that the borders of the character attribute control 12, the setting control 13, and the game interface exit control 14, which are originally located in the game interface 301, are displayed in the game interface 303 from black to gray.
In this way, the player can quickly recognize that the first virtual control is included in the game interface 303 in addition to the second virtual controls in the menu interface 400, so that the player can better think that the first virtual control in the game interface 303 can be touched, and the usability of the game interface and the game experience of the player are improved.
In an alternative embodiment, after displaying the game cursor, the player may control the game cursor to manipulate the first virtual control or the second virtual control. Specifically, the method further includes the following step S250 and step S260.
Step S250: after the game cursor is displayed, in response to a control operation for the game cursor, the first virtual control or the second virtual control selected by the control operation is determined as a target virtual control.
It can be appreciated that the target virtual control is one or more of the first virtual controls selected by the player through the game cursor, or one or more of the second virtual controls. The number of target virtual controls is not particularly limited in this embodiment.
With reference to the foregoing, when the electronic device is a touch screen device, the control operation for the game cursor is a touch operation for the game interface, for example, a click operation, a sliding operation, or a pressing operation for the game interface through a medium such as a finger or a stylus. When the electronic device is a non-touch screen device, the above control operation for the game cursor is the operation of controlling the game cursor through external devices such as a mouse and a keyboard.
In an alternative embodiment, the step S250 may be implemented by the following steps S251 to S253.
Step S251: and controlling the game cursor to move in the game interface in response to the control operation of the game cursor.
Step S252: and when the cursor position, indicated by the control operation, of ending moving of the game cursor is positioned in the control operation area corresponding to the first virtual control, determining the first virtual control as the target virtual control.
Step S253: and when the cursor position is positioned in a control operation area corresponding to the second virtual control, determining the second virtual control as the target virtual control.
In a specific embodiment, in response to a control operation for the game cursor, the game cursor may be controlled to move in the game interface along a sliding track corresponding to the control operation, where the moving track of the game cursor is matched with the sliding track.
For example, the player can control the mouse to perform sliding operation in any direction, and accordingly, the game cursor can move in the game interface along the sliding track of the mouse according to the preset mapping relation. The preset mapping relationship can be understood as a mapping relationship between a sliding direction of the mouse and a sliding direction of the game cursor, and a mapping relationship between a sliding distance of the mouse and a moving distance of the game cursor in the game interface. For example, when the player controls the mouse to slide 1 cm to the right, the game cursor may be moved 1 pixel to the right in the game interface. Alternatively, the player may slide the finger 1 pixel to the right in the game interface, and the game cursor may slide 5 pixels to the right following the sliding track of the player's finger to the right. As shown in fig. 6, when the electronic device is a touch screen device, in the game interface 303, a control operation of a player's finger on the cursor in the game interface is a sliding operation of sliding along a sliding track indicated by a broken line 21-1, and a movement track of a game cursor movement associated therewith is a movement track indicated by a broken line 21-1.
The cursor position is the position of the game cursor after stopping moving. In the present embodiment, the cursor position of the game cursor may be represented according to coordinate values in a screen coordinate system previously established for the game interface. Namely, the cursor position of the game cursor corresponds to the coordinate value in the screen coordinate system one by one. The screen coordinate system provided in the embodiment of the present application has X, Y two axes, and thus, the cursor position of the game cursor can also be understood as a two-dimensional vector. For example, the cursor position after the game cursor stops moving may be represented as (3, 4), that is, it may be represented that the game cursor is located at a position of (3, 4) coordinate values in the screen coordinate system.
It may be appreciated that the electronic device may execute game logic corresponding to the virtual control by responding to a triggering operation of the player on the virtual control in the game interface. Therefore, a control operation area corresponding to each virtual control needs to be preset in the game interface, so that a player can trigger and execute game logic corresponding to the virtual control through triggering operation of the control operation area, namely, the player can realize interaction of the game logic corresponding to the virtual control through the control operation area.
Therefore, the control operation area corresponding to the first virtual control and the control operation area corresponding to the second virtual control can be understood as an area which is preset in the game interface and used by the player to trigger the first virtual control or the second virtual control.
It should be noted that, the control operation area corresponding to the first virtual control and the control operation area corresponding to the second virtual control may include a display area of each virtual control in the game interface, or may also include a preset specific area capable of selecting the first virtual control or the second virtual control in the game interface, for example, a player may implement selection of the first virtual control or the second virtual control by controlling a movement position where the game cursor ends to move to be located at a lower left part or a lower left half part of the game interface. In this case, even if the movement position where the player does not control the game cursor to end moving does not exactly coincide with the display area of the virtual control, the selection of the first virtual control or the second virtual control can be realized as long as the movement position is located in a specific area where the first virtual control or the second virtual control can be selected.
As shown in fig. 6, in the game interface 303, when the game cursor 20 moves along the movement locus indicated by the broken line 21 and moves to the display position where the setting control 13 is located, it means that the setting control 13 is determined as the target virtual control. The arrow in the gray filled state in fig. 6 represents the game cursor 20 moving to the setting control 13.
In connection with the game interface 303 in fig. 5, as shown in fig. 7, when the game cursor 20 moves along the movement track indicated by the dotted line 21 and stops at the control operation area 22 corresponding to the setting control 13 in the game interface 303, determining the setting control 13 as the target virtual control is indicated. The arrow in the gray filled state in fig. 7 indicates the game cursor 20 moved to the setting control 13, and the dotted line box indicates the control operation area corresponding to the setting control 13. It should be noted that, the game cursor 20 moves along the movement track indicated by the dashed line 21, and the cursor position after the movement is completed does not coincide with the display area of the setting control 13, and the selection of the setting control 13 can be implemented only in the control operation area corresponding to the setting control.
Alternatively, as shown in fig. 8, when the game cursor 20 moves along the movement track indicated by the dotted line 23 and moves to the control operation area 24 corresponding to the character attribute control 12 in the game interface 303, the determination of the character attribute control 12 as the target virtual control is indicated. The arrow in the gray filled state in fig. 8 represents the game cursor 20 moving to the control operation area 24.
Alternatively, assuming that the control operation area 24 in fig. 8 is a control operation area where the character attribute control 12 and the setting control 13 simultaneously correspond, when the game cursor is moved to the control operation area 24, the character attribute control 12 and the setting control 13 may be simultaneously determined as target virtual controls.
After determining the target virtual control in the above manner, the following step S260 may be performed.
Step S260: and responding to the triggering operation aiming at the target virtual control, and displaying the interface content corresponding to the target virtual control.
It can be understood that the interface content corresponding to the target virtual control is an interface element to be displayed in the game logic corresponding to each virtual control. In an optional embodiment, the interface content displayed corresponding to the target virtual control may be displayed in the game interface as interface content of the game interface, that is, content is added to the original game interface; or switching the game interface to the game interface corresponding to the target virtual control for display, namely selecting one of the original game interface and the game interface corresponding to the target virtual control for display. The present embodiment is not particularly limited with respect to the above display modes.
For example, in connection with the above example and fig. 7, when the target virtual control is the setting control 13, when the player applies a trigger operation to the target virtual control, the electronic device may respond to the trigger operation, as shown in fig. 9, switch and display the game interface 303 as a setting interface 304 corresponding to the setting control 13, where the setting interface 304 includes, but is not limited to, the image quality setting control 24, the sound effect setting control 25, the control mode setting control 26, and the like. Wherein, the image quality setting control 24 is used for adjusting the image quality and special effect of the game to obtain better visual effect; the sound effect setting control 25 is used for adjusting the sound effect and music of the game to obtain better hearing effect; the control mode setting control 26 is used to adjust the game control mode, such as touch screen, virtual rocker, or gravity sensing, to obtain a better operation experience.
In an alternative embodiment, the following step S270 may be further included.
Step S270: after the game cursor is displayed, the game cursor and the menu interface are hidden and displayed.
Hidden display may be understood as a method of controlling the visibility state of an interface element in a game interface, where hiding a game cursor is removing the game cursor from the game interface so that the game cursor is not visible. In this way, the player's game immersion may be enhanced and the player may be facilitated to trigger game logic in a state where the game cursor is not visible.
In an alternative embodiment, the menu interface and the game cursor are displayed in a hidden manner in response to a hidden display operation for the menu interface; or, in response to the display duration of the menu interface meeting the preset duration, and if control over the menu interface or the game cursor is not detected, hiding and displaying the menu interface and the game cursor.
It may be appreciated that the above hidden display operation for the menu interface may include a triggering operation for the menu interface exit control, where the triggering operation may include a touch operation, a shortcut key operation, a voice command operation, or a space gesture operation, and the embodiment is not specifically limited.
In the embodiment, the display and the hiding of the menu interface are associated with the display and the hiding of the game cursor, and the display and the hiding of the menu interface and the game cursor are simultaneously displayed or simultaneously hidden, so that the occupation of the shortcut key is reduced, and the operation and learning cost of a player is reduced. For example, referring to FIG. 4, when a player triggers the menu interface exit control 15, the menu interface 400 is displayed hidden along with the game cursor 20 to display the game interface 300 shown in FIG. 4.
Or when the display time length of the menu interface or the game cursor meets the preset time length, and the control on the menu interface or the game cursor is not detected, the game cursor and the menu interface are hidden and displayed. For example, the preset duration is 1 minute, and if the player leaves the position and does not control the game cursor and the menu interface within the 1 minute, the game cursor and the menu interface may be hidden and displayed after the menu interface or the display duration of the game cursor satisfies 1 minute.
In an optional embodiment, the game interface further includes a first scene picture shot by the virtual camera at a first shooting view angle; under the condition that the game cursor is displayed in a hidden mode, responding to the visual angle adjusting operation, adjusting the shooting visual angle of the virtual camera from a first shooting visual angle to a second shooting visual angle, and displaying a second scene picture shot by the virtual camera in the process of adjusting the shooting visual angle from the first shooting visual angle to the second shooting visual angle.
It will be appreciated that this embodiment is useful for providing players with scene pictures of different perspectives with adjustments to the virtual camera shooting perspective with the game cursor hidden from view. The scene picture is the content of part of the game scene shot by the virtual camera.
When the electronic device is a touch screen device, the adjustment of the shooting visual angle of the virtual camera can be achieved through sliding operation of the game interface. The sliding distance corresponding to the sliding operation is correlated with the rotation angle of the photographing angle of view. For example, if the sliding distance corresponding to the sliding operation is 1 pixel, the photographing angle of view of the virtual camera is controlled to be rotated by 15 °.
When the electronic device is a non-touch screen device, if the game cursor is displayed, the manner of sliding the mouse cannot conveniently identify when to control the game cursor and when to control the shooting visual angle of the virtual camera. In this case, it is generally set that the drag of the game interface is achieved by pressing the left or right button of the mouse, thereby achieving adjustment of the shooting angle of view of the virtual camera. However, this method is suitable for a game type in which the fight is not intense, and if the fight is intense, the method of adjusting the shooting angle of view by dragging the game interface is not sensitive, and the operation experience of the player is reduced.
Therefore, in the present embodiment, in the case of hidden display of the game cursor, adjustment of the shooting angle of view of the virtual camera can be achieved by a sliding operation of the mouse or a clicking operation of a preset shortcut key in the keyboard. It is understood that the slide parameter of the slide operation of the mouse is associated with the rotation parameter of the photographing angle of view. The sliding parameters may include, but are not limited to, sliding distance, sliding direction, then the rotation parameters associated therewith are rotation direction and rotation distance, respectively. For example, in the case of a hidden display of a game cursor, by sliding the mouse by 1cm to the right, the shooting angle of view of the virtual camera is rotated 15 ° to the right. For another example, in the case of hidden display of the game cursor, clicking the right key of the key in the upper direction of the keyboard can realize that the shooting angle of view of the virtual camera rotates to the right, for example, every 1 click, the shooting angle of view of the virtual camera can rotate by 15 °.
The quick adjustment of the shooting visual angle of the virtual camera can be realized through the quick sliding operation of the mouse, so that the immersion of a player in a game can be improved, the operation efficiency of the player can be improved, the player can be helped to better observe the game environment, and in addition, the visual fatigue of the player can be reduced through the quick adjustment of the shooting visual angle.
The broken lines shown in fig. 3 to 9 are lines that are imaginary for easy understanding, and these broken lines are not present on the game interface displayed on the display interface of the electronic device.
Thus, the method provided by the embodiment is described, and the method combines the display operation of the cursor and the display operation of the menu interface, compared with the method of setting shortcut keys for the two functions of displaying the menu interface and the cursor in the related art, the player can realize the simultaneous display of the menu interface and the cursor after learning the display operation for the menu interface, and after displaying the game cursor in the game interface, the player can clearly know that the first virtual control can be selected through the game cursor, thereby reducing the operation learning cost of the player in the game and lightening the memory burden of the player; meanwhile, the method can reduce the occupation of the shortcut key, and is convenient for expanding the core game function in the game design stage.
In addition, when the electronic device running the method is a touch screen device, by displaying a game cursor in the game interface, a player can realize the selection of a smaller virtual control or the accurate positioning of a specific position by controlling the game cursor. The problem that the selection difficulty is high or the false touch is caused by the fact that the touch area operated by a touch pen or a finger is large is avoided.
Corresponding to the method for controlling interaction in a game provided in the embodiment of the present application, the embodiment of the present application further provides an apparatus 500 for controlling interaction in a game, as shown in fig. 10, the apparatus 500 includes: a first display unit 501 and a second display unit 502;
the first display unit 501 is configured to display a game interface of a game, where a game cursor is not displayed in the game interface;
the second display unit 502 is configured to display, in response to a display operation for a menu interface, the menu interface and the game cursor in the game interface; the menu interface is used for providing at least one first virtual control in the game interface, and the game cursor is used for selecting the first virtual control.
Optionally, the game interface further provides at least one second virtual control, and each second virtual control is resident and displayed in the game interface;
the apparatus 500 further comprises a position adjustment unit 503;
and a position adjustment unit 503, configured to adjust, according to the interface layout manner indicated by the display operation for the menu interface, a display position of each second virtual control, so that the display position of the menu interface in the game interface does not overlap with the display position of each second virtual control.
Optionally, the apparatus 500 further includes a control selection unit 504;
a control selection unit 504, configured to, after displaying the game cursor, determine, in response to a control operation for the game cursor, a first virtual control or a second virtual control selected by the control operation as a target virtual control;
the second display unit 502 is further configured to respond to a triggering operation for the target virtual control, and display interface content corresponding to the target virtual control.
Optionally, the control selection unit 504 is specifically configured to control the game cursor to move in the game interface in response to a control operation for the game cursor; when the cursor position, indicated by the control operation, at which the game cursor finishes moving is located in a control operation area corresponding to the first virtual control, determining the first virtual control as the target virtual control; and when the cursor position is positioned in a control operation area corresponding to the second virtual control, determining the second virtual control as the target virtual control.
Optionally, the control selection unit 504 is specifically further configured to, in response to a control operation for the game cursor, control the game cursor to move in the game interface along a sliding track corresponding to the control operation, where a moving track of the game cursor is matched with the sliding track.
Optionally, the second display unit 502 is further configured to hide and display the game cursor and the menu interface after displaying the game cursor.
Optionally, the second display unit 502 is specifically further configured to, in response to a hidden display operation for the menu interface, hide and display the game cursor and the menu interface; or, in response to the display duration of the menu interface meeting the preset duration, and if control over the menu interface or the game cursor is not detected, hiding and displaying the game cursor and the menu interface.
Optionally, the game interface further includes a first scene picture shot by the virtual camera at a first shooting view angle; the apparatus 500 further includes a viewing angle adjusting unit 505;
and a view angle adjusting unit 505, configured to adjust, in response to a view angle adjustment operation, a shooting view angle of the virtual camera from a first shooting view angle to a second shooting view angle, and display a second scene picture obtained by shooting during the process of adjusting the virtual camera from the first shooting view angle to the second shooting view angle, when the game cursor is displayed in a hidden manner.
Optionally, the second display unit 502 is further configured to highlight each of the first virtual controls after adjusting a display position of each of the first virtual controls.
Optionally, the display level of each of the first virtual control and each of the second virtual control is higher than the display level of the scene picture in the game interface.
Optionally, the game logic corresponding to each first virtual control is different from the game logic corresponding to each second virtual control.
Optionally, the second display unit 502 is further configured to hide and display, when there is a second virtual control in each second virtual control, where the second virtual control has a corresponding game logic that is the same as a game logic corresponding to each first virtual control, the second virtual control has a corresponding game logic that is the same as a game logic corresponding to each first virtual control.
Corresponding to the method for controlling interaction in a game provided in the embodiment of the present application, the embodiment of the present application further provides an electronic device for implementing the method for controlling interaction in a game, as shown in fig. 11, where the electronic device includes: a processor 601; and a memory 602 for storing a program of an interactive control method in a game, the apparatus, after being powered on and running the program of the interactive control method in a game by a processor, performs the steps of:
displaying a game interface of a game, wherein a game cursor is not displayed in the game interface;
Responding to display operation for a menu interface, and displaying the menu interface and the game cursor in the game interface; the menu interface is used for providing at least one first virtual control in the game interface, and the game cursor is used for selecting the first virtual control.
Corresponding to the method for controlling interaction in a game provided in the embodiment of the present application, the embodiment of the present application further provides a computer readable storage medium storing a program for controlling interaction in a game, the program being executed by a processor to perform the steps of:
displaying a game interface of a game, wherein a game cursor is not displayed in the game interface;
responding to display operation for a menu interface, and displaying the menu interface and the game cursor in the game interface; the menu interface is used for providing at least one first virtual control in the game interface, and the game cursor is used for selecting the first virtual control.
It should be noted that, for the detailed description of the apparatus, the electronic device, and the computer readable storage medium provided in the embodiments of the present application, reference may be made to the related description of the embodiments of the method for controlling interaction in the game provided in the embodiments of the present application, which is not repeated here.
While the preferred embodiment has been described, it is not intended to limit the invention thereto, and any person skilled in the art may make variations and modifications without departing from the spirit and scope of the present invention, so that the scope of the present invention shall be defined by the claims of the present application.
In one typical configuration, the electronic device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
1. Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable operations, data structures, modules of the program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer readable media, as defined herein, does not include non-transitory computer readable media (transmission media), such as modulated data signals and carrier waves.
2. It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
While the preferred embodiment has been described, it is not intended to limit the invention thereto, and any person skilled in the art may make variations and modifications without departing from the spirit and scope of the present invention, so that the scope of the present invention shall be defined by the claims of the present application.

Claims (15)

1. A method of interactive control in a game, the method comprising:
displaying a game interface of a game, wherein a game cursor is not displayed in the game interface;
responding to display operation for a menu interface, and displaying the menu interface and the game cursor in the game interface; the menu interface is used for providing at least one first virtual control in the game interface, and the game cursor is used for selecting the first virtual control.
2. The method of claim 1, wherein the game interface further provides at least one second virtual control, each of the second virtual controls resident in the game interface; the method further comprises the steps of:
and adjusting the display position of each second virtual control according to the interface layout mode indicated by the display operation of the menu interface so that the display position of the menu interface in the game interface is not overlapped with the display position of each second virtual control.
3. The method according to claim 2, wherein the method further comprises:
after the game cursor is displayed, responding to a control operation for the game cursor, and determining a first virtual control or a second virtual control selected by the control operation as a target virtual control;
and responding to the triggering operation aiming at the target virtual control, and displaying the interface content corresponding to the target virtual control.
4. The method of claim 3, wherein the determining, in response to a control operation for the game cursor, the first virtual control or the second virtual control selected by the control operation as the target virtual control comprises:
Controlling the game cursor to move in the game interface in response to the control operation of the game cursor;
when the cursor position, indicated by the control operation, at which the game cursor finishes moving is located in a control operation area corresponding to the first virtual control, determining the first virtual control as the target virtual control;
and when the cursor position is positioned in a control operation area corresponding to the second virtual control, determining the second virtual control as the target virtual control.
5. The method of claim 4, wherein controlling the game cursor to move in the game interface in response to a control operation for the game cursor comprises:
and responding to the control operation of the game cursor, controlling the game cursor to move in the game interface along a sliding track corresponding to the control operation, wherein the moving track of the game cursor is matched with the sliding track.
6. The method according to any one of claims 1 to 5, further comprising:
after the game cursor is displayed, the game cursor and the menu interface are displayed in a hidden mode.
7. The method of claim 6, the hiding the game cursor and the menu interface comprising:
responding to the hidden display operation for the menu interface, and hiding and displaying the game cursor and the menu interface;
or,
and responding to the display duration of the menu interface to meet the preset duration, and if the control on the menu interface or the game cursor is not detected, hiding and displaying the game cursor and the menu interface.
8. The method of claim 6, further comprising a first scene cut taken by a virtual camera at a first viewing angle in the game interface; the method further comprises the steps of:
under the condition that the game cursor is displayed in a hidden mode, responding to an angle-of-view adjustment operation, adjusting the shooting angle of view of the virtual camera from a first shooting angle of view to a second shooting angle of view, and displaying a second scene picture shot by the virtual camera in the process of adjusting the shooting angle of view from the first shooting angle of view to the second shooting angle of view.
9. The method according to claim 1, wherein the method further comprises:
after adjusting the display position of each first virtual control, highlighting each first virtual control.
10. The method of claim 2, wherein a display level of each of the first virtual control and each of the second virtual control is higher than a display level of a scene picture in the game interface.
11. The method of claim 2, wherein the game logic corresponding to each of the first virtual controls is different from the game logic corresponding to each of the second virtual controls.
12. The method according to claim 2, wherein the method further comprises:
and under the condition that the second virtual controls with the same corresponding game logic as the game logic corresponding to the first virtual controls exist in the second virtual controls, hiding and displaying the second virtual controls with the same corresponding game logic as the game logic corresponding to the first virtual controls.
13. An interactive control device in a game, the device comprising: a first display unit and a second display unit;
the first display unit is used for displaying a game interface of a game, and a game cursor is not displayed in the game interface;
the second display unit is used for responding to the display operation of the menu interface and displaying the menu interface and the game cursor in the game interface; the menu interface is used for providing at least one first virtual control in the game interface, and the game cursor is used for selecting the first virtual control.
14. An electronic device, comprising:
a processor; and
a memory for storing a data processing program, the electronic device being powered on and executing the program by the processor, to perform the method of any one of claims 1 to 12.
15. A computer readable storage medium, characterized in that a data processing program is stored, which program is run by a processor, performing the method according to any of claims 1-12.
CN202311747846.7A 2023-12-18 2023-12-18 Interaction control method and device in game, electronic equipment and readable storage medium Pending CN117839207A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311747846.7A CN117839207A (en) 2023-12-18 2023-12-18 Interaction control method and device in game, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311747846.7A CN117839207A (en) 2023-12-18 2023-12-18 Interaction control method and device in game, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN117839207A true CN117839207A (en) 2024-04-09

Family

ID=90533697

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311747846.7A Pending CN117839207A (en) 2023-12-18 2023-12-18 Interaction control method and device in game, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN117839207A (en)

Similar Documents

Publication Publication Date Title
JP7387758B2 (en) Interface display method, device, terminal, storage medium and computer program
KR20210138079A (en) Virtual object control method and apparatus, terminal, and storage medium
TW201337711A (en) Systems and methods for presenting visual interface content
CN112416196B (en) Virtual object control method, device, equipment and computer readable storage medium
CN113546419B (en) Game map display method, game map display device, terminal and storage medium
WO2022088941A1 (en) Virtual key position adjusting method and apparatus, and device, storage medium and program product
JP2023524368A (en) ADAPTIVE DISPLAY METHOD AND DEVICE FOR VIRTUAL SCENE, ELECTRONIC DEVICE, AND COMPUTER PROGRAM
CN114442872A (en) Layout and interaction method of virtual user interface and three-dimensional display equipment
CN114159785A (en) Virtual item discarding method and device, electronic equipment and storage medium
CN114296597A (en) Object interaction method, device, equipment and storage medium in virtual scene
KR20230042517A (en) Contact information display method, apparatus and electronic device, computer-readable storage medium, and computer program product
US20230142566A1 (en) System and method for precise positioning with touchscreen gestures
WO2023071808A1 (en) Virtual scene-based graphic display method and apparatus, device, and medium
CN117839207A (en) Interaction control method and device in game, electronic equipment and readable storage medium
WO2024060924A1 (en) Interaction processing method and apparatus for virtual scene, and electronic device and storage medium
WO2023221716A1 (en) Mark processing method and apparatus in virtual scenario, and device, medium and product
CN117861205A (en) Interaction control method and device in game, electronic equipment and readable storage medium
CN113680047B (en) Terminal operation method, device, electronic equipment and storage medium
CN115430151A (en) Game role control method and device, electronic equipment and readable storage medium
CN118286675A (en) Skill switching method and device in game, electronic equipment and readable storage medium
CN116392807A (en) Method and device for sending message in game and electronic equipment
CN114632330A (en) Information processing method and device in game, electronic equipment and storage medium
CN118142157A (en) Virtual object placement method, device, equipment, medium and product
CN117942556A (en) Game center adjusting method and device, electronic equipment and readable storage medium
CN118203827A (en) Game scene construction method, game scene construction device, electronic equipment and readable storage medium

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