Commit Graph

109 Commits

Author SHA1 Message Date
Ignacio Etcheverry
6e7b633a41 Fix tiles in hexamap demo 2016-07-18 21:35:52 +02:00
jmintb
25afca1a32 Switched the space shooter demo from none fixed process to fixed process 2016-05-31 07:33:25 +02:00
Rémi Verschelde
097eedbc73 Port 2D demos to TSCN/TRES formats
Part of #4196.
2016-04-02 14:39:08 +02:00
Rémi Verschelde
9fc6eaa11f screen_shaders: convert demo images to JPG 2016-02-27 20:54:21 +01:00
Rémi Verschelde
a3980fb5f8 normalmap demo: convert images to JPG
To make the demos lighter
2016-02-27 20:54:21 +01:00
George Marques
4402277f83 Fix wall_deco tile position in Platformer demo
Correct the offset introduced by the fix #3204
[ci skip]
2016-01-30 13:02:31 -02:00
Juan Linietsky
b6b1d0181f restored this config 2016-01-04 00:02:30 -03:00
Juan Linietsky
d99377883f -Fix crash at exit due to unnecesary check in command queue, fixes #2034
-Fix memory corruption due to using wrong singleton in multithreaded physics, fixes #2760
2016-01-04 00:00:33 -03:00
Rémi Verschelde
abf6d2f1e6 Move polygon_path_finder demo to demos/3d since it uses 3D nodes
Also took the opportunity to "touch" each demo's engine.cfg in reverse alphabetical order to get the listed in natural order in the project manager.
2015-12-09 08:39:12 +01:00
Rémi Verschelde
eb167ebcaa Remove systematic "Init(i)alization here" from _ready() 2015-12-09 08:39:12 +01:00
Rémi Verschelde
d6642f26ca 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
9305b1a0ee Update 2D demos scenes for 2.0 format 2015-12-09 08:39:12 +01:00
Rémi Verschelde
1e0f35315b 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
Rémi Verschelde
71341fc1c1 Add icons to all demos that can have a meaningful one 2015-11-19 23:45:37 +01:00
Rémi Verschelde
fb06e585ff Rename polygon_path_finder demo and add icon 2015-11-19 23:45:37 +01:00
Juan Linietsky
7f9fb163c9 Merge pull request #2700 from neikeq/demo_icons
Added project icon to some demos
2015-11-18 19:20:21 -03:00
neikeq
2fd6e70d50 Added some demo icons 2015-10-29 20:37:09 +01:00
firefly2442
b117d9f68f fix icon locations in demo projects 2015-10-21 14:29:52 -05:00
Juan Linietsky
0cb2c99169 Merge pull request #2522 from ricpelo/master
Disable filters for tilemap in 2D Platformer demo
2015-10-17 10:06:27 -03:00
reduz
b0cb985f8f Large improvements on scene packing and management
-Ability to edit and keep changes of instanced scenes and sub-scenes
-Ability to inherit from other scenes
2015-10-10 09:09:09 -03:00
Ricardo Pérez
af13d3370e Disable filters for tilemap in 2D Platformer demo
Fixes #2452
2015-09-24 12:03:06 +02:00
Juan Linietsky
db7b6b9186 Ability to visually debug geometry visually:
-Visible 2D and 3D Shapes, Polygons, Tile collisions, etc.
-Visible Navmesh and Navpoly
-Visible collision contacts for 2D and 3D as a red point
-Customizable colors in project settings
2015-09-20 13:03:46 -03:00
reduz
d2977d2b37 Ability to keep collisionshapes and collisionpolygons when running the game.
Works for 2D and 3D
These are still just helpers in case you want to animate them or access them
directly.
Modifying the real shapes is still done via CollisionObject and CollisionObject2D APIs
But an API was added so you can query which shapes from CollisionObject correspond to which CollisionShape.

