Commit graph

7 commits

Author SHA1 Message Date
Rémi Verschelde
23cf6a85bd Port 2D demos to TSCN/TRES formats
Part of #4196.
2016-04-02 14:39:08 +02:00
Rémi Verschelde
7589b2bf60 Improve code formatting
The scripts were streamlined using more or less the following conventions:
 - space after a comma in lists of arguments
 - spaces around weak operators (+, -), no spaces around strong operators (*, /)
 - spaces around comparison operators and compound assignment 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
 - comment sentences start with an upper-case letter
2015-12-09 08:39:12 +01:00
Rémi Verschelde
323dde7f31 Update 2D demos scenes for 2.0 format 2015-12-09 08:39:12 +01:00
Rémi Verschelde
b6c6e2f5e5 Make all demo icons 8-bit/color RGB(A)
Godot does not seem to like 8-bit colormaps.
Fixes #2874.
2015-11-23 00:19:00 +01:00
neikeq
b0b0f35e2c Added some demo icons 2015-10-29 20:37:09 +01:00
Juan Linietsky
dac2017dee fixes/cleans up
-input now correctly works when using viewport scaling
-added function to get areas/bodies in given point
-added function to get space state directly from world
2015-03-22 09:40:26 -03:00
Juan Linietsky
c6c72a3c37 input events on Area2D is now supported
also added a demo showing how this works
2015-03-22 01:46:18 -03:00