summaryrefslogtreecommitdiffhomepage
path: root/ext
AgeCommit message (Collapse)Author
2019-04-25Match case of libFLAC.a in extconf.rbDamien Pollet
Fixes #154 (hopefully)
2019-04-18Bundle Linux dependenciesTom Black
Also clean up `extconf.rb` generally and add new `rake dev` task to use user-installed libraries.
2019-04-06Don't print Simple 2D error for screenshotTom Black
2019-04-06Bundle dependencies with the gemTom Black
2019-01-06Raise errors if media can't be readTom Black
Check if NULL pointers are returned by native functions loading media for images, sprites, audio, etc. If NULL, raise Ruby 2D error.
2019-01-06Set diagnostics immediatelyTom Black
`set diagnostics: true` now calls the new `Window#ext_diagnostics` native extension function, which immediately calls `S2D_Diagnostics()`
2019-01-06Move `ext_screenshot` to the right place in the fileTom Black
2019-01-06Don't allow screenshots before window is shownTom Black
2019-01-03Add an assets path variableTom Black
Adds `Ruby2D.assets/=`. By default, will resolve to `./assets`. If run in a macOS app bundle, will resolve to `App.app/Contents/Resources/assets`, for example.
2019-01-03Color enhancements, fixes, refactoringTom Black
Opacity and color can now be set for sprites. Opacity can now also be set when instantiating a new renderable object. `Color.from(c)` renamed to `Color.set(c)` for clarity. `Renderable` module includes more common functionality.
2019-01-01Add ability to take screenshotTom Black
2018-12-12Remove current web backendTom Black
Preparing for WebAssembly
2018-12-12Use Simple 2D API to get and set music volumeTom Black
2018-10-24Implements volume control to Music (#123)Heitor Carvalho
2018-10-16Move `String#colorize` to a separate file to requireTom Black
2018-10-05Fix MRuby crash when using default fontTom Black
2018-10-03Add CFLAGS when Raspberry PiTom Black
2018-09-28Style, docs, and consistencyTom Black
2018-09-26Update Simple 2D minimum versionTom Black
2018-09-26Add ability to set the window iconTom Black
2018-09-26Print more informative log message on obj freeTom Black
2018-09-26Handle adding controller mappings through Window classTom Black
2018-09-26Documentation and style updatesTom Black
2018-09-20Add `Circle` classTom Black
2018-09-12Add ability to rotate texturesTom Black
Includes images, sprites, and text.
2018-09-12Update Simple 2D function nameTom Black
2018-09-12Sprite enhancementsTom Black
Add ability to flip the sprite, run a block after an animation, properly change the width and height, and other fixes.
2018-05-06Enable setting and getting custom fps_capeiko
2018-05-06Remove `File.exists?` from mruby extTom Black
`mruby-io` is now in default gembox, no need add this anymore
2018-05-06Fix native building of appsTom Black
2018-05-06Sprite class redesignTom Black
See #33 for discussion
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.