Commit Graph

26 Commits

Author SHA1 Message Date
TwistedTwigleg 092cf6fc03 Rewrote most of the code in the gui_in_3d demo. Now the demo supports viewports of different sizes, different sized quads, and has comments explaining what the code is doing 2019-06-15 11:38:09 -04:00
Hugo Locurcio 184b0fe5f8
Optimize all images using `oxipng -o6 --strip all --zopfli` 2019-06-11 16:40:50 +02:00
William Scalf cc0b002e6e Updated rotation of Quad to be right side up 2019-03-23 18:06:43 -04:00
Rémi Verschelde a38b315064 Port audio, gui, mono, networking and viewport demos to Godot 3.1 2019-02-26 14:50:18 +01:00
Hugo Locurcio 86bf5060b3
Use an higher FOV value in demos
A vertical FOV of 74 degrees is roughly equivalent to a 90 degree
horizontal FOV on a 4:3 display (~106.26 degrees on 16:9), which
is the typical default FOV used in PC games.
2018-05-18 23:16:27 +02:00
Chris Bradfield 9d66e8f2ef Code cleanup 2018-03-13 22:35:55 -07:00
Bojidar Marinov 03ba4fc1df
Make some demos work again, reimport 2018-01-16 17:46:10 +02:00
Hugo Locurcio 20d2a5861a
Fix project names to use consistent casing
This also makes the name of the 2D platformer demo more descriptive.
2018-01-07 14:59:09 +01:00
sambler abb08c9d1a Automatic .import updates made by opening projects in the godot editor
These import changes allow the projects to be opened with the runtime.
2018-01-06 22:16:13 +01:00
Juan Linietsky d1dd62140a Clean up demo and fix it, closes #84 2017-12-04 17:35:46 -03:00
x1212 f4bbbe37d9 Update 3d in 2d demo for Godot 3.0 2017-11-19 14:41:50 +01:00
Rémi Verschelde f8ca6d0a4d Sync all demos with current master format 2017-10-30 12:38:39 +01:00
Michele Valente bba9227d33 Updated indentations and whitespace usage as well as .import & .tscn files
the changes are made according to the official GDScript style guide
(http://docs.godotengine.org/en/latest/learning/scripting/gdscript/gdscript_styleguide.html).
The changes in the .tscn and .import files were done automatically by
Godot after opening the project with the latest master version.
2017-10-07 17:24:52 +02:00
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 eb167ebcaa Remove systematic "Init(i)alization here" from _ready() 2015-12-09 08:39:12 +01: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 94521880de Merge pull request #2719 from SaracenOne/clipping_fix
Canvas Clipping fix
2015-12-08 17:18:19 -03:00
Saracen 53f96916b7 Modification to GUI in 3D demo to show resolved viewport clipping bug and small fix to bug causing viewport clipping to be inverted. 2015-11-19 23:47:25 +00:00
Rémi Verschelde 71341fc1c1 Add icons to all demos that can have a meaningful one 2015-11-19 23:45:37 +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
Juan Linietsky 2179681806 gui in 3D demo now uses area for input 2015-03-22 11:52:07 -03:00
Juan Linietsky 436b8e38b7 -Added google play services (needed for some stuff)
-Added new screen resizing options, stretch_2d is removed, new much more flexible ones.
-Fixed bug in viewport (can create more instances in 3d-in-2d demo now)
-Can set android permissions and screen sizes manually in the export settings
-Changed export templates extension to .tpz (too many people unzipped the manually..)
-File dialog now ensures that the proper extension is used (will not allow to save without it)
-Fixed bug that made collision exceptions not work in 2D
2014-04-14 22:16:13 -03:00
Juan Linietsky aa72126b6c -Fixed a few bugs in Viewport
-Made a few demos using Viewport to show it's true power!
-Fixed some start-up error messages.
2014-04-10 00:18:27 -03:00