remove android build from tracking
This commit is contained in:
parent
4fcd85c936
commit
b7c034d877
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -3,4 +3,4 @@
|
||||||
.import/
|
.import/
|
||||||
.mono/
|
.mono/
|
||||||
addons/
|
addons/
|
||||||
android/build/
|
android/
|
||||||
0
script_templates/.gdignore
Normal file
0
script_templates/.gdignore
Normal file
22
script_templates/Actor.gd
Normal file
22
script_templates/Actor.gd
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
extends %BASE%
|
||||||
|
|
||||||
|
|
||||||
|
# Declare member variables here. Examples:
|
||||||
|
# var a%INT_TYPE% = 2
|
||||||
|
# var b%STRING_TYPE% = "text"
|
||||||
|
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree.
|
||||||
|
# you do not normally need to define this for Actor
|
||||||
|
# func _ready()%VOID_RETURN%:
|
||||||
|
# pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
# you do not normally need to define this for Actor
|
||||||
|
#func _process(delta%FLOAT_TYPE%)%VOID_RETURN%:
|
||||||
|
# pass
|
||||||
|
|
||||||
|
# Attach any number of signals from children nodes here.
|
||||||
|
# It's a good idea to define component signals here then call functions
|
||||||
|
# from other components.
|
||||||
42
script_templates/MovementComponent.gd
Normal file
42
script_templates/MovementComponent.gd
Normal file
|
|
@ -0,0 +1,42 @@
|
||||||
|
extends %BASE%
|
||||||
|
|
||||||
|
## Constants available to you
|
||||||
|
# UP = -1.0
|
||||||
|
# DOWN = 1.0
|
||||||
|
# LEFT = -1.0
|
||||||
|
# RIGHT = 1.0
|
||||||
|
|
||||||
|
# Avalable functions to call
|
||||||
|
# A Series of helper functions
|
||||||
|
# go_up():
|
||||||
|
# go_down():
|
||||||
|
# go_left():
|
||||||
|
# go_right():
|
||||||
|
# stop():
|
||||||
|
|
||||||
|
|
||||||
|
## Other needed variables
|
||||||
|
# desired_movement_vector: Vector2 - Used to store desired movement depending on the state
|
||||||
|
# current_movement_state:String - The name of the current State
|
||||||
|
|
||||||
|
# Since animactor state machine can actually view properties from this type
|
||||||
|
# I'm thinking about moving the velocity tracker in here instead of player.
|
||||||
|
# velocity: Vector2 - Current velocity, you can change this at will but state may modify it
|
||||||
|
|
||||||
|
# Declare any other member variables here. Examples:
|
||||||
|
# var a%INT_TYPE% = 2
|
||||||
|
# var b%STRING_TYPE% = "text"
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
# you do not normally need to define this for Actor
|
||||||
|
#func process(delta%FLOAT_TYPE%)%VOID_RETURN%:
|
||||||
|
# pass
|
||||||
|
|
||||||
|
# For Enemy and NPC Actors:
|
||||||
|
# should be called on the frame process.
|
||||||
|
|
||||||
|
# For Player Actors:
|
||||||
|
# Should be called on the input process
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user