Florian Rival
cf2100a626
Refactor time management into gdjs.TimeManager for HTML5 game engine
2015-10-11 20:39:10 +02:00
Florian Rival
2c435388a7
Avoid creating temporaries when dealing with objects list maps in HTML5 games
2015-10-09 22:14:24 +02:00
Florian Rival
f6a55188c6
Remove incorrect optimisation in hitboxes collision test
2015-09-13 21:58:50 +02:00
Florian Rival
876a7fecb5
Fix gdjs.Runtimeobject.hide method
2015-09-11 16:30:12 +02:00
Florian Rival
3ac292ec18
Factor common methods to gdjs.RuntimeObject.
...
Thanks to exposePIXIDisplayObject, objects can expose the PIXI.DisplayObject that they are using
and let RuntimeObject handles common operations (layer change, z order change, deletion, visibility).
2015-09-10 22:37:32 +02:00
Florian Rival
4b3b5a9bbe
Fix 'an behavior' and wording
2015-08-18 18:36:52 +02:00
Florian Rival
428e72914d
[WIP] Rename Automatism to Behavior
2015-08-17 23:52:59 +02:00
Florian Rival
ef2eea8b1c
Added Pick Nearest Object condition for HTML5 games + tests for it.
2015-04-23 20:31:45 +12:00
Florian Rival
3121e632ec
Fixed MacOS bundle and updated docs
2015-04-03 00:07:29 +13:00
Florian Rival
ddb1f1dbda
Support for (multi)touch in gdjs.RuntimeObject.cursorOnObject
2015-03-11 16:23:46 +13:00
Florian Rival
cb84a16584
Added cursorOnObject condition support for HTML5 games. Added gdjs.evtTools.object.PickObjectsIf and tests for it.
2015-03-03 08:19:08 +01:00
Florian Rival
64e6860718
Version bump.
...
Updated copyrights.
2015-01-22 21:22:01 +01:00
Florian Rival
67db5bf5ac
Fixed hitboxes of PanelSprite/TiledSprite/Text objects not properly updated in HTML5 games
2015-01-20 23:10:09 +01:00
Florian Rival
f5bc1ed5b7
Ensure that platformer object are able to jump after being stuck into an obstacle
2015-01-20 22:14:50 +01:00
Florian Rival
6eea30d35a
Ported PrimitiveDrawing for HTML5 games
2015-01-18 18:01:11 +01:00
Florian Rival
40a82c61ea
Switched from LGPL and zlib/png licenses to MIT License.
2014-11-30 16:59:51 +01:00
Florian Rival
8fed8e0ef9
Added a basic module to make analytics on how the software is used.
2014-11-26 15:56:05 +01:00
Florian Rival
7d3ada265c
Replaced "Game Develop" by "GDevelop"
2014-09-24 16:25:13 +02:00
Florian Rival
5220563b68
Added .eslintrc and minor lint fixes
2014-09-16 17:05:23 +02:00
Florian Rival
7eb4c26c53
Updated Windows scripts integrated to the build process.
...
Fix forces in GDJS.
2014-08-14 21:45:55 +02:00
victorlevasseur
62c14d2ba9
Fix error in runtimeobject.js.
2014-08-08 16:59:37 +02:00
victorlevasseur
6f5fc77570
Fix some syntax errors.
2014-08-08 10:52:46 +02:00
victorlevasseur
ef9f2e7a52
Added force clearing in GDJS.
...
(replace temporary or permanent forces)
2014-08-08 10:48:36 +02:00
Florian Rival
e8cd1b16b7
Added GDJS and Extensions to this repository.
2014-06-30 21:39:29 +02:00
Florian Rival
475c9da06c
Cleaned thing and added not versioned files.
2014-03-31 21:55:51 +02:00
Florian
a2bc0b3306
Updated documentation.
...
git-svn-id: svn://localhost@1099 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-07-01 20:18:44 +00:00
Florian
6e8b74bdff
Added loading of DestroyOutsideAutomatism from GD C++ Platform.
...
Added getAutomatism to runtimeObject and prevented bug when deleting an object in an automatism method.
git-svn-id: svn://localhost@1085 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-28 16:29:29 +00:00
Florian
96fee5c339
Variable are now a bit more strongly typed.
...
git-svn-id: svn://localhost@1081 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-28 10:15:15 +00:00
Florian
eef83a694e
Fixed For each.
...
Fixed setAngleOrDirection in spriteruntimeobject.js
Fixed instances variables not loaded.
Added deprecated separateFromObjects* method for compatibility with already existing games.
git-svn-id: svn://localhost@1070 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-25 21:29:46 +00:00
Florian
8c9f864451
Added automatisms support to Runtime.
...
Added Draggable automatism test.
Fixed hidden objects rendering.
Added support for using custom fonts.
Added support for getting the mouse position ( or any other point ) in a rotated/scaled layer.
Added tests.
git-svn-id: svn://localhost@1064 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-25 14:18:25 +00:00
Florian
6b5c6c948d
Improved MathematicalToolsExtension.
...
Added loading of TextObject extension from GD C++.
Tried to improve performance of Runtime.
git-svn-id: svn://localhost@1059 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-23 19:56:32 +00:00
Florian
cb375aaac3
Moved events related functions to gdjs.evtTools.
...
Updated a bit the doc.
git-svn-id: svn://localhost@1058 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-20 18:26:04 +00:00
Florian
9f3030207e
Added FlipX/FlipY and adapted getPointX/getPointY and updatePIXISprite.
...
git-svn-id: svn://localhost@1051 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-19 16:38:06 +00:00
Florian
e92e1ec65b
Added copyright.
...
git-svn-id: svn://localhost@1038 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-16 15:15:05 +00:00
Florian
bbb12a2491
Updated collision test to use a spatial hashing grid. Performance is improved when lots of objects are involved ( even if limited when the polygon collision test must be really done on lots of objects ).
...
Updated pixi.js
git-svn-id: svn://localhost@1031 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-13 21:47:26 +00:00
Florian
b1bd61b13e
Fixed for each events.
...
Fixed opacity limits.
Added loading of center and origin points for sprite objects.
git-svn-id: svn://localhost@1018 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-05-31 18:25:58 +00:00
Florian
270abd1f9a
Added MouseExtension.
...
Finished implementation of TimeExtension.
Improved SpriteExtension.
git-svn-id: svn://localhost@1012 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-05-28 17:49:55 +00:00
Florian
673443850a
Fixed some small bugs.
...
git-svn-id: svn://localhost@1007 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-05-22 20:20:20 +00:00
Florian
a530703b39
Added force automatic recycling : Forces Benchmark.gdg with Google Chrome 26 on my computer ( Core i5, Radeon 5870 ) : 50/60 fps
...
git-svn-id: svn://localhost@1001 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-05-20 18:59:39 +00:00
Florian
722eb67483
Added Forces Benchmark.gdg ( With Google Chrome 26 on my computer ( Core i5, Radeon 5870 ) : 23/25 fps )
...
git-svn-id: svn://localhost@1000 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-05-20 18:39:08 +00:00
Florian
2cedf94f91
Runtime : Cached default hitbox to avoid temporaries.
...
git-svn-id: svn://localhost@999 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-05-20 18:15:51 +00:00
Florian
50ee292342
Added TimeExtension.
...
Added imageManager to Runtime ( TODO : Images not properly loaded at startup ).
Added support for scaling Sprite objects.
TODO : Polygon collision testing is too expensive. Add a check for basic bounding box and avoid recreating temporaries when returning hit boxes.
TODO : Avoid creating forces each frame.
TODO : Recycle objects.
git-svn-id: svn://localhost@997 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-05-19 22:23:44 +00:00
Florian
8394c1761a
Almost finished implementation of BaseObjectExtension.
...
Added very basic support for layers.
Started implementing SceneExtension and CameraExtension.
Added tests.
git-svn-id: svn://localhost@995 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-05-14 22:46:26 +00:00
Florian
0d51f1bf31
Adapted to changes in GDCore ( Changed some parameters type and removed useless parameters in the Runtime ).
...
git-svn-id: svn://localhost@992 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-05-12 20:42:31 +00:00
Florian
5495cec870
Documented part of the runtime.
...
Added support for hit boxes and collision condition.
Moved runtime libs to a "libs" folder.
git-svn-id: svn://localhost@986 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-05-11 14:20:53 +00:00
Florian
59b97cf589
Fixed code generation.
...
Added a basic test to ensure events are correctly generated and objects properly picked.
Added basic support for forces to Runtime.
Added basic support for mouse.
Added full support for Keyboard.
git-svn-id: svn://localhost@983 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-05-10 15:13:11 +00:00
Florian
9ffb3ae6fa
Adapted EventsCodeGenerator.
...
Improved implementation of BaseObjectExtension.
git-svn-id: svn://localhost@981 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-05-09 10:45:09 +00:00
Florian
f89e4fb659
Completed VariablesExtension.
...
Fixed events of CommonInstructionsExtension ( Work in progress ).
Added BaseObjectExtension ( Work in progress ).
git-svn-id: svn://localhost@979 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-05-08 10:40:30 +00:00
Florian
3bd7326f72
Initial import.
...
git-svn-id: svn://localhost@967 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-05-06 20:06:36 +00:00