Simple and Fast Multimedia Library - a free, portable API that provides access to graphics, input, audio, etc.
44
votes
8answers
2k views
How can you put all images from a game to 1 file?
I've just finished a basic RPG game written in C++ SFML, I've put a lot of effort into the game and I'd want to distribute it, however I've ran into a small issue.
Problem is, I have well over 200 ...
11
votes
3answers
1k views
Python Performance vs Game Maker
I was originally thinking of creating a game with Python and SFML. I understand Python is slow compared to C++, but how is it compared to Game Maker?
The main reason I ask is I recently played a Game ...
9
votes
5answers
451 views
Do you need expensive servers and fancy hosting in order to make a multiplayer game?
I've finished working on an RPG and it would seem so much more fun to make it multiplayer. SFML has a networking feature, I figured it's possible but then again, never in my life have I even tried ...
8
votes
4answers
762 views
Collision rectangle response
I'm having difficulties getting a moveable rectangle to collide with more than one rectangle.
I'm using SFML and it has a handy function called intersects which takes 2 rectangles and returns the ...
7
votes
2answers
848 views
Better animation of elements in SFML/C++
This is not about animating individual characters or elements, I'm happy with spritesheets for that. What I'm looking for is the animation of elements on screen.
For example my game starts and the ...
6
votes
1answer
89 views
Get SFML to report the version of OpenGL that is being used
How can I get SFML to report the version of OpenGL that is being used by the render window?
5
votes
1answer
910 views
Is it possible to use SFML with the Android NDK?
I've started using SFML recently and I absolutely love it. I'd like to make games that could be ported to android, linux, mac and windows, but it seems that SFML lacks portability.
I've searched for ...
3
votes
1answer
466 views
Fast, accurate 2d collision
I'm working on a 2d topdown shooter, and now need to go beyond my basic rectangle bounding box collision system.
I have large levels with many different sprites, all of which are different shapes and ...
3
votes
3answers
235 views
Current library situation
Allright so I've been doing some searches, here what I got:
SDL: It is a standard, very mature but very old. (I got posts of late 2009 where they were still waiting for the 1.3 to come up...we are ...
3
votes
5answers
1k views
Does SFML support these specific features that I require?
I've been working on a game in c++ for about a week and a half, and I've been using SDL. However, my current engine only needs the following from whatever library I use:
enable double buffering
load ...
3
votes
1answer
193 views
How could I implement my library/game to run in a browser plugin?
I usually code cross-platform, to build as native code for Mac Linux and Windows,
but I clearly see the value in being able to display my game in a browser.
Could you guide me in doing such a task? ...
2
votes
2answers
312 views
how to keep a GUI on-screen without moving or resizing it according to camera movement
Hey i'm trying to make a GUI lib with SFML, and everything's done except one problem: Making the Interface stay still even when the camera moves or zooms in/out.
This would be easy to fix if zooming ...
2
votes
3answers
753 views
Question about “Entity System” design
I am developing a top down 'thing' in SFML and C++ and was wondering about how best to handle so called Entities in my game.
An entity, for example is defined by me as an object in-game, such as a ...
2
votes
1answer
1k views
glCreateShader causes segmentation fault
I can't create a shader when trying to use shaders with sfml. The function glCreateShader(GL_VERTEX_SHADER); causes a segmentation fault. At first I googled it and found that it does that when the ...
2
votes
1answer
2k views
Converting 3D coordinates to 2D and back?
I'm wondering if there is a simple way to convert 3D coordinates to 2D coordinates. Also, if it's possible, to convert in the reverse direction.
I'm using OpenGL(GLUT) in my C++ project.
I am also ...