Tagged Questions
0
votes
1answer
30 views
SDL text or additional images not loading
I've got a basic side scroller that allows the user to run and jump around. I've used various tutorials to get this far, but I can't seem to get any text to render, no matter what method. I also can't ...
-1
votes
0answers
41 views
SDL: No sprite movement [closed]
I've got my sprite animation but now I'm lacking any actual movement on the screen. Sorry about pasting around 200 lines of code but it's all relevant in the case (at least I think it is!). I think ...
0
votes
0answers
84 views
SDL - Sprite “Ghosting”
I'm using SDL to create a 2D side-scrolling platformer, but I'm getting ghosting from the sprite. I'm not used to programming with graphics or SDL so excuse any stupid remarks I make.
Here's the ...
4
votes
3answers
336 views
Smooth Sprite Movement - Don't Add Velocity to Position?
I am trying to figure out if there is a way to move a sprite smoothly on the screen at different speeds without stuttering, but keeping the effect that it's moving smoothly; especially at faster ...
1
vote
2answers
131 views
How do I cap rendering of tiles in a 2D game with SDL?
I have some boilerplate code working, I basically have a tile based map composed of just 3 colors, and some walls and render with SDL. The tiles are in a bmp file, but each tile inside it corresponds ...
0
votes
1answer
318 views
2d Game using monotouch?
I'd like to make a 2d game and I like SDL but I don't think there is an SDL for monotouch. Whats the closest solution?
10
votes
2answers
576 views
What should I worry about when changing OpenGL origin to upper left of screen?
For self education, I'm writing a 2D platformer engine in C++ using SDL / OpenGL. I initially began with pure SDL using the tutorials on sdltutorials.com and lazyfoo.net, but I'm now using SDL to ...
5
votes
3answers
914 views
What features do basic particle engines have?
I created a basic particle system for SDL in C++. It has some basic stuff like an emitter, as well as a simple particle class. It can load a image, or create a dot of a color. And that's it. What ...
7
votes
1answer
1k views
Turn-based JRPG battle system architecture resources
The past months I've been busy programming a 2D JRPG (Japanese-style RPG) in C++ using the SDL library. The exploration mode is more or less done. Now I'm tackling the battle mode.
I have been unable ...
2
votes
1answer
251 views
Draw Bug 2D player Camera
EDIT *Along with the Palindromes helpful response, I found that my bug was because I was calculating the camera coordinates in terms of tiles instead of pixels which caused the irregular motion.*
I ...
2
votes
0answers
147 views
What is causing this behavior with the movement of Pong Ball in 2D? [closed]
//edit after running it through the debugger it turned out i had the display function set to x,x...TIL how to use a debugger
I've been trying to teach myself C++ SDL with the lazyfoo tutorial and ...
2
votes
3answers
854 views
OpenGL & SDL textures… game shuts down
I'm going to create a game in C++ with SDL & openGL but adding textures won't work.
the code is in some different classes.
here's the main file
...
2
votes
2answers
839 views
Problem With Smooth Animation In C++/SDL/OpenGL
I been working in the animation of a 2D platformer game in C++/SDL/OpenGL, and my team and I reach the point where we need to establish that every animation of the player (Walking, Running, etc..) ...
2
votes
3answers
1k views
Question About An Implementation Of Parallax Scrolling In C++/SDL/OpenGL
I been working in a project with a team for a Software Engineering class and we think that using the parallax scrolling will help our game to look really nice but we are not really sure if our idea ...
5
votes
2answers
13k views
Making a 2D Platformer in C++/SDL. Looking for tutorials/examples/resources
I have a lot of experience with C++, but I have no experience with game programming. This summer I plan to create a 2D platformer from scratch using C++/SDL for the learning experience. I am looking ...
5
votes
4answers
2k views
2D Platformer Collision Handling
I am trying to create a 2D platformer (Mario-type) game and I am some having some issues with handling collisions properly. I am writing this game in C++, using SDL for input, image loading, font ...