Commit Graph

71 Commits

Author SHA1 Message Date
Florian Rival 7c79ae1634 Resources files now always use a slash in their filename 2014-08-17 19:29:32 +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
Florian Rival 63c21f7877 Integrated scripts into the build process, no need to call them manually (Still need testing on Windows) 2014-08-13 23:01:39 +02:00
Florian Rival 0d5d555b91 Made some scripts more robusts 2014-08-12 22:58:10 +02:00
Florian Rival 5749073d55 Merge pull request #6 from 4ian/tests
Added basic unit tests for GDCore
2014-08-12 22:35:37 +02:00
Florian Rival f6216da3ed Work in progress for tests.
Events Clone method now return a raw pointer.
2014-08-10 22:24:06 +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 bd034ca510 Fixed wiki link in IntelXDKPackageDialog. 2014-07-30 19:46:39 +02:00
Florian Rival c5237b70bf Factor function to strip a project into gd::ProjectStripper.
Fix TiledSprite extension not loading properly for GDC++.
Fix "Rotate an object toward another" action.
2014-07-29 21:39:25 +02:00
Florian Rival 99c7c5a402 Updated installations and package scripts. 2014-07-27 15:20:37 +02:00
Florian Rival 23d9c7fe42 Updated licenses.
Fix pow expression in EditExpressionDialog.
French and Spanish translation update.
Upgraded pixi.js to latest version.
2014-07-26 17:20:33 +02:00
Florian Rival 04d32f4c42 Added IntelXDKPackageDialog.
Added documentation page about tools and conventions.
2014-07-05 20:49:00 +02:00
Florian Rival f77db5e546 Forgot to display Uglify output to console if error occurred. 2014-07-04 20:11:43 +02:00
Florian Rival 7c5681a36b Switch from Closure Compiler (and Java) to UglifyJS (and Node) for scripts minification. 2014-07-04 20:10:17 +02:00
Florian Rival a9ce6feefe Enabled XDK project export and fixed timestamps of the generated project. 2014-07-04 19:34:59 +02:00
Florian Rival 14b696d709 Removed useless files. 2014-06-30 21:52:01 +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 bb21d9a127 Updated doc.
git-svn-id: svn://localhost@1102 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-07-01 20:40:24 +00: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 ac5060824b GDL renamed to GDCpp in comments.
git-svn-id: svn://localhost@1098 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-30 13:38:43 +00:00
Florian edb450ca5b Fixed condition.
git-svn-id: svn://localhost@1090 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-30 13:07:53 +00:00
Florian f1265e126a Java path can be set by the user.
git-svn-id: svn://localhost@1087 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-29 17:46:34 +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 5e33096c78 Fixed or condition.
git-svn-id: svn://localhost@1083 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-28 11:28:41 +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 5883ba1149 Fixed variables with initial value being a float not recognized as a number.
git-svn-id: svn://localhost@1080 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-27 19:52:10 +00:00
Florian bc2f120ffa Initial global variables weren't loaded.
git-svn-id: svn://localhost@1076 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-26 16:02:42 +00:00
Florian e00db6f0ba Fixed assets loading when assets are cached.
git-svn-id: svn://localhost@1074 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-26 14:03:21 +00:00
Florian 0780d91948 Fixed exportation when directories need to be created ( for extensions for example ).
git-svn-id: svn://localhost@1072 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-26 12:45:50 +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 a57996970f Fixed background color whether using canvas or webgl.
git-svn-id: svn://localhost@1068 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-25 15:44:42 +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 6c2c1f55f6 Removed 2 useless lines.
git-svn-id: svn://localhost@1062 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-23 20:29:52 +00:00
Florian 536bf4b915 Removed useless commented code in TwoListsTest.
Deactivated the use of HSHG: SoldierJS is performing better without using it ( On my computer, with Chrome 27 : 55/60 fps except for the beginning when it decreased to 30 for one second ).

git-svn-id: svn://localhost@1061 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-23 20:26:56 +00:00
Florian 2f471ed7db Fixed regression in performance in SoldierJS.
git-svn-id: svn://localhost@1060 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-23 20:11:45 +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 c31ff6720e Added doc generator to repository.
git-svn-id: svn://localhost@1054 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-19 20:14:54 +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 71cb9e2021 Fixed closure compiler incompatibility with pixi.js
git-svn-id: svn://localhost@1048 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-18 15:20:27 +00:00
Florian dd38507f0e Fixed launching of the default browser.
git-svn-id: svn://localhost@1045 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-17 20:21:20 +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 6ccc2a17dc Move back to old implementation of Hashtable.
git-svn-id: svn://localhost@1033 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-13 22:19:56 +00:00
Florian 4eb9ba0da0 Tried a more basic implementation of hashtable : No changes, still memory consumption growing quite fast.
git-svn-id: svn://localhost@1032 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-13 22:18:20 +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