Have Fun!
2015-09-15 22:07:03 -03:00
Juan Linietsky
5a19b52261 HTML5 exporter Improvements
-Better template handling
-Voice support
-Stream support
2015-09-10 00:10:54 -03:00
Juan Linietsky
e275e4b9b9 merged some stuff for okam 2015-09-03 23:24:55 -03:00
Juan Linietsky
7c5a517fcf Live edit WORK IN PROGRESS
1) press the heart while the game is running
2) select a scene to live edit from the opened scenes
3) edit/add/remove nodes or resources, change their properties, etc.
4) watch changes reflected in running game, in all places this scene is
edited
5) It's not perfect obviously, but the aim of it is to try to reflect
your changes as best as possible in the running game.
2015-08-02 12:30:01 -03:00
Juan Linietsky
b0d285a546 more code completion improvements
-calltip dissapears with more types of keypresses or when pressing ')'
-properly looks into autoloaded scripts or nodes with another script for
script functions/variables/etc.
2015-06-27 15:52:39 -03:00
Juan Linietsky
10751deaee added ability to define signals in script
closes #2175
2015-06-24 13:29:45 -03:00
Juan Linietsky
3e9d64f00a Merge pull request #2080 from bojidar-bg/patch-1
Fix to #2079
2015-06-22 23:56:38 -03:00
Juan Linietsky
52d121d0f8 Multiple scene editing *POTENTIALLY UNSTABLE*
-ability to edit multiple scenes at the same time
-resource internal IDs are now persistent, this makes multiple scene
editing possible but maaaaay result in file corruption bugs (tested and
could not find anything but possibility exists because core code
changed, report immediately if you find this).
-properly save settings, layout, etc when edited
-script editing is independent from scene editing now
-show a yellow box when a script belongs to the scene
2015-06-22 00:04:15 -03:00
Bojidar Marinov
2508fb483d Delete .fscache from fog_of_war demo, closes #2079. 2015-06-13 14:47:22 +03:00
Bojidar Marinov
b8b3b0ff57 Resolved a merge conflict. 2015-06-13 14:43:12 +03:00
Juan Linietsky
75bda82220 added icon 2015-06-11 10:03:33 -03:00
Juan Linietsky
d1b7186ee1 new space shooter demo
ortho camera sort fix, closes #2063
2015-06-11 10:00:48 -03:00
Juan Linietsky
70b89fb092 Merge branch 'master' of https://github.com/okamstudio/godot
Conflicts:
	demos/2d/motion/engine.cfg
2015-06-06 11:09:00 -03:00
Juan Linietsky
0370a976f1 small fixes 2015-06-01 23:35:23 -03:00
Juan Linietsky
e2c589765e -fix bug in animation editor
-fix crash bug in physics motion, closes #1993
2015-05-27 17:30:50 -03:00
Juan Linietsky
a4e0c19b8d oops, previous commit was not working
it is working now
2015-05-26 01:30:36 -03:00
Juan Linietsky
b116c864e0 ability to run 2D physics in a thread
also, 2D physics is now thread safe too.
see physics_2d/thread_model
2015-05-26 01:06:05 -03:00
Juan Linietsky
54fee08ee5 more fixes
-only refuse to load an older file if version major is different, fixes
#1944
-fix drive letter default value, fixes #1939
2015-05-19 21:36:35 -03:00
Juan Linietsky
a74cf7cd22 -small motion demo, to better troubleshoot 2015-05-16 17:05:56 -03:00
Juan Linietsky
568f9773ed -Added lookat/get_angle_to functions in 2D, and a demo, closes #1843
-Added get_viewport().get_mouse_pos() to replace Input.get_mouse_pos(), closes #1838
2015-05-12 08:17:09 -03:00
Juan Linietsky
62ebce3d73 -Updated isometric 2d demo to work using the new isometric support, fixes #1849 2015-05-11 00:40:23 -03:00
Juan Linietsky
9e2119b0b1 -fixed some glitches in isometric light demo, closes #1858 2015-05-10 18:14:38 -03:00
Juan Linietsky
0d487bfeb0 Merge pull request #1875 from Zamaroht/patch-1
Delete unused variable
2015-05-10 11:33:16 -03:00
Nicolas Laurito
862b9a50f7 Remove focus from restart button, fixes #1850
Fixes a problem where the restart button would keep focus after being pressed, making the tetris' pieces impossible to rotate without activating the button again.
2015-05-10 00:46:16 -03:00
Nicolas Laurito
599f1516e9 Deleted unused variable
Deleted the var GRAVITY because it is unused. The gravity is used at line 237, but it's gotten from the Physics2DDirectBodyState parameter.
2015-05-09 19:09:30 -03:00
Nicolas Laurito
2ea6821406 Delete line without functionality 2015-05-06 23:53:20 -03:00
Juan Linietsky
bdde676a39 -More strict argument type-checking, will make many bugs visible, fixes #1809
-added NOTIFICATION_INSTANCED
2015-05-04 18:30:57 -03:00
Juan Linietsky
81089df6d2 -vec3 uniforms should now work, fixes #1773 2015-05-04 10:17:24 -03:00