Skip to content

1.2.17 Stable

Latest

Choose a tag to compare

@kyonides kyonides released this 26 Jul 07:49
· 11 commits to main since this release

Recent Changes:

  • Bitmap class:
    • Renamed apply_alpha_mask to just alpha_mask(bitmap).
    • Added color_mask(red, green, blue).
    • Added fill_rounded_rect(rect, color, radius).
    • Added fill_circle(rect, color, radius).
    • Added fill_triangle(rect, color, radius, angle).
    • Added fill_polygon(rect, color, sides, radius, angle).
  • Game module:
    • Added shoth_path= for setting the parent directories of your Screenshots folder.
    • Game::Window Module:
      • Added show & hide methods.
  • Fixed very uncommon Sound_FreeSample error caused by SDL_sound or already deleted pointers to samples.

Bitmap methods that accept a Rect object as parameter also allow passing a :rect symbol or 4 separate numbers for x, y, w and h.