CN107656685A - Control the method and terminal of virtual target motion - Google Patents

Control the method and terminal of virtual target motion Download PDF

Info

Publication number
CN107656685A
CN107656685A CN201710976511.0A CN201710976511A CN107656685A CN 107656685 A CN107656685 A CN 107656685A CN 201710976511 A CN201710976511 A CN 201710976511A CN 107656685 A CN107656685 A CN 107656685A
Authority
CN
China
Prior art keywords
folding
parameter
virtual target
target
terminal
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
CN201710976511.0A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710976511.0A priority Critical patent/CN107656685A/en
Publication of CN107656685A publication Critical patent/CN107656685A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/45Controlling the progress of the video game
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/803Driving vehicles or craft, e.g. cars, airplanes, ships, robots or tanks

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure is directed to a kind of method and terminal for controlling virtual target motion, belong to electronic technology field.Methods described includes:When detecting that Folding screen folds, it is determined that current folding parameter;According to the folding parameter and the corresponding relation of the kinematic parameter of virtual target prestored, it is determined that the parameters of target motion corresponding to current folding parameter;The motion state of virtual target is adjusted based on the parameters of target motion.Virtual target is controlled by using screen, and saves the virtual key for being provided for being controlled to virtual target, is come so as to which the display space for taking virtual key saves, the displaying to game picture leaves more sufficient display space.

Description

