Export player index

This commit is contained in:
William Tumeo
2016-10-01 01:56:30 -03:00
parent 80aea98747
commit 8f46b78b5c
2 changed files with 2 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ var on_floor = false
var shoot_time=99999 #time since last shot
var anim=""
export var index=1
export(int, "None", "Player 1", "Player 2") var index = 1
#cache the sprite here for fast access (we will set scale to flip it often)
onready var sprite = get_node("sprite")

View File

@@ -262,6 +262,7 @@ default/chorus_send = 0.0
[node name="ui" type="CanvasLayer" parent="."]
editor/display_folded = true
layer = 0
offset = Vector2( 0, 0 )
rotation = 0.0