Just a quick heads up. SFML has undergone some name changes. Class members are now named in camelCase. This just means that the first word of each member’s name is no longer capitalised. For example
If with new versions of SFML, you’ve been getting lots of errors like
XXX is not a member of class YYY
then this is probably why! I know it might be a pain to refactor all your code, but unfortunately if you want to keep up to date with SFML (and you should ) then you have no choice.
Hi all! Sorry then new posts still haven’t come through. I am working on it, but things are still very very hectic. Anyway, some good news in the mean time! SFML 2.0 Release Candidate is out! So it’s just going through a last phase of testing and minor changes before release. That means two main things for us:
- prebuilt binaries on the official site (I think I’ll still provide them until the final release is out)
- few (if any) public interface changes, so no more problems with tutorials becoming outdated due to new function names, etc.
If you want to try it, head over to the SFML downloads page and get it right away.
Later on today, I’ll be sending out some updated SFML binaries for Windows. Not only that, there’s going to be a brand new script for installing SFML on Unix (in particular, Ubuntu/Linux Mint, but I’m sure a little modification will have it running elsewhere). If you want to be the first to get hold of all this, remember to subscribe by email if you haven’t yet. Otherwise, they’ll be added to the downloads page in a few days.
Previously, we always checked if our SFML window was open using sf::Window::IsOpened(), which returned bool. Well, the function has recently been renamed to IsOpen(), although it appears otherwise unchanged (externally at least). So bear in mind that if you’re using a very up to date SFML snapshot, you may need to use sf::Window::IsOpen() rather than the old sf::Window::IsOpened().
- SFML 2.0 Builds (sfmlcoder.wordpress.com)
A reader suggested that I host a little competition during the leadup to Skyrim. Now, this isn’t actually a game I intend to be playing, but I’m told it’s a big thing… Anyway, it’s coming out on the 11th, so I’m going to have a little competition. Let’s see who can make the best game prototype by then! If you’re interested in competing, and indeed if you have any suggestions for changes to the competition, please do comment below.
It’s not a very long time, so I don’t expect much. Basically, what you should aim for is planning the game mechanics, the structure and – if relevant – the story. Then make a simple working prototype. Don’t worry and menus and options screens and what have you. Just focus on loading a sample level the character can run around in, or whatever is the equivalent prototype for the game you have in mind. Don’t worry too much about art, either. Just do something basic and functional “Programmers’ art”, as it is called.
Unfortunately I won’t be able to compete this time. I’m very busy and won’t have to time to put anything together in 11 days. Come Christmas I intend to have a more drawn out competition, in which I shall definitely compete! So if you’re too busy, don’t feel bad and just running through some ideas for the Christmas competition.
Now, as for rules…
- The game must use the SFML library
- It can be written in any language SFML supports, though C/C++ is preferable
- You may use other low level libraries (such as Boost, RapidXml, etc.), but make sure they are cross platform. And use your discretion – don’t use a library which does everything for you. If you’re unsure about a library, just ask!
- There is no prize as such, other than a mention on the site. I can link to your site if you want, provided it appears relevant (at my sole discretion). And also I might get a few quotes from the winner by email about his/her project to share on the site.
- You have until midnight GMT on 11th November 2011.
- To submit your entry, post a comment on this post, with a brief description of your project, and a link to it. Either host on a file sharing site such as MegaUpload, or host the source on Github or Sourceforge if you know how. Provide compiled binaries if you want, but make sure to provide the source as well – Linux users like me may have difficulty playing a game compiled for Windows!
- Judging will be by public vote, but adjustments to results may be performed if deemed necessary (at my sole discretion).
- No negotiation will be entered into regarding judging.
- If for any reason the competition needs to be cancelled I reserve the right to do so at my sole discretion
- You retain the rights to your creation, but by submitting your entry you authorise me to use your game, its story and design, and its source files, media and other data for the purposes of publicising the competition, and also afterwards for the purpose of discussion in other posts.