Control the method and terminal of virtual target motion
Technical field
The disclosure is directed to electronic technology field, especially with respect to a kind of method and terminal for controlling virtual target motion.
Background technology
In the prior art, the terminal of conventional screen is being configured with the virtual target (people in such as playing in game Thing, object etc.) motion when being controlled, carry out associative operation generally by virtual key shown in conventional screen To reach control purpose.For example, in a car race game, if user wants control, vehicle accelerates, and can touch virtual Forward key in button.
The display of virtual key occupies certain display space, hinders the displaying of complete game picture.
The content of the invention
In order to overcome problem present in correlation technique, present disclose provides following technical scheme:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method for controlling virtual target motion, methods described should For being configured with the terminal of Folding screen, methods described includes:
When detecting that the Folding screen folds, it is determined that current folding parameter;
According to the folding parameter and the corresponding relation of the kinematic parameter of virtual target prestored, it is determined that current folding ginseng The parameters of target motion corresponding to number;
The motion state of the virtual target is adjusted based on the parameters of target motion.
Alternatively, the folding parameter is folding direction, and the kinematic parameter is into acceleration mode or enters deceleration State.
Alternatively, the folding parameter is folding angles, folding parameter that the basis prestores and virtual target The corresponding relation of kinematic parameter, it is determined that the parameters of target motion corresponding to current folding parameter, including:
According to the folding angles and the corresponding relation of the acceleration of virtual target prestored, it is determined that current folding angles Corresponding aimed acceleration;
It is described that the motion state of the virtual target is adjusted based on the aimed acceleration, including:
The motion state of the virtual target is adjusted based on the aimed acceleration.
Alternatively, the folding parameter is folding angles, folding parameter that the basis prestores and virtual target The corresponding relation of kinematic parameter, it is determined that the parameters of target motion corresponding to current folding parameter, including:
According to the folding angles and the corresponding relation of the jump height of virtual target prestored, it is determined that current angle folding Target jump height corresponding to degree;
It is described that the motion state of the virtual target is adjusted based on the parameters of target motion, including:
The motion state of the virtual target is adjusted based on the target jump height.
Alternatively, it is provided with sensor at the folding shaft of the Folding screen;
It is determined that current folding parameter, including:
Current folding parameter is detected by the sensor.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of terminal for controlling virtual target motion, the terminal are matched somebody with somebody Folding screen is equipped with, the terminal includes:
First determining module, for when detecting that the Folding screen folds, it is determined that current folding parameter;
Second determining module, for being closed according to the folding parameter prestored is corresponding with the kinematic parameter of virtual target System, it is determined that the parameters of target motion corresponding to current folding parameter;
Adjusting module, for being adjusted based on the parameters of target motion to the motion state of the virtual target.
Alternatively, the folding parameter is folding direction, and the kinematic parameter is into acceleration mode or enters deceleration State.
Alternatively, second determining module is used for according to the folding angles and the acceleration of virtual target prestored Corresponding relation, it is determined that aimed acceleration corresponding to current folding angles;
The adjusting module is used to be adjusted the motion state of the virtual target based on the aimed acceleration.
Alternatively, the folding parameter is folding angles, and second determining module is used for according to the folding prestored The corresponding relation of angle and the jump height of virtual target, it is determined that target jump height corresponding to current folding angles;
The adjusting module is used to be adjusted the motion state of the virtual target based on the target jump height.
Alternatively, it is provided with sensor at the folding shaft of the Folding screen;
First determining module is used to detect current folding parameter by the sensor.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of terminal, the terminal include processor and memory, institute State and at least one instruction, at least one section of program, code set or instruction set are stored with memory, at least one instruction, institute At least one section of program, the code set or instruction set is stated to be loaded by the processor and performed to realize above-mentioned control virtual target The method of motion.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable recording medium, in the storage medium At least one instruction, at least one section of program, code set or instruction set are stored with, described at least one instructs, be described at least one section Program, the code set or instruction set are loaded by processor and performed to realize the method for above-mentioned control virtual target motion.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the embodiment of the present disclosure, when detecting that Folding screen folds, it is determined that current folding parameter;According to depositing in advance The corresponding relation of the folding parameter of storage and the kinematic parameter of virtual target, it is determined that target motion ginseng corresponding to current folding parameter Number;The motion state of virtual target is adjusted based on the parameters of target motion.To carry out virtual target by using screen Control, and the virtual key for being provided for being controlled to virtual target is saved, so as to the display space for taking virtual key Save and, the displaying to game picture leaves more sufficient display space.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the method for control virtual target motion according to an exemplary embodiment;
Fig. 2 is a car race game picture according to an exemplary embodiment;
Fig. 3 is the schematic diagram for being folded Folding screen according to an exemplary embodiment;
Fig. 4 is the schematic diagram for being folded Folding screen according to an exemplary embodiment;
Fig. 5 is a kind of structural representation of the terminal of control virtual target motion according to an exemplary embodiment;
Fig. 6 is the block diagram of the terminal according to an exemplary embodiment;
Fig. 7 is the block diagram of the terminal according to an exemplary embodiment;
Fig. 8 is the structural representation of the terminal for being configured with Folding screen according to an exemplary embodiment;
Fig. 9 is the structural representation of the terminal for being configured with Folding screen according to an exemplary embodiment;
Figure 10 is the structural representation of the terminal for being configured with Folding screen according to an exemplary embodiment;
Figure 11 is the structural representation of the terminal for being configured with Folding screen according to an exemplary embodiment.
Pass through above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the disclosure, will hereinafter be described in more detail.These accompanying drawings It is not intended to limit the scope of disclosure design by any mode with word description, but is by reference to specific embodiment Those skilled in the art illustrate the concept of the disclosure.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
The embodiments of the invention provide a kind of method for controlling virtual target motion, this method can apply to be configured with folding The terminal of folded screen.Wherein, terminal can be mobile phone, tablet personal computer etc..
Terminal can include the parts such as processor, memory.Processor, can be CPU (Central Processing Unit, CPU) etc., current folding parameter is determined for, waits processing.Memory, can be RAM (Random Access Memory, random access memory), Flash (flash memory) etc., can be used for storage receive data, Data generated in data, processing procedure needed for processing procedure etc., such as fold pair of the kinematic parameter of parameter and virtual target It should be related to.
Terminal can also include transceiver, input block, display unit, audio output part etc..Transceiver, it can be used for Carry out data transmission with server, transceiver can include bluetooth component, WiFi (Wireless-Fidelity, Wireless Fidelity Technology) part, antenna, match circuit, modem etc..Input block can be touch-screen, keyboard, mouse etc..Audio is defeated It can be audio amplifier, earphone etc. to go out part.
System program and application program can be installed in terminal.User during using terminal, based on oneself Different demands, various application programs can be used.Game application can be installed in terminal.
The exemplary embodiment of the disclosure one provides a kind of method for controlling virtual target motion, as shown in figure 1, this method Handling process can include the steps:
Step S110, when detecting that Folding screen folds, it is determined that current folding parameter.
In force, this method can apply to be configured with the terminal of Folding screen, alternatively, the folding of the Folding screen in terminal Sensor is provided with folded axle;It is determined that the step of current folding parameter, can include:Current folding is detected by sensor Parameter.
In force, Folding screen can be glass material can also be plastic material either other materials. The centre position of Folding screen, either the opening position such as top or inclined bottom setting folding shaft, the folding shaft can be used for aiding in partially Folding screen carries out folding operation.Sensor can be set in the folding shaft, and the sensor can detect folding parameter, such as fold Direction (upwardly or downwardly, clockwise or counter-clockwise) and folding angles.When the sensor detects current folding ginseng During number, the folding parameter detected can be sent to processor, to cause processor according to folding state modulator virtual target Motion.
Step S120, according to the folding parameter and the corresponding relation of the kinematic parameter of virtual target prestored, it is determined that working as The parameters of target motion corresponding to preceding folding parameter.
In force, virtual target can be personage in game, object etc..In memory that can be in the terminal in advance Storage folds the corresponding relation of the kinematic parameter of parameter and virtual target, the corresponding relation can be one fold parameter with it is virtual The corresponding relation list of the kinematic parameter of target, gauge outfit part can fold parameter, and table portion can be virtual target Kinematic parameter, including every data line of gauge outfit part and table portion are all corresponding.When knowing current folding parameter, The parameters of target motion corresponding to current folding parameter are can determine that by tabling look-up.
Step S130, the motion state of virtual target is adjusted based on the parameters of target motion.
In force, after the parameters of target motion corresponding to current folding parameter are determined, target can be based on and transported Dynamic parameter is adjusted to the motion state of virtual target.And in the process, triggering is based on the parameters of target motion to virtual mesh The condition that target motion state is adjusted, can essentially be that Folding screen folds.Folding screen, which occurs to fold, proves user Folding operation has been carried out to Folding screen.In concrete application scene, as shown in Fig. 2 such as user is current to play match just in terminal Car is played, and when user needs accelerate operation to the racing car currently manipulated, folding operation can be carried out to Folding screen, to touch Send out and the motion state of racing car is adjusted.
Alternatively, it can be folding direction to fold parameter, and kinematic parameter can be correspondingly into acceleration mode or enter Enter deceleration regime.
In force, when fold parameter be folding direction when, user by Folding screen upwardly or downwardly, it is clockwise or inverse Hour hands have carried out folding operation, and the Foldable square for carrying out folding operation to Folding screen according to user always determines current folding parameter The corresponding parameters of target motion.For example, when folding direction is upward, it is believed that control virtual target enters acceleration mode, When folding direction is downward, it is believed that control virtual target enters deceleration regime.It is of course also possible to according to different foldings Direction is adjusted to kinematic parameter, to adapt to needs of playing.
Alternatively, it is folding angles to fold parameter, according to the folding parameter and the kinematic parameter of virtual target prestored Corresponding relation, it is determined that can include the step of the parameters of target motion corresponding to current folding parameter:According to what is prestored The corresponding relation of the acceleration of folding angles and virtual target, it is determined that aimed acceleration corresponding to current folding angles;It is based on The step of aimed acceleration is adjusted to the motion state of virtual target can include:Based on aimed acceleration to virtual target Motion state be adjusted.
In force, when it is folding angles to fold parameter, user is by Folding screen to being folded certain on a certain folding direction One angle, this angle are folding angles.If as shown in figure 3, being folded up Folding screen, folding direction is upward, and Upward folding parameter enters acceleration mode for control virtual target, then according to the folding angles and virtual target prestored The corresponding relation of acceleration, it is determined that first object acceleration corresponding to current folding angles, controls virtual target to determine First object acceleration is accelerated.If as shown in figure 4, being folded down Folding screen, folding direction is downward, and is downwards Control virtual target enters deceleration regime, then is closed according to the folding angles prestored are corresponding with the acceleration of virtual target System, it is determined that the second aimed acceleration corresponding to current folding angles, second aimed acceleration of the control virtual target to determine Slowed down.Certainly, except aforesaid operations and the kinematic parameter of operation adjustment, can in the conceived case, adjust operation and The kinematic parameter of operation adjustment.
Alternatively, it is folding angles to fold parameter, according to the folding parameter and the kinematic parameter of virtual target prestored Corresponding relation, it is determined that can include the step of the parameters of target motion corresponding to current folding parameter:According to what is prestored The corresponding relation of the jump height of folding angles and virtual target, it is determined that target jump height corresponding to current folding angles; The step of being adjusted based on the parameters of target motion to the motion state of virtual target can include:Based on target jump height pair The motion state of virtual target is adjusted.
In force, when fold parameter be folding angles when, if user playing in the terminal it is a have spring operation Game when, such as personage makes a breakthrough game, and when personage in gaming needs to carry out jump action, user can be bent up complications Folded screen, and the jump height that can correspondingly carry out jump action to the personage in game by being adjusted to folding angles is entered Row adjustment.In addition, when Folding screen is folded down by user, the personage that can also be allowed in game squats down to hide the barrier in game Hinder thing.In a word, in different game contextual models, can set by obtaining different controls to the different folding operation of Folding screen Operating effect processed.
In the embodiment of the present disclosure, when detecting that Folding screen folds, it is determined that current folding parameter;According to depositing in advance The corresponding relation of the folding parameter of storage and the kinematic parameter of virtual target, it is determined that target motion ginseng corresponding to current folding parameter Number;The motion state of virtual target is adjusted based on the parameters of target motion.To carry out virtual target by using screen Control, and the virtual key for being provided for being controlled to virtual target is saved, so as to the display space for taking virtual key Save and, the displaying to game picture leaves more sufficient display space.
Disclosure further example embodiment provides a kind of terminal for controlling virtual target motion, and the terminal is configured with folding Folded screen, as shown in figure 5, the terminal includes:
First determining module 410, for when detecting that the Folding screen folds, it is determined that current folding parameter;
Second determining module 420, for corresponding with the kinematic parameter of virtual target according to the folding parameter prestored Relation, it is determined that the parameters of target motion corresponding to current folding parameter;
Adjusting module 430, for being adjusted based on the parameters of target motion to the motion state of the virtual target.
Alternatively, the folding parameter is folding direction, and the kinematic parameter is into acceleration mode or enters deceleration State.
Alternatively, second determining module 420 is used for the acceleration according to the folding angles and virtual target prestored The corresponding relation of degree, it is determined that aimed acceleration corresponding to current folding angles;
The adjusting module 430 is used to adjust the motion state of the virtual target based on the aimed acceleration It is whole.
Alternatively, the folding parameter is folding angles, and second determining module 420 is used for according to the folding prestored The corresponding relation of folded angle and the jump height of virtual target, it is determined that target jump height corresponding to current folding angles;
The adjusting module 430 is used to adjust the motion state of the virtual target based on the target jump height It is whole.
Alternatively, it is provided with sensor at the folding shaft of the Folding screen;
First determining module 410 is used to detect current folding parameter by the sensor.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
In the embodiment of the present disclosure, when detecting that Folding screen folds, it is determined that current folding parameter;According to depositing in advance The corresponding relation of the folding parameter of storage and the kinematic parameter of virtual target, it is determined that target motion ginseng corresponding to current folding parameter Number;The motion state of virtual target is adjusted based on the parameters of target motion.To carry out virtual target by using screen Control, and the virtual key for being provided for being controlled to virtual target is saved, so as to the display space for taking virtual key Save and, the displaying to game picture leaves more sufficient display space.
It should be noted that:The terminal for the control virtual target motion that above-described embodiment provides is in control virtual target motion When, only with the division progress of above-mentioned each functional module for example, in practical application, above-mentioned function can be divided as needed With by different functional module completions, i.e., the internal structure of terminal is divided into different functional modules, to complete above description All or part of function.In addition, the terminal and control virtual target of the control virtual target motion that above-described embodiment provides The embodiment of the method for motion belongs to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
With reference to shown in figure 6 and Fig. 7, the structure side of the terminal 100 provided it illustrates one exemplary embodiment of the application Block diagram.The terminal 100 can be mobile phone, tablet personal computer, notebook computer and e-book etc..Terminal 100 in the application can be with Including one or more such as lower component:Processor 910, memory 920 and touch display screen 930.
Processor 910 can include one or more processing core.Processor 910 utilizes various interfaces and connection Various pieces in whole terminal 100, by running or performing the instruction being stored in memory 920, program, code set or refer to Order collection, and the data being stored in memory 920 are called, perform the various functions and processing data of terminal 100.Alternatively, Processor 910 can use Digital Signal Processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA) at least one of example, in hardware realize.Processor 910 can integrating central processor (Central Processing Unit, CPU), in image processor (Graphics Processing Unit, GPU) and modem etc. One or more of combinations.Wherein, CPU mainly handles operating system, user interface and application program etc.;GPU is used to be responsible for The content of display rendering and drawing required for touch display screen 930;Modem is used to handle radio communication.It is appreciated that , above-mentioned modem can not also be integrated into processor 910, be realized separately through chip piece.
Memory 920 can include random access memory (Random Access Memory, RAM), can also include read-only Memory (Read-Only Memory).Alternatively, the memory 920 includes non-transient computer-readable medium (non- transitory computer-readable storage medium).Memory 920 can be used for store instruction, program, generation Code, code set or instruction set.Memory 920 may include storing program area and storage data field, wherein, storing program area can store For realizing the instruction of operating system, instruction (such as touch controllable function, sound-playing function, image at least one function Playing function etc.), instruction for realizing following each embodiments of the method etc.;Storage data field can be stored according to terminal 100 Use created data (such as voice data, phone directory) etc..
So that operating system is Android (Android) system as an example, program and the data such as Fig. 6 institutes that are stored in memory 920 Show, Linux inner core 1220, system operation storehouse layer 1240, application framework layer 1260 and application layer are stored with memory 920 1280.Linux inner core 1220 provides the driving of bottom for the various hardware of terminal 100, such as show driving, audio driven, Webcam driver, bluetooth driving, Wi-Fi drivings, power management etc..System operation storehouse layer 1240 by some C/C++ storehouses come for Android system provides main characteristic and supported.As SQLite storehouses provide the support of database, the offer of OpenGL/ES storehouses The support that 3D draws, Webkit storehouses provide support of browser kernel etc..It is also provided with system operation storehouse layer 1240 Android run-time librarys (Android Runtime), it mainly provides some core libraries, can allow for developer to use Java language is applied to write Android.Application framework layer 1260 may be used various when providing structure application program API, developer can also build the application program of oneself by using these API, for example activity management, window management, regard Figure management, notice management, content provider, assure reason, call management, resource management, orientation management.Run in application layer 1280 There is at least one application program, these application programs can be contact person's program, short message program, the clock journey that operating system carries Sequence, camera applications etc.;Can also be the application program that third party developer is developed, such as the beautification of instant messaging program, photograph Program etc..
So that operating system is IOS systems as an example, the program and data stored in memory 920 is as shown in fig. 7, IOS systems Including:Kernel operating system layer 1320 (Core OS layer), kernel service layer 1340 (Core Services layer), matchmaker Body layer 1360 (Media layer), tangible layer 1380 (Cocoa Touch Layer).Kernel operating system layer 1320 includes Operating system nucleus, driver and underlying programs framework, these underlying programs frameworks provide the function closer to hardware, For being used positioned at the program frame of kernel service layer 1340.Kernel service layer 1340 is supplied to required for application program System service and/or program frame, for example, basic (Foundation) framework, account framework, advertising framework, data storage framework, Network connection framework, geographical position framework, moving frame etc..In terms of Media layer 1360 provides relevant audiovisual for application program Interface, such as the related interface of the related interface of the related interface of graph image, Audiotechnica, video technique, audio video transmission skill Radio play (AirPlay) interface of art etc..Tangible layer 1380 provides various conventional interface phases for application development The framework of pass, tangible layer 1380 are responsible for the touch interactive operation of user on the terminal 100.For example local notice services, is long-range Push Service, advertising framework, game tool framework, message user interface interface (User Interface, UI) framework, Yong Hujie Face UIKit frameworks, map frame etc..
In framework illustrated in fig. 7, the framework relevant with major applications program includes but is not limited to:Kernel service layer The UIKit frameworks in basic framework and tangible layer 1380 in 1340.Basic framework provides many basic object class sums According to type, most basic system service is provided for all application programs, and UI unrelated.And the class that UIKit frameworks provide is basis UI class libraries, for creating the user interface based on touch, iOS application programs can provide UI based on UIKit frameworks, so It provides the architecture of application program, for building user interface, drawing, processing and user mutual event, responds gesture Etc..
Touch display screen 930 is used to receive user using any suitable objects such as finger, felt pens on or near it Touch operation, and the user interface of each application program of display.Before touch display screen 930 is generally arranged at terminal 930 Panel.
As shown in figure 8, terminal 100 includes the first housing 41, the second housing 42 and is connected to the first housing 41 and second Connection component 43 between housing 42, the first housing 41 and the second housing 42 realize that upset folds by connection component 43.
First housing 41 includes the first supporting surface being connected with the touch display screen back side, and relative with the first supporting surface First back side, the second housing 42 include the second supporting surface being connected with the touch display screen back side, and relative with the second supporting surface Second back side.Accordingly, touch display screen includes the first viewing area 131, the second viewing area 132 and the 3rd viewing area 133, wherein, the position correspondence of the first viewing area 131 and the first housing 41, the second viewing area 132 and the second housing 42 Position correspondence, the 3rd viewing area 133 and the position correspondence of connection component 43.In one implementation, the first viewing area 131st, the second viewing area 132 and the 3rd viewing area 133 are made of flexible material, have certain flexible ductility; In another implementation, only the 3rd viewing area 133 is made of flexible material, and the first viewing area 131 and second is aobvious Show that region 132 is made of non-flexible material.
In a kind of optional implementation, the connection component 43 of terminal 100 uses Manual structure.User's manual separation When one housing 41 and the second housing 42, terminal 100 is changed into deployed condition from folded state;User closes up the He of the first housing 41 manually During the second housing 42, terminal 100 is changed into folded state from deployed condition.
In another optional implementation, the connection component 43 of terminal 100 uses electric structure, such as, connection group A kind of electronic rotation part of electro-motor is provided with part 43.Under the drive of electronic rotation part, the first housing 41 and Two housings 42 are realized automatically to be closed up or separates, so that terminal 100 possesses expansion and folds two states.
Divided according to whether touch display screen under folded state is exposed, terminal 100 can be divided into outer folding screen Terminal and interior folding screen terminal.Wherein:
Outer folding screen terminal
Outer folding screen terminal refers to that foldable angle is 180 °, and in a folded configuration, touch display screen is all exposed Terminal.As shown in figure 8, terminal 100 is outer folding screen terminal.Under deployed condition, the first support of the first housing 41 of terminal 100 Face and the second supporting surface of the second housing 42 are flush (i.e. angle is 180 °), and the first viewing area 131 of touch display screen, Second viewing area 132 and the 3rd viewing area 133 are generally aligned in the same plane;Terminal 100 is changed into folded state mistake from deployed condition Cheng Zhong, as shown in figure 8, first back side of the first housing 41 and second back side of the second housing 42 are mutually drawn close, the first supporting surface with The angle of second supporting surface is changed into 0 ° from 180 °;Under folded state, as shown in figure 9, first of the first housing 41 of terminal 100 Support face is parallel with the second supporting surface of the second housing 42 (angle of the first housing 41 and the second housing 42 is 0 °) so that touches Display screen is in U-shaped folded state, wherein, the 3rd viewing area 133 of touch display screen forms exposed U-shaped cambered surface.
In a kind of optional implementation, in a folded configuration, all or part of viewing area of touch display screen is used In display user interface.For example as shown in figure 9, under folded state, only the second viewing area 132 is used to show user interface, Or, only the 3rd viewing area 133 is used to show user interface.
Interior folding screen terminal
Interior folding screen terminal refers to that foldable angle is 180 °, and in a folded configuration, touch display screen (whole or portion Point) containing terminal.As shown in Figure 10, terminal 100 is interior folding screen terminal.Under deployed condition, the first housing 41 of terminal 100 The first supporting surface and the second supporting surface of the second housing 42 be flush (i.e. angle is 180 °) so that touch display screen is in flat Face deployed condition (the first viewing area 131, the second viewing area 132 and the 3rd viewing area 133 are generally aligned in the same plane);Terminal During 100 are changed into folded state from deployed condition, as shown in Figure 10, the first supporting surface of the first housing 41 and the second housing 42 The second supporting surface mutually draw close, i.e., the angle of the first supporting surface and the second supporting surface is changed into 0 ° from 180 °;Under folded state, terminal First supporting surface of 100 the first housing 41 is parallel with the second supporting surface of the second housing 42 so that touch display screen is in U Type folded state, wherein, the 3rd viewing area 133 of touch display screen forms containing U-shaped cambered surface.In a kind of optional realization In mode, in a folded configuration, whole viewing areas of touch display screen do not show user interface.
In addition to touch display screen is set on the supporting surface in housing, first back side of the first housing 41 and/or second shell Touch display screen can also be set on second back side of body 42.When interior folding screen terminal is in folded state, the housing back of the body is arranged on The touch display screen in face is used to show user interface, the user interface that the user interface is shown with touch display screen under deployed condition It is identical or different.
In other possible implementations, the foldable angle of terminal 100 can also be 360 ° (both can with infolding or With rolled over), and in a folded configuration, the exposed or containing terminal of touch display screen, the present embodiment is not limited to this.
In terminal 100 shown in Fig. 8 to Figure 10, the first housing 41 and the size of the second housing 42 are same or like, terminal 100 Folding mode be referred to as symmetrical fold.In other possible implementations, the folding mode of terminal 100 can also be non-right Claim to fold.During using asymmetric folding, the size of the first housing 41 and the second housing 42 can different or size differ by more than threshold It is worth (such as 50% or 60% or 70%), accordingly, the area of the first viewing area 131 and the second viewing area in touch display screen The area in domain 132 differs by more than threshold value.
Schematically, as shown in figure 11, terminal 100 be asymmetric folding outer folding screen terminal, the chi of the first housing 41 The very little size for being more than the second housing 42.Under folded state, the area of the first viewing area 131 is more than the second viewing area 132 Area.
In Fig. 8 to 11, only so that terminal 100 includes two housing sections and one is used to connect the connection component of housing as an example (terminal is two folded structures) is schematically illustrated, in other possible implementations, terminal 100 can include n parts Housing and n-1 connection component, accordingly, 2n-1 blocks viewing area is included in the touch display screen of terminal 100, with being connected group N-1 blocks viewing area is made of flexible material corresponding to part, and so as to realize the terminal of n folded structures, the present embodiment is not added with to this To limit.
At least one miscellaneous part is additionally provided with terminal 100, at least one miscellaneous part includes:Camera, fingerprint Sensor, close to optical sensor, range sensor etc..In certain embodiments, at least one miscellaneous part is arranged on terminal 100 Front, side or the back side, for example fingerprint sensor is arranged on the back side of housing or side, that camera is arranged on into touch is aobvious The top of display screen 930.
In further embodiments, at least one miscellaneous part can be integrated in inside or the lower floor of touch display screen 930. In certain embodiments, the receiver of osteoacusis formula is arranged on to the inside of terminal 100;By other on the front panel of conventional terminal Part is integrated in Zone Full or the subregion of touch display screen 930, for example the photo-sensitive cell in camera is split as After multiple photosensitive pixels, each photosensitive pixel is integrated in the black region in touch display screen 930 in each display pixel, So that touch display screen 930 possesses image collecting function.Due at least one miscellaneous part has been integrated in into touch display screen 930 Inside or lower floor, therefore terminal 100 has higher screen accounting.
In some optional embodiments, the single side of the center of terminal 100, or two sides (such as left and right two Side), or edge touch sensing is provided with four sides (such as four, upper and lower, left and right side), the edge touch-control passes Sensor is used to detect at least one of touch operation, clicking operation, pressing operation and the slide of user on center etc. Operation.The edge touch sensing can be any one in touch sensor, heating power sensor, pressure sensor etc..With Family can apply operation on edge touch sensing, and the application program in terminal 100 is controlled.
In addition, it will be understood by those skilled in the art that the structure of the terminal 100 shown by above-mentioned accompanying drawing is not formed Restriction to terminal 100, terminal can be included than illustrating more or less parts, either combine some parts or difference Part arrangement.For example also include radio circuit, input block, sensor, voicefrequency circuit, Wireless Fidelity in terminal 100 The parts such as (Wireless Fidelity, WiFi) module, power supply, bluetooth module, will not be repeated here.
In the exemplary embodiment, a kind of computer-readable recording medium including instructing is additionally provided, such as including referring to The memory 920 of order, above-mentioned instruction can be performed to complete the above method by the processor 920 of terminal 100.For example, the calculating Machine readable storage medium storing program for executing can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices Deng.
The another embodiment of the disclosure provides a kind of computer-readable recording medium, the instruction in the storage medium By terminal computing device when so that terminal is able to carry out:When detecting that the Folding screen folds, it is determined that current Fold parameter;
According to the folding parameter and the corresponding relation of the kinematic parameter of virtual target prestored, it is determined that current folding ginseng The parameters of target motion corresponding to number;
The motion state of the virtual target is adjusted based on the parameters of target motion.
Alternatively, the folding parameter is folding direction, and the kinematic parameter is into acceleration mode or enters deceleration State.
Alternatively, the folding parameter is folding angles, folding parameter that the basis prestores and virtual target The corresponding relation of kinematic parameter, it is determined that the parameters of target motion corresponding to current folding parameter, including:
According to the folding angles and the corresponding relation of the acceleration of virtual target prestored, it is determined that current folding angles Corresponding aimed acceleration;
It is described that the motion state of the virtual target is adjusted based on the aimed acceleration, including:
The motion state of the virtual target is adjusted based on the aimed acceleration.
Alternatively, the folding parameter is folding angles, folding parameter that the basis prestores and virtual target The corresponding relation of kinematic parameter, it is determined that the parameters of target motion corresponding to current folding parameter, including:
According to the folding angles and the corresponding relation of the jump height of virtual target prestored, it is determined that current angle folding Target jump height corresponding to degree;
It is described that the motion state of the virtual target is adjusted based on the parameters of target motion, including:
The motion state of the virtual target is adjusted based on the target jump height.
Alternatively, it is provided with sensor at the folding shaft of the Folding screen;
It is determined that current folding parameter, including:
Current folding parameter is detected by the sensor.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (12)

  1. A kind of 1. method for controlling virtual target motion, it is characterised in that methods described is applied to the terminal for being configured with Folding screen, Methods described includes:
    When detecting that the Folding screen folds, it is determined that current folding parameter;
    According to the folding parameter and the corresponding relation of the kinematic parameter of virtual target prestored, it is determined that current folding parameter pair The parameters of target motion answered;
    The motion state of the virtual target is adjusted based on the parameters of target motion.
  2. 2. according to the method for claim 1, it is characterised in that the folding parameter is folding direction, the kinematic parameter To enter acceleration mode or into deceleration regime.
  3. 3. according to the method for claim 1, it is characterised in that the folding parameter is folding angles, and the basis is advance The corresponding relation of the folding parameter of storage and the kinematic parameter of virtual target, it is determined that target corresponding to current folding parameter is moved Parameter, including:
    According to the folding angles and the corresponding relation of the acceleration of virtual target prestored, it is determined that current folding angles are corresponding Aimed acceleration;
    It is described that the motion state of the virtual target is adjusted based on the aimed acceleration, including:
    The motion state of the virtual target is adjusted based on the aimed acceleration.
  4. 4. according to the method for claim 1, it is characterised in that the folding parameter is folding angles, and the basis is advance The corresponding relation of the folding parameter of storage and the kinematic parameter of virtual target, it is determined that target corresponding to current folding parameter is moved Parameter, including:
    According to the folding angles and the corresponding relation of the jump height of virtual target prestored, it is determined that current folding angles pair The target jump height answered;
    It is described that the motion state of the virtual target is adjusted based on the parameters of target motion, including:
    The motion state of the virtual target is adjusted based on the target jump height.
  5. 5. according to the method for claim 1, it is characterised in that be provided with sensor at the folding shaft of the Folding screen;
    It is determined that current folding parameter, including:
    Current folding parameter is detected by the sensor.
  6. 6. a kind of terminal for controlling virtual target motion, it is characterised in that the terminal is configured with Folding screen, the terminal bag Include:
    First determining module, for when detecting that the Folding screen folds, it is determined that current folding parameter;
    Second determining module, the folding parameter and the corresponding relation of the kinematic parameter of virtual target prestored for basis, really The parameters of target motion corresponding to folding parameter before settled;
    Adjusting module, for being adjusted based on the parameters of target motion to the motion state of the virtual target.
  7. 7. terminal according to claim 6, it is characterised in that the folding parameter is folding direction, the kinematic parameter To enter acceleration mode or into deceleration regime.
  8. 8. terminal according to claim 6, it is characterised in that second determining module is used for according to the folding prestored The corresponding relation of the acceleration of folded angle and virtual target, it is determined that aimed acceleration corresponding to current folding angles;
    The adjusting module is used to be adjusted the motion state of the virtual target based on the aimed acceleration.
  9. 9. terminal according to claim 6, it is characterised in that the folding parameter is folding angles, and described second determines Module is used for according to the folding angles and the corresponding relation of the jump height of virtual target prestored, it is determined that current angle folding Target jump height corresponding to degree;
    The adjusting module is used to be adjusted the motion state of the virtual target based on the target jump height.
  10. 10. terminal according to claim 6, it is characterised in that be provided with sensor at the folding shaft of the Folding screen;
    First determining module is used to detect current folding parameter by the sensor.
  11. 11. a kind of terminal, it is characterised in that the terminal includes processor and memory, is stored with least in the memory One instruction, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the generation Code collection or instruction set are loaded by the processor and performed to realize that the control virtual target as described in claim 1-5 is any is transported Dynamic method.
  12. 12. a kind of computer-readable recording medium, it is characterised in that at least one instruction, extremely is stored with the storage medium Few one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or the instruction Collection is loaded by processor and performed to realize the method for the control virtual target motion as described in claim 1-5 is any.
