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

Author Topic: Link to the documentation at some points in the tutorials  (Read 6454 times)

0 Members and 1 Guest are viewing this topic.

AlexAUT

  • Sr. Member
  • ****
  • Posts: 396
    • View Profile
Link to the documentation at some points in the tutorials
« on: August 26, 2014, 09:30:23 pm »
Yesterday I was looking for the supported file formats by SFML and found this sentece in the "Sprites and textures" tutorial

Quote
SFML supports the most common file formats. The full list is available in the API documentation.

I think it would be nice if there is a link to the documentation to see the full list.


Edit1: same for audio would be nice



AlexAUT

Hapax

  • Hero Member
  • *****
  • Posts: 3379
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: Link to the documentation at some points in the tutorials
« Reply #1 on: August 27, 2014, 12:06:47 am »
Image, Texture
Quote
The supported image formats are bmp, png, tga, jpg, gif, psd, hdr and pic.
Some format options are not supported, like progressive jpeg.
https://github.com/SFML/SFML/blob/master/include/SFML/Graphics/Image.hpp

Music, SoundBuffer
Quote
Here is a complete list of all the supported audio formats:
ogg, wav, flac, aiff, au, raw, paf, svx, nist, voc, ircam, w64, mat4, mat5 pvf, htk, sds, avr, sd2, caf, wve, mpc2k, rf64.
https://github.com/SFML/SFML/blob/master/include/SFML/Audio/Music.hpp
https://github.com/SFML/SFML/blob/master/include/SFML/Audio/SoundBuffer.hpp

(as of 26 August 2014)
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

Ixrec

  • Hero Member
  • *****
  • Posts: 1241
    • View Profile
    • Email
Re: Link to the documentation at some points in the tutorials
« Reply #2 on: August 27, 2014, 12:42:06 am »
I think he was suggesting those links be put into the tutorials themselves.

But since the full list of audio formats has been posted, it's worth mentioning that libsndfile will be dropped at some point (https://github.com/SFML/SFML/issues/604) so that list will probably change.

AlexAUT

  • Sr. Member
  • ****
  • Posts: 396
    • View Profile
Re: Link to the documentation at some points in the tutorials
« Reply #3 on: August 27, 2014, 12:46:21 am »
I think he was suggesting those links be put into the tutorials themselves.

Yeah, sry if it was a bit unclear.


AlexAUT

Hapax

  • Hero Member
  • *****
  • Posts: 3379
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: Link to the documentation at some points in the tutorials
« Reply #4 on: August 27, 2014, 01:09:57 am »
I think he was suggesting those links be put into the tutorials themselves.
Yeah, I did think that (it probably should be there) but I thought it should be here until then in case someone in the future searches the forum for this information.
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Link to the documentation at some points in the tutorials
« Reply #5 on: September 23, 2014, 07:22:35 pm »
I guess it doesn't hurt to add the links for the relevant stuff. :)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything