jump and run working
This commit is contained in:
parent
2eb448cbfe
commit
7d951c6276
@ -172,4 +172,4 @@ Anim={
|
|||||||
"zfar": 4000.01,
|
"zfar": 4000.01,
|
||||||
"znear": 0.05
|
"znear": 0.05
|
||||||
}
|
}
|
||||||
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@17140/@Panel@13/@VBoxContainer@14/@HSplitContainer@17/@HSplitContainer@25/@HSplitContainer@33/@VBoxContainer@34/@VSplitContainer@36/@VSplitContainer@62/@VBoxContainer@63/@PanelContainer@110/MainScreen/@CanvasItemEditor@9462/@VSplitContainer@9281/@HSplitContainer@9283/@HSplitContainer@9285/@Control@9286/@SubViewportContainer@9287/@SubViewport@9288/Area2D")])
|
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@17140/@Panel@13/@VBoxContainer@14/@HSplitContainer@17/@HSplitContainer@25/@HSplitContainer@33/@VBoxContainer@34/@VSplitContainer@36/@VSplitContainer@62/@VBoxContainer@63/@PanelContainer@110/MainScreen/@CanvasItemEditor@9462/@VSplitContainer@9281/@HSplitContainer@9283/@HSplitContainer@9285/@Control@9286/@SubViewportContainer@9287/@SubViewport@9288/CharacterBody2D/AnimatedSprite2D")])
|
||||||
|
@ -8,7 +8,7 @@ Anim={
|
|||||||
"grid_snap_active": false,
|
"grid_snap_active": false,
|
||||||
"grid_step": Vector2(8, 8),
|
"grid_step": Vector2(8, 8),
|
||||||
"grid_visibility": 1,
|
"grid_visibility": 1,
|
||||||
"ofs": Vector2(-105.112, -79.4505),
|
"ofs": Vector2(-118.38, -51.1543),
|
||||||
"primary_grid_step": Vector2i(8, 8),
|
"primary_grid_step": Vector2i(8, 8),
|
||||||
"show_edit_locks": true,
|
"show_edit_locks": true,
|
||||||
"show_guides": true,
|
"show_guides": true,
|
||||||
@ -32,7 +32,7 @@ Anim={
|
|||||||
"snap_rotation_step": 0.261799,
|
"snap_rotation_step": 0.261799,
|
||||||
"snap_scale": false,
|
"snap_scale": false,
|
||||||
"snap_scale_step": 0.1,
|
"snap_scale_step": 0.1,
|
||||||
"zoom": 4.23785
|
"zoom": 5.03968
|
||||||
}
|
}
|
||||||
3D={
|
3D={
|
||||||
"fov": 70.01,
|
"fov": 70.01,
|
||||||
@ -172,4 +172,4 @@ Anim={
|
|||||||
"zfar": 4000.01,
|
"zfar": 4000.01,
|
||||||
"znear": 0.05
|
"znear": 0.05
|
||||||
}
|
}
|
||||||
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@17140/@Panel@13/@VBoxContainer@14/@HSplitContainer@17/@HSplitContainer@25/@HSplitContainer@33/@VBoxContainer@34/@VSplitContainer@36/@VSplitContainer@62/@VBoxContainer@63/@PanelContainer@110/MainScreen/@CanvasItemEditor@9462/@VSplitContainer@9281/@HSplitContainer@9283/@HSplitContainer@9285/@Control@9286/@SubViewportContainer@9287/@SubViewport@9288/Area2D")])
|
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@17140/@Panel@13/@VBoxContainer@14/@HSplitContainer@17/@HSplitContainer@25/@HSplitContainer@33/@VBoxContainer@34/@VSplitContainer@36/@VSplitContainer@62/@VBoxContainer@63/@PanelContainer@110/MainScreen/@CanvasItemEditor@9462/@VSplitContainer@9281/@HSplitContainer@9283/@HSplitContainer@9285/@Control@9286/@SubViewportContainer@9287/@SubViewport@9288/CharacterBody2D/AnimatedSprite2D")])
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[folding]
|
[folding]
|
||||||
|
|
||||||
node_unfolds=[]
|
node_unfolds=[NodePath("AnimatedSprite2D"), PackedStringArray("Animation", "sprite_frames", "Texture")]
|
||||||
resource_unfolds=["res://scenes/character.tscn::CircleShape2D_ubfw4", PackedStringArray()]
|
resource_unfolds=["res://scenes/character.tscn::SpriteFrames_dlybq", PackedStringArray("Resource"), "res://scenes/character.tscn::CircleShape2D_ubfw4", PackedStringArray()]
|
||||||
nodes_folded=[]
|
nodes_folded=[]
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
AnimatedSprite2D
|
||||||
Node2D
|
Node2D
|
||||||
CollisionShape2D
|
CollisionShape2D
|
||||||
Area2D
|
Area2D
|
||||||
|
@ -4,7 +4,7 @@ dock_1_selected_tab_idx=0
|
|||||||
dock_2_selected_tab_idx=0
|
dock_2_selected_tab_idx=0
|
||||||
dock_3_selected_tab_idx=0
|
dock_3_selected_tab_idx=0
|
||||||
dock_4_selected_tab_idx=0
|
dock_4_selected_tab_idx=0
|
||||||
dock_5_selected_tab_idx=1
|
dock_5_selected_tab_idx=0
|
||||||
dock_6_selected_tab_idx=0
|
dock_6_selected_tab_idx=0
|
||||||
dock_7_selected_tab_idx=0
|
dock_7_selected_tab_idx=0
|
||||||
dock_8_selected_tab_idx=0
|
dock_8_selected_tab_idx=0
|
||||||
@ -19,8 +19,8 @@ dock_filesystem_split=0
|
|||||||
dock_filesystem_display_mode=0
|
dock_filesystem_display_mode=0
|
||||||
dock_filesystem_file_sort=0
|
dock_filesystem_file_sort=0
|
||||||
dock_filesystem_file_list_display_mode=1
|
dock_filesystem_file_list_display_mode=1
|
||||||
dock_filesystem_selected_paths=PackedStringArray("res://scenes/bullet.tscn")
|
dock_filesystem_selected_paths=PackedStringArray("res://graphics/Player Idle 48x48.png")
|
||||||
dock_filesystem_uncollapsed_paths=PackedStringArray("Favorites", "res://", "res://scripts/", "res://scenes/")
|
dock_filesystem_uncollapsed_paths=PackedStringArray("Favorites", "res://", "res://scripts/", "res://scenes/", "res://graphics/")
|
||||||
dock_3="Scene,Import"
|
dock_3="Scene,Import"
|
||||||
dock_4="FileSystem"
|
dock_4="FileSystem"
|
||||||
dock_5="Inspector,Node,History"
|
dock_5="Inspector,Node,History"
|
||||||
@ -28,16 +28,16 @@ dock_5="Inspector,Node,History"
|
|||||||
[EditorNode]
|
[EditorNode]
|
||||||
|
|
||||||
open_scenes=PackedStringArray("res://scenes/game.tscn", "res://scenes/character.tscn", "res://scenes/bullet.tscn")
|
open_scenes=PackedStringArray("res://scenes/game.tscn", "res://scenes/character.tscn", "res://scenes/bullet.tscn")
|
||||||
current_scene="res://scenes/bullet.tscn"
|
current_scene="res://scenes/character.tscn"
|
||||||
center_split_offset=0
|
center_split_offset=0
|
||||||
selected_default_debugger_tab_idx=0
|
selected_default_debugger_tab_idx=0
|
||||||
selected_main_editor_idx=2
|
selected_main_editor_idx=0
|
||||||
selected_bottom_panel_item=0
|
selected_bottom_panel_item=9
|
||||||
|
|
||||||
[ScriptEditor]
|
[ScriptEditor]
|
||||||
|
|
||||||
open_scripts=["res://scripts/bullet.gd", "res://scripts/CharacterBody2D.gd", "res://scripts/gamecontroller.gd"]
|
open_scripts=["res://scripts/bullet.gd", "res://scripts/CharacterBody2D.gd", "res://scripts/gamecontroller.gd"]
|
||||||
selected_script="res://scripts/bullet.gd"
|
selected_script="res://scripts/CharacterBody2D.gd"
|
||||||
open_help=[]
|
open_help=[]
|
||||||
script_split_offset=70
|
script_split_offset=70
|
||||||
list_split_offset=0
|
list_split_offset=0
|
||||||
|
@ -1,9 +1,17 @@
|
|||||||
ea4bc82a6ad023ab7ee23ee620429895
|
ea4bc82a6ad023ab7ee23ee620429895
|
||||||
::res://::1721083613
|
::res://::1721688475
|
||||||
icon.svg::CompressedTexture2D::9114977118871582245::1721083376::1721083376::1::::<><>::
|
icon.svg::CompressedTexture2D::9114977118871582245::1721682499::1721682499::1::::<><>::
|
||||||
::res://scenes/::1721083376
|
README.md::TextFile::-1::1721686814::0::1::::<><>::
|
||||||
game.tscn::PackedScene::1738196330916037717::1721083376::0::1::::<><>::res://scripts/gamecontroller.gd<>res://scripts/CharacterBody2D.gd<>res://scripts/Trigger.gd
|
::res://graphics/::1721690734
|
||||||
::res://scripts/::1721083376
|
Player Idle 48x48.png::CompressedTexture2D::1258452139055336083::1721688494::1721688494::1::::<><>::
|
||||||
CharacterBody2D.gd::GDScript::-1::1721083376::0::1::::<>CharacterBody2D<>::
|
player jump 48x48.png::CompressedTexture2D::1981503062538928756::1721690734::1721690734::1::::<><>::
|
||||||
gamecontroller.gd::GDScript::-1::1721083376::0::1::::<>Node2D<>::
|
player run 48x48.png::CompressedTexture2D::6117389272924660350::1721689941::1721689941::1::::<><>::
|
||||||
Trigger.gd::GDScript::-1::1721083376::0::1::::<>Area2D<>::
|
::res://scenes/::1721690632
|
||||||
|
bullet.tscn::PackedScene::6880909734590904373::1721690632::0::1::::<><>::res://scripts/bullet.gd
|
||||||
|
character.tscn::PackedScene::451838158579532324::1721690632::0::1::::<><>::res://scripts/CharacterBody2D.gd<>uid://r6ur1o2pbl12::::res://graphics/Player Idle 48x48.png<>uid://ctfkri0jeifh3::::res://graphics/player run 48x48.png
|
||||||
|
game.tscn::PackedScene::1738196330916037717::1721690632::0::1::::<><>::res://scripts/gamecontroller.gd<>uid://go4yc8hfo1gq::::res://scenes/character.tscn<>res://scripts/Trigger.gd
|
||||||
|
::res://scripts/::1721690564
|
||||||
|
bullet.gd::GDScript::-1::1721682499::0::1::::<>Area2D<>::
|
||||||
|
CharacterBody2D.gd::GDScript::-1::1721690564::0::1::::<>CharacterBody2D<>::
|
||||||
|
gamecontroller.gd::GDScript::-1::1721682499::0::1::::<>Node2D<>::
|
||||||
|
Trigger.gd::GDScript::-1::1721682499::0::1::::<>Area2D<>::
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
res://scenes/game.tscn
|
res://scenes/game.tscn
|
||||||
res://scripts/CharacterBody2D.gd
|
|
||||||
res://scenes/character.tscn
|
res://scenes/character.tscn
|
||||||
res://scripts/bullet.gd
|
|
||||||
res://scenes/bullet.tscn
|
res://scenes/bullet.tscn
|
||||||
|
res://scripts/CharacterBody2D.gd
|
||||||
|
@ -172,4 +172,4 @@ Anim={
|
|||||||
"zfar": 4000.01,
|
"zfar": 4000.01,
|
||||||
"znear": 0.05
|
"znear": 0.05
|
||||||
}
|
}
|
||||||
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@17140/@Panel@13/@VBoxContainer@14/@HSplitContainer@17/@HSplitContainer@25/@HSplitContainer@33/@VBoxContainer@34/@VSplitContainer@36/@VSplitContainer@62/@VBoxContainer@63/@PanelContainer@110/MainScreen/@CanvasItemEditor@9462/@VSplitContainer@9281/@HSplitContainer@9283/@HSplitContainer@9285/@Control@9286/@SubViewportContainer@9287/@SubViewport@9288/Area2D")])
|
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@17140/@Panel@13/@VBoxContainer@14/@HSplitContainer@17/@HSplitContainer@25/@HSplitContainer@33/@VBoxContainer@34/@VSplitContainer@36/@VSplitContainer@62/@VBoxContainer@63/@PanelContainer@110/MainScreen/@CanvasItemEditor@9462/@VSplitContainer@9281/@HSplitContainer@9283/@HSplitContainer@9285/@Control@9286/@SubViewportContainer@9287/@SubViewport@9288/CharacterBody2D/AnimatedSprite2D")])
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[editor_metadata]
|
[editor_metadata]
|
||||||
|
|
||||||
executable_path="/home/timbot/Documents/Software/godot/Godot_v4.2.1-stable_linux.x86_64"
|
executable_path="/home/timbeezy/Documents/software/godot/Godot_v4.2.1-stable_linux.x86_64"
|
||||||
use_advanced_connections=false
|
use_advanced_connections=false
|
||||||
|
|
||||||
[debug_options]
|
[debug_options]
|
||||||
@ -23,6 +23,7 @@ CollisionShape2D:scale=true
|
|||||||
RigidBody2D:scale=true
|
RigidBody2D:scale=true
|
||||||
RayCast2D:scale=true
|
RayCast2D:scale=true
|
||||||
Area2D:scale=true
|
Area2D:scale=true
|
||||||
|
AnimatedSprite2D:scale=true
|
||||||
|
|
||||||
[dialog_bounds]
|
[dialog_bounds]
|
||||||
|
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
|
res://graphics
|
||||||
res://scripts
|
res://scripts
|
||||||
res://scenes
|
res://scenes
|
||||||
|
@ -17,11 +17,11 @@ state={
|
|||||||
state={
|
state={
|
||||||
"bookmarks": PackedInt32Array(),
|
"bookmarks": PackedInt32Array(),
|
||||||
"breakpoints": PackedInt32Array(),
|
"breakpoints": PackedInt32Array(),
|
||||||
"column": 52,
|
"column": 21,
|
||||||
"folded_lines": Array[int]([]),
|
"folded_lines": Array[int]([]),
|
||||||
"h_scroll_position": 0,
|
"h_scroll_position": 0,
|
||||||
"row": 47,
|
"row": 69,
|
||||||
"scroll_position": 30.0,
|
"scroll_position": 52.0,
|
||||||
"selection": false,
|
"selection": false,
|
||||||
"syntax_highlighter": "GDScript"
|
"syntax_highlighter": "GDScript"
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
@ -0,0 +1,3 @@
|
|||||||
|
source_md5="25eca82a8943e0cb7df742fc2f8287eb"
|
||||||
|
dest_md5="40424c46e7e7da6cb6f8f38becacd5fa"
|
||||||
|
|
Binary file not shown.
@ -0,0 +1,3 @@
|
|||||||
|
source_md5="32c25d5ee4a6233bebc766fa35137e71"
|
||||||
|
dest_md5="e2c6a646cfe3495563ee0fd7127f6784"
|
||||||
|
|
Binary file not shown.
@ -0,0 +1,3 @@
|
|||||||
|
source_md5="01ad20affe3a719d2248d3eb59a0b3dd"
|
||||||
|
dest_md5="c7e49f2c0ac84ac6a6d941074f19bd68"
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
graphics/Player Idle 48x48.png
Normal file
BIN
graphics/Player Idle 48x48.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
34
graphics/Player Idle 48x48.png.import
Normal file
34
graphics/Player Idle 48x48.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://r6ur1o2pbl12"
|
||||||
|
path="res://.godot/imported/Player Idle 48x48.png-b25968a287377bab7d6899f33fed0ec9.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://graphics/Player Idle 48x48.png"
|
||||||
|
dest_files=["res://.godot/imported/Player Idle 48x48.png-b25968a287377bab7d6899f33fed0ec9.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
BIN
graphics/player jump 48x48.png
Normal file
BIN
graphics/player jump 48x48.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1021 B |
34
graphics/player jump 48x48.png.import
Normal file
34
graphics/player jump 48x48.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://3h4cihwnev6s"
|
||||||
|
path="res://.godot/imported/player jump 48x48.png-44bab2151e6e1eb3cf69ed16e7a4f4ad.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://graphics/player jump 48x48.png"
|
||||||
|
dest_files=["res://.godot/imported/player jump 48x48.png-44bab2151e6e1eb3cf69ed16e7a4f4ad.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user