Victor Levasseur
d22a183078
Optimize Hitboxes collision testing for "big" objects ( #289 )
...
* Add a new GetHitBox method to get polygons inside an hint AABB
* Add GetAABB method to RuntimeObject and use it as an hint for collision
* Use GetHitbox with hint inside SeparateFromObjects
* Remove debug outputs in TileMapObject
2016-09-05 22:53:56 +02:00
Florian Rival
117722621a
Change file organization in GDCpp to have a Runtime directory inside GDCpp
2016-02-09 19:42:52 +01:00
Victor Levasseur
12323965e0
RuntimeObjects ctor now takes their Object derivative as argument
2016-01-28 17:37:27 +01:00
Victor Levasseur
804e8c8718
Remove old CreateXXXObject(...) functions
2016-01-28 17:15:48 +01:00
Florian Rival
e444e80493
Update copyrights year
2016-01-14 19:46:56 +01:00
Florian Rival
db69c83a58
Change file organization 5 (GDCpp/Project)
2015-11-01 17:06:23 +01:00
Victor Levasseur
69c3a62389
Merge remote-tracking branch 'upstream/master' into bugfix/tilemap-optimization
2015-08-27 14:07:38 +02:00
Victor Levasseur
cc6810e3f6
Replace unsigned int with std::size_t where it's possible
2015-08-18 18:43:39 +02:00
Victor Levasseur
63d3258586
Remove TileSet::Generate(), add TileSet::StripUselessHitboxes()
...
to strip default hitboxes from the tileset data when closing the editor
Update an example to use the new TileSet serialization format
2015-08-02 17:22:44 +02:00
Victor Levasseur
3f1b677f92
Replace std::string with gd::String in TileMapObject
2015-07-11 14:49:15 +02:00
Victor Levasseur
90b4dceeee
Add "Resize tilemap" action
2015-06-08 13:53:45 +02:00
victorlevasseur
7ca447c5fd
Fix a crash when there are a lot of tiles in a tilemap object
2015-03-15 16:28:54 +01:00
Florian Rival
acbb6d4594
Refactored the condition testing if the cursor is on a sprite object so that it can be used for any object type (Not yet done for GDJS). Added PickObjectsIf and refactored TwoObjectListsTest with C++11 lambdas. Added tests for it.
2015-03-02 10:47:35 +01:00
Florian Rival
64e6860718
Version bump.
...
Updated copyrights.
2015-01-22 21:22:01 +01:00
Florian Rival
418bae8632
Removed useless Destroy* functions for objects
2015-01-08 21:58:36 +01:00
Florian Rival
40a82c61ea
Switched from LGPL and zlib/png licenses to MIT License.
2014-11-30 16:59:51 +01:00
Victor Levasseur
de1408fbb4
Changing tiles in the TileMapObject is more optimized
2014-10-16 16:08:41 +02:00
Victor Levasseur
245a6c6ef8
Fix a bug when testing collision with invalid tiles
2014-10-10 20:56:10 +02:00
Florian Rival
7d3ada265c
Replaced "Game Develop" by "GDevelop"
2014-09-24 16:25:13 +02:00
Florian Rival
bbd7cd4f0b
Renamed Polygon files to Polygon2d
2014-09-17 18:31:04 +02:00
victorlevasseur
3870313cfb
Add an action to change the tileset texture
2014-09-07 17:33:09 +02:00
victorlevasseur
efabfe6dd8
Add a basic level editor example (using TileMapObject)
...
Fix a bug with tilemap loading at runtime
2014-09-07 16:48:02 +02:00
victorlevasseur
bda12432d6
Add an action and an expression to save/load the tilemap
2014-09-07 16:13:57 +02:00
victorlevasseur
29a53bec6c
Fix a bug with regenerating the tilemap object
2014-09-06 11:58:15 +02:00
Victor Levasseur
e6ad1beb39
Add actions and expressions for tile edition
2014-09-06 11:30:05 +02:00
Victor Levasseur
581660a84b
Add expressions to get the map width and height
2014-09-05 23:16:10 +02:00
Victor Levasseur
9c4ca6a2a1
Separate declarations into different files
2014-09-05 19:09:49 +02:00