Added coyote time, updated version number

This commit is contained in:
keyband 2021-07-17 09:26:33 -03:00
parent 1162e689fa
commit c3ee3203cf
3 changed files with 139 additions and 67 deletions

View file

@ -70,10 +70,13 @@ func _state_normal(delta,vector_direction_input):
if Input.is_action_just_pressed('ui_jump'):jumpBuffer=maxJumpBuffer
if Input.is_action_just_pressed('ui_dive'):diveBuffer=maxDiveBuffer
if self.is_on_floor():airTime=maxAirTime
else:airTime-=0.5
jumpBuffer-=0.5
diveBuffer-=0.5
if jumpBuffer>0 and self.is_on_floor():
if jumpBuffer>0 and airTime>0:
airTime=0
jumpBuffer=0
_twn_squishy()
$sounds/snd_jump.play()

View file

@ -137,16 +137,16 @@ extra_delay = 0.5
[node name="twn_goup" type="Tween" parent="stage/diver_down/down"]
[node name="version" type="Label" parent="stage/diver_down"]
margin_left = 76.5399
margin_left = 66.0518
margin_top = 60.707
margin_right = 286.54
margin_right = 276.052
margin_bottom = 99.707
rect_scale = Vector2( 0.25, 0.25 )
custom_fonts/font = SubResource( 2 )
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_constants/shadow_offset_x = 3
custom_constants/shadow_offset_y = 3
text = "V1.1"
text = "V1.1.1"
script = SubResource( 3 )
__meta__ = {
"_edit_use_anchors_": false

View file

@ -7,7 +7,7 @@ custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="../exports/diverTest/index.html"
export_path="../_exports/diverDown/html5/index.html"
patch_list=PoolStringArray( )
script_export_mode=1
script_encryption_key=""
@ -23,20 +23,148 @@ custom_template/debug=""
[preset.1]
name="Windows Desktop"
name="W64"
platform="Windows Desktop"
runnable=true
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path=""
export_path="../_exports/diverDown/w64/diverDown.exe"
patch_list=PoolStringArray( )
script_export_mode=1
script_encryption_key=""
[preset.1.options]
texture_format/bptc=false
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=false
texture_format/no_bptc_fallbacks=true
binary_format/64_bits=true
binary_format/embed_pck=false
custom_template/release=""
custom_template/debug=""
codesign/enable=false
codesign/identity_type=0
codesign/identity=""
codesign/password=""
codesign/timestamp=true
codesign/timestamp_server_url=""
codesign/digest_algorithm=1
codesign/description=""
codesign/custom_options=PoolStringArray( )
application/icon="/run/media/delta-key/2A5C64085C63CCDF/Game11/Godot/Godot WildJam 2/Resources/MoreTextures/icon.ico"
application/file_version=""
application/product_version=""
application/company_name="Escada Games"
application/product_name="Diver Down"
application/file_description="Dive on walls in this stealth platformer!"
application/copyright=""
application/trademarks=""
[preset.2]
name="L64"
platform="Linux/X11"
runnable=true
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="../_exports/diverDown/l64/diverDown.x86_64"
patch_list=PoolStringArray( )
script_export_mode=1
script_encryption_key=""
[preset.2.options]
texture_format/bptc=false
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=false
texture_format/no_bptc_fallbacks=true
binary_format/64_bits=true
binary_format/embed_pck=false
custom_template/release=""
custom_template/debug=""
[preset.3]
name="Mac OSX"
platform="Mac OSX"
runnable=true
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="../_exports/diverDown/mac/diverDown.zip"
patch_list=PoolStringArray( )
script_export_mode=1
script_encryption_key=""
[preset.3.options]
custom_template/debug=""
custom_template/release=""
application/name="Diver Down"
application/info="Dive on walls in this stealth platformer!"
application/icon="res://Resources/MoreTextures/icon.png"
application/identifier="org.godotengine.macgame"
application/signature="godotmacgame"
application/short_version="1.0"
application/version="1.0"
application/copyright=""
display/high_res=false
privacy/camera_usage_description=""
privacy/microphone_usage_description=""
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=false
[preset.4]
name="L32"
platform="Linux/X11"
runnable=false
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="../_exports/diverDown/l32/diverDown.x86"
patch_list=PoolStringArray( )
script_export_mode=1
script_encryption_key=""
[preset.4.options]
texture_format/bptc=false
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=false
texture_format/no_bptc_fallbacks=true
binary_format/64_bits=false
binary_format/embed_pck=false
custom_template/release=""
custom_template/debug=""
[preset.5]
name="W32"
platform="Windows Desktop"
runnable=false
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="../_exports/diverDown/w32/diverDown.exe"
patch_list=PoolStringArray( )
script_export_mode=1
script_encryption_key=""
[preset.5.options]
texture_format/bptc=false
texture_format/s3tc=true
texture_format/etc=false
@ -59,66 +187,7 @@ application/icon="/run/media/delta-key/2A5C64085C63CCDF/Game11/Godot/Godot WildJ
application/file_version=""
application/product_version=""
application/company_name="Escada Games"
application/product_name=""
application/product_name="Diver Down"
application/file_description="Dive on walls in this stealth platformer!"
application/copyright=""
application/trademarks=""
[preset.2]
name="Linux/X11"
platform="Linux/X11"
runnable=true
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path=""
patch_list=PoolStringArray( )
script_export_mode=1
script_encryption_key=""
[preset.2.options]
texture_format/bptc=false
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=false
texture_format/no_bptc_fallbacks=true
binary_format/64_bits=false
binary_format/embed_pck=false
custom_template/release=""
custom_template/debug=""
[preset.3]
name="Mac OSX"
platform="Mac OSX"
runnable=true
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path=""
patch_list=PoolStringArray( )
script_export_mode=1
script_encryption_key=""
[preset.3.options]
custom_template/debug=""
custom_template/release=""
application/name="Diver Down"
application/info="Dive on walls in this stealth platformer!"
application/icon="res://Resources/MoreTextures/icon.png"
application/identifier="org.godotengine.macgame"
application/signature="godotmacgame"
application/short_version="1.0"
application/version="1.0"
application/copyright=""
display/high_res=false
privacy/camera_usage_description=""
privacy/microphone_usage_description=""
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=false