collectables
This commit is contained in:
parent
9973d48041
commit
c6a3fb35cb
3
collect_crystal.gd
Normal file
3
collect_crystal.gd
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
extends RigidBody2D
|
||||||
|
|
||||||
|
contact
|
1
collect_crystal.gd.uid
Normal file
1
collect_crystal.gd.uid
Normal file
|
@ -0,0 +1 @@
|
||||||
|
uid://dmyoo12ntx27
|
|
@ -1,8 +1,21 @@
|
||||||
[gd_scene load_steps=2 format=3 uid="uid://darxbklsgh23m"]
|
[gd_scene load_steps=4 format=3 uid="uid://darxbklsgh23m"]
|
||||||
|
|
||||||
[ext_resource type="Texture2D" uid="uid://bm245ox8exhlr" path="res://Template mew 1 front-4.png.png" id="1_ttvq1"]
|
[ext_resource type="Script" uid="uid://dmyoo12ntx27" path="res://collect_crystal.gd" id="1_ttvq1"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bm245ox8exhlr" path="res://Template mew 1 front-4.png.png" id="2_4nrqi"]
|
||||||
|
|
||||||
[node name="Node2D" type="Node2D"]
|
[sub_resource type="SpriteFrames" id="SpriteFrames_lmbvg"]
|
||||||
|
animations = [{
|
||||||
|
"frames": [{
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": ExtResource("2_4nrqi")
|
||||||
|
}],
|
||||||
|
"loop": true,
|
||||||
|
"name": &"default",
|
||||||
|
"speed": 5.0
|
||||||
|
}]
|
||||||
|
|
||||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
[node name="RigidBody2D" type="RigidBody2D"]
|
||||||
texture = ExtResource("1_ttvq1")
|
script = ExtResource("1_ttvq1")
|
||||||
|
|
||||||
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||||
|
sprite_frames = SubResource("SpriteFrames_lmbvg")
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=14 format=3 uid="uid://tpe1cb4ucx0b"]
|
[gd_scene load_steps=14 format=3 uid="uid://c1xy5bf2p6vmh"]
|
||||||
|
|
||||||
[ext_resource type="Texture2D" uid="uid://dimdd34ldpix5" path="res://playerSprites/playerSprite_0001.png" id="2_nvl01"]
|
[ext_resource type="Texture2D" uid="uid://dimdd34ldpix5" path="res://playerSprites/playerSprite_0001.png" id="2_nvl01"]
|
||||||
[ext_resource type="Texture2D" uid="uid://cmga6fl4uer1m" path="res://playerSprites/playerSprite_0002.png" id="3_ivps1"]
|
[ext_resource type="Texture2D" uid="uid://cmga6fl4uer1m" path="res://playerSprites/playerSprite_0002.png" id="3_ivps1"]
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://b8l378t64365q"
|
uid="uid://dbgxcet64ael6"
|
||||||
path="res://.godot/imported/playerSprite.png-8f5e0a97d80a09618562c7fe14db09da.ctex"
|
path="res://.godot/imported/playerSprite.png-8f5e0a97d80a09618562c7fe14db09da.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[gd_scene load_steps=3 format=4 uid="uid://ccjb75bercbw8"]
|
[gd_scene load_steps=3 format=4 uid="uid://ccjb75bercbw8"]
|
||||||
|
|
||||||
[ext_resource type="TileSet" uid="uid://xnedi1edel2b" path="res://tileMaps/baseTileset.tres" id="1_a7uaa"]
|
[ext_resource type="TileSet" uid="uid://xnedi1edel2b" path="res://tileMaps/baseTileset.tres" id="1_a7uaa"]
|
||||||
[ext_resource type="PackedScene" uid="uid://tpe1cb4ucx0b" path="res://player.tscn" id="2_lsvd3"]
|
[ext_resource type="PackedScene" uid="uid://c1xy5bf2p6vmh" path="res://player.tscn" id="2_lsvd3"]
|
||||||
|
|
||||||
[node name="Node2D" type="Node2D"]
|
[node name="Node2D" type="Node2D"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user