User Tools

Site Tools


set_gameplay_property

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
set_gameplay_property [2024/09/02 20:18] justinset_gameplay_property [2024/09/02 20:24] (current) justin
Line 16: Line 16:
 |movement_control_type|Determines whether the player's movement is relative to the camera or uses the tank control method. Value must be "relative" or "tank".|[[String]]| |movement_control_type|Determines whether the player's movement is relative to the camera or uses the tank control method. Value must be "relative" or "tank".|[[String]]|
 |gravity|Determines the downward force of gravity in voxels/sec². Default value is 196. Free movement only.|[[Number]]| |gravity|Determines the downward force of gravity in voxels/sec². Default value is 196. Free movement only.|[[Number]]|
-|air_control|Determines how freely the player can move while in the air. Decimal value from 0 to 1 (e.g. a value of 0.5 indicates that the player can move at 50% of their speed while in the air). Free movement only.|[[Number]]|+|air_control|Determines how freely the player can move while in the air. Must be a decimal value from 0 to 1 (e.g. a value of 0.5 indicates that the player can move at 50% of their speed while in the air). Free movement only.|[[Number]]|
 |jump_enabled|Determines if jumping is enabled. Free movement only.|[[Boolean]]| |jump_enabled|Determines if jumping is enabled. Free movement only.|[[Boolean]]|
 |jump_vertical_velocity|Determines the player's initial upward velocity in voxels per second when jumping. Jumping must be enabled for this value to have an effect.|[[Number]]| |jump_vertical_velocity|Determines the player's initial upward velocity in voxels per second when jumping. Jumping must be enabled for this value to have an effect.|[[Number]]|
Line 36: Line 36:
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Set Gameplay Property** function to...+Use the **Set Gameplay Property** function to give the player the power to double jump when picking up or equipping jump boots in a free movement game.
 </WRAP> </WRAP>
  
set_gameplay_property.1725333499.txt.gz · Last modified: 2024/09/02 20:18 by justin