mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-02 14:11:15 +00:00
Player spawning and isometric in menu
This commit is contained in:
parent
a11f25e19d
commit
1229613def
10 changed files with 286 additions and 43 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=22 format=3 uid="uid://rimplblbptcd"]
|
||||
[gd_scene load_steps=23 format=3 uid="uid://rimplblbptcd"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://88smibkin17p" path="res://Scripts/Components/FSM/3DPlayer/IsoPlayerFSMProxy.cs" id="1_cc7e7"]
|
||||
[ext_resource type="Texture2D" uid="uid://ddwhrlrgj6i00" path="res://Sprites/Actors/Cirno.png" id="1_vex34"]
|
||||
|
|
@ -16,6 +16,7 @@
|
|||
[ext_resource type="AudioStream" uid="uid://myr6n2c1u503" path="res://SFX/581602__samsterbirdies__beep-error.mp3" id="13_2ffwi"]
|
||||
[ext_resource type="Script" uid="uid://d2psafx4f3f58" path="res://Scripts/Components/FSM/3DPlayer/PlayerWeaponModule3D.cs" id="15_el8as"]
|
||||
[ext_resource type="Script" uid="uid://by0x0qmbmkoak" path="res://Scripts/Components/FSM/3DPlayer/PlayerWeaponProvider3D.cs" id="16_olwak"]
|
||||
[ext_resource type="PackedScene" uid="uid://cfgc6ik8vb08c" path="res://Scenes/Weapons/BaseWeapon_3D.tscn" id="17_olwak"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_fg04g"]
|
||||
radius = 0.349554
|
||||
|
|
@ -133,6 +134,12 @@ WeaponProvider = NodePath("WeaponProvider")
|
|||
InputProvider = NodePath("../InputProvider")
|
||||
Storage = NodePath("../Storage")
|
||||
|
||||
[node name="WeaponProvider" type="Node" parent="WeaponModule" node_paths=PackedStringArray("StorageModule")]
|
||||
[node name="WeaponProvider" type="Node" parent="WeaponModule" node_paths=PackedStringArray("StorageModule", "WeaponRightOffset", "WeaponLeftOffset")]
|
||||
script = ExtResource("16_olwak")
|
||||
StorageModule = NodePath("../../Storage")
|
||||
WeaponTemplate = ExtResource("17_olwak")
|
||||
WeaponRightOffset = NodePath("../Marker3D")
|
||||
WeaponLeftOffset = NodePath("../Marker3D")
|
||||
|
||||
[node name="Marker3D" type="Marker3D" parent="WeaponModule"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.267617, 0, -0.24769)
|
||||
|
|
|
|||
24
Scenes/Weapons/BaseWeapon_3D.tscn
Normal file
24
Scenes/Weapons/BaseWeapon_3D.tscn
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://cfgc6ik8vb08c"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dutroqc0grqyv" path="res://Scripts/Weapons/Weapon3D.cs" id="1_gdxml"]
|
||||
[ext_resource type="Resource" uid="uid://b8apu0l5fm4k" path="res://Resources/Weapons/IcicleGun.tres" id="2_s6td3"]
|
||||
[ext_resource type="Texture2D" uid="uid://duwiasewxvcb5" path="res://Sprites/Items/Icicle_Gun.png" id="3_6jcxd"]
|
||||
|
||||
[node name="Weapon" type="Node3D" node_paths=PackedStringArray("Muzzle", "Pivot", "Sprite")]
|
||||
script = ExtResource("1_gdxml")
|
||||
WeaponData = ExtResource("2_s6td3")
|
||||
Muzzle = NodePath("Muzzle")
|
||||
Pivot = NodePath("Pivot")
|
||||
Sprite = NodePath("Sprite3D")
|
||||
|
||||
[node name="Muzzle" type="Marker3D" parent="."]
|
||||
|
||||
[node name="Pivot" type="Marker3D" parent="."]
|
||||
|
||||
[node name="ShootTimer" type="Timer" parent="."]
|
||||
one_shot = true
|
||||
|
||||
[node name="Sprite3D" type="Sprite3D" parent="."]
|
||||
billboard = 1
|
||||
texture_filter = 0
|
||||
texture = ExtResource("3_6jcxd")
|
||||
Loading…
Add table
Add a link
Reference in a new issue