Week6, Game Manager, Data objects

This commit is contained in:
bip 2024-08-19 21:18:41 -04:00
parent 21253ccc12
commit b73c6f882f
148 changed files with 794 additions and 92 deletions

View File

@ -0,0 +1,3 @@
[folding]
sections_unfolded=PackedStringArray()

View File

@ -0,0 +1,3 @@
[folding]
sections_unfolded=PackedStringArray()

View File

@ -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(-50.1675, -50.9217), "ofs": Vector2(-302.161, -306.033),
"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.48985 "zoom": 0.793701
} }
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/Game/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/Control/VBoxContainer/HBoxContainer/MarginContainer2/Coins")])

View File

@ -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/Game/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/Control/VBoxContainer/HBoxContainer/MarginContainer2/Coins")])

View File

@ -1,5 +1,5 @@
[folding] [folding]
node_unfolds=[NodePath("AnimatedSprite2D"), PackedStringArray("Texture", "Animation", "sprite_frames")] node_unfolds=[NodePath("AnimatedSprite2D"), PackedStringArray("Texture", "Animation", "sprite_frames")]
resource_unfolds=["res://scenes/character.tscn::SpriteFrames_k63ce", PackedStringArray("Resource"), "res://scenes/character.tscn::CircleShape2D_ubfw4", PackedStringArray()] resource_unfolds=["res://scenes/character.tscn::SpriteFrames_a6t6h", PackedStringArray(), "res://scenes/character.tscn::CircleShape2D_ubfw4", PackedStringArray()]
nodes_folded=[] nodes_folded=[]

View File

@ -0,0 +1,3 @@
[folding]
sections_unfolded=PackedStringArray()

View File

@ -0,0 +1,3 @@
[folding]
sections_unfolded=PackedStringArray()

View File

@ -0,0 +1,175 @@
[editor_states]
Anim={
"visible": false
}
2D={
"grid_offset": Vector2(0, 0),
"grid_snap_active": false,
"grid_step": Vector2(8, 8),
"grid_visibility": 1,
"ofs": Vector2(-165, -110),
"primary_grid_step": Vector2i(8, 8),
"show_edit_locks": true,
"show_guides": true,
"show_helpers": false,
"show_origin": true,
"show_rulers": true,
"show_transformation_gizmos": true,
"show_viewport": true,
"show_zoom_control": true,
"smart_snap_active": false,
"snap_guides": true,
"snap_node_anchors": true,
"snap_node_center": true,
"snap_node_parent": true,
"snap_node_sides": true,
"snap_other_nodes": true,
"snap_pixel": true,
"snap_relative": false,
"snap_rotation": false,
"snap_rotation_offset": 0.0,
"snap_rotation_step": 0.261799,
"snap_scale": false,
"snap_scale_step": 0.1,
"zoom": 1.0
}
3D={
"fov": 70.01,
"gizmos_status": {
"AudioListener3D": 0,
"AudioStreamPlayer3D": 0,
"CPUParticles3D": 0,
"CSGShape3D": 0,
"Camera3D": 0,
"CollisionObject3D": 0,
"CollisionPolygon3D": 0,
"CollisionShape3D": 0,
"Decal": 0,
"FogVolume": 0,
"GPUParticles3D": 0,
"GPUParticlesCollision3D": 0,
"Joint3D": 0,
"Light3D": 0,
"LightmapGI": 0,
"LightmapProbe": 0,
"Marker3D": 0,
"NavigationLink3D": 0,
"NavigationRegion3D": 0,
"OccluderInstance3D": 0,
"Path3D": 0,
"PhysicalBone3D": 0,
"RayCast3D": 0,
"ReflectionProbe": 0,
"ShapeCast3D": 0,
"Skeleton3D": 0,
"SoftBody3D": 0,
"SpringArm3D": 0,
"VehicleWheel3D": 0,
"VisibleOnScreenNotifier3D": 0,
"VoxelGI": 0
},
"local_coords": false,
"preview_sun_env": {
"environ_ao_enabled": false,
"environ_enabled": true,
"environ_energy": 1.0,
"environ_gi_enabled": false,
"environ_glow_enabled": true,
"environ_ground_color": Color(0.2, 0.169, 0.133, 1),
"environ_sky_color": Color(0.385, 0.454, 0.55, 1),
"environ_tonemap_enabled": true,
"sun_color": Color(1, 1, 1, 1),
"sun_enabled": true,
"sun_energy": 1.0,
"sun_max_distance": 100.0,
"sun_rotation": Vector2(-1.0472, 2.61799)
},
"rotate_snap": 15.0,
"scale_snap": 10.0,
"show_grid": true,
"show_origin": true,
"snap_enabled": false,
"translate_snap": 1.0,
"viewport_mode": 1,
"viewports": [{
"auto_orthogonal": false,
"auto_orthogonal_enabled": true,
"cinematic_preview": false,
"display_mode": 20,
"distance": 4.0,
"doppler": false,
"frame_time": false,
"gizmos": true,
"half_res": false,
"information": false,
"listener": true,
"lock_rotation": false,
"orthogonal": false,
"position": Vector3(0, 0, 0),
"use_environment": false,
"view_type": 0,
"x_rotation": 0.5,
"y_rotation": -0.5
}, {
"auto_orthogonal": false,
"auto_orthogonal_enabled": true,
"cinematic_preview": false,
"display_mode": 20,
"distance": 4.0,
"doppler": false,
"frame_time": false,
"gizmos": true,
"half_res": false,
"information": false,
"listener": false,
"lock_rotation": false,
"orthogonal": false,
"position": Vector3(0, 0, 0),
"use_environment": false,
"view_type": 0,
"x_rotation": 0.5,
"y_rotation": -0.5
}, {
"auto_orthogonal": false,
"auto_orthogonal_enabled": true,
"cinematic_preview": false,
"display_mode": 20,
"distance": 4.0,
"doppler": false,
"frame_time": false,
"gizmos": true,
"half_res": false,
"information": false,
"listener": false,
"lock_rotation": false,
"orthogonal": false,
"position": Vector3(0, 0, 0),
"use_environment": false,
"view_type": 0,
"x_rotation": 0.5,
"y_rotation": -0.5
}, {
"auto_orthogonal": false,
"auto_orthogonal_enabled": true,
"cinematic_preview": false,
"display_mode": 20,
"distance": 4.0,
"doppler": false,
"frame_time": false,
"gizmos": true,
"half_res": false,
"information": false,
"listener": false,
"lock_rotation": false,
"orthogonal": false,
"position": Vector3(0, 0, 0),
"use_environment": false,
"view_type": 0,
"x_rotation": 0.5,
"y_rotation": -0.5
}],
"zfar": 4000.01,
"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/Control/VBoxContainer/HBoxContainer/MarginContainer2/Coins")])

