This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Verifying that +henriquecampos is my blockchain ID. https://onename.com/henriquecampos |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extends Control | |
| func _ready(): | |
| #void call_group( int flags, String group, String method, Variant arg0=NULL, Variant arg1=NULL, Variant arg2=NULL, Variant arg3=NULL, Variant arg4=NULL ) | |
| #int connect( String signal, Object target, String method, Array binds=Array(), int flags=0 ) | |
| get_tree().call_group(0, "buttons", "connect", "pressed", self, "play_feedback", ["click"]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| temp/ | |
| .import/ | |
| .mono/ | |
| export_presets.cfg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extends Panel | |
| var tutor_part = 1 | |
| func _ready(): | |
| $Button.connect("button_up", self, "_on_next_up") | |
| func _on_next_up(): | |
| if $Animator.is_playing(): | |
| $Animator.seek($Animator.get_current_animation_length()) | |
| else: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tool | |
| extends EditorScript | |
| func _run(): | |
| var interface = get_editor_interface() | |
| var filesys = interface.get_resource_filesystem() | |
| var dir = filesys.get_filesystem_path(get_scene().source_directory) | |
| for f in dir.get_file_count(): | |
| var path = dir.get_file_path(f) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extends Node | |
| onready var active_battler : Battler = null | |
| func play_turn(): | |
| active_battler = get_child(0) | |
| active_battler.active = true | |
| yield(active_battler, "turn_finished") | |
| move_child(active_battler, get_child_count() -1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extends Node | |
| func save_game(): | |
| var scene = PackedScene.new() | |
| scene.pack(self) | |
| ResourceSaver.save("user://save_01.tscn", scene) | |
| func load_game(): | |
| var scene = load("user://save_01.tscn") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extends Node2D | |
| var carta_ataque = 1 | |
| var carta_defesa = 2 | |
| func _ready(): | |
| sistema_de_ataque() | |
| func sistema_de_ataque(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extends Node | |
| export (float) var mass = 20.0 | |
| func steer(current_velocity, desired_velocity): | |
| var steering = desired_velocity - current_velocity | |
| steering /= mass | |
| steering *= -1 | |
| return steering |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extends TileMap | |
| var tiles = {} | |
| func _ready(): | |
| update_tiles() | |
| func update_tiles(): |
OlderNewer