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

Author Topic: SFML 2.1  (Read 24844 times)

0 Members and 1 Guest are viewing this topic.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: SFML 2.1
« Reply #15 on: July 28, 2013, 08:29:30 pm »
Indeed, having automated tests would be a major improvement and a way to ensure as few regressions as possible.

But there would be so many things to test; look at this example, who would have thought to write a test for the "Alt+F4 while cursor in window" case? Sure, once you get a bug, you write the test that checks it, but generally after you get a bug it's fixed and rarely comes back.

And of course it would be very hard, and require a huge effort. But if you want to try, that's great, thanks a lot :)
Laurent Gomila - SFML developer

Yemeni Cpluspluser

  • Newbie
  • *
  • Posts: 25
  • C/C++, Soon Java and SQL ^_^
    • View Profile
    • Email
Re: SFML 2.1
« Reply #16 on: July 29, 2013, 12:02:47 am »
I love updates ^_^ it makes SFML look fresh for new fresh users like me.  ;D
I saw the change log, mostly bugs fixed in functions that I did not learn yet
I will just wait to 2.2 to download it since my ISP counts every mega byte being downloaded   >:(

sf::signature mySignature;
mySignature.setPosition(forum.x,forum.y);
window.draw(mySignature);

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: SFML 2.1
« Reply #17 on: July 29, 2013, 12:09:17 am »
I will just wait to 2.2 to download it since my ISP counts every mega byte being downloaded   >:(
That will take a while. SFML 2.1 was only released so fast, since it only contains bug fixes. SFML 2.2 will be in the works for a bit longer, since iOS and Android ports will take a bit more time to finalize.
So if you ever get a better ISP, make sure to grab the bugfix update. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Yemeni Cpluspluser

  • Newbie
  • *
  • Posts: 25
  • C/C++, Soon Java and SQL ^_^
    • View Profile
    • Email
Re: SFML 2.1
« Reply #18 on: July 29, 2013, 12:27:58 am »
I will just wait to 2.2 to download it since my ISP counts every mega byte being downloaded   >:(
That will take a while. SFML 2.1 was only released so fast, since it only contains bug fixes. SFML 2.2 will be in the works for a bit longer, since iOS and Android ports will take a bit more time to finalize.
So if you ever get a better ISP, make sure to grab the bugfix update. ;)
Not after the Telecommunication ministry stops the monopoly in the name of capitalism.
Any way thanks for the advice :) I will download it soon from my neighbor wireless network lol .
sf::signature mySignature;
mySignature.setPosition(forum.x,forum.y);
window.draw(mySignature);

ChronicRat

  • Sr. Member
  • ****
  • Posts: 327
  • C++ programmer
    • View Profile
    • My blog
Re: SFML 2.1
« Reply #19 on: July 29, 2013, 08:19:34 pm »
SFML 2.2 will be in the works for a bit longer, since iOS and Android ports will take a bit more time to finalize.
Any ideas when will be Android port? Halfyear, year or more?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: SFML 2.1
« Reply #20 on: July 29, 2013, 09:02:19 pm »
The Android port is almost finished, thanks to Sonkun.

https://github.com/Sonkun/esfml/tree/Android
Laurent Gomila - SFML developer

ChronicRat

  • Sr. Member
  • ****
  • Posts: 327
  • C++ programmer
    • View Profile
    • My blog
Re: SFML 2.1
« Reply #21 on: July 31, 2013, 12:04:12 pm »
Wow! Great news! (Or oldies... =)) Thank you and Sonkun!

netrick

  • Full Member
  • ***
  • Posts: 174
    • View Profile
Re: SFML 2.1
« Reply #22 on: August 02, 2013, 09:35:03 am »
How does for example SDL or Qt handle window input on Windows? Is there imperfect mouse left tracking as well?

Maybe it's just bug in winapi and reverting to bug #225 is the only real solution.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: SFML 2.1
« Reply #23 on: August 02, 2013, 02:12:40 pm »
How does for example SDL or Qt handle window input on Windows? Is there imperfect mouse left tracking as well?

Maybe it's just bug in winapi and reverting to bug #225 is the only real solution.
Can you please add a bit more context to your statement? Seems a bit taken out of no where and I'm not sure, if everyone can follow. :D
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: SFML 2.1
« Reply #24 on: August 02, 2013, 02:25:33 pm »
He's referring to the discussion started 10 posts ago ;)
Laurent Gomila - SFML developer

netrick

  • Full Member
  • ***
  • Posts: 174
    • View Profile
Re: SFML 2.1
« Reply #25 on: August 02, 2013, 03:54:30 pm »
Haha sorry, I forget to write that I refer to the bug #437 as Laurent said.

Manuel

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: SFML 2.1
« Reply #26 on: August 07, 2013, 02:26:28 am »
Hey Laurent, first of all thanks for the fantastic work with SFML.
Thanks to this neat library I managed to write my first C++ game and overcome my irrational fear of the language. I started out with version 2.0 and then moved on to 2.1.

Sadly, it seems there are some bugs in version 2.1 under OS X.
When I resize the window my code to keep the correct Aspect ratio seems to go crazy. It worked before in version 2.0 so I'm not sure my code is to blame. Also it seems to do nothing under Linux (SFML 2.1, Ubuntu).


I have attached a minimum example based on my main loop that reproduces the problem reliably.
Do you think it is possible to devise a work around until the issue is fixed?


Thanks again for your time!

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: SFML 2.1
« Reply #27 on: August 07, 2013, 02:48:15 am »
Sadly, it seems there are some bugs in version 2.1 under OS X.
When I resize the window my code to keep the correct Aspect ratio seems to go crazy. It worked before in version 2.0 so I'm not sure my code is to blame. Also it seems to do nothing under Linux (SFML 2.1, Ubuntu).


I have attached a minimum example based on my main loop that reproduces the problem reliably.
Do you think it is possible to devise a work around until the issue is fixed?
You should rather open a new forum topic in the help section. This thread should not be about fixing the issue at hand. ;)

When you do so, you should describe better what doesn't work with the code.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Manuel

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: SFML 2.1
« Reply #28 on: August 07, 2013, 02:50:37 am »
Good point, will make a new thread to avoid spamming up this one.