View File

@ -0,0 +1,5 @@
[folding]
node_unfolds=[NodePath("AnimatedSprite2D"), PackedStringArray("Texture", "Animation")]
resource_unfolds=["res://scenes/coin.tscn::SpriteFrames_24veq", PackedStringArray("Resource"), "res://scenes/coin.tscn::CircleShape2D_w36p2", PackedStringArray("Resource")]
nodes_folded=[]

View File

@ -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/Game/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/Control/VBoxContainer/HBoxContainer/MarginContainer2/Coins")])

View File

@ -1,5 +1,5 @@
[folding] [folding]
node_unfolds=[NodePath("."), PackedStringArray("Transform"), NodePath("CollisionShape2D"), PackedStringArray("Transform", "shape")] node_unfolds=[NodePath("."), PackedStringArray("Transform"), NodePath("CollisionShape2D"), PackedStringArray("Transform", "shape")]
resource_unfolds=["res://scenes/crate.tscn::RectangleShape2D_4vo4d", PackedStringArray()] resource_unfolds=["res://scenes/crate.tscn::RectangleShape2D_iuom5", PackedStringArray()]
nodes_folded=[] nodes_folded=[]

View File

@ -1,3 +1,9 @@
CanvasLayer
MarginContainer
Label
HBoxContainer
VBoxContainer
Node
Node2D Node2D
AnimationPlayer AnimationPlayer
CollisionShape2D CollisionShape2D
@ -5,7 +11,5 @@ AnimatableBody2D
Sprite2D Sprite2D
TileMap TileMap
Camera2D Camera2D
Node
AnimatedSprite2D AnimatedSprite2D
Area2D Area2D
RayCast2D

View File

@ -0,0 +1 @@
Character

View File

