Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment partyFormula is described in further detail.
Before explanation is introduced to the embodiment of the present application, related terms involved in the application are explained firstExplanation.
1, virtual scene
Virtual scene is display when the client of application program (such as game application) is run at the terminal (or offer)Scene, which refers to the scene for virtual objects carry out activity (such as game sports) built, such as can be voidQuasi- house, virtual island, virtual map etc..The virtual scene can be the simulating scenes to real world, and it is imitative to be also possible to halfVery semifictional scene can also be pure imaginary scene.Virtual scene can be two-dimensional virtual scene, be also possible to 2.5 dimensionsVirtual scene or three-dimensional virtual scene, the embodiment of the present application are not construed as limiting this.
2, virtual objects
Virtual objects refer to the virtual role that user account number controls in the application.Using application program as game application journeyFor sequence, virtual objects refer to the game role that user account number controls in game application.Virtual objects can be personageForm can be animal, cartoon or other forms, the embodiment of the present application and be not construed as limiting to this.Virtual objects can be with three-dimensional shapedFormula is shown, can also be shown with two dimensional form, the embodiment of the present application is not construed as limiting this.
In different game applications, the operation that user account number control virtual objects can execute may also notTogether.For example, user account number can control virtual objects and execute shooting, run, jump, picking up in shooting game application programTake arms tool, replacement firearms, give the firearms addition operation such as bullet.
Certainly, it is virtual right to show to user other than game application, in other types of application programAs, and corresponding function is provided to virtual objects.For example, AR (Augmented Reality, augmented reality) class application program,Social category application program, interaction entertainment class application program etc., the embodiment of the present application is not construed as limiting this.In addition, for differentFor application program, the form of provided virtual objects be would also vary from, and corresponding function would also vary from, thisIt can be configured in advance according to actual needs, the embodiment of the present application is not construed as limiting this.
Referring to FIG. 1, the schematic diagram of the implementation environment provided it illustrates the application one embodiment.The implementation environment canTo include: mobile terminal 10 and server 20.
Mobile terminal 10 can be such as mobile phone, tablet computer, game host, E-book reader, multimedia and setThe portable electronic devices such as standby, wearable device.The client of game application can be installed in mobile terminal 10, such as shotThe client of class game application.
Server 20 is used to provide backstage for the client of the application program (such as game application) in mobile terminal 10Service.For example, server 20 can be the background server of above-mentioned application program (such as game application).Server 20 can be withIt is a server, is also possible to the server cluster being made of multiple servers or a cloud computing service center.
It can be communicated with each other by network 30 between mobile terminal 10 and server 20.The network 30 can be wired networkNetwork is also possible to wireless network.
In the application embodiment of the method, the executing subject of each step can be mobile terminal.Referring to FIG. 2, it showsThe structural schematic diagram for the mobile terminal that the application one embodiment provides.The mobile terminal 10 may include: mainboard 110, outerPortion's input/output equipment 120, memory 130, external interface 140, touch-control system 150 and power supply 160.
Wherein, the processing elements such as processor and controller are integrated in mainboard 110.
External input/output equipment 120 may include that display component (such as display screen), sound player module (for example are raisedSound device), sound collection component (such as microphone) and assortment of keys etc..
Program code and data are stored in memory 130.
External interface 140 may include earphone interface, charging interface and data-interface etc..
Touch-control system 150 can integrate in the display component or key of external input/output equipment 120, touch-control systemSystem 150 is for detecting the touch control operation that user executes on display component or key.
Power supply 160 is for being powered other all parts in mobile terminal 10.
In the embodiment of the present application, processor in mainboard 110 can be stored in memory by executing or callingProgram code and data generate user interface (such as interface), and the user interface of generation (such as interface) is passed through outsideInput/output equipment 120 is shown.During showing user interface (such as interface), touch-control system can be passed throughThe touch control operation that 150 detection users and user interface (such as interface) execute when interacting, and the touch control operation is carried outResponse.
Referring to FIG. 3, it illustrates the flow charts of the control method of the virtual objects of the application one embodiment offer.It shouldMethod can be applied in mobile terminal described above, such as be applied to application program (such as shooting game application of mobile terminalProgram) client in.This method may include the following steps:
Step 301, it shows user interface, includes the virtual objects in virtual environment in the user interface, and the voidQuasi- object holds virtual weapons.
By taking shooting game application program as an example, user interface can be the display interface that game is played a game, the user interfaceIt is such as empty as may include the element in virtual environment in the user interface for the virtual environment that game is played a game to be presented to userIt is proposed build, virtual item, virtual objects etc..Optionally, further include some operational controls in the user interface, as button, sliding block,Icon etc., so that user operates.
In the embodiment of the present application, in order to promote man-machine interaction experience to the more modes of operation of user, as shown in figure 4,It include weaponry control 41 in user interface 40, which is for controlling virtual objects equipment virtual weapons42 operational controls.Optionally, when receiving the clicking operation signal corresponding to the weaponry control 41, it is virtual to control thisObject holds the virtual weapons 42.In the embodiment of the present application, virtual weapons 42 are the weapons that can spray flame free of discontinuities outward,Optionally, which can be virtual flame thrower.
Optionally, user interface includes first view layer and the second view layer;Wherein, the display level of first view layer is highIn the display level of the second view layer.Weaponry control is located at first view layer, the virtual environment played a game for showing gameGame picture be located at the second view layer.Certainly, in first view layer other than including weaponry control described above,It can also include other operational controls, the operational controls for such as being used to control the posture of virtual objects are used for virtual rightAs the operational controls, etc. that the virtual equipment of assembly is controlled, the embodiment of the present application is not construed as limiting this.
Step 302, the fire instructions for corresponding to the virtual weapons are received.
In the embodiment of the present application, as shown in figure 4, including that flame sprays control 43 in user interface 40, user clicks shouldFlame sprays control 43, and correspondingly, mobile terminal can receive the trigger signal corresponding to flame injection control 43, Ye JijieReceive fire instructions.Certainly, in some other embodiments, user breathes out instruction except through touch control operation to generate guided missileOutside, guided missile exhalation instruction can also be generated by modes such as voice, gestures, the embodiment of the present application is not construed as limiting this.
In a kind of possible embodiment, in order to meet the operational requirements of user, man-machine interaction experience is further promoted,Step 302 includes: the touch control operation signal for receiving the flame injection control corresponded in user interface;Obtain touch control operation letterNumber attribute value;If the attribute value is less than preset threshold, confirmation receives the first fire instructions;If the attribute value is greater than or waitsIn preset threshold, then confirmation receives the second fire instructions.In the embodiment of the present application, attribute value refers to touch control operation signal pairThe operating parameter answered, for example, attribute value can be operating time, number of operations etc., the embodiment of the present application is not construed as limiting this.
Illustratively, when the touch control operation signal is pressing operation signal, attribute value is pressing for the pressing operation signalPress duration.For example, if the pressing duration is less than 0.1s, confirmation receives above-mentioned first and opens fire when preset threshold is 0.1sInstruction;If the pressing duration is greater than or equal to 0.1s, confirmation receives above-mentioned second fire instructions.That is, short when receivingWhen by operation signal, confirmation receives the first fire instructions;When receiving long press operation signal, confirmation receives second and opens fireInstruction.
Illustratively, when the touch control operation signal is clicking operation signal, attribute value is the point of the clicking operation signalHit number.For example, when preset threshold is 2 times, if the number of clicks, less than 2 times, confirmation receives above-mentioned first and opens fire fingerIt enables;If the number of clicks is greater than or equal to 2 times, confirmation receives above-mentioned second fire instructions.For example, when receiving single-point behaviourWhen making signal, confirmation receives the first fire instructions;When receiving double click operation signal, confirmation receives second and opens fire fingerIt enables.
Enumerated above is merely exemplary situation, can not constitute the limitation to attribute value in the application, for example, working asWhen the touch control operation signal is pressing operation signal, attribute value is also possible to the pressing dynamics of the pressing operation signal, the applicationEmbodiment is not construed as limiting this.
Step 303, according to the fire instructions, virtual weapons is controlled and generate special flame effect, which refers to from virtualThe special efficacy for the flame free of discontinuities that the flame jet port of weapon sprays outward.
For example, as shown in figure 5, virtual weapons 51 can generate special flame effect 52 according to the fire instructions.The special flame effect52 be the special efficacy of the flame free of discontinuities sprayed outward from the flame jet port of virtual weapons 51, wherein the special efficacy of flame free of discontinuitiesRefer to that the special flame effect 52 is shown as a tongues of fire, and the tongues of fire are continuous, no fracture gaps, in addition, this is free of discontinuitiesSpecial flame effect is shown in a special flame effect.
In a kind of possible embodiment, in order to more be bonded with practical application, preferably meet user demand, stepIf 303 include: the fire instructions be the first fire instructions, control virtual weapons generate the first special flame effect;The finger if this is opened fireEnabling is the second fire instructions, then controls virtual weapons and generate the second special flame effect;Wherein, the length of flame of the first special flame effect is smallIn the length of flame of the second special flame effect.For example, as shown in fig. 6, being controlled in the case where the fire instructions are the first fire instructionsVirtual weapons 61 processed generate the first special flame effect 62;As shown in fig. 7, in the case where the fire instructions are the second fire instructions,It controls virtual weapons 71 and generates the second special flame effect 72, wherein the length of flame of the first special flame effect 62 is less than the second flame spyThe length of flame of effect 72.Optionally, the area of first special flame effect 62 might be less that the area of the second special flame effect 72, thisApplication embodiment is not construed as limiting this.
It should be noted that in the embodiment of the present application, whether the first special flame effect or the second special flame effect are allThe special efficacy of the flame free of discontinuities sprayed outward from the flame jet port of virtual weapons.
Optionally, in order to further be bonded practical application, in the case where the fire instructions are the second fire instructions, withThe attribute value of above-mentioned touch control operation signal gradually increases, and the length of the second special flame effect also gradually increases.Optionally, when the second fireWhen the length of flame special efficacy reaches length threshold, the length of second special flame effect is not further added by, wherein length threshold is to set in advanceThe maximum value of the length of the second fixed special flame effect.
Illustratively, when the touch control operation signal is pressing operation signal, attribute value is pressing for the pressing operation signalPress duration.In the case where the fire instructions are the second fire instructions, as the pressing duration is continuously increased, the second special flame effectLength also gradually increase.
Illustratively, when the touch control operation signal is clicking operation signal, attribute value is the point of the clicking operation signalHit number.In the case where the fire instructions are the second fire instructions, as the number of clicks is continuously increased, the second special flame effectLength also gradually increase.
Optionally, when detecting above-mentioned touch control operation blackout, confirm that above-mentioned fire instructions disappear, and stop generatingSpecial flame effect.
In conclusion technical solution provided by the embodiments of the present application, by receiving opening fire corresponding to virtual weaponsAfter instruction, controls the virtual weapons and generate special flame effect, and the special flame effect is sprayed outward from the flame jet port of virtual weaponsThe special efficacy of a flame free of discontinuities out, the bullet that the display of the special flame effect emits independent of virtual weapons, and only need to showShow a special flame effect, sufficiently lowers the processing expense of terminal.
Also, the embodiment of the present application Flame Special display effect is the special efficacy of a flame free of discontinuities, compared to the relevant technologiesIn show multiple special flame effects when bullet is in running fire state, and be shown as an independent flare round and round, the embodiment of the present applicationThe special flame effect of the technical solution of offer, display is more life-like, and the Actual combustion effect with flame is more closely, improve man-machineInteractive experience.
In addition, the embodiment of the present application shows the first special flame effect when receiving the first fire instructions, second is being receivedThe second special flame effect, and the length of flame different from of the first special flame effect and the second special flame effect are shown when fire instructions, fromAnd meet the more operational requirements of user, further improve man-machine interaction experience.
In a kind of possible embodiment, in order to preferably meet the operational requirements of user, man-machine friendship is further promotedIt mutually experiences, after above-mentioned steps 302, further includes: according to the position and orientation of the flame jet port of virtual weapons, generate the inspection of n itemRay is surveyed, which is the ray that Xiang Huoyan injection direction issues using the flame jet port of virtual weapons as endpoint, and shouldN item detects ray and constitutes centrum, wherein n is the integer greater than 1;When detecting the presence of the barrier for stopping the detection ray,Obtain the distance between the flame jet port of the barrier and virtual weapons;If the distance is less than pre-determined distance, and the detection of n item is penetratedSpecial flame effect then is truncated according to the position of the barrier all by the barrier obstruction in line.
In the embodiment of the present application, raw as shown in figure 8, according to the position and orientation of the flame jet port of virtual weapons 81Ray 82 is detected at n item, and n item detection ray 82 constitutes centrum.Optionally, the centrum that n item detection ray 82 is constituted canTo be circular cone, it is also possible to pyramid, the embodiment of the present application is not construed as limiting this.Optionally, n item detection ray 82 can be wholeThe surface of the centrum constituted positioned at it can also partially be located at the surface of its centrum constituted, be partially located at it and constitutedCentrum inside, the embodiment of the present application is not construed as limiting this.
Illustratively, when n is 8, that is, generates 8 detection rays, it is assumed that this 8 detection rays are entirely located in it and are constitutedCentrum surface, then this 8 detection rays in the cross section of any point of its centrum constituted become it is equally distributedPoint.For example, as shown in Fig. 9 (a), when it is pyramid that this 8, which are detected centrum that rays are constituted, the cross section 91 of the pyramid it is eachA vertex 92 be this 8 detection rays be crosscut face 91 it is be truncated when the point that is formed, and the cross section 91 of the pyramid is anyThe angle that two neighboring vertex 92 is surrounded to the line segment between the central point S of pyramid is equal, that is, is 45 degree.For another example, such as Fig. 9(b) it shown in, when the centrum that this 8 detection rays are constituted is circular cone, is uniformly distributed on the circumference in the cross section 93 of the circular conePoint 94 be this 8 detection rays be crosscut face 93 it is be truncated when the point that is formed, and any phase on the cross section 93 of the circular coneThe angle that adjacent two points 94 are surrounded to the line segment between the central point S of circular cone is equal, that is, is 45 degree.
In the embodiment of the present application, in order to more be bonded actual application, as shown in Figure 10 (a), when the n item detects ray101 all by barrier 102 stop when, obtain the distance between the flame jet port of the barrier 102 Yu virtual weapons 103;If the distance is less than pre-determined distance, special flame effect 104 is truncated according to the position of the barrier 102.For example, when pre-determined distance isWhen 10m, if the distance is 8m, stop playing special flame effect 104;If the distance is 11 meters, the display of the special flame effect 104It is unaffected.In the embodiment of the present application, as shown in Figure 10 (b), when n item detection 101 part of ray is stopped by barrier 102When, the display of the special flame effect 104 is unaffected.
In conclusion the embodiment of the present application, which projects n item by control virtual weapons, detects ray, penetrated according to n item detectionWhether line is obscured by an obstacle, and determines whether special flame effect completely plays, and to be further bonded with practical application, improves man-machineInteractive experience.
In a kind of possible embodiment, in order to promote man-machine interaction experience, the above-mentioned acquisition barrier and virtual forceAfter the distance between flame jet port of device, further includes: when any one detection ray in above-mentioned n item detection ray is hinderedWhen object being hindered to stop, detect whether the barrier is enemy's virtual objects;If the distance is less than above-mentioned pre-determined distance, and the barrierFor enemy's virtual objects, then flame animation is shown on the body of enemy's virtual objects;It is up to when the display of the flame animationWhen to preset duration, the mobile flame animation.
For example, as shown in figure 12, it is virtual in the enemy when injury of the enemy's virtual objects 121 by virtual weapons 122Flame animation 123 can be shown on the body of object 121.Optionally, which it is virtually right can be respectively displayed on the enemyAs 121 positions, the embodiment of the present application such as both arms, both legs and trunk are not construed as limiting this.If preset preset duration is10s then removes the flame animation with enemy's virtual objects 121 when the display duration of the flame animation 123 reaches 10s.
Optionally, further to promote man-machine interaction experience, when enemy's virtual objects come to harm, enemy void is controlledFor the energy value of quasi- object with pre-set velocity continued depletion in display duration, which is used to indicate enemy's virtual objectsPerformance status;When the surplus of the energy value is equal to zero, the animation that falls down to the ground of enemy's virtual objects is shown.For example, such as Figure 13Shown, when enemy's virtual objects 131 come to harm, the energy value of enemy's virtual objects is in the display duration of flame animationWith pre-set velocity continued depletion, such as every 0.5s energy value decline 50.When the energy value falls to zero, show that the enemy is virtually rightAs 131 animation 132 that falls down to the ground.Optionally, which can be shown as with 131 side of enemy's virtual objects puts outFlame side fall down to the ground, the embodiment of the present application is not construed as limiting this.Optionally, it can also show that this is virtual right in user interface 130The prompt information 133 of the injury values as suffered by 131.
Optionally, in order to more be bonded the combustion efficiency of actual environment Flame, whether the above-mentioned detection barrier is enemyAfter virtual objects, further includes: according to above-mentioned distance, determine the injury values generated to enemy's virtual objects;Wherein, the injury valuesWith this apart from negative correlation, i.e., the distance is bigger, and the injury values are smaller;Apart from smaller, the injury values are bigger for this.
For example, as shown in figure 11, in the user interface 110 exist four barriers 111, be denoted as barrier 1, barrier 2,Barrier 3 and barrier 4.Assuming that barrier 1 stops a ray in n item detection ray, barrier 2 does not stop the nItem detects any one ray in ray, and barrier 3 blocks two rays in n item detection ray, and barrier 4 stopsRay in n item detection ray, then obtain virtual weapons 112 flame jet port and barrier 1, barrier 3 andThe distance between barrier 4 is denoted as distance 1, distance 3 and distance 4 respectively.Assuming that pre-determined distance is 10m;Distance 1 is 8m, and is hinderedHindering object 1 is enemy's virtual objects;Distance 3 is 5m, and barrier 2 blocks up tall and big wall for one;Distance 4 is 11m, and barrier 4 isEnemy's virtual objects.Because distance 1 is less than pre-determined distance, and barrier 1 is enemy's virtual objects, so determining the virtual weapons112 pairs of barriers 1 are that enemy's virtual objects generate injury values;Because distance 3 is less than pre-determined distance but barrier 3 is a stifled heightBig wall, so determining that the virtual weapons 112 block up tall and big wall to barrier 3 i.e. one and do not generate injury values;Because distance 4 is greater thanPre-determined distance, so determining that the virtual weapons 112 are that enemy's virtual objects do not generate injury values to barrier 4.
In conclusion the embodiment of the present application, which projects n item by control virtual weapons, detects ray, penetrated according to n item detectionWhether whether line is obscured by an obstacle, and be further enemy's virtual objects according to the barrier, calculates virtual weapons generationInjury values sufficiently improve man-machine interaction experience to reach effect similar with practical flame combustion.
In a kind of possible embodiment, in conjunction with reference Figure 14, the control of virtual objects provided by the embodiments of the present applicationMethod may include the following steps:
Step 1401, virtual weapons are equipped;
Step 1402, fire instructions are received;
Step 1403, judge whether fire instructions are the first fire instructions;If so, executing following step 1404;If it is not,Then execute following step 1405;
Step 1404, control virtual weapons generate the first special flame effect;
Step 1405, control virtual weapons generate the second special flame effect;
Step 1406, control virtual weapons generate n ray, and the n ray is constituted centrum;
Step 1407, judge whether the n ray is stopped by enemy's virtual objects;If so, executing following step 1408;If it is not, then terminating process;
Step 1408, the distance between flame jet port and the enemy's virtual objects of the virtual weapons are detected;
Step 1409, judge whether the distance is less than distance threshold;If so, executing following step 1410;If it is not, then tyingLine journey;
Step 1410, the injury values that the virtual weapons generate enemy's virtual objects are calculated, and in enemy's virtual objectsBody on show flame animation;
Step 1411, judge whether the display duration of the flame animation reaches preset duration;If so, removing flame animationAnd terminate process;If it is not, then executing following step 1412;
Step 1412, continue to show flame animation.
Following is the application Installation practice, can be used for executing the application embodiment of the method.It is real for the application deviceUndisclosed details in example is applied, the application embodiment of the method is please referred to.
Figure 15 is please referred to, it illustrates the block diagrams of the control device of the virtual objects of the application one embodiment offer.It shouldDevice, which has, realizes the exemplary function of the above method, and the function can also be executed corresponding by hardware realization by hardwareSoftware realization.The device can be mobile terminal, also can be set in the terminal.The device 1500 may include: interfaceDisplay module 1510, command reception module 1520 and Special display effect module 1530.
Interface display module 1510 includes being located in virtual environment for showing user interface, in the user interfaceVirtual objects, and the virtual objects hold virtual weapons.
Command reception module 1520, for receiving the fire instructions for corresponding to the virtual weapons.
Special display effect module 1530, for controlling the virtual weapons and generating special flame effect, institute according to the fire instructionsState the special efficacy that special flame effect refers to the flame free of discontinuities sprayed outward from the flame jet port of the virtual weapons.
In the exemplary embodiment, the special efficacy generation module 1530, is used for: if the fire instructions are first to open fire fingerIt enables, then controls the virtual weapons and generate the first special flame effect;If the fire instructions be the second fire instructions, control described inVirtual weapons generate the second special flame effect;Wherein, the length of flame of first special flame effect is less than second special flame effectThe length of flame.
In the exemplary embodiment, described instruction receiving module 1520, is used for: receiving and corresponds in the user interfaceThe touch control operation signal of flame injection control;Obtain the attribute value of the touch control operation signal;If the attribute value is less than defaultThreshold value, then confirmation receives first fire instructions;If the attribute value is greater than or equal to the preset threshold, confirmation is connectReceive second fire instructions.
In the exemplary embodiment, as shown in figure 16, described device 1500 further include: ray generation module 1540 is used forAccording to the position and orientation of the flame jet port of the virtual weapons, generates n item and detect ray, the detection ray is with describedThe flame jet port of virtual weapons is endpoint, the ray that Xiang Huoyan injection direction issues, and n item detection ray composition vertebraBody, the n are the integer greater than 1;Distance calculation module 1550, for detecting the presence of the obstacle for stopping the detection rayWhen object, the distance between the flame jet port of the barrier Yu the virtual weapons is obtained;The Special display effect module 1530,If being also used to the distance less than pre-determined distance, and the n item detects ray all by the barrier obstruction, then according toThe special flame effect is truncated in the position of barrier.
In the exemplary embodiment, as shown in figure 16, described device 1500 further include: animation display module 1570;It is describedDistance calculation module 1550 is also used to when any one detection ray in n item detection ray is by the barrier obstructionWhen, detect whether the barrier is enemy's virtual objects;Animation display module 1570, if being less than for the distance described pre-If distance, and the barrier is enemy's virtual objects, then shows flame animation on the body of enemy's virtual objects;The animation display module 1570 is also used to remove the fire when the display duration of the flame animation reaches preset durationFlame animation.
In the exemplary embodiment, as shown in figure 16, described device 1500 further include: energy value computing module 1580 is usedIn controlling the energy values of enemy's virtual objects in the display duration with pre-set velocity continued depletion, the energy value useIn the performance status for indicating enemy's virtual objects;The animation display module 1570 is also used to remaining when the energy valueWhen surplus is equal to zero, the animation that falls down to the ground of enemy's virtual objects is shown.
In the exemplary embodiment, as shown in figure 16, described device 1500 further includes injury values computing module 1560, is used forAccording to the distance, the injury values generated to enemy's virtual objects are determined;Wherein, described injury value and the distance are in negativeCorrelativity.
In conclusion technical solution provided by the embodiments of the present application, by receiving opening fire corresponding to virtual weaponsAfter instruction, controls the virtual weapons and generate special flame effect, and the special flame effect is sprayed outward from the flame jet port of virtual weaponsThe special efficacy of a flame free of discontinuities out, the bullet that the display of the special flame effect emits independent of virtual weapons, and only need to showShow a special flame effect, sufficiently lowers the processing expense of terminal.
It should be noted that device provided by the above embodiment, when realizing its function, only with above-mentioned each functional moduleIt divides and carries out for example, can according to need in practical application and be completed by different functional modules above-mentioned function distribution,The internal structure of equipment is divided into different functional modules, to complete all or part of the functions described above.In addition,Apparatus and method embodiment provided by the above embodiment belongs to same design, and specific implementation process is detailed in embodiment of the method, thisIn repeat no more.
Figure 17 is please referred to, it illustrates the structural block diagrams for the mobile terminal 1700 that the application one embodiment provides.The shiftingDynamic terminal 1700 can be such as mobile phone, tablet computer, game host, E-book reader, multimedia play equipment, wearableThe portable electronic devices such as equipment.The control method for the virtual objects that the mobile terminal is used to implement to provide in above-described embodiment.The mobile terminal can be the mobile terminal 10 in implementation environment shown in Fig. 1.Specifically:
In general, mobile terminal 1700 includes: processor 1701 and memory 1702.
Processor 1701 may include one or more processing cores, such as 4 core processors, 8 core processors etc..PlaceReason device 1701 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (FieldProgrammable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmedLogic array) at least one of example, in hardware realize.Processor 1701 also may include primary processor and coprocessor, masterProcessor is the processor for being handled data in the awake state, also referred to as CPU (Central ProcessingUnit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.InIn some embodiments, processor 1701 can be integrated with GPU (Graphics Processing Unit, image processor),GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 1701 can also be wrappedAI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learningCalculating operation.
Memory 1702 may include one or more computer readable storage mediums, which canTo be non-transient.Memory 1702 may also include high-speed random access memory and nonvolatile memory, such as oneOr multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 1702 canStorage medium is read for storing at least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction,At least a Duan Chengxu, code set or instruction set, and be configured to be executed by one or more than one processor, it is above-mentioned to realizeThe control method of virtual objects.
In some embodiments, mobile terminal 1700 is also optional includes: peripheral device interface 1703 and at least one outsidePeripheral equipment.It can be connected by bus or signal wire between processor 1701, memory 1702 and peripheral device interface 1703.RespectivelyA peripheral equipment can be connected by bus, signal wire or circuit board with peripheral device interface 1703.Specifically, peripheral equipment packetIt includes: radio circuit 1704, touch display screen 1705, camera 1706, voicefrequency circuit 1707, positioning component 1708 and power supply 1709At least one of.
It will be understood by those skilled in the art that structure shown in Figure 17 does not constitute the restriction to mobile terminal 1700,It may include perhaps combining certain components than illustrating more or fewer components or being arranged using different components.
In the exemplary embodiment, a kind of computer readable storage medium is additionally provided, is stored in the storage mediumAt least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, instituteState the control method that code set or described instruction collection realize above-mentioned virtual objects when being executed by processor.
Optionally, the computer readable storage medium may include: read-only memory (ROM, Read Only Memory),Random access memory (RAM, Random Access Memory), solid state hard disk (SSD, Solid State Drives) or lightDisk etc..Wherein, random access memory may include resistive random access memory body (ReRAM, Resistance RandomAccess Memory) and dynamic random access memory (DRAM, Dynamic Random Access Memory).
In the exemplary embodiment, a kind of computer program product is also provided, the computer program product is by processorWhen execution, for realizing the control method of above-mentioned virtual objects.
It should be understood that referenced herein " multiple " refer to two or more."and/or", description associationThe incidence relation of object indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously AAnd B, individualism B these three situations.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".In addition, hereinDescribed in number of steps, the merely exemplary a kind of possible execution sequencing shown between step, in some other implementationsIn example, above-mentioned steps can not also be executed according to number order, and such as the step of two different numbers is performed simultaneously or twoThe step of different numbers, executes according to the sequence opposite with diagram, and the embodiment of the present application is not construed as limiting this.
The foregoing is merely the exemplary embodiments of the application, all in spirit herein not to limit the applicationWithin principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.