generated from hertog/godot-module-template
2d template pushed
This commit is contained in:
parent
aa8cc49f4d
commit
4da7e28cb5
73 changed files with 3120 additions and 11 deletions
BIN
project/platform/moving_platform.png
Normal file
BIN
project/platform/moving_platform.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 715 B |
34
project/platform/moving_platform.png.import
Normal file
34
project/platform/moving_platform.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cde7btbdorp8f"
|
||||
path="res://.godot/imported/moving_platform.png-7e92061cd93e8b0235df711d3782cd8c.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://platform/moving_platform.png"
|
||||
dest_files=["res://.godot/imported/moving_platform.png-7e92061cd93e8b0235df711d3782cd8c.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
11
project/platform/moving_platform.tscn
Normal file
11
project/platform/moving_platform.tscn
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://dtbrdmojpvetu"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cde7btbdorp8f" path="res://platform/moving_platform.png" id="2"]
|
||||
|
||||
[node name="MovingPlatform" type="CharacterBody2D"]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("2")
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
|
||||
polygon = PackedVector2Array(-44, -12, 44, -12, 44, 12, -44, 12)
|
||||
BIN
project/platform/one_way_platform.png
Normal file
BIN
project/platform/one_way_platform.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 543 B |
34
project/platform/one_way_platform.png.import
Normal file
34
project/platform/one_way_platform.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c15sicsdamq2o"
|
||||
path="res://.godot/imported/one_way_platform.png-2865772e209813c1636a14aee8d019a3.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://platform/one_way_platform.png"
|
||||
dest_files=["res://.godot/imported/one_way_platform.png-2865772e209813c1636a14aee8d019a3.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
16
project/platform/one_way_platform.tscn
Normal file
16
project/platform/one_way_platform.tscn
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://dkmxopg1dknq8"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c15sicsdamq2o" path="res://platform/one_way_platform.png" id="1"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="1"]
|
||||
size = Vector2(110, 10)
|
||||
|
||||
[node name="OneWayPlatform" type="StaticBody2D"]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("1")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0.73152, -6.5836)
|
||||
shape = SubResource("1")
|
||||
one_way_collision = true
|
||||
Loading…
Add table
Add a link
Reference in a new issue