Commit Graph

57 Commits

Author SHA1 Message Date
Florian Rival 63cb853d72 Change file organization (Events, Extensions + more folders) 2015-11-01 11:26:40 +01:00
Florian Rival cf2100a626 Refactor time management into gdjs.TimeManager for HTML5 game engine 2015-10-11 20:39:10 +02:00
Florian Rival 970bc3b0f0 Add caching and tiled borders/center option for HTML5 PanelSprite object 2015-09-11 17:29:45 +02:00
Florian Rival 1ff06d4c9c Add an object to PanelSprite test/benchmark game 2015-09-10 21:19:20 +02:00
Florian Rival eab1f1c2fb Add Pathfinding playground test game 2015-09-03 18:25:41 +02:00
Florian Rival 428e72914d [WIP] Rename Automatism to Behavior 2015-08-17 23:52:59 +02:00
Florian Rival 91eb914dcb Add parameter to clear any stopped scene from scene stack when changing scene
Also refactors some parts and add documentation
2015-08-06 17:58:10 +12:00
Florian Rival face853b3f Basic implementation of scene stacking for native games.
Also fix #155
2015-07-31 16:05:20 +12:00
Florian Rival fed3a7727f Add test game using LinkedObjects with Scene stacking 2015-07-27 10:54:17 +12:00
Florian Rival 5a2a6b4341 Ensure LinkedObjects managers are properly bound to their scene for HTML5 games 2015-07-27 10:13:45 +12:00
Florian Rival 563e92a37e Basic scene stack for HTML5 games 2015-07-24 10:53:09 +12:00
Florian Rival cb241ebba7 Add Key released condition 2015-07-06 21:42:38 +12:00
Florian Rival 52fcffa67b Remove ended touches from touches list at the end of the frame
This allows to use condition like "Cursor is on object" with touches and "Touch has ended" condition.
2015-06-25 15:20:03 +12:00
Florian Rival 5afff31684 Add support for Mouse button released condition 2015-06-24 23:23:01 +12:00
Florian Rival 0ac53b0fcf Fix scaling of a flipped sprite object for HTML5 games 2015-06-03 23:55:24 +12:00
Florian Rival 5dd2080a36 Remove unecessary exclusion of ImageManager in gd::Project when compiling without wxWidgets 2015-06-03 09:49:31 +12:00
Florian Rival 17dc3df0c1 Add a few tests for Sprite objects 2015-06-02 17:04:55 +12:00
Florian Rival 552c6c1d40 Fix GDJS tests with PhantomJS 2015-05-14 21:50:20 +12:00
Florian Rival 05eb69061d Fix tests not loading Howler.js 2015-05-03 19:44:22 +12:00
Florian Rival 3ae4f1ba73 Switched to howler.js for the sound system implementation of HTML5 games
Refactored gdjs.SoundManager
2015-05-02 18:36:52 +12: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 53aaade1bb Fixed methods names not written in camelCase 2015-04-23 14:24:28 +12:00
Florian Rival ac7337ea67 Refactoring and added tests for platformerobjectruntimeautomatism.js 2015-04-19 22:53:02 +12:00
Florian Rival 47ef1d2152 Updated Readmes and some comments 2015-04-19 21:48:41 +12:00
Florian Rival ed957916b9 Added gdjs.InputManager.touchSimulateMouse and tests for it 2015-03-13 12:25:06 +13:00
Florian Rival f29d17ec91 Made draggableruntimeautomatism.js working with multitouch and added tests for it 2015-03-12 13:47:24 +13:00
Florian Rival ddb1f1dbda Support for (multi)touch in gdjs.RuntimeObject.cursorOnObject 2015-03-11 16:23:46 +13:00
Florian Rival 1c58546dc9 Added tests for gdjs.InputManager 2015-03-04 15:37:55 +13:00
Florian Rival b7932c88fd Updated Travis configuration to launch GDJS tests 2015-03-04 11:34:27 +13:00
Florian Rival f4d905afe3 Added multitouch conditions and expression for HTML5 games. (Need testing and update cursor is on object condition) 2015-03-03 11:12:53 +01: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 3eaf3504ce Added tests for gdjs.evtTools.object.TwoListsTest 2015-03-03 15:48:19 +13: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 6eea30d35a Ported PrimitiveDrawing for HTML5 games 2015-01-18 18:01:11 +01:00
Florian Rival ced2dcf782 Fixed RuntimeDrawerObject::DrawRectangle 2015-01-14 22:43:18 +01:00
Florian Rival 9dbe80e5b3 Ported PanelSpriteObject for HTML5 games 2015-01-14 21:51:34 +01:00
Florian Rival ebfc7f06c5 Added a test game for TextEntryObject 2015-01-08 19:42:29 +01:00
Florian Rival a79600f302 Ensure that Platformer Objects are not stuck in platforms.
Fixed PlatformerObjectAutomatism::SetSlopeMaxAngle.
2014-12-23 14:24:01 +01:00
Florian Rival 7d3ada265c Replaced "Game Develop" by "GDevelop" 2014-09-24 16:25:13 +02:00
Florian Rival 131d1fe224 Fix layers not properly hidden in HTML5 games.
Started implementing unit tests for GDJS.
2014-08-25 21:03:59 +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 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 e92e1ec65b Added copyright.
git-svn-id: svn://localhost@1038 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-16 15:15:05 +00:00
Florian 49008c8478 Added missing built-in extensions ( even if most of them are not implemented ).
git-svn-id: svn://localhost@1037 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-15 18:11:26 +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 ad2f3d45f4 Added MathematicalToolsExtension.
Added call to StripUnimplementedInstructionsAndExpressions to not fully implemented extensions.
Improved ShootJS.gdg
Added Collisions benchmark.gdg : 7/8 fps with Chrome 27 on my computer.

git-svn-id: svn://localhost@1030 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-13 10:42:19 +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