Commit Graph

17 Commits

Author SHA1 Message Date
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
Florian 96fd3327d4 Added soundManager to runtime and started implementing AudioExtension.
Fixed exportations of resources of events.
Implemented all common instructions and events.
Fixed pickedObjectsCount in runtime.

git-svn-id: svn://localhost@1009 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-05-25 20:32:42 +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 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 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