mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
d7d65fa2f2
-html5 exporter works again -disable repeat on image loader by default -can change shape offset en tileset, texture offset was broken
22 lines
269 B
GDScript
22 lines
269 B
GDScript
|
|
extends RigidBody2D
|
|
|
|
# member variables here, example:
|
|
# var a=2
|
|
# var b="textvar"
|
|
|
|
var disabled=false
|
|
|
|
func disable():
|
|
if (disabled):
|
|
return
|
|
get_node("anim").play("shutdown")
|
|
disabled=true
|
|
|
|
func _ready():
|
|
# Initalization here
|
|
get_node("Timer").start()
|
|
pass
|
|
|
|
|