@ -19,16 +19,16 @@ 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/platform.tscn") dock_filesystem_selected_paths=PackedStringArray("res://scenes/ui.tscn")
dock_filesystem_uncollapsed_paths=PackedStringArray("Favorites", "res://", "res://scripts/", "res://scenes/", "res://Graphics/") dock_filesystem_uncollapsed_paths=PackedStringArray("Favorites", "res://", "res://scripts/", "res://scripts/Resources/", "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"
[EditorNode] [EditorNode]
open_scenes=PackedStringArray("res://scenes/game.tscn", "res://scenes/character.tscn", "res://scenes/bullet.tscn", "res://scenes/crate.tscn", "res://scenes/platform.tscn") open_scenes=PackedStringArray("res://scenes/game.tscn", "res://scenes/character.tscn", "res://scenes/bullet.tscn", "res://scenes/crate.tscn", "res://scenes/platform.tscn", "res://scenes/coin.tscn", "res://scenes/ui.tscn")
current_scene="res://scenes/game.tscn" current_scene="res://scenes/ui.tscn"
center_split_offset=-333 center_split_offset=-333
selected_default_debugger_tab_idx=0 selected_default_debugger_tab_idx=0
selected_main_editor_idx=2 selected_main_editor_idx=2
@ -36,7 +36,7 @@ selected_bottom_panel_item=0
[ScriptEditor] [ScriptEditor]
open_scripts=["res://scripts/bullet.gd", "res://scripts/CharacterBody2D.gd", "res://scripts/gamecontroller.gd"] open_scripts=["res://scripts/badguy.gd", "res://scripts/bullet.gd", "res://scripts/CharacterBody2D.gd", "res://scripts/Resources/character_stats.gd", "res://scripts/coin.gd", "res://scripts/gamecontroller.gd", "res://scripts/GameManager.gd", "res://scripts/ui.gd"]
selected_script="res://scripts/gamecontroller.gd" selected_script="res://scripts/gamecontroller.gd"
open_help=[] open_help=[]
script_split_offset=70 script_split_offset=70

View File

View File

@ -1,21 +1,50 @@
ea4bc82a6ad023ab7ee23ee620429895 ea4bc82a6ad023ab7ee23ee620429895
::res://::1722298090 ::res://::1724107102
icon.svg::CompressedTexture2D::9114977118871582245::1722291766::1722291766::1::::<><>:: icon.svg::CompressedTexture2D::9114977118871582245::1724105423::1724105423::1::::<><>::
README.md::TextFile::-1::1722291766::0::1::::<><>:: README.md::TextFile::-1::1724105423::0::1::::<><>::
::res://Graphics/::1722298090 ::res://graphics/::1724105521
Box.png::CompressedTexture2D::576372132427027647::1722291766::1722291766::1::::<><>:: Terrain (32x32).png::CompressedTexture2D::8707534964839485024::1724105423::1724105521::1::::<><>::
bullet.png::CompressedTexture2D::575115727357653262::1722298072::1722298092::1::::<><>:: ::res://graphics/background/::1724105521
Player Idle 48x48.png::CompressedTexture2D::1237550707578490798::1722291766::1722291766::1::::<><>:: Additional Sky.png::CompressedTexture2D::6380466891628860263::1724105423::1724105521::1::::<><>::
player jump 48x48.png::CompressedTexture2D::529369218674153276::1722291766::1722291766::1::::<><>:: Additional Water.png::CompressedTexture2D::2205427413754203696::1724105423::1724105521::1::::<><>::
player run 48x48.png::CompressedTexture2D::2605915106209310501::1722291766::1722291766::1::::<><>:: BG Image.png::CompressedTexture2D::7982657594202931692::1724105423::1724105521::1::::<><>::
Terrain (32x32).png::CompressedTexture2D::592944405755909384::1722291766::1722291766::1::::<><>:: ::res://graphics/enemies/::1724105521
::res://scenes/::1722297518 slime_green.png::CompressedTexture2D::480836444824615029::1724105423::1724105521::1::::<><>::
bullet.tscn::PackedScene::6880909734590904373::1722297518::0::1::::<><>::res://scripts/bullet.gd slime_purple.png::CompressedTexture2D::7104625745201782174::1724105423::1724105521::1::::<><>::
character.tscn::PackedScene::451838158579532324::1722297518::0::1::::<><>::res://scripts/CharacterBody2D.gd<>uid://rvqjq6nksgag::::res://Graphics/Player Idle 48x48.png<>uid://bdelbnqhy0kn2::::res://Graphics/player run 48x48.png<>uid://hsovsssoucoy::::res://Graphics/player jump 48x48.png ::res://graphics/items/::1724105521
crate.tscn::PackedScene::6328092438971191794::1722297518::0::1::::<><>::uid://ihg1aef42mnn::::res://Graphics/Box.png cannister.png::CompressedTexture2D::7418095402531000042::1724105423::1724105521::1::::<><>::
game.tscn::PackedScene::1738196330916037717::1722297518::0::1::::<><>::res://scripts/gamecontroller.gd<>uid://go4yc8hfo1gq::::res://scenes/character.tscn<>uid://iphyceyp7aay::::res://Graphics/Terrain (32x32).png<>res://scripts/Trigger.gd<>uid://cwfm01fpdmr1k::::res://scenes/crate.tscn ::res://graphics/Pickups/::1724105521
::res://scripts/::1722294131 coin.png::CompressedTexture2D::1740800350345124823::1724105423::1724105521::1::::<><>::
bullet.gd::GDScript::-1::1722293063::0::1::::<>Area2D<>:: ::res://graphics/Player Death/::1724105521
CharacterBody2D.gd::GDScript::-1::1722294131::0::1::::<>CharacterBody2D<>:: Player Death 64x64.png::CompressedTexture2D::7221479061278953921::1724105423::1724105521::1::::<><>::
gamecontroller.gd::GDScript::-1::1722291766::0::1::::<>Node2D<>:: ::res://graphics/Player Idle/::1724105521
Trigger.gd::GDScript::-1::1722291766::0::1::::<>Area2D<>:: Player Idle 48x48.png::CompressedTexture2D::6544563428604246579::1724105423::1724105521::1::::<><>::
::res://graphics/Player Jump/::1724105521
player jump 48x48.png::CompressedTexture2D::1627608568707791839::1724105423::1724105521::1::::<><>::
::res://graphics/Player Land/::1724105521
player land 48x48.png::CompressedTexture2D::3499637713582873633::1724105423::1724105521::1::::<><>::
::res://graphics/Player Run/::1724105521
player run 48x48.png::CompressedTexture2D::1502492849971408816::1724105423::1724105521::1::::<><>::
::res://Graphics/::1724105423
Box.png::CompressedTexture2D::576372132427027647::1724105423::1724105423::1::::<><>::
bullet.png::CompressedTexture2D::575115727357653262::1724105423::1724105423::1::::<><>::
Player Idle 48x48.png::CompressedTexture2D::1237550707578490798::1724105423::1724105423::1::::<><>::
player jump 48x48.png::CompressedTexture2D::529369218674153276::1724105423::1724105423::1::::<><>::
player run 48x48.png::CompressedTexture2D::2605915106209310501::1724105423::1724105423::1::::<><>::
Terrain (32x32).png::CompressedTexture2D::592944405755909384::1724105423::1724105423::1::::<><>::
::res://scenes/::1724108425
badguy.tscn::PackedScene::4221298536627343731::1724105423::0::1::::<><>::uid://c8hsfbd7xivvq::::res://graphics/enemies/slime_purple.png<>res://scripts/badguy.gd
bullet.tscn::PackedScene::6880909734590904373::1724108425::0::1::::<><>::res://scripts/bullet.gd
character.tscn::PackedScene::451838158579532324::1724108425::0::1::::<><>::res://scripts/CharacterBody2D.gd<>uid://c0iiaebonyhh0::::res://graphics/Player Idle/Player Idle 48x48.png<>uid://da5ex8b8yeswn::::res://graphics/Player Death/Player Death 64x64.png<>uid://xgoqfqmvorcx::::res://graphics/Player Jump/player jump 48x48.png<>uid://vn23qn3f0dvc::::res://graphics/Player Run/player run 48x48.png
coin.tscn::PackedScene::658730748575179881::1724108425::0::1::::<><>::res://scripts/coin.gd<>uid://y2iyy6fajlpf::::res://graphics/Pickups/coin.png
crate.tscn::PackedScene::41931541512830250::1724108425::0::1::::<><>::uid://ddxm7hj323fta::::res://graphics/items/cannister.png
game.tscn::PackedScene::1738196330916037717::1724108425::0::1::::<><>::res://scripts/gamecontroller.gd<>uid://go4yc8hfo1gq::::res://scenes/character.tscn<>uid://dwb83f7uoweuy::::res://graphics/Terrain (32x32).png<>res://scripts/Trigger.gd<>uid://ukuu7p7vhlq::::res://scenes/crate.tscn<>uid://dvd1p6xue0ub2::::res://scenes/platform.tscn<>uid://dly4g7fvvtamm::::res://graphics/background/BG Image.png<>uid://cw50mfjp2np08::::res://graphics/background/Additional Sky.png<>uid://6olcj1w1svdg::::res://graphics/background/Additional Water.png<>uid://jndg1i4d5yjx::::res://scenes/coin.tscn<>uid://b1e3f1x6ma6xj::::res://scenes/badguy.tscn
platform.tscn::PackedScene::8641027994130079701::1724108425::0::1::::<><>::
::res://scripts/::1724108425
badguy.gd::GDScript::-1::1724105423::0::1::::<>Area2D<>::
bullet.gd::GDScript::-1::1724105423::0::1::::<>Area2D<>::
CharacterBody2D.gd::GDScript::-1::1724105423::0::1::::<>CharacterBody2D<>::
coin.gd::GDScript::-1::1724107623::0::1::::Coin<>Area2D<>::
gamecontroller.gd::GDScript::-1::1724108302::0::1::::<>Node<>::
GameManager.gd::GDScript::-1::1724108425::0::1::::<>Node<>::
Trigger.gd::GDScript::-1::1724105423::0::1::::<>Area2D<>::

View File

@ -1,6 +1,15 @@
res://scenes/game.tscn
res://scenes/character.tscn
res://scenes/bullet.tscn res://scenes/bullet.tscn
res://scripts/coin.gd
res://scripts/GameManager.gd
res://scripts/gamecontroller.gd
res://scenes/game.tscn
res://scenes/coin.tscn
res://scenes/character.tscn
res://scenes/crate.tscn res://scenes/crate.tscn
res://scenes/platform.tscn res://scenes/platform.tscn
res://scripts/gamecontroller.gd res://scripts/Resources/character_stats.gd
res://scripts/Resources/slime_stats.tres
res://scripts/badguy.gd
res://scripts/CharacterBody2D.gd
res://scenes/ui.tscn
res://scripts/ui.gd

View File

@ -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(-253.721, -135.25), "ofs": Vector2(-242.439, -130.372),
"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": 0.890899 "zoom": 1.41421
} }
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/Game/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/Control/VBoxContainer/HBoxContainer/MarginContainer2/Coins")])

