diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2015-12-09 08:38:23 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2015-12-09 08:38:23 +0100 |
commit | 8639cecf4cedd56452b47503be19c44b304cd02f (patch) | |
tree | e2a795da15e40c7d9d5b82e33378f8dbf0eaf67a /demos/misc/pause | |
parent | efbb834936fdc9da9789ad37c9cc61e0b90cda95 (diff) |
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.
Diffstat (limited to 'demos/misc/pause')
-rw-r--r-- | demos/misc/pause/spinpause.gd | 2 | ||||
-rw-r--r-- | demos/misc/pause/spinpause.scn | bin | 3331 -> 5399 bytes |
2 files changed, 0 insertions, 2 deletions
diff --git a/demos/misc/pause/spinpause.gd b/demos/misc/pause/spinpause.gd index 1b8f8388f0..ea5617c06f 100644 --- a/demos/misc/pause/spinpause.gd +++ b/demos/misc/pause/spinpause.gd @@ -11,5 +11,3 @@ func _on_pause_pressed(): func _on_unpause_pressed(): get_node("pause_popup").hide() get_tree().set_pause(false) - - diff --git a/demos/misc/pause/spinpause.scn b/demos/misc/pause/spinpause.scn Binary files differindex a3835c4374..2cbe85ec9a 100644 --- a/demos/misc/pause/spinpause.scn +++ b/demos/misc/pause/spinpause.scn |