Page 1 of 3 123 LastLast
Results 1 to 10 of 43

Thread: Library recommendation?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Hi Everyone,

    Sorry for resurrecting an old thread, but I started working on this again and want to finally get this game on to Steam.

    I was eventually able to get the fake fullscreen working, so thanks SilverWarior for suggesting that!

    I wasn't able to port the game to lazarus (too much assembly and other hacks that sadly don't work in lazarus), so I'm sticking with Delphi 5.

    Now I need to change the MIDI sound into streamed audio (.ogg or .mp3), which is unfortunately not supported by UnDelphiX.

    So does anyone have a suggestion on what library to use? It doesn't have to do much other than play background music (looping without gap), should sometimes suddenly change into a different song (my songs have 2 different endings). Should be free (but not GPL) and work in Delphi 5.

  2. #2
    Hi!
    Have you checked BASS Sound Library from https://www.un4seen.com/
    It can be used for free as long as you are not earning any profit from your project. But for commercial usage you need to purchase one of the valid licenses.

    The thing that I love about BASS is that it has support for lots of sound formats even including support for playing Module music files.
    Another great thing about BASS Sound Library is that it supports wide array of platforms. While this might not seem very important to you since using Delphi 5 you are basically limited only to Windows platform. But it can still be an advantage because if in the future you chose to use some moder version of Delphi to try and develop another game for some other platforms as well you will already have good knowledge of using sound library that supports that platform.

    The only thing is that I'm not sure if BASS sound library still support so old Delphi versions as Delphi 5. But since it is free to use for non-commercial use I strongly suggest you give it a try.

    EDIT: BASS Sound Library is compatible with FreePascal so if in the future you decide to switch from Delphi to FPC/Lazarus you can keep using the same library.
    http://wiki.freepascal.org/Multimedia_Programming#BASS
    Last edited by SilverWarior; 30-12-2017 at 02:46 PM.

  3. #3
    Most used is probably OpenAL because it's freeware.

  4. #4
    Quote Originally Posted by SilverWarior View Post
    Hi!
    Have you checked BASS Sound Library from https://www.un4seen.com/
    It can be used for free as long as you are not earning any profit from your project. But for commercial usage you need to purchase one of the valid licenses.
    Thanks for the suggestion, however the reason I'm bringing the game to Steam is to sell it, so that would be commercial use.

    Quote Originally Posted by JC_ View Post
    Most used is probably OpenAL because it's freeware.
    Thanks, that's probably the best option then. I found http://www.noeska.com/doal/ and already got sound playing on Delphi 5, now just to figure out how to get it to repeat a stream.

    Anyway, do you guys have any games on Steam? If so, what parts did you implement?
    I'm wondering whether to do global leaderboards or not. I used to have them in my Flash games and they got hacked all the time.
    In my last game I only implemented achievements, spent quite a lot of time on them, but it looks like very few people are trying to unlock them, the easiest one (that anyone who gets half way through the first level should get) only has 60%! Makes me wonder if people who buy the game actually play it?

  5. #5
    Quote Originally Posted by Wiering View Post
    Anyway, do you guys have any games on Steam?
    I was planning to get my current project on steam when finished but I'll probably just stick to itch.io.
    For some time now you have to pay 100$ to publish on steam even if it's a free game..

  6. #6
    Quote Originally Posted by laggyluk View Post
    I was planning to get my current project on steam when finished but I'll probably just stick to itch.io.
    For some time now you have to pay 100$ to publish on steam even if it's a free game..
    Yes I know, I just payed it for my next game. But I think it is worth the exposure, last time I earned those 100$ back in the first month.

    Good to see that itch.io can now handle EU VAT (with the Collect & Pay Later model).

  7. #7
    If any of you would like to try out the beta version on Steam, you can use one of these codes:

    1: KLBK0-EEBAZ-2NN9P
    2: KEX06-G5NXN-N2RKI
    3: FNCX0-Z9CRH-FI40F
    4: FZ69E-4I3JV-E8PEQ
    5: 5054H-8266W-53K6E
    6: WCN5J-RDHVZ-G830K
    7: GKM9A-G4FCW-PVP3R
    8: Z5G8C-Z9A98-7P24F
    9: C3IXL-0Z05Z-XT0BJ
    10: TL4M6-P04HV-G30JA

    If you claim one, please reply with the number, so other people know which ones are still available.

    Please let me know if you run into any problems or if you have any remarks or suggestions about the game.

    Trailer: https://www.youtube.com/watch?v=VXIFOcOHIHM

  8. #8
    Hi!
    I have claimed 1. code

    EDIT: I do have a problem. The game seems to be running on steroids. It is like when you take one of those old DOS based games and run it on a modern computer.
    Last edited by SilverWarior; 04-02-2018 at 10:09 PM.

  9. #9
    Quote Originally Posted by SilverWarior View Post
    EDIT: I do have a problem. The game seems to be running on steroids. It is like when you take one of those old DOS based games and run it on a modern computer.
    Thanks, that is interesting, what kind of video card do you have?
    Could you try Options, View, Graphics, DirectX?
    Otherwise, if you go to windowed mode (Alt+Enter) there is menu at the top and you can choose Game, Slow Down.

  10. #10
    Quote Originally Posted by Wiering View Post
    Hi Everyone,

    Sorry for resurrecting an old thread, but I started working on this again and want to finally get this game on to Steam.

    I was eventually able to get the fake fullscreen working, so thanks SilverWarior for suggesting that!

    I wasn't able to port the game to lazarus (too much assembly and other hacks that sadly don't work in lazarus), so I'm sticking with Delphi 5.

    Now I need to change the MIDI sound into streamed audio (.ogg or .mp3), which is unfortunately not supported by UnDelphiX.

    So does anyone have a suggestion on what library to use? It doesn't have to do much other than play background music (looping without gap), should sometimes suddenly change into a different song (my songs have 2 different endings). Should be free (but not GPL) and work in Delphi 5.
    Delphi 5 is pretty old. Did you tried Tokio? There is the free starter edition at Embarcadero's website. I installed it recently and has some differences with the old Delphi I know (I got stuck with Delphi 6) but it is not hard to upgrade my knowledge (but it is being a bit tricky to make my Allegro wrapper compatible with it though).

    Glad to see you're still fighting!
    No signature provided yet.

Page 1 of 3 123 LastLast

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
  •