CN201710976511.0A 2017-10-19 2017-10-19 Control the method and terminal of virtual target motion Pending CN107656685A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710976511.0A CN107656685A (en) 2017-10-19 2017-10-19 Control the method and terminal of virtual target motion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710976511.0A CN107656685A (en) 2017-10-19 2017-10-19 Control the method and terminal of virtual target motion

Publications (1)

Publication Number Publication Date
CN107656685A true CN107656685A (en) 2018-02-02

Family

ID=61119170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710976511.0A Pending CN107656685A (en) 2017-10-19 2017-10-19 Control the method and terminal of virtual target motion

Country Status (1)

Country Link
CN (1) CN107656685A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108509130A (en) * 2018-05-16 2018-09-07 上海约游网络科技有限公司 Man-machine interaction method and device
CN109613958A (en) * 2018-11-26 2019-04-12 维沃移动通信有限公司 A kind of terminal equipment control method and terminal device
CN109806589A (en) * 2019-02-19 2019-05-28 Oppo广东移动通信有限公司 Virtual object control method and device, electronic equipment and storage medium
CN110013673A (en) * 2019-04-08 2019-07-16 努比亚技术有限公司 A kind of method, apparatus and storage medium carrying out game using folding display screen
CN110064197A (en) * 2019-05-24 2019-07-30 网易(杭州)网络有限公司 Game control method, device, equipment and storage medium
CN110090441A (en) * 2019-05-31 2019-08-06 网易(杭州)网络有限公司 Control method and device, storage medium and the electronic equipment of game operation
CN110227256A (en) * 2019-07-22 2019-09-13 网易(杭州)网络有限公司 Virtual role control method, device, medium and electronic equipment in game
CN110413136A (en) * 2019-07-29 2019-11-05 网易(杭州)网络有限公司 Control method, device, computer storage medium and the electronic equipment of virtual objects
CN111068300A (en) * 2019-12-19 2020-04-28 网易(杭州)网络有限公司 Control method and equipment for game object
CN111086509A (en) * 2019-12-30 2020-05-01 北汽福田汽车股份有限公司 Vehicle control method, device, storage medium and vehicle

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389866A (en) * 2012-05-09 2013-11-13 Lg电子株式会社 Mobile terminal and control method thereof
CN103853541A (en) * 2012-12-04 2014-06-11 联想(北京)有限公司 Information processing method and electronic equipment
US20140218321A1 (en) * 2013-02-01 2014-08-07 Samsung Display Co., Ltd. Mobile device including a flexible display device and method of operating the same
CN105190476A (en) * 2013-03-04 2015-12-23 Lg电子株式会社 Double unlocking apparatus of a portable device equipped with an expandable display and controlling method thereof
CN105452983A (en) * 2014-05-23 2016-03-30 三星电子株式会社 Foldable device and method of controlling the same
CN106155415A (en) * 2016-06-30 2016-11-23 维沃移动通信有限公司 A kind of game control method and mobile terminal
CN106293580A (en) * 2011-02-10 2017-01-04 三星电子株式会社 Portable set and control method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293580A (en) * 2011-02-10 2017-01-04 三星电子株式会社 Portable set and control method thereof
CN103389866A (en) * 2012-05-09 2013-11-13 Lg电子株式会社 Mobile terminal and control method thereof
CN103853541A (en) * 2012-12-04 2014-06-11 联想(北京)有限公司 Information processing method and electronic equipment
US20140218321A1 (en) * 2013-02-01 2014-08-07 Samsung Display Co., Ltd. Mobile device including a flexible display device and method of operating the same
CN105190476A (en) * 2013-03-04 2015-12-23 Lg电子株式会社 Double unlocking apparatus of a portable device equipped with an expandable display and controlling method thereof
CN105452983A (en) * 2014-05-23 2016-03-30 三星电子株式会社 Foldable device and method of controlling the same
CN106155415A (en) * 2016-06-30 2016-11-23 维沃移动通信有限公司 A kind of game control method and mobile terminal

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108509130A (en) * 2018-05-16 2018-09-07 上海约游网络科技有限公司 Man-machine interaction method and device
CN109613958A (en) * 2018-11-26 2019-04-12 维沃移动通信有限公司 A kind of terminal equipment control method and terminal device
CN109806589A (en) * 2019-02-19 2019-05-28 Oppo广东移动通信有限公司 Virtual object control method and device, electronic equipment and storage medium
CN110013673A (en) * 2019-04-08 2019-07-16 努比亚技术有限公司 A kind of method, apparatus and storage medium carrying out game using folding display screen
CN110064197A (en) * 2019-05-24 2019-07-30 网易(杭州)网络有限公司 Game control method, device, equipment and storage medium
CN110064197B (en) * 2019-05-24 2023-06-27 网易(杭州)网络有限公司 Game control method, device, equipment and storage medium
CN110090441A (en) * 2019-05-31 2019-08-06 网易(杭州)网络有限公司 Control method and device, storage medium and the electronic equipment of game operation
CN110090441B (en) * 2019-05-31 2023-03-10 网易(杭州)网络有限公司 Game operation control method and device, storage medium and electronic equipment
CN110227256A (en) * 2019-07-22 2019-09-13 网易(杭州)网络有限公司 Virtual role control method, device, medium and electronic equipment in game
CN110413136A (en) * 2019-07-29 2019-11-05 网易(杭州)网络有限公司 Control method, device, computer storage medium and the electronic equipment of virtual objects
CN111068300A (en) * 2019-12-19 2020-04-28 网易(杭州)网络有限公司 Control method and equipment for game object
CN111086509A (en) * 2019-12-30 2020-05-01 北汽福田汽车股份有限公司 Vehicle control method, device, storage medium and vehicle

