Skip to content

BennuGD2 v2.0.0

Choose a tag to compare

@SplinterGU SplinterGU released this 19 Dec 07:44
· 3 commits to master since this release

BennuGD2 v2.0.0

🎡 Sound System Enhancements

  • New comprehensive sound player example (12.2-sound.prg):

    • Interactive UI with play/pause/stop/next/prev controls
    • Volume sliders for master, music, and SFX
    • Progress bar with seek functionality
    • SFX test zone with panning and distance controls
    • Auto-hide UI with fade effects after mouse inactivity
    • Scrolling track info display when UI is hidden
    • Visual audio effects (animated circles)
    • Support for multiple audio formats (MP3, OGG, FLAC, WAV, MOD, XM, S3M, MID)
  • New libbgsound module:

    • Low-level sound library wrapping SDL_mixer
    • Conditional include directory handling for cross-platform builds
    • Android build support with proper SDL_mixer integration
  • Enhanced libmod_sound:

    • Music playback controls (play, pause, resume, stop)
    • Metadata tag reading (title, artist, album, copyright)
    • Fade in/out support
    • Playback position control and seeking
    • Duration and position queries

πŸ“± Android Monetization Support

  • New libmod_ads module: Google AdMob integration for Android
  • New libmod_iap module: In-App Purchases support for Android

πŸ”§ BGDI Core Improvements

  • Extension handling fixes:
    • New remove_app_extension() function to selectively remove .exe or DCB extensions
    • New file_has_extension() helper function
    • Improved DCB loading logic with proper extension checking
    • Android build compatibility fixes (preprocessor guards for 'standalone' variable)

πŸ—οΈ Build System Updates

  • Added GitHub Actions workflows for automated builds:
    • Linux (64-bit and 32-bit)
    • Windows (64-bit and 32-bit)
    • macOS (x86_64)
  • Fixed macOS package dependencies
  • Added Windows icons and resource files

πŸ› Compiler & Interpreter Fixes

  • Fixed data type promotion in expressions
  • Interpreter optimizations and rework
  • Fixed compilation for newer GCC versions
  • Internal improvements and code cleanup
  • Removed PS3 build support

πŸ“¦ Assets Included

  • Fonts, sprites, sound effects, and music tracks for sound player example
  • Helper includes: fontsheet.inc and sprsheet.inc

Full Changelog: v1.0.1...2.0.0