mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-13 22:12:23 +02:00
Added Barrier
This commit is contained in:
7
src/Objects/Barriere/Barriere.gd
Normal file
7
src/Objects/Barriere/Barriere.gd
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
extends StaticBody2D
|
||||||
|
|
||||||
|
var time = false
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
if time:
|
||||||
|
print("test")
|
||||||
24
src/Objects/Barriere/Barriere.tscn
Normal file
24
src/Objects/Barriere/Barriere.tscn
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
[gd_scene load_steps=5 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Overlap/Kind.tscn" type="PackedScene" id=1]
|
||||||
|
[ext_resource path="res://Objects/Barriere/walll_set.png" type="Texture" id=2]
|
||||||
|
[ext_resource path="res://Objects/Barriere/Barriere.gd" type="Script" id=3]
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id=1]
|
||||||
|
extents = Vector2( 16, 16 )
|
||||||
|
|
||||||
|
[node name="Barriere" type="StaticBody2D"]
|
||||||
|
script = ExtResource( 3 )
|
||||||
|
__meta__ = {
|
||||||
|
"_edit_group_": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="Kind" parent="." instance=ExtResource( 1 )]
|
||||||
|
general = 3
|
||||||
|
kind = 10
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
|
shape = SubResource( 1 )
|
||||||
|
|
||||||
|
[node name="Sprite" type="Sprite" parent="."]
|
||||||
|
texture = ExtResource( 2 )
|
||||||
BIN
src/Objects/Barriere/walll_icon.png
Normal file
BIN
src/Objects/Barriere/walll_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 265 B |
34
src/Objects/Barriere/walll_icon.png.import
Normal file
34
src/Objects/Barriere/walll_icon.png.import
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/walll_icon.png-9f38c5d9cd8974dba0adbde6130d8aee.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Objects/Barriere/walll_icon.png"
|
||||||
|
dest_files=[ "res://.import/walll_icon.png-9f38c5d9cd8974dba0adbde6130d8aee.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/Objects/Barriere/walll_set.png
Normal file
BIN
src/Objects/Barriere/walll_set.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 310 B |
34
src/Objects/Barriere/walll_set.png.import
Normal file
34
src/Objects/Barriere/walll_set.png.import
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/walll_set.png-14a571aaae5c633c6c5acb4e4da0907e.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Objects/Barriere/walll_set.png"
|
||||||
|
dest_files=[ "res://.import/walll_set.png-14a571aaae5c633c6c5acb4e4da0907e.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