Improve code formatting and update to 2.0
The scripts were streamlined using more or less the following conventions: - space after a comma in lists of arguments - space around weak operators (+, -), no space around strong operators (*, /) - space after a comment start (#) - removed trailing spaces or tabs, apart from those that delimit the function indentation level (those could be removed too but since they are added automatically by the editor when typing code, keeping them for now) - function blocks separate by two newlines The scene files were resaved with the (current) 2.0 format, and some scenes that were in XML format were converted to SCN, to be consistent across all demos.
This commit is contained in:
parent
efbb834936
commit
8639cecf4c
95 changed files with 505 additions and 5637 deletions
|
|
@ -1,17 +1,6 @@
|
|||
|
||||
extends Panel
|
||||
|
||||
# member variables here, example:
|
||||
# var a=2
|
||||
# var b="textvar"
|
||||
|
||||
func _ready():
|
||||
# Initialization here
|
||||
pass
|
||||
|
||||
|
||||
|
||||
|
||||
func _on_RichTextLabel_meta_clicked( meta ):
|
||||
func _on_RichTextLabel_meta_clicked(meta):
|
||||
OS.shell_open(meta)
|
||||
pass # replace with function body
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue