Commit Graph

253 Commits

Author SHA1 Message Date
Juan Linietsky
1e019fc725 back buffer copy node, to improve on texscreen()
back buffer copy node and respective demo
2015-03-12 01:05:50 -03:00
Juan Linietsky
38188c75cd simple shader effects library for 2D
ready to use in any project
2015-03-11 01:44:52 -03:00
Juan Linietsky
59d01b7c90 small optimizations to isometric light demo
should work faster, and even faster if exported.. as textures have been
optimized.
2015-03-10 21:05:49 -03:00
Juan Linietsky
9c6b489fa3 New Demo, Screen Space Shaders
-Fixes to screen space shaders.
-Fixes to isometric light demo.
2015-03-10 00:53:50 -03:00
Juan Linietsky
6745cb4078 lot of work on 2D lighting and isometric maps
added a new demo, isometric_light that does full isometric sorting,
lights, shadows, etc.
2015-03-09 02:34:56 -03:00
hurikhan
8dd66bec47 removed up, down, left, right keys from the demo.
were used before for fast multiscreen setup testing.
2015-03-08 09:26:58 -05:00
hurikhan
f3c7c4949c fixing a typo in the demo 2015-03-08 03:32:13 -05:00
hurikhan
f3cdb0fe70 added Label_MouseGrab_KeyInfo 2015-03-08 01:27:36 -06:00
hurikhan
5ca3f19831 Merge remote-tracking branch 'upstream/master' into x11-window-management 2015-03-08 15:10:48 +08:00
Juan Linietsky
04f291feb5 support for 2D shadow casters
Added support for 2D shadow casters.

*DANGER* Shaders in CanvasItem CHANGED, if you are using shader in a
CanvasItem and pull this, you will lose them. Shaders now work through a
2D material system similar to 3D. If you don't want to lose the 2D
shader code, save the shader as a .shd, then create a material in
CanvasItem and re-assign the shader.
2015-03-02 00:54:43 -03:00
Bil Bas (Spooner)
13e14ce3e5 Fixed columns to have integer positions, so that they don't "jiggle" when moving the camera. 2015-02-25 17:24:32 +00:00
Juan Linietsky
cb6f7b9edc Merge pull request #1369 from not-surt/tile_rotation
Tile Rotation
2015-02-21 15:37:02 -03:00
Juan Linietsky
f8c813e587 support for light and normal mapping in 2D 2015-02-18 19:40:02 -03:00
hurikhan
09a67c2143 Merge remote-tracking branch 'upstream/master' into x11-window-management 2015-02-15 17:49:34 +08:00
Carl Olsson
f1c9078eb3 Merge branch 'master' of https://github.com/okamstudio/godot
Conflicts:
	scene/2d/tile_map.cpp
2015-02-15 18:21:35 +10:00
Juan Linietsky
42daa13bd5 begin new serialization framework
also got rid of STL dependency on triangulator
2015-02-15 01:21:26 -03:00
Juan Linietsky
7b9e5d4070 Merge pull request #1362 from not-surt/tile_map_body_mode
Added body mode property for TileMap as kinematic body
2015-02-14 19:25:35 -03:00
Juan Linietsky
732c7221bc New Navigation & Pathfinding support for 2D
-Added Navigation & NavigationPolygon nodes
-Added corresponding visual editor
-New pathfinding algorithm is modern and fast!
-Similar API to 3D Pathfinding (more coherent)
2015-02-14 12:10:15 -03:00
Carl Olsson
9a9c636a11 Replace body_mode property with use_kinematic flag.
Revert 2D Platformer demo's moving platforms to sprite plus body.
2015-02-14 06:43:50 +10:00
Carl Olsson
8c49277071 Added body mode property to TileMap to select between static and kinematic physics bodies. Kinematic allow use of TileMaps for moving platforms for example.
Updated 2D Platformer demo to use kinematic TileMaps for moving platforms, in doing so discovered that the tileset was messed up and not converting properly, so fixed that too.
And in order to fix the tileset I need to activate snapping for collision polygon vertices.
2015-02-13 20:49:21 +10:00
hurikhan
6c4d6b468d Merge remote-tracking branch 'upstream/master' into x11-window-management 2015-02-12 15:58:29 +01:00
hurikhan
9a60048871 cleanup + MouseGrab 2015-02-12 15:58:00 +01:00
Carl Olsson
207d95ddc7 Merge branch 'master' of https://github.com/okamstudio/godot
Conflicts:
	demos/2d/polygon_path_finder_demo/.fscache
