İlk commit: Stepstead Godot istemci (4.6 Mobile)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
commit
6a1706051d
346 changed files with 14415 additions and 0 deletions
186
scenes/world.tscn
Normal file
186
scenes/world.tscn
Normal file
|
|
@ -0,0 +1,186 @@
|
|||
[gd_scene format=3 uid="uid://b0world000000"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/world.gd" id="1_world"]
|
||||
[ext_resource type="Texture2D" path="res://assets/sprites/player.png" id="2_player"]
|
||||
[ext_resource type="Script" path="res://scripts/hud.gd" id="3_hud"]
|
||||
[ext_resource type="Script" path="res://scripts/toast.gd" id="4_toast"]
|
||||
[ext_resource type="Script" path="res://scripts/inventory_panel.gd" id="5_inv"]
|
||||
[ext_resource type="Script" path="res://scripts/craft_panel.gd" id="6_craft"]
|
||||
|
||||
[node name="World" type="Node2D"]
|
||||
script = ExtResource("1_world")
|
||||
|
||||
[node name="Void" type="CanvasLayer" parent="."]
|
||||
layer = -10
|
||||
|
||||
[node name="VoidBg" type="ColorRect" parent="Void"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
color = Color(0.03, 0.03, 0.05, 1)
|
||||
|
||||
[node name="TileLayer" type="Node2D" parent="."]
|
||||
|
||||
[node name="NodeLayer" type="Node2D" parent="."]
|
||||
|
||||
[node name="Player" type="Sprite2D" parent="."]
|
||||
z_index = 10
|
||||
texture = ExtResource("2_player")
|
||||
|
||||
[node name="Camera" type="Camera2D" parent="Player"]
|
||||
zoom = Vector2(2, 2)
|
||||
|
||||
[node name="PanCamera" type="Camera2D" parent="."]
|
||||
zoom = Vector2(1.5, 1.5)
|
||||
|
||||
[node name="HUD" type="CanvasLayer" parent="."]
|
||||
script = ExtResource("3_hud")
|
||||
|
||||
[node name="TopBar" type="PanelContainer" parent="HUD"]
|
||||
anchor_right = 1.0
|
||||
offset_bottom = 64.0
|
||||
|
||||
[node name="HBox" type="HBoxContainer" parent="HUD/TopBar"]
|
||||
theme_override_constants/separation = 16
|
||||
|
||||
[node name="CharName" type="Label" parent="HUD/TopBar/HBox"]
|
||||
text = "..."
|
||||
size_flags_horizontal = 3
|
||||
theme_override_font_sizes/font_size = 18
|
||||
|
||||
[node name="Level" type="Label" parent="HUD/TopBar/HBox"]
|
||||
text = "Lv 1"
|
||||
theme_override_font_sizes/font_size = 18
|
||||
|
||||
[node name="Steps" type="Label" parent="HUD/TopBar/HBox"]
|
||||
text = "👣 0"
|
||||
theme_override_font_sizes/font_size = 18
|
||||
|
||||
[node name="AddSteps" type="Button" parent="HUD/TopBar/HBox"]
|
||||
text = "+100"
|
||||
tooltip_text = "Debug: 100 adım ekle"
|
||||
|
||||
[node name="InventoryBtn" type="Button" parent="HUD/TopBar/HBox"]
|
||||
text = "🎒"
|
||||
tooltip_text = "Envanter"
|
||||
|
||||
[node name="CraftBtn" type="Button" parent="HUD/TopBar/HBox"]
|
||||
text = "🔨"
|
||||
tooltip_text = "Üretim"
|
||||
|
||||
[node name="Logout" type="Button" parent="HUD/TopBar/HBox"]
|
||||
text = "Çıkış"
|
||||
|
||||
[node name="RecenterBtn" type="Button" parent="HUD"]
|
||||
visible = false
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -200.0
|
||||
offset_top = -80.0
|
||||
offset_right = -20.0
|
||||
offset_bottom = -20.0
|
||||
text = "📍 Konumuma Dön"
|
||||
|
||||
[node name="InventoryPanel" type="PanelContainer" parent="HUD"]
|
||||
visible = false
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -200.0
|
||||
offset_top = -260.0
|
||||
offset_right = 200.0
|
||||
offset_bottom = 260.0
|
||||
script = ExtResource("5_inv")
|
||||
|
||||
[node name="Margin" type="MarginContainer" parent="HUD/InventoryPanel"]
|
||||
theme_override_constants/margin_left = 16
|
||||
theme_override_constants/margin_right = 16
|
||||
theme_override_constants/margin_top = 16
|
||||
theme_override_constants/margin_bottom = 16
|
||||
|
||||
[node name="VBox" type="VBoxContainer" parent="HUD/InventoryPanel/Margin"]
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="Title" type="Label" parent="HUD/InventoryPanel/Margin/VBox"]
|
||||
text = "Envanter"
|
||||
theme_override_font_sizes/font_size = 22
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Scroll" type="ScrollContainer" parent="HUD/InventoryPanel/Margin/VBox"]
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="List" type="VBoxContainer" parent="HUD/InventoryPanel/Margin/VBox/Scroll"]
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/separation = 6
|
||||
|
||||
[node name="CloseBtn" type="Button" parent="HUD/InventoryPanel/Margin/VBox"]
|
||||
text = "Kapat"
|
||||
|
||||
[node name="CraftPanel" type="PanelContainer" parent="HUD"]
|
||||
visible = false
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -260.0
|
||||
offset_top = -300.0
|
||||
offset_right = 260.0
|
||||
offset_bottom = 300.0
|
||||
script = ExtResource("6_craft")
|
||||
|
||||
[node name="Margin" type="MarginContainer" parent="HUD/CraftPanel"]
|
||||
theme_override_constants/margin_left = 14
|
||||
theme_override_constants/margin_right = 14
|
||||
theme_override_constants/margin_top = 14
|
||||
theme_override_constants/margin_bottom = 14
|
||||
|
||||
[node name="VBox" type="VBoxContainer" parent="HUD/CraftPanel/Margin"]
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="Title" type="Label" parent="HUD/CraftPanel/Margin/VBox"]
|
||||
text = "Üretim"
|
||||
theme_override_font_sizes/font_size = 22
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="FilterBox" type="HBoxContainer" parent="HUD/CraftPanel/Margin/VBox"]
|
||||
theme_override_constants/separation = 6
|
||||
|
||||
[node name="Scroll" type="ScrollContainer" parent="HUD/CraftPanel/Margin/VBox"]
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="List" type="VBoxContainer" parent="HUD/CraftPanel/Margin/VBox/Scroll"]
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="CloseBtn" type="Button" parent="HUD/CraftPanel/Margin/VBox"]
|
||||
text = "Kapat"
|
||||
|
||||
[node name="Toast" type="CanvasLayer" parent="."]
|
||||
script = ExtResource("4_toast")
|
||||
|
||||
[node name="Anchor" type="Control" parent="Toast"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="VBox" type="VBoxContainer" parent="Toast/Anchor"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -240.0
|
||||
offset_top = -160.0
|
||||
offset_right = 240.0
|
||||
offset_bottom = -16.0
|
||||
alignment = 2
|
||||
theme_override_constants/separation = 6
|
||||
|
||||
[node name="MoveConfirm" type="ConfirmationDialog" parent="HUD"]
|
||||
title = "Hareket"
|
||||
initial_position = 2
|
||||
size = Vector2i(360, 180)
|
||||
ok_button_text = "Git"
|
||||
cancel_button_text = "İptal"
|
||||
dialog_text = ""
|
||||
Loading…
Add table
Add a link
Reference in a new issue