View File

@ -1,5 +1,5 @@
[folding] [folding]
node_unfolds=[NodePath("."), PackedStringArray("Transform"), NodePath("TileMap"), PackedStringArray("tile_set"), NodePath("StaticBody2D"), PackedStringArray("Transform"), NodePath("Area2D"), PackedStringArray("Transform"), NodePath("Platform"), PackedStringArray("Transform")] node_unfolds=[NodePath("."), PackedStringArray("Transform"), NodePath("CanvasLayer/UI"), PackedStringArray("Layout", "Layout/Transform"), NodePath("TileMap"), PackedStringArray("tile_set"), NodePath("Platform"), PackedStringArray("Transform")]
resource_unfolds=["res://scenes/game.tscn::TileSet_p8gjw", PackedStringArray("terrain_set_0/terrain__array", "physics_layer__array"), "res://scenes/game.tscn::WorldBoundaryShape2D_3u4a8", PackedStringArray("Resource"), "res://scenes/game.tscn::CircleShape2D_x8qck", PackedStringArray("Resource")] resource_unfolds=["res://scenes/game.tscn::TileSet_47g5u", PackedStringArray(), "res://scenes/game.tscn::WorldBoundaryShape2D_xkyim", PackedStringArray(), "res://scenes/game.tscn::CircleShape2D_x8qck", PackedStringArray("Resource")]
nodes_folded=[NodePath("StaticBody2D"), NodePath("CharacterBody2D"), NodePath("Area2D")] nodes_folded=[NodePath("CharacterBody2D")]