Similar Documents

Publication Publication Date Title
CN107656685A (en) Control the method and terminal of virtual target motion
CN107870716A (en) The method and apparatus for calling background application
CN107577414A (en) The method and mobile terminal of split screen display available
CN107765959A (en) Background application display methods and terminal
CN107704177A (en) interface display method, device and terminal
CN107765952B (en) Screen capturing method and device and terminal
CN107844228A (en) Message display method, device and terminal
CN107770312A (en) Method for information display, device and terminal
CN107623793A (en) The method and apparatus of image taking processing
CN107765835A (en) Light the method, apparatus and terminal of screen
CN107765971A (en) Method for displaying user interface and equipment
CN107870724A (en) Display screen method of deploying, device and terminal
CN107809504A (en) Method, apparatus, terminal and the storage medium of display information
CN107846515A (en) shooting parameter adjustment method, device and terminal
US11231845B2 (en) Display adaptation method and apparatus for application, and storage medium
CN107678661A (en) The method and apparatus of display data content
CN107831999A (en) Screen control method, device and terminal
CN107678724A (en) A kind of method for information display, device, mobile terminal and storage medium
CN107563168A (en) Unlocking method, device and the mobile terminal of mobile terminal
US20150120817A1 (en) Electronic device for sharing application and control method thereof
CN107888769A (en) Scene mode starts method, apparatus and terminal
CN107807773A (en) One kind is using attend to anything else method, apparatus, terminal and storage medium
CN107590006A (en) Document handling method, device and mobile terminal
CN107589903A (en) The method and apparatus for showing more page number displaying information
CN111701238A (en) Virtual picture volume display method, device, equipment and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180202

RJ01 Rejection of invention patent application after publication