Replays in game
This commit is contained in:
parent
09c9809e94
commit
5031122edd
8 changed files with 59 additions and 29 deletions
|
@ -1,8 +1,4 @@
|
|||
<<<<<<< HEAD
|
||||
[gd_scene load_steps=17 format=2]
|
||||
=======
|
||||
[gd_scene load_steps=18 format=2]
|
||||
>>>>>>> e02aaa26c207234404f2d1f585dca170392fddfe
|
||||
[gd_scene load_steps=20 format=2]
|
||||
|
||||
[ext_resource path="res://Tile Sets/SnowySlopes.tres" type="TileSet" id=1]
|
||||
[ext_resource path="res://Units/DownhillAutoscrollerPlayer.tscn" type="PackedScene" id=2]
|
||||
|
@ -18,6 +14,8 @@
|
|||
[ext_resource path="res://Fonts/squares/squares.tres" type="DynamicFont" id=12]
|
||||
[ext_resource path="res://Scripts/InGameUI.gd" type="Script" id=13]
|
||||
[ext_resource path="res://Fonts/squares/squares_big.tres" type="DynamicFont" id=14]
|
||||
[ext_resource path="res://Scripts/Units/FollowReplay.gd" type="Script" id=15]
|
||||
[ext_resource path="res://Scripts/PlayerRecorder.gd" type="Script" id=16]
|
||||
|
||||
[sub_resource type="Animation" id=3]
|
||||
resource_name = "InitialFade"
|
||||
|
@ -126,15 +124,16 @@ offset = Vector2( 0, -15 )
|
|||
smoothing_speed = 7.0
|
||||
|
||||
[node name="PlayerRecorder" type="Node" parent="Player"]
|
||||
script = ExtResource( 13 )
|
||||
script = ExtResource( 16 )
|
||||
save_to = "res://Replays/ReplayOutput.dat"
|
||||
|
||||
[node name="SpectatorCam" type="Camera2D" parent="."]
|
||||
offset = Vector2( 0, -15 )
|
||||
|
||||
[node name="Rival" parent="." instance=ExtResource( 6 )]
|
||||
position = Vector2( 91, -197 )
|
||||
script = ExtResource( 12 )
|
||||
unit_type = 0
|
||||
script = ExtResource( 15 )
|
||||
replay_file = "res://Replays/Rival.dat"
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
script = ExtResource( 13 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue