summaryrefslogtreecommitdiffhomepage
path: root/ext
AgeCommit message (Collapse)Author
2018-01-29Bump minimum S2D version to 0.9.0Tom Black
2018-01-29Try to add controller mappings only if file existsTom Black
2018-01-07Make gem install errors a little more usefulTom Black
2018-01-02Autoload controller mappings file.Andrew Havens
2017-12-12Bump version to 0.5.0v0.5.0Tom Black
2017-12-02Use controller mappingsTom Black
2017-11-27Add iOS and tvOS supportTom Black
2017-09-18Update Simple 2D minimum version to 0.7.0Tom Black
2017-07-25Fixes for MRuby `main` functionTom Black
2017-06-25Dispatch rendering to rendered classes (#66)lstrzebinczyk
2017-06-12Set image width and height in constructorTom Black
2017-06-05Bump version to 0.4.0v0.4.0Tom Black
2017-05-20Remove trailing whitespace everywhereTom Black
It's what all the kids are doing
2017-05-20Call extensions explicitlyTom Black
No more are extension methods magically added to Ruby classes. Now, classes must explicitly call web and native extensions using methods with the naming convention `ext_<class>_<method>`.
2017-05-19introduce lineslstrzebinczyk
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-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-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-27Text#text= will inspect it's inputlstrzebinczyk
2017-03-08Bump version to 0.3.0v0.3.0Tom Black
And Simple 2D version to 0.5.1
2017-03-07Update to C11 standard for native extensionTom Black
2017-03-02Update controller testTom 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-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-17Minor cleanupTom Black
2016-11-27Initial Opal SupportTom Black
2016-11-27Initial MRuby supportTom Black
2016-10-10Read `window->fps` as a doubleTom Black
2016-10-09Add `on_controller` input blockTom Black
Also add `which` to the controller callback
2016-10-09Add `on_key_up` callbackTom Black
2016-10-09Update extconf.rbTom Black
Bump minimum Simple 2D version required, add install case for Windows / MinGW.
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-28Update `on_controller` parametersTom Black
2016-07-23Use latest version of Simple 2DTom 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-16Make funcs and vars static, where possibleTom Black
2016-04-25General tidying upTom Black
2016-04-21Use S2D_FreeWindow instead of S2D_CloseTom Black
Simple 2D’s `S2D_Close` now just exits the window loop, doesn’t actually free anything
2016-04-19Updating ruby.cTom Black
Improving some style conventions, add `flags` variable to `S2D_CreateWindow` in preparation for actual flags to be passed