-
as seen on Game Development
- Search for 'Game Development'
My OpenGL setup is somehow configured to work like so:
(-1, 1) (0, 1) (1, 1)
(-1, 0) (0, 0) (1, 0)
(-1, -1) (0, -1) (1, -1)
How do I configure it so that it works like so:
(0, 0) (SW/2, 0) (SW, 0)
(0, SH/2) (SW/2, SH/2) (SW, SH/2)
(0, SH) (SW/2, SH) (SW/2, SH)
SW as Screen Width.
SH as Screen…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm thinking about switching from SDL to SFML, but before I do I want to know which is better. I'm mainly looking for easy sound/music, sprite rotations that are easy on the framerate/cpu, portability, and ease of installation.
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Compiler: Visual C++
OS: Windows 7 Enterprise
For some reason, Window::SetFramerateLimit isn't limiting the frame rate in the app I'm working on, but it works fine for others. The framerate is capped to 60, but mine jumps around at 100-99 and then goes down to 50 sometimes. It actually causes serious…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Is there a way to create a plasma effect in SFML that doesn't slow my framerate to a crawl?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Lets say I have 4 images and I want to use these 4 images to animate a character. The 4 images represent the character walking. I want the animation to repeat itself as long as I press the key to move but to stop right when I unpress it. It doesn't need to be SFML specific if you don't know it,…
>>> More