forked from team-sg/hero-mark-2
changed level data
This commit is contained in:
parent
9e24f35c03
commit
71880a48d8
9 changed files with 166 additions and 15 deletions
|
@ -1,3 +1,3 @@
|
|||
source_md5="35e1cb52d249ae86ed8d849e774299c7"
|
||||
dest_md5="87668e025f6620c2ce77d1f869b1b118"
|
||||
source_md5="1c29c7c981140e33a1f098dced089402"
|
||||
dest_md5="12c36ec724f1dfc72bc17c966aba579d"
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Binary file not shown.
Before Width: | Height: | Size: 138 B After Width: | Height: | Size: 147 B |
169
maps/cave.tscn
169
maps/cave.tscn
File diff suppressed because one or more lines are too long
|
@ -5,7 +5,7 @@
|
|||
|
||||
[resource]
|
||||
script = ExtResource( 1 )
|
||||
level_title = "Level 1"
|
||||
level_title = "Verdant Hills"
|
||||
shard_title = [ "Climb the big vine", "Next to the lone tree", "Slime's Treasure", "The snake pit", "5 Rainbow Stars", "Collection bonus", "Time bonus", "Life bonus", "", "" ]
|
||||
level_number = 0
|
||||
scene = ExtResource( 2 )
|
||||
|
|
|
@ -40,7 +40,7 @@ script = ExtResource( 1 )
|
|||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||
material = SubResource( 1 )
|
||||
frames = SubResource( 5 )
|
||||
frame = 3
|
||||
frame = 2
|
||||
playing = true
|
||||
centered = false
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ func _ready():
|
|||
#Label
|
||||
label.visible = true
|
||||
label.set_text(str(cost))
|
||||
label.rect_position.y = scale.y / 2
|
||||
label.rect_position.y = scale.y / 2 + label_offset.y
|
||||
|
||||
func _physics_process(delta):
|
||||
#Open
|
||||
|
|
|
@ -156,9 +156,9 @@ func _process_climb():
|
|||
if axis.y == -1:
|
||||
#Auto Jump
|
||||
velocity.y = -jump_force
|
||||
Game.ac_climb.set_stream(null)
|
||||
Game.play_sound(Game.a_jump,Game.ac_jump)
|
||||
#Auto dismount
|
||||
Game.ac_climb.set_stream(null)
|
||||
current_state = State.FALL
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue