summaryrefslogtreecommitdiffhomepage
path: root/lib
AgeCommit message (Collapse)Author
2017-05-19introduce lineslstrzebinczyk
2017-05-18allow events unbindinglstrzebinczyk
2017-05-05another take on z-indexlstrzebinczyk
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-02Implement Text#height and Text#widthlstrzebinczyk
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-08Bump version to 0.3.0v0.3.0Tom Black
And Simple 2D version to 0.5.1
2017-03-02Update controller testTom Black
2017-02-28Update attribute accessors / readersTom Black
2017-02-22`extend` rather than `include` the DSLTom Black
So that DSL methods aren’t added to every `Object`
2017-02-17Add new input events, fixes, and cleanup to window classTom Black
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
2017-02-17Add sound and music classesTom Black
2017-02-17Clean up exception class, move up in require orderTom Black
2017-02-17Add an `add` method for drawable objectsTom Black
2017-02-17Simplify color handling for text classTom Black
2017-02-17Improve color validation on shapesTom Black
2017-02-16Add color to image classTom Black
2017-02-16Improve hex color handlingTom Black
2016-11-27`Window` updatesTom Black
2016-11-27Add accessors for OpalTom Black
2016-11-27Opal fixes and other cleanup to `Color`Tom Black
2016-11-27Remove things MRuby doesn't supportTom Black
- Keyword arguments - `defined?` - Regex - `File`
2016-10-10Read `window->fps` as a doubleTom Black
2016-10-09Add "any" key optionTom Black
Where's the 'any' key? Whew! All this computer hacking is making me thirsty.
2016-10-09Add `on_controller` input blockTom Black
Also add `which` to the controller callback
2016-10-09Add `on_key` input blockTom Black
2016-10-09Add `key_up` to window and DSLTom Black
2016-10-09Add spritesTom Black
Also namespace `type_id` definitions
2016-08-28Merge pull request #18 from mikeappell/change-text-dynamicallyTom Black
Made Text objects changeable dynamically
2016-08-28Made Text objects changeable dynamicallyMichael Appell
Modified text.rb so that the text= method modifies the instance variable Modified ruby2d.c so that before rendering Text objects, it sets their value to whatever their @text variable is Modified textcard.rb to demonstrate that Text objects can be dynamically changed
2016-08-28#1 Allow colors to be created with RGB hex valuesdwu185
2016-07-18Reorder require statementsTom Black
2016-07-18Clean up window attributesTom Black
2016-07-18Set viewport sizeTom Black
2016-07-18Set window flagsTom Black
2016-07-18Set background colorTom Black
2016-07-17Add `close` to DSLTom Black
2016-07-16Remove unneeded `Ruby2D::` namespacingTom Black
2016-04-26Merge pull request #15 from kamishettysreeja25/masterTom Black
Adds hex to RGB conversion algorithm, addresses the first task in #1
2016-04-25General tidying upTom Black
2016-04-21Fix failing DSL testTom Black
`set` must be able set a single window attribute without making others nil