2015-02-11 21:15:49 +10:00
Bil Bas (Spooner)
c14230d986 Merge branch 'master' of https://github.com/okamstudio/godot into add_sprintf
Conflicts:
	.gitignore
2015-02-10 00:42:28 +00:00
fry-
232539a200 added preview picture 2015-02-02 23:29:19 +01:00
fry-
ad2905b96e added a demo for 2D fog of war 2015-02-02 23:08:57 +01:00
hurikhan
8321e833a3 * Cleanup for PR
* Demo shows a Dialog with not implemented methods at startup
2015-01-22 05:35:39 +09:00
hurikhan
916e0ff6ea * observer scene for the demo 2015-01-22 01:54:17 +09:00
hurikhan
3adbbb03f7 * fix compilation without scons experimental_wm_api=yes
* Extended the demo with an addional MouseGrab Test
2015-01-22 01:14:50 +09:00
Carl Olsson
0aefd08a48 Prep for tile transpose transform. 2015-01-19 23:07:25 +10:00
Dana Olson
868b14c598 ignore and remove .fscache files. closes #1249 2015-01-17 14:19:57 -05:00
hurikhan
3f2a850267 * multi_screen testing + bugfixes
* ALT-TAB is working
* tested on Ubuntu 14.10 Unity + LXDE
* minor cleanup
2015-01-18 00:28:04 +09:00
hurikhan
9c617df710 Merge remote-tracking branch 'upstream/master' into x11-window-management 2015-01-17 22:19:57 +09:00
Juan Linietsky
3af1f5cdd8 Merge pull request #1206 from ScyDev/feature/polygonpathfinder_demo
- how to use PolygonPathFinder from GD Script
2015-01-17 09:44:49 -03:00
hurikhan
5a9976155d * cleanup window state handling
* first attemps in handling ALT+TABa (WIP)
2015-01-17 19:43:12 +09:00
hurikhan
7e8e37e049 added the following methods:
* set_minimized(bool)
 * bool is_minimized()
 * set_maximized(bool)
 * bool is_maximized()
2015-01-17 00:18:45 +09:00
hurikhan
08b10b0d48 rearrange the demo 2015-01-16 13:49:46 +09:00
hurikhan
5dcfab8954 WIP -- set_resizable() + is_resizable added 2015-01-15 22:50:23 +09:00
hurikhan
aa4433dc93 demo window set to resizeable (need a bugfix her) 2015-01-14 15:44:47 +08:00
hurikhan
7b273c0d29 Merge remote-tracking branch 'upstream/master' into x11-window-management
Conflicts:
	platform/x11/detect.py
2015-01-14 13:31:16 +08:00
hurikhan
eae4281236 don't start demo in fullscreen mode 2015-01-14 13:27:03 +08:00
hurikhan
067dbfa56f get_screen() + set_screen() added 2015-01-14 12:02:59 +08:00
Juan Linietsky
7fdb9eebeb -Add support for one-way collision in 2D (only works for kinematic body so far)
-Solve drawing order bug introduced in previous commit: solves #1214
2015-01-13 21:19:11 -03:00
Lukas Sägesser
0a69f60e2e - how to use PolygonPathFinder from GD Script 2015-01-13 14:17:51 +01:00
hurikhan
6a2359f901 Using Xinerama extension for getting screen info 2015-01-13 21:01:24 +08:00
hurikhan
1fb9fea4c8 get_screen_position() added 2015-01-13 17:25:50 +08:00
hurikhan
22a9165d4c Demo misc/window_management added 2015-01-11 20:30:57 +08:00
Juan Linietsky
7a4bb0b4d2 -Work in progress visual shader editor *DOES NOT WORK YET* 2015-01-03 16:52:37 -03:00
sanikoyes
865318334c 1.Change interpolate_callback:p_times_in_sec argument before p_callback argument(more readable)
2.NodePath replace to instance_ID(can control object doe's not in scene tree)
3.Change interpolate types from Node to Object, can control more types(etc script class object)
4.Add pending_update counter, avoid insert/remove interpolates-list while traversal it
2014-12-19 17:13:20 +08:00
yg2f
4521b6b879 fix demo 3d mousepick test
add the missing camera parameter to the _input_event()
2014-12-16 15:17:29 +01:00