Commit Graph

70 Commits

Author SHA1 Message Date
Juan Linietsky
0370a976f1 small fixes 2015-06-01 23:35:23 -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
Juan Linietsky
110a3b1ed1 Merge branch 'master' of https://github.com/okamstudio/godot 2015-05-04 00:53:52 -03:00
Juan Linietsky
26301bcda1 Merge pull request #1738 from jackmakesthings/master
Updating demo engine.cfgs where name is missing
2015-05-03 23:00:26 -03:00
Juan Linietsky
802c0a5cd9 improved kinematic motion, improved demos for kinematic motion 2015-05-03 22:37:10 -03:00
Juan Linietsky
9d6a523bcb -Made one way collision work with 2D physics (rigidbody) 2015-05-03 18:18:21 -03:00
Juan Linietsky
e5a678a3b7 -fixed broken lighting in release version of godot for isometric light demo, fixes #1697 2015-04-30 11:34:24 -03:00
jack
9e8e73d76e Set name on isometric-light demo's engine.cfg 2015-04-25 22:18:57 -04:00
Juan Linietsky
1c16c989be -Objects with BlendMode!=MIX do not get affected by CanvasModulate, fixes #1724 2015-04-24 23:46:42 -03:00
Juan Linietsky
0209464d65 -Rewritten KinematicBody2D::move to MUCH more efficient code.
-KinematicBody2D::move now properly recognizes collision exceptions and masks, fixes #1649
-Removed object type masking for KinematicBody2D
-Added a test_motion() function to RigidBody2D, allowing simlar behavior to KinematicBody2D::move there.
2015-04-19 20:50:55 -03:00
Juan Linietsky
4682d6f020 -Added android immersive mode, fixes #303 2015-04-17 16:18:46 -03:00
Juan Linietsky
3ddd068df6 renamed scrts to scripts, fixes #1525 2015-04-12 15:40:08 -03:00
Juan Linietsky
799c7fd67c fix shadow issue with lights in mix mode, i think fixes #1611 2015-04-03 14:36:10 -03:00
Juan Linietsky
590f001b02 Changes to Light
-=-=-=-=-=-=-=-=

-Changed material unshaded property for an enum, which supports light-only shading
-Added a "Mix" shading mode, useful for using lights as masks
-Added energy parameter to Light2D
2015-04-03 01:43:37 -03:00
Juan Linietsky
9264a4ab12 Option in Android export to use 32 bits buffer. 2015-03-31 19:02:40 -03:00
Juan Linietsky
64017f3201 fixes for light2d in androids that do not support
read depth
2015-03-31 14:59:28 -03:00
Juan Linietsky
6c343df161 2D normal mapping and lighting simple demos 2015-03-24 16:17:49 -03:00
Juan Linietsky
ae3679b988 Merge pull request #1331 from fry-/master
Add 2D fog of war demo
2015-03-22 15:08:21 -03:00
Juan Linietsky
d34d2a2e39 Merge pull request #1438 from Spooner/fix_isometric_demo
Fix isometric demo
2015-03-22 14:59:58 -03:00
Juan Linietsky
e4f0291904 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
43c9f4921f input events on Area2D is now supported
also added a demo showing how this works
2015-03-22 01:46:18 -03:00
Juan Linietsky
185b644563 signed distance field fonts demo 2015-03-21 10:15:30 -03:00
Juan Linietsky
b9e98ab427 New option to send canvas to render buffer
allows to use 3D environment effects for post processing such as Glow,
Bloom, HDR, etc. in 2D.
2015-03-16 01:14:59 -03:00
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
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
f8c813e587 support for light and normal mapping in 2D 2015-02-18 19:40:02 -03: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
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
Dana Olson
868b14c598 ignore and remove .fscache files. closes #1249 2015-01-17 14:19:57 -05: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
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