Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: .net sound and music?  (Read 6460 times)

0 Members and 2 Guests are viewing this topic.

daxterxx

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
.net sound and music?
« on: December 25, 2012, 07:13:31 pm »
Okay so short and sweet im new to sfml, not programming. But im using vb.net 2010 and I want to be able to load a sound/music file on startup. The sound and music file i want to play is located in my application.startup path? please help.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: .net sound and music?
« Reply #1 on: December 25, 2012, 07:48:50 pm »
And what's your problem?
Laurent Gomila - SFML developer

daxterxx

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Re: .net sound and music?
« Reply #2 on: December 28, 2012, 08:59:19 pm »
I cant seem to find a tutorial on it for .net and the samples dont work. I cant figure it out

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: .net sound and music?
« Reply #3 on: December 28, 2012, 09:14:20 pm »
the samples dont work. I cant figure it out
If you'd say what doesn't work, instead of just stating that it doesn't work, we could actually help you out... ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

daxterxx

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Re: .net sound and music?
« Reply #4 on: December 29, 2012, 02:54:41 am »
This is getting off topic. Id simply like to know how to use the sfml in visual basic.net. Thank you

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: .net sound and music?
« Reply #5 on: December 29, 2012, 09:42:28 am »
There's no tutorial for .Net, but the C++ tutorials and documentation can almost directly be translated to .Net. There are only a few minor design and naming changes.

The samples do work. If they don't, you're doing something wrong.
Laurent Gomila - SFML developer

daxterxx

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Re: .net sound and music?
« Reply #6 on: January 13, 2013, 06:08:48 pm »
How to I use this with vb.NEt then?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: .net sound and music?
« Reply #7 on: January 13, 2013, 06:35:42 pm »
Use what? Have you read the docs? What don't you understand?
Laurent Gomila - SFML developer

daxterxx

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Re: .net sound and music?
« Reply #8 on: January 13, 2013, 09:27:59 pm »
Iv read everything to the point were I can recite to you every last word. None of the examples work for me, they all crash on startup, and im trying to just simply play a sound file, weather it be a music file or sound i dont care. I just want to see if this works in vb.net

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: .net sound and music?
« Reply #9 on: January 13, 2013, 10:57:13 pm »
Can you show your code? Provide more information about the crash? What does the debugger say? Any error in the standard output?
Laurent Gomila - SFML developer

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: .net sound and music?
« Reply #10 on: January 13, 2013, 10:58:39 pm »
If you want actual help, then you start by describing extremly pedantic what you did from the beginning to the end.
As of now the only thing we know for certain is, that "It doesn't work"... ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/