Results 1 to 10 of 53

Thread: Luna Game Library - Simple & Elegant Game Programming

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    One feature that may be useful for music files is to start from a specific location.

    procedure Music_Play(aMusic: TMusic; aVolume: Single; aLoops: Integer; aLocation: Single = 0); external LUNA_DLL; // Playback music starting from aLocation

    Specified in seconds, percent of file length etc.

  2. #2
    Quote Originally Posted by Thyandyr View Post
    One feature that may be useful for music files is to start from a specific location.

    procedure Music_Play(aMusic: TMusic; aVolume: Single; aLoops: Integer; aLocation: Single = 0); external LUNA_DLL; // Playback music starting from aLocation

    Specified in seconds, percent of file length etc.
    Ahh, great suggestion. I think I should be able to add this. Cool, thx.

  3. #3
    Quote Originally Posted by Thyandyr View Post
    One feature that may be useful for music files is to start from a specific location.

    procedure Music_Play(aMusic: TMusic; aVolume: Single; aLoops: Integer; aLocation: Single = 0); external LUNA_DLL; // Playback music starting from aLocation

    Specified in seconds, percent of file length etc.
    Ok, added:
    Code:
    function  Music_SetPosition(aPosition: Single): Boolean; external LUNA_DLL;     // Set the current position (seconds) in the music stream (only MOD, OGG, FLAC, MP3_MAD, MODPLUG formats).
    Will be in next update. Thanks again for the suggestion.

  4. #4
    *** UPDATE ***
    - cleaned up thread, removed old media and provided update status on certain features
    - removed physics (too unstable, new version in the future)
    - removed scripting (too unable, not sure if I will add in the future)
    - removed ide stuff (will be in separate future project)
    - fixed, enhanced and made some internal optimizations (texture blending modes, enable/disable vsync, Luna.Framework, etc)
    - adding some more complex demos (see videos below)
    - new build coming soon(ish)tm

    Elastic Demo


    Viewports Demo


    Scroll Demo


    AstroBlaster Mini Game


    ChainAction Mini Game

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •