Commit Graph

6 Commits

Author SHA1 Message Date
Michele Valente 5326331666 updated viewport clearing
This change is needed in order to make use of the new introduced
set_clear_mode() function (I think the choosen enum value is ok since
its needed only once).
Updated in the following demos:
- 2D_in_3D
- 3D_in_2D
- screen_capture
2017-10-07 17:24:52 +02:00
TwistedTwigleg 053d035574 Ported viewport demos to Godot 3.0 2017-08-19 13:10:25 -04:00
Juan Linietsky 6ef185c192 begun porting demos, platformer is working (mostly) 2017-06-23 07:44:27 -03:00
Rémi Verschelde f76b29f30d Use upper-cased first letter at the start of comment sentences 2015-12-09 08:39:12 +01:00
Rémi Verschelde 708a0caf4a 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.
2015-12-09 08:38:23 +01:00
Juan Linietsky c08070af29 -Fixed screen capture for viewports, added a screen capture demo, fixes #1529 2015-04-12 18:58:05 -03:00