1
vote
3answers
93 views

2D Side Scroller Game Without A TileMap

I want to create a 2D side scrolling game in a similar style as the game "Castle Crashers". (Go to: http://store.steampowered.com/app/204360/ to see some pics of the game). I have experience ...
12
votes
1answer
1k views

In platformer games, what are “hole in the ground” obstacles called?

In most jump and run games, holes in the ground are common obstacles: You need to jump over them, or you'll fall down and lose a life. It would be helpful to know for documentation, variable naming ...
3
votes
1answer
412 views

How do I make a 2D character aim their gun toward the mouse?

Heli Attack is a perfect example of the shooting mechanic I'd like. The character aims perpetually toward the mouse. What's going on here? From what I've read so far, you could separate the arm and ...
8
votes
3answers
579 views

Can I jump from A to B?

I'm making some rudimentary AI for my side-scroller and I need to know whether an AI unit can reach point B from point A simply by taking a jump. Flight trajectory of my characters is a bit unusal as ...
0
votes
0answers
205 views

2D Sidescroller camera

I'm using OpenGL. For my tiles, I'm using a display list and I'm just using immediate more for my player (for now). When I move the player, I want to center him in the center of the window, but allow ...
0
votes
0answers
15 views

How should I go about making a tile map in Allegro? [duplicate]

How do I make a tile map for Allegro?
2
votes
2answers
507 views

2D game big background images for maps

Update: this question is general, not specific to Sprite Kit or a single language/platform. I'm toying with Sprite Kit with an idea to make a 2D side-scroller. Now the backgrounds for the maps are ...
3
votes
1answer
129 views

Smoothing the scrolling path in 2D

I have the following problem: In a 2D game the screen can scroll in any of the 4 directions. Basically, the center of the screen during scrolling moves from (x1,y1) to (x2, y2) whereby (x1,y1) is the ...
2
votes
2answers
786 views

How do I create curved ground in a 2D runner game?

If I use tiled based map I can have only rectangular objects. What is a strategy for creating slanted or curved ground in that case? Should I use a tile-based map, or should I define corner points ...
0
votes
1answer
58 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 ...
0
votes
1answer
274 views

Why do I see this “ghosting” effect with my sprite in SDL?

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 ...
5
votes
1answer
257 views

Handling Different Aspect Ratios for a Multiplayer Game

I'm currently designing a competitive 2D, side-scrolling multiplayer game and I want support full screen play at any aspect ratio (e.g., 4:3, 5:4, 16:10, 16:9). Doing that is not so much a problem, my ...
4
votes
1answer
594 views

Mario like jumping and landing in box2d, help

I've been trying to get Mario type jumping/landing in a Box2d game and it's been giving me some trouble. Results: Player loses velocity on landing Desired Results: When player lands it will continue ...
3
votes
1answer
714 views

Procedurally generated 2d terrain for side scroller on Sega Genesis hardware?

I'm working on the Sega Genesis that has a 8mhz Motorola 68000 CPU. Any ideas on how to generate fast and decent 2d tile terrain for a side scroller in real time? The game would generate new columns ...
0
votes
1answer
2k views

How to create a simple side scroller game [duplicate]

Possible Duplicate: How to create games with scrolling? I'm still pretty new to game programming and any tutorial that I have worked with stuck to only games with the initial screen. I want ...
1
vote
2answers
564 views

Bullet physics in python and pygame

I am programming a 2D sidescroller in python and pygame and am having trouble making a bullet go farther than just farther than the player. The bullet travels straight to the ground after i fire it. ...
2
votes
2answers
1k views

2D side scroller - How to implement X/Y movement?

I'm currently writing a small 2D, side-scroller-ish kind of game. I have a simple camera that follows the player around and the physics are ready. I'm using 32x32 tiles that build out the world, ...
7
votes
3answers
2k views

Should I move the world or move the player?

I'm about to start developing a sidescrolling game where the players goal is to travel as far as he can in the horizontal axis before touching down. Note that I do not need to ever travel back on the ...
0
votes
1answer
2k views

Android sidecroller template

I want to create a sidescroller game for Android but it seems stupid to reinvent the wheel and since there are a lot of android sidescroller games already out I though that there must be some sort of ...
1
vote
1answer
808 views

Problem with scrolling background in one OpenGL loop

I have 960x3000 map image in png and I'm scrolling it in a loop like this (it's called in 60 FPS loop): glPushMatrix(); glBindTexture( GL_TEXTURE_2D, mapTex[iBgImg]); glBegin(GL_QUADS); ...
2
votes
4answers
3k views

Scrolling background loop

I'm trying to scroll my background forever and so I'm using the background image twice. When the first one goes off screen, it should relocate to the end of the second one. However, there seems to be ...
10
votes
4answers
5k views

Drawing large 2D sidescroller level terrain

I'm a relatively good programmer but now that it comes to add some basic levels to my 2D game I'm kinda stuck. What I want to do: An acceptable, large (8000 * 1000 pixels) "green hills" test level ...
4
votes
1answer
2k views

Farseer and 2D Action sidescroller game

I'm thinking about using Farseer inside my game (I'm not good in physics), which isn't a bad idea. However something happened while I was thinking about that, I found this tutorial: ...
6
votes
3answers
6k views

2D Side Scrolling game and “walk over ground” collision detection

The question is not hard, I'm writing a game engine for 2D side scrolling games, however I'm thinking to my 2D side scrolling game and I always come up with the problem of "how should I do collision ...