summaryrefslogtreecommitdiff
path: root/scene/2d/tile_map.cpp
AgeCommit message (Collapse)Author
2015-10-24Fix for negative coords. Regarding issue #2665Brickcaster
int() of negative numbers rounds up. Needed to add a condition to account for negative values. Thanks to Romulox_x for providing this solution.
2015-09-20Ability to visually debug geometry visually:Juan Linietsky
-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-08-02Live edit WORK IN PROGRESSJuan Linietsky
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-05-03-new collision layer & mask system for 2D, for more flexible collision maskingJuan Linietsky
2015-04-18-try to avoid errors when path using ".." is present in script include, ↵Juan Linietsky
fixes #1703
2015-04-18-renamed function to get object from instance idJuan Linietsky
-added function to get list of tiles used
2015-04-09fixed navigation tile issue, fixes #1581Juan Linietsky
2015-03-09Fix compie error in TileMap::_fix_cell_transform(...)marynate
2015-03-09lot of work on 2D lighting and isometric mapsJuan Linietsky
added a new demo, isometric_light that does full isometric sorting, lights, shadows, etc.
2015-02-15Merge branch 'master' of https://github.com/okamstudio/godotCarl Olsson
Conflicts: scene/2d/tile_map.cpp
2015-02-14Replace body_mode property with use_kinematic flag.Carl Olsson
Revert 2D Platformer demo's moving platforms to sprite plus body.
2015-02-13Added body mode property to TileMap to select between static and kinematic ↵Carl Olsson
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-13Reorder tile transforms so transpose occurs before flips. Much more ↵Carl Olsson
intuitive for flipping transposed tiles.
2015-02-11Moved wrapper function to TileMapEditor.Carl Olsson
2015-02-11Revert variant arg length to 5 and add 5 arg wrapper function for TileMap ↵Carl Olsson
set_cell.
2015-02-02Working TileMap tile transpose transform.Carl Olsson
2015-01-19Prep for tile transpose transform.Carl Olsson
2014-11-05SceneMainLoop -> SceneTreeJuan Linietsky
-=-=-=-=-=-=-=-=-=-=-=-=-=- *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
2014-10-16-added custom metadata to physics shapes (2D only for now)Juan Linietsky
-gizmos are not displayed in camera preview
2014-10-03missing fils from yesterday comit.Juan Linietsky
must have made some mistake with git, not sure why they were not sent..
2014-10-03Huge Amount of BugFixJuan Linietsky
-=-=-=-=-=-=-=-=-=-=- -Fixes to Collada Exporter (avoid crash situtions) -Fixed to Collada Importer (Fixed Animation Optimizer Bugs) -Fixes to RigidBody/RigidBody2D body_enter/body_exit, was buggy -Fixed ability for RigidBody/RigidBody2D to get contacts reported and bodyin/out in Kinematic mode. -Added proper trigger support for 3D Physics shapes -Changed proper value for Z-Offset in OmniLight -Fixed spot attenuation bug in SpotLight -Fixed some 3D and 2D spatial soudn bugs related to distance attenuation. -Fixed bugs in EventPlayer (channels were muted by default) -Fix in ButtonGroup (get nodes in group are now returned in order) -Fixed Linear->SRGB Conversion, previous algo sucked, new algo works OK -Changed SRGB->Linear conversion to use hardware if supported, improves texture quality a lot -Fixed options for Y-Fov and X-Fov in camera, should be more intuitive. -Fixed bugs related to viewports and transparency Huge Amount of New Stuff: -=-=-=-=-=-=-=-==-=-=-=- -Ability to manually advance an AnimationPlayer that is inactive (with advance() function) -More work in WinRT platform -Added XY normalmap support, imports on this format by default. Reduces normlmap size and enables much nice compression using LATC -Added Anisotropic filter support to textures, can be specified on import -Added support for Non-Square, Isometric and Hexagonal tilemaps in TileMap. -Added Isometric Dungeon demo. -Added simple hexagonal map demo. -Added Truck-Town demo. Shows how most types of joints and vehicles are used. Please somebody make a nicer town, this one is too hardcore. -Added an Object-Picking API to both RigidBody and Area! (and relevant demo)
2014-09-21Fixed too many little issues, check the issues closed today.Juan Linietsky
2014-09-19Fixing Issues...Juan Linietsky
- #672 (default user:// in $HOME/.godot/app_userdata (linux/osx) and $APPDATA/Godot/app_userdata (Windows) - #676 (draw both tiles and octants in order from top to bottom, left to right ) - #686 (unicode escape sequences work now) - #702 (was not a bug, but a test was added to see if bodies went too far away)
2014-06-29Bug FixesJuan Linietsky
-=-=-=-=- -Documentation now shows overridable theme values (though this needs to be documented). -Detect when object transform is flipped and flip normals too. -TileMap can specify bounce and friction for collision. -Removed limit of 4 lights per object -Added is_hovered() to buttons.
2014-05-14A bit of everything:Juan Linietsky
-IMA-ADPCM support for samples, this means that sound effects can be compressed and use 4 timess less RAM. -New 3D import workflow based on Wavefront OBJ. Import single objects as mesh resources instead of full scenes. Many people prefers to work this way. Just like the rest of the imported resources, these are updated in realtime if modified externally. -Mesh resources now support naming surfaces. This helps reimporting to identify which user-created materials must be kept. -Several fixes and improvements to SurfaceTool. -Anti Aliasing added to WorldEnvironment effects (using FXAA) -2D Physics bodies (RigidBody, KinematicBody, etc), Raycasts, Tilemap, etc support collision layers. This makes easy to group which objects collide against which. -2D Trigger shapes can now also trigger collision reporting in other 2D bodies (it used to be in Area2D before) -Viewport render target textures can now be filtered. -Few fixes in GDscript make it easier to work with static functions and class members. -Several and many bugfixes.
2014-04-19heckJuan Linietsky
2014-04-18-Fixed viewport stretch bugsJuan Linietsky
-Fixed input in viewport stretch bugs -Fixed tilemap pixel overlap (really?)
2014-02-25-scripts are converted to bytecode on exportJuan Linietsky
-fix bug in doc where touchscreen events were not documented
2014-02-23hoJuan Linietsky
2014-02-19-improved physics ccdJuan Linietsky
-html5 exporter works again -disable repeat on image loader by default -can change shape offset en tileset, texture offset was broken
2014-02-09GODOT IS OPEN SOURCEJuan Linietsky