View File

@ -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/Game/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/Control/VBoxContainer/HBoxContainer/MarginContainer2/Coins")])

View File

@ -1,5 +1,5 @@
[folding] [folding]
node_unfolds=[] node_unfolds=[]
resource_unfolds=["res://scenes/platform.tscn::RectangleShape2D_2kknn", PackedStringArray()] resource_unfolds=["res://scenes/platform.tscn::RectangleShape2D_i20vp", PackedStringArray()]
nodes_folded=[] nodes_folded=[]

View File

@ -0,0 +1,3 @@
[folding]
sections_unfolded=PackedStringArray()

View File

@ -1,6 +1,6 @@
[editor_metadata] [editor_metadata]
executable_path="/home/timboyo/Documents/software/godot/Godot_v4.2.1-stable_linux.x86_64" executable_path="/home/timbler/Documents/Software/godot/Godot_v4.2.1-stable_linux.x86_64"
use_advanced_connections=false use_advanced_connections=false
tile_source_sort=0 tile_source_sort=0
tile_snap_option=0 tile_snap_option=0
@ -10,12 +10,12 @@ tile_snap_subdiv=4.0
run_live_debug=true run_live_debug=true
run_reload_scripts=true run_reload_scripts=true
run_debug_collisions=true run_debug_collisions=false
[recent_files] [recent_files]
scenes=["res://scenes/platform.tscn", "res://scenes/crate.tscn", "res://scenes/bullet.tscn", "res://scenes/character.tscn", "res://scenes/game.tscn", "res://scenes/rigid_body_2d.tscn"] scenes=["res://scenes/ui.tscn", "res://scenes/coin.tscn", "res://scenes/platform.tscn", "res://scenes/crate.tscn", "res://scenes/bullet.tscn", "res://scenes/character.tscn", "res://scenes/game.tscn", "res://scenes/rigid_body_2d.tscn"]
scripts=["res://scripts/bullet.gd", "res://scripts/CharacterBody2D.gd", "res://scripts/gamecontroller.gd"] scripts=["res://scripts/ui.gd", "res://scripts/badguy.gd", "res://scripts/Resources/character_stats.gd", "res://scripts/coin.gd", "res://scripts/GameManager.gd", "res://scripts/bullet.gd", "res://scripts/CharacterBody2D.gd", "res://scripts/gamecontroller.gd"]
[linked_properties] [linked_properties]
@ -32,10 +32,16 @@ Camera2D:scale=true
TileMap:scale=true TileMap:scale=true
Sprite2D:scale=true Sprite2D:scale=true
AnimatableBody2D:scale=true AnimatableBody2D:scale=true
Control:scale=true
VBoxContainer:scale=true
HBoxContainer:scale=true
Label:scale=true
MarginContainer:scale=true
CanvasLayer:scale=true
[dialog_bounds] [dialog_bounds]
create_new_node=Rect2(510, 190, 900, 700) create_new_node=Rect2(551, 200, 900, 700)
project_settings=Rect2(510, 190, 900, 700) project_settings=Rect2(510, 190, 900, 700)
[color_picker] [color_picker]

