Artifacts where visible on rescaled games, especially when canvas
was small and the game pixel perfect. This was due to changing
Pixi renderer size instead of scaling the canvas.
For a perfect "pixel perfect" rendering, "image-rendering: pixelated"
would be needed on the canvas (to be added as a game settings)
(see for instance: https://gablaxian.com/articles/creating-a-game-with-javascript/scaling-the-canvas)
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
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
Finished exportation and support for minimizing the code with the Closure Compiler.
git-svn-id: svn://localhost@1028 8062f311-0dae-4547-b526-b8ab9ac864a5
Fixed opacity limits.
Added loading of center and origin points for sprite objects.
git-svn-id: svn://localhost@1018 8062f311-0dae-4547-b526-b8ab9ac864a5
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
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
Added very basic support for layers.
Started implementing SceneExtension and CameraExtension.
Added tests.
git-svn-id: svn://localhost@995 8062f311-0dae-4547-b526-b8ab9ac864a5
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
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
Fixed events of CommonInstructionsExtension ( Work in progress ).
Added BaseObjectExtension ( Work in progress ).
git-svn-id: svn://localhost@979 8062f311-0dae-4547-b526-b8ab9ac864a5