Compare commits
2 Commits
8152546bf2
...
b2244386f3
| Author | SHA1 | Date |
|---|---|---|
|
|
b2244386f3 | 2 years ago |
|
|
50fb9e9496 | 2 years ago |
|
After Width: | Height: | Size: 491 KiB |
@ -0,0 +1,34 @@ |
||||
[remap] |
||||
|
||||
importer="texture" |
||||
type="CompressedTexture2D" |
||||
uid="uid://ccqiabs4p3ryl" |
||||
path="res://.godot/imported/map.png-2da3fc7424b1263a875c0fcdadfc0bc5.ctex" |
||||
metadata={ |
||||
"vram_texture": false |
||||
} |
||||
|
||||
[deps] |
||||
|
||||
source_file="res://assets/placeholders/map.png" |
||||
dest_files=["res://.godot/imported/map.png-2da3fc7424b1263a875c0fcdadfc0bc5.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 |
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,16 @@ |
||||
extends Area2D |
||||
class_name RisingLevel |
||||
|
||||
@export var RISING_SPEED = 30 |
||||
|
||||
func _ready(): |
||||
body_entered.connect(_body_entered) |
||||
|
||||
func _physics_process(delta): |
||||
$shape.position.y -= RISING_SPEED * delta |
||||
self.position = self.position |
||||
|
||||
|
||||
func _body_entered(body): |
||||
if body.is_in_group("player"): |
||||
body.die() |
||||
Loading…
Reference in new issue