View File

@ -1,3 +1,4 @@
res://scenes
res://Graphics
res://scripts res://scripts
res://scenes
res://scripts/Resources/
res://Graphics

View File

@ -3,11 +3,11 @@
state={ state={
"bookmarks": PackedInt32Array(), "bookmarks": PackedInt32Array(),
"breakpoints": PackedInt32Array(), "breakpoints": PackedInt32Array(),
"column": 12, "column": 34,
"folded_lines": Array[int]([]), "folded_lines": Array[int]([]),
"h_scroll_position": 0, "h_scroll_position": 0,
"row": 25, "row": 13,
"scroll_position": 7.0, "scroll_position": 43.0,
"selection": false, "selection": false,
"syntax_highlighter": "GDScript" "syntax_highlighter": "GDScript"
} }
@ -17,11 +17,11 @@ state={
state={ state={
"bookmarks": PackedInt32Array(), "bookmarks": PackedInt32Array(),
"breakpoints": PackedInt32Array(), "breakpoints": PackedInt32Array(),
"column": 33, "column": 38,
"folded_lines": Array[int]([]), "folded_lines": Array[int]([]),
"h_scroll_position": 10, "h_scroll_position": 0,
"row": 32, "row": 89,
"scroll_position": 36.0, "scroll_position": 99.0,
"selection": false, "selection": false,
"syntax_highlighter": "GDScript" "syntax_highlighter": "GDScript"
} }
@ -39,3 +39,73 @@ state={
"selection": false, "selection": false,
"syntax_highlighter": "GDScript" "syntax_highlighter": "GDScript"
} }
[res://scripts/GameManager.gd]
state={
"bookmarks": PackedInt32Array(),
"breakpoints": PackedInt32Array(),
"column": 51,
"folded_lines": Array[int]([]),
"h_scroll_position": 0,
"row": 16,
"scroll_position": 0.0,
"selection": false,
"syntax_highlighter": "GDScript"
}
[res://scripts/coin.gd]
state={
"bookmarks": PackedInt32Array(),
"breakpoints": PackedInt32Array(),
"column": 16,
"folded_lines": Array[int]([]),
"h_scroll_position": 0,
"row": 0,
"scroll_position": 0.0,
"selection": false,
"syntax_highlighter": "GDScript"
}
[res://scripts/Resources/character_stats.gd]
state={
"bookmarks": PackedInt32Array(),
"breakpoints": PackedInt32Array(),
"column": 0,
"folded_lines": Array[int]([]),
"h_scroll_position": 0,
"row": 6,
"scroll_position": 0.0,
"selection": false,
"syntax_highlighter": "GDScript"
}
[res://scripts/badguy.gd]
state={
"bookmarks": PackedInt32Array(),
"breakpoints": PackedInt32Array(),
"column": 2,
"folded_lines": Array[int]([]),
"h_scroll_position": 0,
"row": 30,
"scroll_position": 18.0,
"selection": false,
"syntax_highlighter": "GDScript"
}
[res://scripts/ui.gd]
state={
"bookmarks": PackedInt32Array(),
"breakpoints": PackedInt32Array(),
"column": 35,
"folded_lines": Array[int]([]),
"h_scroll_position": 0,
"row": 8,
"scroll_position": 0.0,
"selection": false,
"syntax_highlighter": "GDScript"
}

View File

@ -0,0 +1,3 @@
[folding]
sections_unfolded=PackedStringArray()

View File

@ -0,0 +1,3 @@
[folding]
sections_unfolded=PackedStringArray()

View File

@ -0,0 +1,175 @@
[editor_states]
Anim={
"visible": false
}
2D={
"grid_offset": Vector2(0, 0),
"grid_snap_active": false,
"grid_step": Vector2(8, 8),
"grid_visibility": 1,
"ofs": Vector2(-165, -110),
"primary_grid_step": Vector2i(8, 8),
"show_edit_locks": true,
"show_guides": true,
"show_helpers": false,
"show_origin": true,
"show_rulers": true,
"show_transformation_gizmos": true,
"show_viewport": true,
"show_zoom_control": true,
"smart_snap_active": false,
"snap_guides": true,
"snap_node_anchors": true,
"snap_node_center": true,
"snap_node_parent": true,
"snap_node_sides": true,
"snap_other_nodes": true,
"snap_pixel": true,
"snap_relative": false,
"snap_rotation": false,
"snap_rotation_offset": 0.0,
"snap_rotation_step": 0.261799,
"snap_scale": false,
"snap_scale_step": 0.1,
"zoom": 1.0
}
3D={
"fov": 70.01,
"gizmos_status": {
"AudioListener3D": 0,
"AudioStreamPlayer3D": 0,
"CPUParticles3D": 0,
"CSGShape3D": 0,
"Camera3D": 0,
"CollisionObject3D": 0,
"CollisionPolygon3D": 0,
"CollisionShape3D": 0,
"Decal": 0,
"FogVolume": 0,
"GPUParticles3D": 0,
"GPUParticlesCollision3D": 0,
"Joint3D": 0,
"Light3D": 0,
"LightmapGI": 0,
"LightmapProbe": 0,
"Marker3D": 0,
"NavigationLink3D": 0,
"NavigationRegion3D": 0,
"OccluderInstance3D": 0,
"Path3D": 0,
"PhysicalBone3D": 0,
"RayCast3D": 0,
"ReflectionProbe": 0,
"ShapeCast3D": 0,
"Skeleton3D": 0,
"SoftBody3D": 0,
"SpringArm3D": 0,
"VehicleWheel3D": 0,
"VisibleOnScreenNotifier3D": 0,
"VoxelGI": 0
},
"local_coords": false,
"preview_sun_env": {
"environ_ao_enabled": false,
"environ_enabled": true,
"environ_energy": 1.0,
"environ_gi_enabled": false,
"environ_glow_enabled": true,
"environ_ground_color": Color(0.2, 0.169, 0.133, 1),
"environ_sky_color": Color(0.385, 0.454, 0.55, 1),
"environ_tonemap_enabled": true,
"sun_color": Color(1, 1, 1, 1),
"sun_enabled": true,
"sun_energy": 1.0,
"sun_max_distance": 100.0,
"sun_rotation": Vector2(-1.0472, 2.61799)
},
"rotate_snap": 15.0,
"scale_snap": 10.0,
"show_grid": true,
"show_origin": true,
"snap_enabled": false,
"translate_snap": 1.0,
"viewport_mode": 1,
"viewports": [{
"auto_orthogonal": false,
"auto_orthogonal_enabled": true,
"cinematic_preview": false,
"display_mode": 20,
"distance": 4.0,
"doppler": false,
"frame_time": false,
"gizmos": true,
"half_res": false,
"information": false,
"listener": true,
"lock_rotation": false,
"orthogonal": false,
"position": Vector3(0, 0, 0),
"use_environment": false,
"view_type": 0,
"x_rotation": 0.5,
"y_rotation": -0.5
}, {
"auto_orthogonal": false,
"auto_orthogonal_enabled": true,
"cinematic_preview": false,
"display_mode": 20,
"distance": 4.0,
"doppler": false,
"frame_time": false,
"gizmos": true,
"half_res": false,
"information": false,
"listener": false,
"lock_rotation": false,
"orthogonal": false,
"position": Vector3(0, 0, 0),
"use_environment": false,
"view_type": 0,
"x_rotation": 0.5,
"y_rotation": -0.5
}, {
"auto_orthogonal": false,
"auto_orthogonal_enabled": true,
"cinematic_preview": false,
"display_mode": 20,
"distance": 4.0,
"doppler": false,
"frame_time": false,
"gizmos": true,
"half_res": false,
"information": false,
"listener": false,
"lock_rotation": false,
"orthogonal": false,
"position": Vector3(0, 0, 0),
"use_environment": false,
"view_type": 0,
"x_rotation": 0.5,
"y_rotation": -0.5
}, {
"auto_orthogonal": false,
"auto_orthogonal_enabled": true,
"cinematic_preview": false,
"display_mode": 20,
"distance": 4.0,
"doppler": false,
"frame_time": false,
"gizmos": true,
"half_res": false,
"information": false,
"listener": false,
"lock_rotation": false,
"orthogonal": false,
"position": Vector3(0, 0, 0),
"use_environment": false,
"view_type": 0,
"x_rotation": 0.5,
"y_rotation": -0.5
}],
"zfar": 4000.01,
"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/Control/VBoxContainer/HBoxContainer/MarginContainer2/Coins")])

View File

@ -0,0 +1,5 @@
[folding]
node_unfolds=[NodePath("VBoxContainer/HBoxContainer"), PackedStringArray("Input"), NodePath("VBoxContainer/HBoxContainer/MarginContainer"), PackedStringArray("Layout", "Layout/Container Sizing"), NodePath("VBoxContainer/HBoxContainer/MarginContainer2"), PackedStringArray("Layout", "Layout/Container Sizing")]
resource_unfolds=[]
nodes_folded=[]

View File

@ -1 +1,19 @@
list=Array[Dictionary]([]) list=Array[Dictionary]([{
"base": &"Resource",
"class": &"Character",
"icon": "",
"language": &"GDScript",
"path": "res://scripts/Resources/character_stats.gd"
}, {
"base": &"Area2D",
"class": &"Coin",
"icon": "",
"language": &"GDScript",
"path": "res://scripts/coin.gd"
}, {
"base": &"Area2D",
"class": &"badguy",
"icon": "",
"language": &"GDScript",
"path": "res://scripts/badguy.gd"
}])

View File

@ -0,0 +1,3 @@
source_md5="ef05607ab18b6e14047ef305d4967bca"
dest_md5="c4a79c607243be25d3669dc2144fdbe8"

View File

@ -0,0 +1,3 @@
source_md5="707fe1be51389c0a7dc6bce6b8df1ad8"
dest_md5="a1f827ff5491bfc85a30898cd8164541"

View File

@ -0,0 +1,3 @@
source_md5="7f10db4045810c42977343e59a782178"
dest_md5="c50c902db0eea75f65be64479d81b3ae"

View File

@ -0,0 +1,3 @@
source_md5="e5256a9ceb0ab699f4b89ff036b2a902"
dest_md5="9cd9459a73f825afbfd37992d6a40bfb"

View File

@ -0,0 +1,3 @@
source_md5="25eca82a8943e0cb7df742fc2f8287eb"
dest_md5="40424c46e7e7da6cb6f8f38becacd5fa"

View File

@ -0,0 +1,3 @@
source_md5="d795d66ea17df8d684197c8d47ffe0d6"
dest_md5="eb1ab57ee49d2726692bb79f8241f155"

View File

@ -0,0 +1,3 @@
source_md5="753498d860e28eda31af346df7a94f32"
dest_md5="0235513e804a8e1b2b1b87147e6cec0b"

View File

@ -0,0 +1,3 @@
source_md5="9972ae36d7f15087663eef880c2522c7"
dest_md5="6323bfa165d4025b36e466114be0533d"

View File

@ -0,0 +1,3 @@
source_md5="32c25d5ee4a6233bebc766fa35137e71"
dest_md5="e2c6a646cfe3495563ee0fd7127f6784"

View File

@ -0,0 +1,3 @@
source_md5="6499731a5b8ba07779f39a50ca1cf8b1"
dest_md5="ee57d845fdcb15a719035fe5911e8bdc"

View File

@ -0,0 +1,3 @@
source_md5="01ad20affe3a719d2248d3eb59a0b3dd"
dest_md5="c7e49f2c0ac84ac6a6d941074f19bd68"

View File

@ -0,0 +1,3 @@
source_md5="2721669a4b3bd4204bfcb0977915dd6d"
dest_md5="564335e3510b66c129befe8591a0d6f0"

View File

@ -0,0 +1,3 @@
source_md5="54f57af24a12b9a7016da6f96c55a77d"
dest_md5="d56883b02fd383d0809e6e9ecbe5df3b"

Some files were not shown because too many files have changed in this diff Show More