#author("2024-12-20T10:59:16+09:00","default:admin","admin")
#author("2024-12-20T12:21:37+09:00","default:admin","admin")
*Move & Operate [#gfb80139]
Specify basic game settings, such as cast controls and input device assignments (key assignments).
#ref(./GameDefinition_Move_and_Operate.png,50%)
#br
#contents
**Movement and Operation Settings [#p6cb302f]
These settings are related to the movement of the cast during the game and the player's operations.

#ref(./GameDefinition_Move_Operation.png,80%)
#br

-''Operation''
--''Basic Operation''
When turned on, the main cast moves in the direction of the cursor keys.

--''Tank Controls''
When turned on, the up cursor key moves forward and the down cursor key moves backward, and the left and right keys are used for steering control.

--''Steering Speed''
Specify the speed at which the steering wheel will turn over when tank control operation is selected.

--''Brake Strength''
Specify the strength of the braking.

--''Movement Axis is Horizontal and Depth''
The basic movement axes are X and Z. Select this option for normal (overlooking map) RPGs.

--''Movement Axis is Horizontal and Elevation''
The basic movement axes are X and Y. This is the choice for games with sideways viewpoints.

--''Talking Detection Scale''
Specify the size of the player's "talk to" detection in the event start condition.
Use this function when the size of the detection needs to be adjusted due to player collision size or other issues. 

-- ''Hide Mouse Cursor While Moving''
When this feature is turned on, the mouse cursor will not appear when moving during play.
The mouse cursor appears by opening the menu screen. 
This allows, for example, first-person gameplay in which the mouse is used to move the viewpoint, etc., without interruption when dragging the mouse outside the window.

--''Use Message Skip''
When turned on, the text of a message or conversation in progress will be displayed at once up to the point where it is waiting to be entered by pressing the Decide/Cancel key. 

-''Camera Operation''
--''Disable Camera Operation''
When turned on, the game starts with camera-related operations disabled.
You can also change it in the middle of the game by using "Enable/Disable Camera Operation" in the command script.

--''Get Behind Player Automatically''
When turned on, the camera will automatically rotate to view the player from behind when the player moves.

//--''Camera Dodges Obstacles''
//When turned on, if there is an obstacle such as terrain between the player and the camera, the camera will move closer to an unobstructed point.

-''Camera Distance Auto Adjustment''
--''Terrain''
When turned on, if there is terrain between the player and the camera that obstructs the line of sight, the camera will move closer to the point where there is no obstruction.

--''Object''
When turned on, if there is an object between the player and the camera that obstructs the line of sight, the camera will move closer to the point where there is no obstruction.

-''Movement (Inertia)''
--''Use Inertia to Move''
Turn on if you want to specify your own inertia settings for player movement.
When turned off, the proper value is automatically used.

--''Run Ratio''
When running, this value is multiplied by the acceleration and maximum speed.
The higher the value, the faster it runs.

--''Maximum Speed''
The maximum speed of the player's movement.

--''Acceleration''
The value that is added to the speed when the up/down/left/right keys are input.
The larger this value, the shorter the time it takes to reach the maximum speed.

--''Damping Amount at Ground Level''
Specify the amount of speed that will decrease with time when gravity is turned on for the player or events, from 0 to 1.  The smaller this value, the smaller the inertia of gravity-enabled player or events.

--''Frictional Coefficient''
Specify the coefficient of friction the player receives from events.
The higher this value, the less likely it is that the player will skid when touching other objects.

--''Damping During Floating''
Specify the amount of speed that will decrease with time when gravity is turned on for the player or events, from 0 to 1.  The smaller this value, the smaller the inertia of gravity-enabled player or events.

--''NPC's Standard Walking Speed (Amount of Movement per Frame)''
Specify the amount of NPC movement.

--''Pause Event Walking as Needed''
When turned on, it pauses walking based on the event's "Movement Pattern" while an event or menu is open.

--''Max Walkable Step Height''
Specify the maximum height of steps the player or NPC can go up or down without jumping.

--''Standard Turning Speed''
Specify how many degrees per frame the player/event will turn when changing direction.
Increasing the value causes it to turn faster.
#br
To adjust the turning speed individually, please use the event panel "[[Change Player's Turning Speed:https://rpgbakin.com/pukiwiki_en/?Player#a75d0258]]" and "[[Change This Event's Turning Speed:https://rpgbakin.com/pukiwiki_en/?Events#gf2fb5f5]]".


-''Jump''

--''With Jump''
When turned on, jumps are enabled.
However, if a jump action is not assigned to a key or button, the jump cannot be performed in the game.
See [[Assign Input Device]] for key/button assignments.

--''Jumping Strength''
Specify how high the player will jump when the jump button is pressed.
The higher the value, the higher the jump.

--''Gravitational Acceleration''
Specify the acceleration of gravity when the player or events jump or fall.
The higher the value, the faster the fall and the lower the jump height.

--''Disable Jumping from Elevation''
When turned on, if there is a step at the destination, they will not be able to move forward.

--''Fall Limit''
Specify the lower limit of Y-coordinates that can be reached by a fall.

-''Footstep Settings''
Adjust the volume and tempo of the footsteps that sound when the player moves.
The footsteps that sound when walking on terrain or objects can be set in the Resources.
Please read the [[Footstep Settings:https://rpgbakin.com/pukiwiki_en/?Creation+Tips#z219759e]] section for more information.

--''Footstep Volume (%)''
Adjust the volume of footsteps.

--''Footstep Playback Speed (%)''
Adjust the playback speed of footsteps.



**Camera Movement Range [#o72907ae]
Specify the range of motion of the camera during game play.
//COLOR(#FF0000):画像入る

#ref(./GameDefinition_Rules_Camera.png,80%)
#br

-''Up/Down''
Specify the range of motion of the camera in the vertical direction.
When turned off, the camera can be moved up and down with no restrictions.

-''Left/Right''
Specify the range of motion of the camera in the horizontal direction.
When turned off, the camera can be moved left and right with no restrictions.

-''Zoom''
Specify the maximum and minimum zoom magnification, respectively.
When turned off, there is no limit to the zoom magnification.

**Adjustment Elements for Device Input Values [#y0f9e9ee]
Specify the behavior and sensitivity to input when playing with a mouse or controller analog stick.

#ref(./GameDefinition_Rules_Mouse.png)
#br
-''Flip''
When turned on, it moves in the opposite direction to the input direction.

-''Sensitivity''
Adjust how sensitive it is to the amount of input to the device.
It can be specified in the range of 0.01 to 100. The larger the value, the more sensitive the response.

-''Mouse Up/Down''
-''Mouse Left/Right''
-''Mouse Wheel''
-''Left Stick Up/Down''
-''Left Stick Left/Right''
-''Right Stick Up/Down''
-''Left Stick Left/Right''

**Shooting Events (Dynamic Generation) [#x26abee4]
--''Maximum Number of Events Generated''
Specify the maximum number of events that can exist in the map that can be dynamically generated by the fire button or the command script "Generate Events".

--''Assign Initial Shooting Button 1''
--''Assign Initial Shooting Button 1 - 10''
Specify the event generated from the player's position when the shooting button is pressed.

--''Assign Initial Shooting Button 2''
Specify the event generated from the player's position when the shooting button is pressed.
//--''Assign Initial Shooting Button 2''
//Specify the event generated from the player's position when the shooting button is pressed.

--''Assign Initial Shooting Button 3''
Specify the event generated from the player's position when the shooting button is pressed.
//--''Assign Initial Shooting Button 3''
//Specify the event generated from the player's position when the shooting button is pressed.


**Assign Input Device [#s499f292]
Specify key and button assignments for keyboard, controller, and mouse operation of the created game.

-''Key/Button Assignments''
A dialog opens, allowing you to set key/button assignments.
Clicking the "Restore Defaults" button returns all settings to their default values.
#ref(./GameDefinition_InputDevice.png,80%)
#br
-''Game Controller''
&color(red){At this time, only XInput controllers are supported for use with games exported as published works.};
&color(red){(DirectInput controllers are also available on Bakin's tools, through Steam's controller support.)};

--''Function''
This is the function to which the input is assigned.
--''Assignment X''
Specify the button/stick to which the function is assigned.
Two inputs can be combined, e.g., stick and button.
--''Coefficient''
This is a coefficient multiplied by the analog input value for this function.
It can be specified in the range of 0 to 1. When set to 0, it is treated the same as a digital input.
--''Coefficient 2''
When two inputs are combined, this is a coefficient that is multiplied by the second assigned analog input value.
It can be specified in the range of 0 to 1. When set to 0, it is treated the same as a digital input.

-''Keyboard''
--''Function''
This is the function to which the input is assigned.
--''Assignment X''
Specify the keys to which functions are to be assigned.

-''Mouse''
--''Function''
This is the function to which the input is assigned.
--''Assignment''
Specify the button to which the function is assigned.
--''Mouse Movement''
You can specify the movement axis of the mouse to be combined with the input to be assigned.
--''Coefficient''
This is a coefficient that is multiplied by the input value of the mouse wheel or mouse movement.
(-1 to 1) can be specified, and a negative value will reverse the movement.
However, if it is set to 0, it will move when the mouse is moved by the amount of pixels specified in the Dead Zone.

-''Dead Zone''
The Dead Zone is the range of an analog-operated device that does not respond to manipulation.
--''Device''
This is a device name that assigns the Dead Zone.
--''Coefficient''
The coefficients have different meanings depending on whether they are "mouse" or not.

---''Mouse''
The coefficients are specified in pixels.
It will respond when the mouse moves more than the number of pixels you assign.
This entry affects only those functions that are assigned a mouse operation and for which the coefficient of Mouse Movement is specified to be 0.

---''Other Devices''
The coefficient is the size of the range over which the device will not respond to manipulation.
It can be specified from 0 to 1. When set to 1, it will not respond.

''&size(18){[Sensitivity and Coefficients]};''
The "Sensitivity" specified in "Adjustment Elements for Device Input Values" is about the response of analog input devices.
The sensitivity with respect to the right stick up/down affects all right stick up/down operations.
In contrast, the "coefficient" for a key/button in the input device assignment is a setting for the response to that function.
The sensitivity and coefficients are multiplied together to affect the operation.
#br
#br
Key/button assignments can also be specified in text format.
See [[Assign Input Device]] for details on how to write.

#ref(./GameDefinition_Rules_AssignInputDevice.png,80%)
#br

Front page   Edit Diff History Attach Copy Rename Reload   New Page list Search Recent changes   Help   RSS of recent changes