forked from team-sg/hero-mark-2
added crates!
This commit is contained in:
parent
002184cc64
commit
3d3b7ce0cf
4 changed files with 68 additions and 14 deletions
17
objects/environment/rock/crate.tscn
Normal file
17
objects/environment/rock/crate.tscn
Normal file
|
@ -0,0 +1,17 @@
|
|||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://objects/environment/rock/rock.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://shaders/1px_border.gdshader" type="Shader" id=2]
|
||||
[ext_resource path="res://graphics/rock/crate.png" type="Texture" id=3]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id=1]
|
||||
shader = ExtResource( 2 )
|
||||
shader_param/border_color = Color( 0, 0, 0, 1 )
|
||||
shader_param/border_corners = true
|
||||
|
||||
[node name="Rock" instance=ExtResource( 1 )]
|
||||
|
||||
[node name="Sprite" parent="." index="0"]
|
||||
material = SubResource( 1 )
|
||||
position = Vector2( 0, 0 )
|
||||
texture = ExtResource( 3 )
|
Loading…
Add table
Add a link
Reference in a new issue