Refactors projectile spawning to allow for customized spawn locations and stat assignment. Applies modifiers to projectiles at the time of spawning, enabling dynamic adjustments to projectile behavior.
36 lines
1.4 KiB
Text
36 lines
1.4 KiB
Text
[gd_scene load_steps=5 format=3 uid="uid://cfkusqucsap26"]
|
|
|
|
[ext_resource type="Script" uid="uid://begwu0icmrxyw" path="res://map/map.gd" id="1_l804v"]
|
|
[ext_resource type="TileSet" uid="uid://c66l102pgntht" path="res://assets/sprites/tilesets/forest.tres" id="2_3nv2f"]
|
|
[ext_resource type="PackedScene" uid="uid://cait7d0k1kmsq" path="res://enemies/test_enemy.tscn" id="4_raxr4"]
|
|
[ext_resource type="PackedScene" uid="uid://bo5aw2cad3akl" path="res://player/player.tscn" id="5_3nv2f"]
|
|
|
|
[node name="Map" type="Node2D"]
|
|
script = ExtResource("1_l804v")
|
|
|
|
[node name="Ground" type="TileMapLayer" parent="."]
|
|
tile_set = ExtResource("2_3nv2f")
|
|
|
|
[node name="Water" type="TileMapLayer" parent="."]
|
|
tile_set = ExtResource("2_3nv2f")
|
|
|
|
[node name="Scatter" type="TileMapLayer" parent="."]
|
|
tile_set = ExtResource("2_3nv2f")
|
|
|
|
[node name="Player" parent="." instance=ExtResource("5_3nv2f")]
|
|
position = Vector2(6, 0)
|
|
|
|
[node name="TestEnemy" parent="." instance=ExtResource("4_raxr4")]
|
|
position = Vector2(87, 72)
|
|
|
|
[node name="TestEnemy2" parent="." instance=ExtResource("4_raxr4")]
|
|
position = Vector2(171, 38)
|
|
|
|
[node name="TestEnemy3" parent="." instance=ExtResource("4_raxr4")]
|
|
position = Vector2(132, 150)
|
|
|
|
[node name="TestEnemy4" parent="." instance=ExtResource("4_raxr4")]
|
|
position = Vector2(199, 107)
|
|
|
|
[node name="TestEnemy5" parent="." instance=ExtResource("4_raxr4")]
|
|
position = Vector2(272, 64)
|