summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
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
2018-09-20Update CITom Black
2018-09-20Add `Circle` classTom Black
2018-09-20Expose window attributes through class methodsTom Black
2018-09-12Update RSpec dev dependencyTom Black
2018-09-12Add ability to rotate texturesTom Black
Includes images, sprites, and text.
2018-09-12CleanupTom Black
Reordering and removing unused code
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-06Update CITom Black
Also adds native and web build test
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-02-25Serve built web apps for Rake testsTom Black
DOM security restrictions will block assets otherwise
2018-01-29Bump version to 0.5.1v0.5.1Tom Black
2018-01-29Bump minimum S2D version to 0.9.0Tom Black