summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2019-04-26Update assetsset-anchor-pointTom Black
2019-04-15Set image anchor pointTom Black
2019-04-06Bump version to 0.9.0v0.9.0Tom Black
2019-04-06Don't print Simple 2D error for screenshotTom Black
2019-04-06Use iPhone X for default simulatorTom Black
2019-04-06Bundle dependencies with the gemTom Black
2019-01-11Update CITom Black
2019-01-10Bump version to 0.8.1v0.8.1Tom Black
2019-01-10WASAPI can't be opened on AppVeyor (Windows)Tom Black
2019-01-10Rescue console broken pipe (#143)Mario Visic
2019-01-06Tests and fixes to the public APITom Black
Namely to ensure attribute getters/setters are consistent
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-06Silence uninitialized console variable warningTom Black
2019-01-04Bump version to 0.8.0v0.8.0Tom 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-03Add ability to build macOS app bundlesTom Black
2019-01-03Allow color to initialize from an existing color objectMario Visic
Setting a 2d object's color to be random is great, however it's difficult to re-use that color without manually extracting out the rgba values from that color object. Ideally it would be convenient to be able to do this: ```ruby square = Square.new(color: 'random') square_two = Square.new(color: square.color) ``` This patch allows this behavior from any 2d shape, making it much easier to reuse those random colors :)
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-12Add an interactive consoleTom Black
Also moves `bin/ruby2d` functionality to new `lib/ruby2d/cli` dir
2018-12-12Make `contains?` inclusive (#137)Tom Black
If point is over the visual area, it's true. Also add default rectangle implementation to `renderable.rb`.
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-30Fix deprecation warningsTom Black
Also use `-w` flag when running MRI tests
2018-10-24Bump version to 0.7.0v0.7.0Tom 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-11Sprite `play` method now takes opts hashTom Black
2018-10-09Fix Linux font directoryTom Black
2018-10-08Reorganize Image, Sprite, and Text argsTom Black
Start with the required argument first as positional, followed by optional ones as keyword arguments Co-Authored-By: Andrew Havens <[email protected]>
2018-10-05Remove old font path code in Text classTom Black
2018-10-05Fix MRuby crash when using default fontTom Black
2018-10-05Bump version to 0.6.1v0.6.1Tom Black
2018-10-05Temporarily disable building for web while transitioning to WebAssemblyTom Black
2018-10-04Text will use default fontlstrzebinczyk
2018-10-03Add CFLAGS when Raspberry PiTom Black
2018-09-28Bump version to 0.6.0v0.6.0Tom Black
2018-09-28Style, docs, and consistencyTom Black
2018-09-28Color enhancementsTom Black
New shortcuts for setting color values, like `.color.r/g/b/a` and simply `.r/g/b/a`; allow the British English spelling "colour"
2018-09-27Add documentation to `Sprite` classTom Black
2018-09-26Update Simple 2D minimum versionTom Black
2018-09-26Add ability to set the window iconTom Black
2018-09-26Update iOS and tvOS simulatorsTom Black
2018-09-26Print more informative log message on obj freeTom Black
2018-09-26Allow text width to be a range in specTom Black
2018-09-26Handle adding controller mappings through Window classTom Black
2018-09-26Documentation and style updatesTom Black