Equidistent code working in component form! Also cleaned up spacing for

increased projectiles in stock weapon by rounding remainders from
division.
This commit is contained in:
Henry 2026-04-07 13:54:30 +01:00
parent d419635d7f
commit db57a0234e
17 changed files with 58 additions and 48 deletions

View file

@ -1,6 +1,6 @@
[gd_scene format=3 uid="uid://b2ltmeb14nc17"]
[ext_resource type="Script" uid="uid://d1rwqotmrag1r" path="res://scripts/stock_weapon.gd" id="1_kx6bj"]
[ext_resource type="Script" uid="uid://d1rwqotmrag1r" path="res://scenes/stock_weapon.gd" id="1_kx6bj"]
[ext_resource type="Script" uid="uid://ccdohs4gduee5" path="res://scripts/player_shot.gd" id="2_5286c"]
[ext_resource type="Texture2D" uid="uid://ti1uy42vnnhw" path="res://graphics/shot.png" id="3_58qml"]
@ -10,7 +10,6 @@ shot_name = "Stock"
speed = 350
projectiles = 3
projectile_spacing = 10.0
cooldown = 0.0
metadata/_custom_type_script = "uid://ccdohs4gduee5"
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mvdrj"]