summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2017-05-20Check if audio file exists for `Sound` and `Music`Tom Black
2017-05-19Add z-index to `Line` classTom Black
2017-05-19Update assets submoduleTom Black
2017-05-19introduce lineslstrzebinczyk
2017-05-18allow events unbindinglstrzebinczyk
2017-05-05another take on z-indexlstrzebinczyk
2017-04-28Store image width and height on creationTom Black
Since images are loaded asynchronously on the web and the width and height might have already been set by the user, set them only if they are nil.
2017-04-28Opacity improvementsTom Black
Adds opacity attribute reader for `Ruby2D::Color` and `Ruby2D::Color::Set`. Adds `opacity/=` method to renderable objects, a shortcut for `obj.color.opacity/=`.
2017-04-28Add `File.exists?` to MRubyTom Black
This also enables file checking to the `Image` class for MRI and MRuby (on the web, a “failed to load resource” already appears). Also, all exceptions will now be printed in MRuby, yay!
2017-04-13Add mouse events, introduce event structsTom Black
2017-04-02introduce Ruby2D::Renderablelstrzebinczyk
2017-04-02Fixes for Windows / MinGWTom Black
In Rakefile, can’t use semicolons to separate commands, using “&&” instead; for the web, use `start` command to open browser. In `extconf.rb`, use `bash` explicitly when calling `simple2d` with flags; make experience consistent with Linux.
2017-04-02Implement Text#height and Text#widthlstrzebinczyk
2017-04-01remove unneeded linelstrzebinczyk
2017-03-28implement Color#opacity=lstrzebinczyk
2017-03-27Text#text= will inspect it's inputlstrzebinczyk
2017-03-14`Array#slice!` not defined in MRuby, use `delete_at` insteadTom Black
2017-03-08Fix gem badgeTom Black
2017-03-08Bump version to 0.3.0v0.3.0Tom Black
And Simple 2D version to 0.5.1
2017-03-08Update READMETom Black
2017-03-08Rakefile cleanupTom Black
2017-03-08Fix native app compilation with MRubyTom Black
Also print clearer error when MRuby does not exist.
2017-03-07Update to C11 standard for native extensionTom Black
2017-03-07Namespace interactive test tasksTom Black
2017-03-07Use a more cross-platform "open" commandTom Black
2017-03-07Use `require_relative` in gemspecTom Black
2017-03-02Update controller testTom Black
2017-03-01Small update to release instructionsTom Black
2017-03-01Update assets submoduleTom Black
2017-03-01Update input testsTom Black
Reflecting current API
2017-03-01Fix links in READMETom Black
2017-02-28Make pointer flash bigger in test cardTom Black
2017-02-28Update attribute accessors / readersTom Black
2017-02-28Opal extension updatesTom Black
Rename `$SELF` to `$R2D_WINDOW` for clarity and name spacing. Set background color. Use `get` DSL method to retrieve window attributes. Read and set viewport.
2017-02-28Simplify native viewport logicTom Black
2017-02-22`extend` rather than `include` the DSLTom Black
So that DSL methods aren’t added to every `Object`
2017-02-22Update READMETom Black
Note that the gem is still in development, fix broken links, improve instructions.
2017-02-17Bump license to 2017Tom Black
2017-02-17Update native extensionTom Black
Improvements for both MRuby and CRuby, support new features of Ruby 2D classes, performance enhancements.
2017-02-17Update web native extensionTom Black
Extend Ruby 2D classes with native methods, add new API features
2017-02-17Add new input events, fixes, and cleanup to window classTom Black
2017-02-17Improvements to test cardTom Black
Slow down FPS text drawing, flash mouse clicks, updates to match API
2017-02-17Add simple triangle testTom Black
2017-02-17Make it easier to run native and web testsTom Black
2017-02-17Clean up `ruby2d` command, building native & web appsTom Black
2017-02-17Strip `require 'ruby2d'` from source filesTom Black
For MRuby and Opal
2017-02-17Add `init` method for native extension initializationTom Black
2017-02-17Expose sprite attributes for native extensionsTom Black
2017-02-17Clean up text classTom Black
2017-02-17Minor cleanupTom Black