CN109985385A - The control method and device of a kind of game station and its game role - Google Patents
The control method and device of a kind of game station and its game role Download PDFInfo
- Publication number
- CN109985385A CN109985385A CN201811489239.4A CN201811489239A CN109985385A CN 109985385 A CN109985385 A CN 109985385A CN 201811489239 A CN201811489239 A CN 201811489239A CN 109985385 A CN109985385 A CN 109985385A
- Authority
- CN
- China
- Prior art keywords
- person
- ratio
- game
- game role
- glasses
- 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.)
- Granted
Links
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
- A63F13/525—Changing parameters of virtual cameras
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/55—Controlling game characters or game objects based on the game progress
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/80—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
- A63F2300/8082—Virtual reality
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A kind of control method of game role include: obtain the VR glasses that user wears height and VR glasses ground projected position;Calculate the height for the VR glasses that the user wears and the elemental height of VR glasses the first ratio and VR glasses the distance of the center of the projected position relative to user coordinate system on ground and the elemental height of VR glasses the second ratio;If the first ratio is less than the first predetermined ratio, and second ratio be greater than the second predetermined ratio, and when current visual angle is first person, then game role is controlled according to First Speed movement and game picture is switched to third person by first person.Detect that user is currently at the state arched one's back and moved under water, it is mobile according to First Speed that game role is controlled according to the state, and game picture is made to be switched to third person, allows users to obtain feeling forward in this state, dizzy sense is advantageously reduced, is improved the user experience.
Description
Technical field
The application belongs to the control method and device of VR field of play more particularly to game station and its game role.
Background technique
The principle of VR game is the virtual world that a three-dimensional space is generated using computer simulation, provides user about view
The simulation of the sense organs such as feel, the sense of hearing, tactile allows user to experience the experience being personally on the scene, at the same can freely with the space
Interior things is interacted.
When controlling role's progress movement over long distances in VR game, moved generally by key control role,
Perhaps in such a way that moment transmits or in such a way that blank screen switches, length of the Lai Shixian user to the role in VR game
The mobile control requirement of distance.Although the mobile requirement of the long range to role in game can be solved preferably, pass through
The visual field is interrupted in blank screen handoff procedure, and glasses meeting blank screen can't see anything, user be retracted reality by force, and repeatedly
Switch and be easy dizziness, affect experience sense, when being switched by the visual field, visual field variation is too fast, can generate visual impact, user is caused to hold
It is also easy to produce dizziness, influences the experience sense that user uses VR game.
Summary of the invention
In view of this, the embodiment of the present application provides the control method and device of a kind of game station and its game role,
It is dizzy to be easy to produce when solving that control game role is mobile in the prior art, the problem of affecting user experience.
The first aspect of the embodiment of the present application provides a kind of control method of game role, the control of the game role
Method includes:
Obtain user wear VR glasses height and VR glasses ground projected position;
Calculate the first ratio and VR glasses of the height for the VR glasses that the user wears and the elemental height of VR glasses
Ground projected position relative to user coordinate system center distance and VR glasses elemental height the second ratio;
If the first ratio is greater than the second predetermined ratio less than the first predetermined ratio and the second ratio, and works as forward sight
When angle is first person, then game role is controlled according to First Speed movement and cuts game picture by first person
It is changed to third person.
With reference to first aspect, in the first possible implementation of first aspect, game picture is controlled by the first person
View angle switch be third person the step of include:
When the game picture is switched to third person by first person, third person is initialized,
According to being game picture camera position at the preset distance in the current back direction of game role, camera shooting direction is game role
The direction of front direction or camera position to game role position;
Under third person, in game role moving process, the opposite position of camera position and game role is kept
Set constant, the direction of the third person of camera shooting direction holding initialization.
With reference to first aspect, in second of possible implementation of first aspect, the method also includes:
If the first ratio is greater than or equal to first predetermined ratio, alternatively, the second ratio is less than or equal to second in advance
Determine ratio, then the game picture is shown by first person.
The possible implementation of second with reference to first aspect, in the third possible implementation of first aspect, institute
State method further include:
If the first ratio is greater than or equal to first predetermined ratio or the second ratio is less than or equal to described make a reservation for
Ratio then obtains the movement speed of game player in real time;
According to the movement speed of the player, the movement speed of the game role is controlled.
With reference to first aspect, the possible implementation of the first of first aspect, first aspect second of implementation or
The third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, the method also includes:
Using the moving direction of the player as the moving direction of the game role, or further include, in the first person
Under visual angle, using the movement speed of the player as the movement speed of game role.
The second aspect of the embodiment of the present application provides a kind of control device of game role, the control of the game role
Device includes:
Data capture unit, for obtain user wearing VR glasses height and VR glasses ground projection position
It sets;
Ratio calculation unit, for calculating the of the height for the VR glasses that the user wears and the elemental height of VR glasses
One ratio and VR glasses ground projected position relative to user coordinate system center distance and VR glasses just
Second ratio of beginning height;
View angle switch unit, if being greater than second in advance less than the first predetermined ratio and the second ratio for the first ratio
Determine ratio, and when current visual angle is first person, then it is mobile according to First Speed and draw game to control game role
Face is switched to third person by first person.
In conjunction with second aspect, in the first possible implementation of second aspect, the view angle switch unit includes:
Subelement is initialized, for when the game picture is switched to third person by first person, just
Beginningization third person is taken the photograph according to being game picture camera position at the preset distance in the current back direction of game role
Image space to for game role front direction or camera position to game role position direction;
Mobile control subelement, in game role moving process, keeping camera position under third person
Constant with the relative position of game role, camera shooting direction keeps the direction of the third person of initialization.
In conjunction with second aspect, in second of possible implementation of second aspect, described device further include:
First person display unit, if being greater than or equal to first predetermined ratio for the first ratio, alternatively,
Second ratio is less than or equal to the second predetermined ratio, then shows the game picture by first person.
The third aspect of the embodiment of the present application provides a kind of game station, including memory, processor and is stored in
In the memory and the computer program that can run on the processor, when the processor executes the computer program
It realizes as described in any one of first aspect the step of the control method of game role.
The fourth aspect of the embodiment of the present application provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, and the game as described in any one of first aspect is realized when the computer program is executed by processor
The step of control method of role.
Existing beneficial effect is the embodiment of the present application compared with prior art: the VR glasses worn by obtaining user
Highly, and the VR glasses of wearing are in the projected position on ground, determine first according to the height of the VR glasses and elemental height
Ratio, the distance and elemental height according to the VR glasses in the center of the projected position to user coordinate system on ground are true
Fixed second ratio, if the first ratio, less than the first predetermined ratio, and the second ratio is greater than the second predetermined ratio, that is, detects use
Family is currently at the state arched one's back and moved under water, and it is mobile according to First Speed to control game role according to the state, and makes game picture
Third person is switched to by first person, allows users to obtain feeling forward in this state, be conducive to
Dizzy sense is reduced, is improved the user experience.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some of the application
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is a kind of implementation process schematic diagram of the control method of game role provided by the embodiments of the present application;
Fig. 2 is that a kind of player provided by the embodiments of the present application controls posture with reference to figure;
Fig. 3 is the implementation process schematic diagram of the control method of another game role provided by the embodiments of the present application;
Fig. 4 is the implementation process schematic diagram of the control method of another game role provided by the embodiments of the present application;
Fig. 5 is a kind of schematic diagram of the control device of game role provided by the embodiments of the present application;
Fig. 6 is the schematic diagram of game station provided by the embodiments of the present application.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, so as to provide a thorough understanding of the present application embodiment.However, it will be clear to one skilled in the art that there is no these specific
The application also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, so as not to obscure the description of the present application with unnecessary details.
In order to illustrate technical solution described herein, the following is a description of specific embodiments.
Fig. 1 is a kind of implementation process schematic diagram of the control method of game role provided by the embodiments of the present application, is described in detail such as
Under:
In step s101, obtain user wear VR glasses height and VR glasses ground projected position;
Specifically, the height for the VR glasses that the user wears, can pass through positioning device, such as infrared positioning device
Deng, or the exercise data of the VR glasses can also be detected according to the sensing equipment being arranged in VR glasses, according to the fortune of detection
Dynamic data, acquire the height of the VR glasses in real time.Based on same acquisition principle, can by infrared positioning device, or
The exercise data that the VR glasses can also be detected according to the sensing equipment being arranged in VR glasses, according to the exercise data of detection,
The VR glasses are acquired in real time in the projected position on ground.
Wherein, the VR glasses refer to the spatial position of VR glasses in the vertical of level ground in the projected position on ground
The position of projection.Therefore, according to VR glasses in the definition of the projected position on ground, VR glasses are in the movement for holding up direction, i.e. VR
The y-coordinate value of glasses will not influence VR glasses in the variation of the projected position on ground.
In step s 102, the first ratio of the height for the VR glasses that the user wears and the elemental height of VR glasses is calculated
Value and VR glasses ground projected position relative to user coordinate system center distance and VR glasses initial height
Second ratio of degree;
In this application, it is fast moved to effectively control game role according to scheduled speed, needs to obtain two
Parameter, to determine that user is in the preset state of moving under water of arching one's back, i.e. player shown in Fig. 2 controls posture with reference in figure, the parameter
The respectively height of glasses decline and the distance at glasses offset user coordinate system center, in order to adapt to the height of different user
Difference is indicated by the first ratio and the second ratio respectively by introducing height parameter:
Wherein, the first ratio is the ratio of the height for the VR glasses that the user wears and the elemental height of VR glasses, the
Two ratios be the user wear VR glasses ground projected position relative to user coordinate system center distance
With the ratio of the elemental height of VR glasses.
When user, which is in, arches one's back state, the height for the VR glasses that the user wears will be generally less than elemental height, because
This, first ratio is generally less than 1 and close to 1.And VR glasses ground projected position relative in user coordinate system
The distance of heart position can generally be much smaller than the elemental height of VR glasses, therefore the numerical value can be much smaller than 1.
And the purpose for choosing the second ratio is, prevent user occur bowing etc. operation when, accidentally control can be generated, make game
Role can effectively avoid the occurrence of such maloperation by the limitation of the second ratio according to the mobile instruction of First Speed
Generated control instruction.
In step s 103, if the first ratio is greater than the second predetermined ratio less than the first predetermined ratio and the second ratio
Value, and when current visual angle is first person, then control game role it is mobile according to First Speed and by game picture by
First person is switched to third person.
If the first ratio is less than the first predetermined ratio, for example the first predetermined ratio can be 95%, or can be with root
The size of first predetermined ratio is adjusted according to the motor habit of user, if the first ratio is less than first predetermined ratio
When, then it represents that the height for the VR glasses that user currently wears has dropped certain amplitude, and user is currently likely to be at the state of arching one's back,
It or is also likely to be the decline of the height of VR glasses caused by user bows.
In order to further confirm that the current action state of user, compared by the second ratio, the described second predetermined ratio
Value can be 15%, or the size of second predetermined ratio can be adjusted according to the motor habit of user, when described first
Ratio is less than the first predetermined ratio, and when the second ratio is greater than second predetermined ratio, then it represents that the height of current VR glasses
Degree decline and non-user is bowed and caused, can determine that user is currently at the state of moving under water, then can control game role according to the
One speed is mobile, and game picture is switched to third person, allows users to obtain sense forward in this state
Feel, advantageously reduce user's spinning sensation, improve the VR experience of user, and can effectively control game role in whole scene
The movement of long range.
Certainly, as the application preferred embodiment, it is also possible to set the first different ratio, corresponding different movement
Speed, such as can be for when the first ratio is lower, movement speed is smaller.
In addition, if above-mentioned two condition can only meet any one, or be both unsatisfactory for, then it can be switched to first
People claims visual angle, shows the game picture of first person.
Alternatively, in further embodiment, if the first ratio is greater than or equal to first predetermined ratio, alternatively,
Second ratio is less than or equal to the second predetermined ratio, then can be according to the movement speed of player, to control the movement of game role
Speed can make the movement speed of player identical as the movement speed of game role, it is also possible that the movement speed of player
It is moved according to a certain percentage with the movement speed of game role, the moving direction of the game role can also be with the player's
Moving direction is identical.
In this way, then can control game role according to the movement of first movement speed, such as when player is in " squatting down " state
Fruit player is in " upright " state, then the movement speed of game role can be made to match with the true movement speed of player, and
And when player's rotation, the direction of game role also changes accordingly.
Fig. 3 is the implementation process schematic diagram of another game role control method provided by the embodiments of the present application, and details are as follows:
In step S301, obtain user wear VR glasses height and VR glasses ground projected position;
In step s 302, the first ratio of the height for the VR glasses that the user wears and the elemental height of VR glasses is calculated
Value and VR glasses ground projected position relative to user coordinate system center distance and VR glasses initial height
Second ratio of degree;
In step S303, if the first ratio is greater than the second predetermined ratio less than the first predetermined ratio and the second ratio
Value, and current visual angle be first person when, initialize third person, according to the current back direction of game role
Preset distance at be game picture camera position, camera shooting direction be game role front direction or camera position arrive
The direction of game role position;
If currently control game role by First Speed move, as the application preferred embodiment, also into
One step controls the switching at the visual angle of the game picture, and the role enabled a user in more convenient control game moves
It is dynamic.Even if obtaining user when control game role is in more quick moving condition, user passes through third person, observation
More game picture content, and make game role itself and be in image content.
In step s 304, under third person, in game role moving process, camera position and game are kept
The relative position of role is constant, and camera shooting direction keeps the direction of the third person of initialization.
For this purpose, the application when being switched to third person, by initialization, determines the back direction of game role,
And the preset distance in the back direction along the game role, for example can be selected as along 4 meters of back direction (certainly not
It is confined to the back direction of this game role), it is determined as the camera site of the game picture, and camera angle is alignment trip
Immediately ahead of play role direction or game role.After the completion of initialization, shooting direction can be remained unchanged, and camera site can
To adjust camera site according to the content of actual scene.For example, when there is barrier in game role rear, then adjustable height institute
Camera position is stated, and after having adjusted camera position, camera shooting direction is still directed at game role.
Optionally, when being switched to third person, camera site can according to need its for being defined as game role
Its any relative position.
Optionally, when game role stops or with slower speed movement, i.e., if the first ratio is greater than or equal to
First predetermined ratio, alternatively, the second ratio is less than or equal to the second predetermined ratio, game role is converted to according to player's
Movement speed is mobile to control game role, at this point, the current surrounding pictures of game role can be viewed for the ease of user,
Game picture is switched into first person, i.e., shows the content that directly can see by game role in picture, it can be with
Shadow or body including game role.
By the switching at visual angle, the game that can enable a user to view different perspectives in the state of difference is drawn
Face is conducive to the more convenient reliable control game role of user.
Fig. 4 is the implementation process schematic diagram of the control method of another game role provided by the present application, and details are as follows:
In step S401, obtain user wear VR glasses height and VR glasses ground projected position;
In step S402, the first ratio of the height for the VR glasses that the user wears and the elemental height of VR glasses is calculated
Value and VR glasses ground projected position relative to user coordinate system center distance and VR glasses initial height
Second ratio of degree;
In step S403, if the first ratio is greater than the second predetermined ratio less than the first predetermined ratio and the second ratio
Value, and when current visual angle is first person, then control game role it is mobile according to First Speed and by game picture by
First person is switched to third person.
Step S101-S103 in step S401-S403 and Fig. 1 is essentially identical, so here is no more repetition.
In step s 404, obtain center of the VR glasses relative to user coordinate system offset direction and/or
Offset distance;
In step S405, using the moving direction of the player as the moving direction of the game role, or also wrap
It includes, under first person, using the movement speed of the player as the movement speed of game role.
The embodiment of the present application passes through the offset direction of center of the VR glasses of determining user relative to user coordinate system,
Determine the moving direction of game role, for example when user deviates to the left, game role is moved to the left, when user deviates to the right,
Game role deviates to the right, enables a user to the control game role more vivid by body.Certainly, the reality of optimization
It applies in mode, under first person, the change speed of moving direction can be determined according to the distance or amplitude of offset, from
And facilitate user can be using the moving direction of different speed adjustment game roles.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present application constitutes any limit
It is fixed.
Fig. 5 is a kind of structural schematic diagram of the control device of game role provided by the embodiments of the present application, and details are as follows:
The control device of the game role, comprising:
Data capture unit 501, for obtain user wearing VR glasses height and VR glasses ground projection
Position;
Ratio calculation unit 502, for calculating the height for the VR glasses that the user wears and the elemental height of VR glasses
The first ratio and VR glasses ground projected position relative to user coordinate system center distance and VR glasses
Elemental height the second ratio;
View angle switch unit 503, if being greater than second less than the first predetermined ratio and the second ratio for the first ratio
It is mobile according to First Speed and by game then to control game role for predetermined ratio, and when current visual angle is first person
Picture is switched to third person by first person.
Preferably, described device further include:
Subelement is initialized, for when the game picture is switched to third person by first person, just
Beginningization third person is taken the photograph according to being game picture camera position at the preset distance in the current back direction of game role
Image space to for game role front direction or camera position to game role position direction;
Mobile control subelement, in game role moving process, keeping camera position under third person
Constant with the relative position of game role, camera shooting direction keeps the direction of the third person of initialization.
Preferably, described device further include:
First person display unit, if being greater than or equal to first predetermined ratio for the first ratio, alternatively,
Second ratio is less than or equal to the second predetermined ratio, then shows the game picture by first person.
The control device of game role described in Fig. 5, it is corresponding with the control method of game role described in Fig. 1.
Fig. 6 is the schematic diagram for the game station that one embodiment of the application provides.As shown in fig. 6, the game of the embodiment is set
Standby 6 include: processor 60, memory 61 and are stored in the meter that can be run in the memory 61 and on the processor 60
Calculation machine program 62, such as the control program of game role.The processor 60 is realized above-mentioned when executing the computer program 62
Step in the control method embodiment of each game role, such as step 101 shown in FIG. 1 is to 103.Alternatively, the processing
Device 60 realizes the function of each module/unit in above-mentioned each Installation practice when executing the computer program 62, such as shown in Fig. 5
The function of module 501 to 503.
Illustratively, the computer program 62 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 61, and are executed by the processor 60, to complete the application.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 62 in the game station 6 is described.For example, the computer program 62 can be divided
It is cut into data capture unit, ratio calculation unit and view angle switch unit, each unit concrete function is as follows:
Data capture unit, for obtain user wearing VR glasses height and VR glasses ground projection position
It sets;
Ratio calculation unit, for calculating the of the height for the VR glasses that the user wears and the elemental height of VR glasses
One ratio and VR glasses ground projected position relative to user coordinate system center distance and VR glasses just
Second ratio of beginning height;
View angle switch unit, if being greater than second in advance less than the first predetermined ratio and the second ratio for the first ratio
Determine ratio, and when current visual angle is first person, then it is mobile according to First Speed and draw game to control game role
Face is switched to third person by first person.
The game station may include, but be not limited only to, processor 60, memory 61.Those skilled in the art can manage
Solution, Fig. 6 is only the example of game station 6, does not constitute the restriction to game station 6, may include more or more than illustrating
Few component perhaps combines certain components or different components, such as the game station can also be set including input and output
Standby, network access equipment, bus etc..
Alleged processor 60 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 61 can be the internal storage unit of the game station 6, such as the hard disk or interior of game station 6
It deposits.The memory 61 is also possible to the External memory equipment of the game station 6, such as be equipped on the game station 6
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge
Deposit card (Flash Card) etc..Further, the memory 61 can also both include the storage inside list of the game station 6
Member also includes External memory equipment.The memory 61 is for storing needed for the computer program and the game station
Other programs and data.The memory 61 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
Scope of the present application.
In embodiment provided herein, it should be understood that disclosed device/terminal device and method, it can be with
It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as
Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device
Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the application realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..Computer-readable Jie
Matter may include: can carry the computer program code any entity or device, recording medium, USB flash disk, mobile hard disk,
Magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice
Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and
Telecommunication signal.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although referring to aforementioned reality
Example is applied the application is described in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all
Comprising within the scope of protection of this application.
Claims (10)
1. a kind of control method of game role, which is characterized in that the control method of the game role includes:
Obtain user wear VR glasses height and VR glasses ground projected position;
The first ratio and VR glasses for calculating the height for the VR glasses that the user wears and the elemental height of VR glasses are on ground
Second ratio of the projected position in face relative to the distance of the center of user coordinate system and the elemental height of VR glasses;
If the first ratio is greater than the second predetermined ratio less than the first predetermined ratio and the second ratio, and current visual angle is
When first person, then game role is controlled according to First Speed movement and is switched to game picture by first person
Third person.
2. the control method of game role according to claim 1, which is characterized in that control game picture is by the first person
View angle switch be third person the step of include:
When the game picture is switched to third person by first person, third person is initialized, according to
At the preset distance in the current back direction of game role be game picture camera position, camera shooting direction be game role just before
The direction of Fang Fangxiang or camera position to game role position;
Under third person, in game role moving process, the relative position of camera position and game role is kept not
Become, camera shooting direction keeps the direction of the third person of initialization.
3. the control method of game role according to claim 1, which is characterized in that the method also includes:
If the first ratio is greater than or equal to first predetermined ratio, alternatively, the second ratio is less than or equal to the second predetermined ratio
Value, then show the game picture by first person.
4. the control method of game role according to claim 3, which is characterized in that the method also includes:
If the first ratio is greater than or equal to first predetermined ratio or the second ratio is less than or equal to the predetermined ratio
Value then obtains the movement speed of game player in real time;
According to the movement speed of the player, the movement speed of the game role is controlled.
5. the control method of game role according to claim 1-4, which is characterized in that the method is also wrapped
It includes:
Using the moving direction of the player as the moving direction of the game role, or further include, in first person
Under, using the movement speed of the player as the movement speed of game role.
6. a kind of control device of game role, which is characterized in that the control device of the game role includes:
Data capture unit, for obtain user wearing VR glasses height and VR glasses ground projected position;
Ratio calculation unit, for calculating the first ratio of the height for the VR glasses that the user wears and the elemental height of VR glasses
Value and VR glasses ground projected position relative to user coordinate system center distance and VR glasses initial height
Second ratio of degree;
View angle switch unit, if being greater than the second predetermined ratio less than the first predetermined ratio and the second ratio for the first ratio
Value, and when current visual angle is first person, then control game role it is mobile according to First Speed and by game picture by
First person is switched to third person.
7. the control device of game role according to claim 6, which is characterized in that the view angle switch unit includes:
Subelement is initialized, for initializing when the game picture is switched to third person by first person
Third person, according at the preset distance in the current back direction of game role be game picture camera position, camera shooting side
To for game role front direction or camera position to game role position direction;
Mobile control subelement, in game role moving process, keeping camera position and trip under third person
The relative position of play role is constant, and camera shooting direction keeps the direction of the third person of initialization.
8. the control device of game role according to claim 6, which is characterized in that described device further include:
First person display unit, if being greater than or equal to first predetermined ratio for the first ratio, alternatively, second
Ratio is less than or equal to the second predetermined ratio, then shows the game picture by first person.
9. a kind of game station, including memory, processor and storage are in the memory and can be on the processor
The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 5 when executing the computer program
The step of control method of any one game role.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In the control method of realization game role as described in any one of claim 1 to 5 when the computer program is executed by processor
The step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811489239.4A CN109985385B (en) | 2018-12-06 | 2018-12-06 | Game equipment and control method and device for game role of game equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811489239.4A CN109985385B (en) | 2018-12-06 | 2018-12-06 | Game equipment and control method and device for game role of game equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109985385A true CN109985385A (en) | 2019-07-09 |
CN109985385B CN109985385B (en) | 2022-08-05 |
Family
ID=67129039
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811489239.4A Active CN109985385B (en) | 2018-12-06 | 2018-12-06 | Game equipment and control method and device for game role of game equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109985385B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112040209A (en) * | 2020-09-14 | 2020-12-04 | 龙马智芯(珠海横琴)科技有限公司 | VR scene projection method and device, projection system and server |
CN117499701A (en) * | 2023-12-29 | 2024-02-02 | 景色智慧(北京)信息科技有限公司 | Method and device for realizing riding game lens close-up and electronic equipment |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000024313A (en) * | 1998-07-15 | 2000-01-25 | Square Co Ltd | Game apparatus and information recorded medium |
CN105653012A (en) * | 2014-08-26 | 2016-06-08 | 蔡大林 | Multi-user immersion type full interaction virtual reality project training system |
CN105704468A (en) * | 2015-08-31 | 2016-06-22 | 深圳超多维光电子有限公司 | Stereoscopic display method, device and electronic equipment used for virtual and reality scene |
CN106924970A (en) * | 2017-03-08 | 2017-07-07 | 网易(杭州)网络有限公司 | Virtual reality system, method for information display and device based on virtual reality |
CN107092359A (en) * | 2017-04-24 | 2017-08-25 | 北京小米移动软件有限公司 | Virtual reality visual angle method for relocating, device and terminal |
CN107122002A (en) * | 2016-02-24 | 2017-09-01 | 北京锤子数码科技有限公司 | A kind of wear-type visual device |
CN107305426A (en) * | 2016-04-19 | 2017-10-31 | 中国矿业大学(北京) | A kind of down-hole scene panoramic capture and the apparatus and method for reappeared |
CN108089696A (en) * | 2016-11-08 | 2018-05-29 | 罗克韦尔自动化技术公司 | For the virtual reality and augmented reality of industrial automation |
CN108295469A (en) * | 2017-12-04 | 2018-07-20 | 成都思悟革科技有限公司 | Game visual angle effect method based on motion capture technology |
CN108694747A (en) * | 2018-05-23 | 2018-10-23 | 浙江耀厦控股集团有限公司 | A kind of VR realization method and systems of steel truss hydraulic pressure lift construction |
-
2018
- 2018-12-06 CN CN201811489239.4A patent/CN109985385B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000024313A (en) * | 1998-07-15 | 2000-01-25 | Square Co Ltd | Game apparatus and information recorded medium |
CN105653012A (en) * | 2014-08-26 | 2016-06-08 | 蔡大林 | Multi-user immersion type full interaction virtual reality project training system |
CN105704468A (en) * | 2015-08-31 | 2016-06-22 | 深圳超多维光电子有限公司 | Stereoscopic display method, device and electronic equipment used for virtual and reality scene |
CN107122002A (en) * | 2016-02-24 | 2017-09-01 | 北京锤子数码科技有限公司 | A kind of wear-type visual device |
CN107305426A (en) * | 2016-04-19 | 2017-10-31 | 中国矿业大学(北京) | A kind of down-hole scene panoramic capture and the apparatus and method for reappeared |
CN108089696A (en) * | 2016-11-08 | 2018-05-29 | 罗克韦尔自动化技术公司 | For the virtual reality and augmented reality of industrial automation |
CN106924970A (en) * | 2017-03-08 | 2017-07-07 | 网易(杭州)网络有限公司 | Virtual reality system, method for information display and device based on virtual reality |
CN107092359A (en) * | 2017-04-24 | 2017-08-25 | 北京小米移动软件有限公司 | Virtual reality visual angle method for relocating, device and terminal |
CN108295469A (en) * | 2017-12-04 | 2018-07-20 | 成都思悟革科技有限公司 | Game visual angle effect method based on motion capture technology |
CN108694747A (en) * | 2018-05-23 | 2018-10-23 | 浙江耀厦控股集团有限公司 | A kind of VR realization method and systems of steel truss hydraulic pressure lift construction |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112040209A (en) * | 2020-09-14 | 2020-12-04 | 龙马智芯(珠海横琴)科技有限公司 | VR scene projection method and device, projection system and server |
CN112040209B (en) * | 2020-09-14 | 2021-09-03 | 龙马智芯(珠海横琴)科技有限公司 | VR scene projection method and device, projection system and server |
CN117499701A (en) * | 2023-12-29 | 2024-02-02 | 景色智慧(北京)信息科技有限公司 | Method and device for realizing riding game lens close-up and electronic equipment |
CN117499701B (en) * | 2023-12-29 | 2024-03-12 | 景色智慧(北京)信息科技有限公司 | Method and device for realizing riding game lens close-up and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109985385B (en) | 2022-08-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108355354A (en) | Information processing method, device, terminal and storage medium | |
JP2019076721A (en) | Information processing method and device, storage medium, and electronic apparatus | |
US10846927B2 (en) | Method and apparatus for displaying a bullet-style comment in a virtual reality system | |
US9199164B2 (en) | Image display device, computer readable storage medium, and game control method | |
CN106873767B (en) | Operation control method and device for virtual reality application | |
CN107583271A (en) | The exchange method and device of selection target in gaming | |
JP6097377B1 (en) | Image display method and program | |
KR102461232B1 (en) | Image processing method and apparatus, electronic device, and storage medium | |
CN103440677A (en) | Multi-view free stereoscopic interactive system based on Kinect somatosensory device | |
CN104050859A (en) | Interactive digital stereoscopic sand table system | |
CN107678715A (en) | The sharing method of virtual information, device and system | |
CN205015835U (en) | Wear -type intelligence interaction system | |
CN111179396B (en) | Image generation method, image generation device, storage medium, and electronic device | |
CN105068648A (en) | Head-mounted intelligent interactive system | |
WO2015136250A1 (en) | Interactive information display | |
CN106327583A (en) | Virtual reality equipment for realizing panoramic image photographing and realization method thereof | |
CN109316741A (en) | The mobile method, device and equipment of control role in a kind of VR scene | |
CN109985385A (en) | The control method and device of a kind of game station and its game role | |
CN111111173A (en) | Information display method, device and storage medium for virtual reality game | |
CN108012195A (en) | A kind of live broadcasting method, device and its electronic equipment | |
WO2017062730A1 (en) | Presentation of a virtual reality scene from a series of images | |
CN118379428A (en) | 3D model for displayed 2D elements | |
CN107728811B (en) | Interface control method, device and system | |
CN113253843B (en) | Indoor virtual roaming realization method and realization system based on panorama | |
CN107122002A (en) | A kind of wear-type visual device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |