mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-13 14:02:23 +02:00
Merge branch 'devMechanics' into devPlayerStats
This commit is contained in:
5
src/Bannana.gd
Normal file
5
src/Bannana.gd
Normal file
@@ -0,0 +1,5 @@
|
||||
extends Node2D
|
||||
|
||||
|
||||
func _on_Hurtbox_area_entered(area):
|
||||
queue_free()
|
||||
29
src/Objects/Banana/Banana.tscn
Normal file
29
src/Objects/Banana/Banana.tscn
Normal file
@@ -0,0 +1,29 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://HurtHit_Box/Hurtbox.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://Bannana.gd" type="Script" id=2]
|
||||
[ext_resource path="res://testSprites/bannane.png" type="Texture" id=3]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
radius = 7.54726
|
||||
height = 12.1493
|
||||
|
||||
[node name="Banana" type="Node2D"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( 1.54256, -4.73786 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="Hurtbox" parent="." instance=ExtResource( 1 )]
|
||||
position = Vector2( 1.54256, -4.73786 )
|
||||
collision_layer = 32
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape2D" parent="Hurtbox" index="0"]
|
||||
position = Vector2( -1.65275, 4.84804 )
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 1 )
|
||||
[connection signal="area_entered" from="Hurtbox" to="." method="_on_Hurtbox_area_entered"]
|
||||
|
||||
[editable path="Hurtbox"]
|
||||
38
src/Objects/Bonfire/Bonfire.tscn
Normal file
38
src/Objects/Bonfire/Bonfire.tscn
Normal file
@@ -0,0 +1,38 @@
|
||||
[gd_scene load_steps=6 format=2]
|
||||
|
||||
[ext_resource path="res://HurtHit_Box/Hurtbox.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://Bannana.gd" type="Script" id=2]
|
||||
[ext_resource path="res://testSprites/Bonfire.png" type="Texture" id=3]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
radius = 7.76762
|
||||
height = 11.2678
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=2]
|
||||
radius = 7.10652
|
||||
height = 9.88821
|
||||
|
||||
[node name="Bonfire" type="StaticBody2D"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( 0.22036, -4.18694 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="Hurtbox" parent="." instance=ExtResource( 1 )]
|
||||
position = Vector2( 1.54256, -4.73786 )
|
||||
collision_layer = 8
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape2D" parent="Hurtbox" index="0"]
|
||||
position = Vector2( -1.54256, 4.73785 )
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="Body" type="CollisionShape2D" parent="."]
|
||||
position = Vector2( -3.8147e-06, 0.110184 )
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 2 )
|
||||
[connection signal="area_entered" from="Hurtbox" to="." method="_on_Hurtbox_area_entered"]
|
||||
|
||||
[editable path="Hurtbox"]
|
||||
29
src/Objects/Heart/Heart.tscn
Normal file
29
src/Objects/Heart/Heart.tscn
Normal file
@@ -0,0 +1,29 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://HurtHit_Box/Hurtbox.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://Bannana.gd" type="Script" id=2]
|
||||
[ext_resource path="res://testSprites/Herz.png" type="Texture" id=3]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
radius = 7.43707
|
||||
height = 2.89399
|
||||
|
||||
[node name="Heart" type="Node2D"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( 0.22036, -4.18694 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="Hurtbox" parent="." instance=ExtResource( 1 )]
|
||||
position = Vector2( 1.54256, -4.73786 )
|
||||
collision_layer = 32
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape2D" parent="Hurtbox" index="0"]
|
||||
position = Vector2( -1.54256, 4.73785 )
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 1 )
|
||||
[connection signal="area_entered" from="Hurtbox" to="." method="_on_Hurtbox_area_entered"]
|
||||
|
||||
[editable path="Hurtbox"]
|
||||
29
src/Objects/Rubies/Blue.tscn
Normal file
29
src/Objects/Rubies/Blue.tscn
Normal file
@@ -0,0 +1,29 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://HurtHit_Box/Hurtbox.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://Bannana.gd" type="Script" id=2]
|
||||
[ext_resource path="res://testSprites/blue_Rubi.png" type="Texture" id=3]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
radius = 7.43707
|
||||
height = 2.89399
|
||||
|
||||
[node name="Blue" type="Node2D"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( 0.22036, -4.18694 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="Hurtbox" parent="." instance=ExtResource( 1 )]
|
||||
position = Vector2( 1.54256, -4.73786 )
|
||||
collision_layer = 32
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape2D" parent="Hurtbox" index="0"]
|
||||
position = Vector2( -1.54256, 4.73785 )
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 1 )
|
||||
[connection signal="area_entered" from="Hurtbox" to="." method="_on_Hurtbox_area_entered"]
|
||||
|
||||
[editable path="Hurtbox"]
|
||||
29
src/Objects/Rubies/Green.tscn
Normal file
29
src/Objects/Rubies/Green.tscn
Normal file
@@ -0,0 +1,29 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://HurtHit_Box/Hurtbox.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://Bannana.gd" type="Script" id=2]
|
||||
[ext_resource path="res://testSprites/green_Rubi.png" type="Texture" id=3]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
radius = 7.43707
|
||||
height = 2.89399
|
||||
|
||||
[node name="Green" type="Node2D"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( 0.22036, -4.18694 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="Hurtbox" parent="." instance=ExtResource( 1 )]
|
||||
position = Vector2( 1.54256, -4.73786 )
|
||||
collision_layer = 32
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape2D" parent="Hurtbox" index="0"]
|
||||
position = Vector2( -1.54256, 4.73785 )
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 1 )
|
||||
[connection signal="area_entered" from="Hurtbox" to="." method="_on_Hurtbox_area_entered"]
|
||||
|
||||
[editable path="Hurtbox"]
|
||||
29
src/Objects/Rubies/Red.tscn
Normal file
29
src/Objects/Rubies/Red.tscn
Normal file
@@ -0,0 +1,29 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://HurtHit_Box/Hurtbox.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://Bannana.gd" type="Script" id=2]
|
||||
[ext_resource path="res://testSprites/red_Rubi.png" type="Texture" id=3]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
radius = 7.43707
|
||||
height = 2.89399
|
||||
|
||||
[node name="Red" type="Node2D"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( 0.22036, -4.18694 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="Hurtbox" parent="." instance=ExtResource( 1 )]
|
||||
position = Vector2( 1.54256, -4.73786 )
|
||||
collision_layer = 32
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape2D" parent="Hurtbox" index="0"]
|
||||
position = Vector2( -1.54256, 4.73785 )
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 1 )
|
||||
[connection signal="area_entered" from="Hurtbox" to="." method="_on_Hurtbox_area_entered"]
|
||||
|
||||
[editable path="Hurtbox"]
|
||||
24
src/Objects/Traps/Flame.tscn
Normal file
24
src/Objects/Traps/Flame.tscn
Normal file
@@ -0,0 +1,24 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://HurtHit_Box/Hitbox.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://Bannana.gd" type="Script" id=2]
|
||||
[ext_resource path="res://testSprites/flame.png" type="Texture" id=3]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
height = 6.36237
|
||||
|
||||
[node name="Flame" type="Node2D"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( 0.44072, -6.06005 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="Hitbox" parent="." instance=ExtResource( 1 )]
|
||||
collision_layer = 16
|
||||
|
||||
[node name="CollisionShape2D" parent="Hitbox" index="0"]
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[editable path="Hitbox"]
|
||||
24
src/Objects/Traps/Spike.tscn
Normal file
24
src/Objects/Traps/Spike.tscn
Normal file
@@ -0,0 +1,24 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://HurtHit_Box/Hitbox.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://Bannana.gd" type="Script" id=2]
|
||||
[ext_resource path="res://testSprites/Spike.png" type="Texture" id=3]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
height = 6.36237
|
||||
|
||||
[node name="Spike" type="Node2D"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( 0.220352, -3.63603 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="Hitbox" parent="." instance=ExtResource( 1 )]
|
||||
collision_layer = 16
|
||||
|
||||
[node name="CollisionShape2D" parent="Hitbox" index="0"]
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[editable path="Hitbox"]
|
||||
26
src/Objects/Traps/Sting.tscn
Normal file
26
src/Objects/Traps/Sting.tscn
Normal file
@@ -0,0 +1,26 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://HurtHit_Box/Hitbox.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://Bannana.gd" type="Script" id=2]
|
||||
[ext_resource path="res://testSprites/Sting.png" type="Texture" id=3]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
radius = 6.77597
|
||||
height = 6.36237
|
||||
|
||||
[node name="Sting" type="Node2D"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( 0.44072, -9.03499 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="Hitbox" parent="." instance=ExtResource( 1 )]
|
||||
collision_layer = 16
|
||||
|
||||
[node name="CollisionShape2D" parent="Hitbox" index="0"]
|
||||
position = Vector2( -0.771278, -0.110184 )
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[editable path="Hitbox"]
|
||||
24
src/Objects/Traps/bear.tscn
Normal file
24
src/Objects/Traps/bear.tscn
Normal file
@@ -0,0 +1,24 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://HurtHit_Box/Hitbox.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://Bannana.gd" type="Script" id=2]
|
||||
[ext_resource path="res://testSprites/falle.png" type="Texture" id=3]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
height = 6.36237
|
||||
|
||||
[node name="Bear_trap" type="Node2D"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( -7.62939e-06, 0 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="Hitbox" parent="." instance=ExtResource( 1 )]
|
||||
collision_layer = 16
|
||||
|
||||
[node name="CollisionShape2D" parent="Hitbox" index="0"]
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[editable path="Hitbox"]
|
||||
@@ -11,7 +11,7 @@ export(int, 0, 500) var ROLL_SPEED := 150
|
||||
export(int, 0, 500) var FRICTION := 200 # Speed at which the player deaccelarates
|
||||
export(int, 0, 500) var ACCELERATION := 450
|
||||
# Reference for the current player
|
||||
onready var debug_label := $DebugLabel
|
||||
|
||||
onready var player_stats := $Stats
|
||||
onready var animation_player := $AnimationPlayer
|
||||
onready var animation_tree := $AnimationTree
|
||||
@@ -25,12 +25,9 @@ enum moveState{
|
||||
|
||||
var movementState = moveState.MOVE
|
||||
|
||||
func _debug_update():
|
||||
debug_label.text = str(player_stats.health) + "/" + str(player_stats.max_health) + " HP"
|
||||
|
||||
|
||||
func _physics_process(delta):
|
||||
_debug_update()
|
||||
match movementState:
|
||||
moveState.MOVE:
|
||||
movement_move(delta)
|
||||
@@ -91,3 +88,7 @@ func roll_finished():
|
||||
|
||||
func _on_Hurtbox_area_entered(area):
|
||||
queue_free()
|
||||
|
||||
|
||||
func _on_Hitbox_area_entered(area):
|
||||
pass
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
[gd_scene load_steps=55 format=2]
|
||||
[gd_scene load_steps=54 format=2]
|
||||
|
||||
[ext_resource path="res://Player/Player.gd" type="Script" id=1]
|
||||
[ext_resource path="res://Player/Player.png" type="Texture" id=2]
|
||||
[ext_resource path="res://HurtHit_Box/Hurtbox.tscn" type="PackedScene" id=3]
|
||||
[ext_resource path="res://HurtHit_Box/Hitbox.tscn" type="PackedScene" id=4]
|
||||
[ext_resource path="res://Overlap/Stats.tscn" type="PackedScene" id=5]
|
||||
[ext_resource path="res://Fonts/Harmonic/Harmonic.ttf" type="DynamicFontData" id=6]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
radius = 2.15976
|
||||
@@ -601,17 +600,17 @@ start_node = "idle"
|
||||
[sub_resource type="AnimationNodeStateMachinePlayback" id=45]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=46]
|
||||
radius = 3.40253
|
||||
height = 6.72939
|
||||
radius = 3.36373
|
||||
height = 6.59445
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=47]
|
||||
radius = 3.40253
|
||||
height = 0.175497
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=48]
|
||||
radius = 4.03497
|
||||
height = 6.99104
|
||||
|
||||
[sub_resource type="DynamicFont" id=48]
|
||||
size = 12
|
||||
font_data = ExtResource( 6 )
|
||||
|
||||
[node name="Player" type="KinematicBody2D"]
|
||||
script = ExtResource( 1 )
|
||||
FRICTION = 270
|
||||
@@ -657,13 +656,22 @@ parameters/idle/blend_position = Vector2( -0.646202, 0.122222 )
|
||||
parameters/roll/blend_position = Vector2( 0.0166494, -0.387619 )
|
||||
parameters/run/blend_position = Vector2( 0.0697191, -0.967302 )
|
||||
|
||||
[node name="Hitbox" parent="." instance=ExtResource( 4 )]
|
||||
position = Vector2( 0, 0.0375252 )
|
||||
collision_layer = 0
|
||||
collision_mask = 32
|
||||
|
||||
[node name="CollisionShape2D" parent="Hitbox" index="0"]
|
||||
position = Vector2( 0.420105, -4.84456 )
|
||||
shape = SubResource( 46 )
|
||||
|
||||
[node name="Hurtbox" parent="." instance=ExtResource( 3 )]
|
||||
position = Vector2( 0, 0.0375252 )
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape2D" parent="Hurtbox" index="0"]
|
||||
position = Vector2( -0.00503922, -4.92183 )
|
||||
shape = SubResource( 46 )
|
||||
position = Vector2( 0.0781527, -0.822231 )
|
||||
shape = SubResource( 47 )
|
||||
|
||||
[node name="Pivot" type="Position2D" parent="."]
|
||||
position = Vector2( 0, -4.16248 )
|
||||
@@ -678,24 +686,15 @@ collision_mask = 12
|
||||
|
||||
[node name="CollisionShape2D" parent="Pivot/SwordHitbox" index="0"]
|
||||
position = Vector2( 8.43416, 0.0698299 )
|
||||
shape = SubResource( 47 )
|
||||
shape = SubResource( 48 )
|
||||
disabled = true
|
||||
|
||||
[node name="Stats" parent="." instance=ExtResource( 5 )]
|
||||
max_health = 3
|
||||
|
||||
[node name="DebugLabel" type="Label" parent="."]
|
||||
margin_left = -8.0
|
||||
margin_top = -21.0
|
||||
margin_right = 10.0
|
||||
margin_bottom = -9.0
|
||||
custom_fonts/font = SubResource( 48 )
|
||||
text = "BLa"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
[connection signal="area_entered" from="Hitbox" to="." method="_on_Hitbox_area_entered"]
|
||||
[connection signal="area_entered" from="Hurtbox" to="." method="_on_Hurtbox_area_entered"]
|
||||
|
||||
[editable path="Hitbox"]
|
||||
|
||||
[editable path="Hurtbox"]
|
||||
|
||||
[editable path="Pivot/SwordHitbox"]
|
||||
|
||||
115
src/World.tscn
115
src/World.tscn
@@ -1,15 +1,25 @@
|
||||
[gd_scene load_steps=6 format=2]
|
||||
[gd_scene load_steps=16 format=2]
|
||||
|
||||
[ext_resource path="res://Player/Player.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://Menus/Startup/Startup.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://Maps/Tilesets/Room/tileset_room.tres" type="TileSet" id=3]
|
||||
[ext_resource path="res://testSprites/dark.png" type="Texture" id=4]
|
||||
[ext_resource path="res://Objects/Barrel/Barrel.tscn" type="PackedScene" id=5]
|
||||
[ext_resource path="res://Objects/Banana/Banana.tscn" type="PackedScene" id=6]
|
||||
[ext_resource path="res://Objects/Bonfire/Bonfire.tscn" type="PackedScene" id=7]
|
||||
[ext_resource path="res://Objects/Traps/Sting.tscn" type="PackedScene" id=8]
|
||||
[ext_resource path="res://Objects/Rubies/Blue.tscn" type="PackedScene" id=9]
|
||||
[ext_resource path="res://Objects/Traps/bear.tscn" type="PackedScene" id=10]
|
||||
[ext_resource path="res://Objects/Heart/Heart.tscn" type="PackedScene" id=11]
|
||||
[ext_resource path="res://Objects/Rubies/Red.tscn" type="PackedScene" id=12]
|
||||
[ext_resource path="res://Objects/Rubies/Green.tscn" type="PackedScene" id=13]
|
||||
[ext_resource path="res://Objects/Traps/Flame.tscn" type="PackedScene" id=14]
|
||||
[ext_resource path="res://Objects/Traps/Spike.tscn" type="PackedScene" id=15]
|
||||
|
||||
[node name="World" type="Node2D"]
|
||||
|
||||
[node name="WallSprite" type="Sprite" parent="."]
|
||||
position = Vector2( 98.1828, 136.399 )
|
||||
position = Vector2( 101.087, 144.871 )
|
||||
texture = ExtResource( 4 )
|
||||
region_enabled = true
|
||||
region_rect = Rect2( 0, 0, 1280, 720 )
|
||||
@@ -18,7 +28,7 @@ region_rect = Rect2( 0, 0, 1280, 720 )
|
||||
tile_set = ExtResource( 3 )
|
||||
cell_size = Vector2( 32, 32 )
|
||||
format = 1
|
||||
tile_data = PoolIntArray( -131063, 47, 0, -131062, 47, 2, -65536, 47, 4, -65535, 47, 196609, -65534, 47, 196609, -65533, 47, 196609, -65532, 47, 196609, -65531, 47, 196609, -65530, 47, 196609, -65529, 47, 6, -65528, 47, 5, -65527, 47, 196614, -65526, 47, 196613, -65525, 47, 6, -65524, 47, 5, -65523, 47, 196609, -65522, 47, 7, 0, 47, 65539, 7, 47, 131072, 8, 47, 65543, 11, 47, 131072, 12, 47, 65543, 14, 47, 196612, 15, 47, 7, 65536, 47, 65539, 65544, 47, 196612, 65545, 47, 7, 65548, 47, 65539, 65551, 47, 65539, 131072, 47, 262148, 131073, 47, 196610, 131081, 47, 65539, 131084, 47, 65539, 131087, 47, 65539, 196608, 47, 65539, 196615, 47, 196611, 196617, 47, 131075, 196619, 47, 4, 196620, 47, 196615, 196622, 47, 4, 196623, 47, 196615, 262144, 47, 65539, 262146, 47, 3, 262155, 47, 65539, 262158, 47, 65539, 327680, 47, 262148, 327681, 47, 196609, 327682, 47, 196616, 327683, 47, 196609, 327684, 47, 196609, 327685, 47, 196609, 327686, 47, 196609, 327687, 47, 7, 327691, 47, 131075, 327694, 47, 65539, 393216, 47, 65539, 393223, 47, 196612, 393224, 47, 196610, 393230, 47, 65539, 458752, 47, 196612, 458753, 47, 196609, 458754, 47, 7, 458766, 47, 65539, 524290, 47, 196612, 524291, 47, 196609, 524292, 47, 196609, 524293, 47, 196609, 524294, 47, 196609, 524295, 47, 196609, 524296, 47, 196609, 524297, 47, 196609, 524298, 47, 196609, 524299, 47, 196609, 524300, 47, 196609, 524301, 47, 196609, 524302, 47, 196615 )
|
||||
tile_data = PoolIntArray( -131063, 47, 0, -131062, 47, 2, -65536, 47, 4, -65535, 47, 196609, -65534, 47, 196609, -65533, 47, 196609, -65532, 47, 196609, -65531, 47, 196609, -65530, 47, 196609, -65529, 47, 6, -65528, 47, 5, -65527, 47, 196614, -65526, 47, 196613, -65525, 47, 6, -65524, 47, 5, -65523, 47, 196609, -65522, 47, 7, 0, 47, 65539, 7, 47, 131072, 8, 47, 65543, 11, 47, 131072, 12, 47, 65543, 14, 47, 196612, 15, 47, 196610, 65536, 47, 65539, 65544, 47, 196612, 65545, 47, 7, 65548, 47, 65539, 131072, 47, 262148, 131073, 47, 196610, 131081, 47, 65539, 131084, 47, 65539, 131087, 47, 3, 196608, 47, 65539, 196615, 47, 196611, 196617, 47, 131075, 196619, 47, 4, 196620, 47, 196615, 196622, 47, 4, 196623, 47, 196615, 262144, 47, 65539, 262146, 47, 3, 262155, 47, 65539, 262158, 47, 65539, 327680, 47, 262148, 327681, 47, 196609, 327682, 47, 196616, 327683, 47, 196609, 327684, 47, 196609, 327685, 47, 196609, 327686, 47, 196609, 327687, 47, 7, 327691, 47, 131075, 327694, 47, 65539, 393216, 47, 65539, 393223, 47, 196612, 393224, 47, 196610, 393230, 47, 65539, 458752, 47, 196612, 458753, 47, 196609, 458754, 47, 7, 458766, 47, 65539, 524290, 47, 196612, 524291, 47, 196609, 524292, 47, 196609, 524293, 47, 196609, 524294, 47, 196609, 524295, 47, 196609, 524296, 47, 196609, 524297, 47, 196609, 524298, 47, 196609, 524299, 47, 196609, 524300, 47, 196609, 524301, 47, 196609, 524302, 47, 196615 )
|
||||
|
||||
[node name="Startup" parent="." instance=ExtResource( 2 )]
|
||||
visible = false
|
||||
@@ -26,73 +36,72 @@ visible = false
|
||||
[node name="YSort" type="YSort" parent="."]
|
||||
position = Vector2( 170.007, 112.118 )
|
||||
|
||||
[node name="Barrel2" parent="YSort" instance=ExtResource( 5 )]
|
||||
position = Vector2( -118.826, -74.2431 )
|
||||
|
||||
[node name="Barrel3" parent="YSort" instance=ExtResource( 5 )]
|
||||
position = Vector2( -119.425, -59.8735 )
|
||||
|
||||
[node name="Barrel" parent="YSort" instance=ExtResource( 5 )]
|
||||
position = Vector2( -75.7991, -70.2346 )
|
||||
position = Vector2( -118.865, -87.3775 )
|
||||
|
||||
[node name="Player" parent="YSort" instance=ExtResource( 1 )]
|
||||
position = Vector2( -18.3394, -55.4925 )
|
||||
position = Vector2( 30.9156, 105.927 )
|
||||
scale = Vector2( 2, 2 )
|
||||
|
||||
[node name="Player2" parent="YSort" instance=ExtResource( 1 )]
|
||||
position = Vector2( -38.722, -70.0515 )
|
||||
ROLL_SPEED = 300
|
||||
[node name="Banana" parent="YSort" instance=ExtResource( 6 )]
|
||||
position = Vector2( -121.577, 4.57831 )
|
||||
|
||||
[node name="Player3" parent="YSort" instance=ExtResource( 1 )]
|
||||
position = Vector2( -46.8102, -53.8748 )
|
||||
ROLL_SPEED = 300
|
||||
[node name="Bonfire" parent="YSort" instance=ExtResource( 7 )]
|
||||
position = Vector2( 283.515, -47.7461 )
|
||||
|
||||
[node name="Player4" parent="YSort" instance=ExtResource( 1 )]
|
||||
position = Vector2( -51.3397, -35.4335 )
|
||||
ROLL_SPEED = 300
|
||||
[node name="Sting" parent="YSort" instance=ExtResource( 8 )]
|
||||
position = Vector2( 68.6066, -28.1109 )
|
||||
|
||||
[node name="Player5" parent="YSort" instance=ExtResource( 1 )]
|
||||
position = Vector2( -56.8398, -20.8745 )
|
||||
ROLL_SPEED = 300
|
||||
[node name="Sting2" parent="YSort" instance=ExtResource( 8 )]
|
||||
position = Vector2( 68.6066, -18.9158 )
|
||||
|
||||
[node name="Player6" parent="YSort" instance=ExtResource( 1 )]
|
||||
position = Vector2( -60.7221, -6.96263 )
|
||||
ROLL_SPEED = 300
|
||||
[node name="Sting3" parent="YSort" instance=ExtResource( 8 )]
|
||||
position = Vector2( 108.936, 2.03768 )
|
||||
|
||||
[node name="Player7" parent="YSort" instance=ExtResource( 1 )]
|
||||
position = Vector2( -27.0748, 6.30219 )
|
||||
ROLL_SPEED = 300
|
||||
[node name="Sting4" parent="YSort" instance=ExtResource( 8 )]
|
||||
position = Vector2( 92.0694, 1.87637 )
|
||||
|
||||
[node name="Player8" parent="YSort" instance=ExtResource( 1 )]
|
||||
position = Vector2( 10.7785, -23.1393 )
|
||||
ROLL_SPEED = 300
|
||||
[node name="Sting5" parent="YSort" instance=ExtResource( 8 )]
|
||||
position = Vector2( 101.981, 2.46786 )
|
||||
|
||||
[node name="Player9" parent="YSort" instance=ExtResource( 1 )]
|
||||
position = Vector2( 20.808, -10.5215 )
|
||||
ROLL_SPEED = 300
|
||||
[node name="Flame2" parent="YSort" instance=ExtResource( 14 )]
|
||||
position = Vector2( -31.1322, 103.722 )
|
||||
|
||||
[node name="Player10" parent="YSort" instance=ExtResource( 1 )]
|
||||
position = Vector2( -22.8689, -23.7863 )
|
||||
ROLL_SPEED = 300
|
||||
[node name="Bear_trap" parent="YSort" instance=ExtResource( 10 )]
|
||||
position = Vector2( 197.579, -28.4036 )
|
||||
|
||||
[node name="Player11" parent="YSort" instance=ExtResource( 1 )]
|
||||
position = Vector2( 9.80794, -43.1983 )
|
||||
ROLL_SPEED = 300
|
||||
[node name="Flame" parent="YSort" instance=ExtResource( 14 )]
|
||||
position = Vector2( -30.7141, 88.6697 )
|
||||
|
||||
[node name="Player12" parent="YSort" instance=ExtResource( 1 )]
|
||||
position = Vector2( 42.1612, -11.4921 )
|
||||
ROLL_SPEED = 300
|
||||
[node name="Spike" parent="YSort" instance=ExtResource( 15 )]
|
||||
position = Vector2( 225.593, 102.049 )
|
||||
|
||||
[node name="Player13" parent="YSort" instance=ExtResource( 1 )]
|
||||
position = Vector2( 58.9849, -37.3747 )
|
||||
ROLL_SPEED = 300
|
||||
[node name="Red" parent="YSort" instance=ExtResource( 12 )]
|
||||
position = Vector2( -128.136, 91.1784 )
|
||||
|
||||
[node name="Player14" parent="YSort" instance=ExtResource( 1 )]
|
||||
position = Vector2( 43.4553, -59.6984 )
|
||||
ROLL_SPEED = 300
|
||||
[node name="Green" parent="YSort" instance=ExtResource( 13 )]
|
||||
position = Vector2( -105.975, 105.394 )
|
||||
|
||||
[node name="Player15" parent="YSort" instance=ExtResource( 1 )]
|
||||
position = Vector2( -6.69225, 23.4494 )
|
||||
ROLL_SPEED = 300
|
||||
[node name="Blue" parent="YSort" instance=ExtResource( 9 )]
|
||||
position = Vector2( -89.2507, 105.394 )
|
||||
|
||||
[node name="Player16" parent="YSort" instance=ExtResource( 1 )]
|
||||
position = Vector2( 19.1904, -66.4926 )
|
||||
ROLL_SPEED = 300
|
||||
[node name="Green2" parent="YSort" instance=ExtResource( 13 )]
|
||||
position = Vector2( -95.5225, 89.5059 )
|
||||
|
||||
[node name="Player17" parent="YSort" instance=ExtResource( 1 )]
|
||||
position = Vector2( -12.1923, -12.4627 )
|
||||
ROLL_SPEED = 300
|
||||
[node name="Green3" parent="YSort" instance=ExtResource( 13 )]
|
||||
position = Vector2( -127.718, 103.722 )
|
||||
|
||||
[node name="Green4" parent="YSort" instance=ExtResource( 13 )]
|
||||
position = Vector2( -116.428, 91.5965 )
|
||||
|
||||
[node name="Heart" parent="YSort" instance=ExtResource( 11 )]
|
||||
position = Vector2( 201.342, -60.5988 )
|
||||
|
||||
[node name="Blue2" parent="YSort" instance=ExtResource( 9 )]
|
||||
position = Vector2( 66.0861, -56.9466 )
|
||||
|
||||
BIN
src/testSprites/Bonfire.png
Normal file
BIN
src/testSprites/Bonfire.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
34
src/testSprites/Bonfire.png.import
Normal file
34
src/testSprites/Bonfire.png.import
Normal file
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/Bonfire.png-0056030a521835d2d33fb9bceb6d8997.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://testSprites/Bonfire.png"
|
||||
dest_files=[ "res://.import/Bonfire.png-0056030a521835d2d33fb9bceb6d8997.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=false
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=false
|
||||
svg/scale=1.0
|
||||
BIN
src/testSprites/Spike.png
Normal file
BIN
src/testSprites/Spike.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 740 B |
34
src/testSprites/Spike.png.import
Normal file
34
src/testSprites/Spike.png.import
Normal file
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/Spike.png-17aaa39383a87ae5308a6f2b8336cac9.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://testSprites/Spike.png"
|
||||
dest_files=[ "res://.import/Spike.png-17aaa39383a87ae5308a6f2b8336cac9.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=false
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=false
|
||||
svg/scale=1.0
|
||||
34
src/testSprites/Stacheln.png.import
Normal file
34
src/testSprites/Stacheln.png.import
Normal file
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/Stacheln.png-a262c39a5c0980bd148668a8b3427fa1.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://testSprites/Stacheln.png"
|
||||
dest_files=[ "res://.import/Stacheln.png-a262c39a5c0980bd148668a8b3427fa1.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=false
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=false
|
||||
svg/scale=1.0
|
||||
BIN
src/testSprites/Sting.png
Normal file
BIN
src/testSprites/Sting.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 737 B |
34
src/testSprites/Sting.png.import
Normal file
34
src/testSprites/Sting.png.import
Normal file
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/Sting.png-e22bdef704d05705a069385cfac8dcfc.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://testSprites/Sting.png"
|
||||
dest_files=[ "res://.import/Sting.png-e22bdef704d05705a069385cfac8dcfc.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=false
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=false
|
||||
svg/scale=1.0
|
||||
Reference in New Issue
Block a user