summaryrefslogtreecommitdiffstats
path: root/scene/2d/parallax_background.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Overhauled the ParallaxBackground system so that it works properly ↵Sofox2017-10-261-4/+6
| | | | regardless of the zoom of the camera.
* Tweaks ParallaxBackground to work better with zoom. Ensures a Parallax Layer ↵Sofox2017-10-181-1/+1
| | | | with a (1,1) motion scale synchs perfectly with a regular stationary sprite that is outside the ParallaxBackground, regardless of the zoom level and movement of the camera.
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Convert Object::cast_to() to the static versionHein-Pieter van Braam2017-08-241-1/+1
| | | | | | | | | | | | Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-73/+55
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-13/+13
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Remove use of _SCS from ADD_METHODHein-Pieter van Braam2017-02-131-6/+6
| | | | This saves typing and is a step towards fixing #56
* Type renames:Juan Linietsky2017-01-111-1/+1
| | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* -Conversion of most properties to a simpler syntax, easier to use by scriptJuan Linietsky2017-01-041-6/+7
| | | | | | -Modified help to display properties GDScript can still not make use of them, though.
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-13/+13
| | | | | | | | Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
| | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* Added an option to ParallaxLayer to add an extra scroll offset, helps if you ↵Juan Linietsky2016-06-261-4/+11
| | | | want to make clouds to move by themselves and animate that, for example.
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* Add missing argument names in GDScript bindingsRémi Verschelde2015-12-281-1/+1
| | | | | All classes were reviewed apart from VisualServer for which no argument name is documented at all. While doing this review, I found quite a few bugs that were fixed either in earlier commits or this one (mostly documentation bugs though, i.e. some arguments were listed at the wrong place).
* ParallaxBackground: added option to ignore camera zoomFederico Pacheco2015-08-041-1/+19
|
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* SceneMainLoop -> SceneTreeJuan Linietsky2014-11-051-3/+3
| | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-=- *YOUR SOURCE MIGHT NOT WORK* For mor information on fix: https://github.com/okamstudio/godot/wiki/devel_scene_tree Other stuff: -Shower of bullets demo -Fixes all around
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+200