A game where the action is viewed from a side-view camera angle. On-screen characters generally move from the left side to the right.

learn more… | top users | synonyms

12
votes
3answers
542 views

How do I deal with the problems of a fast side-scroller?

I'm making a side scrolling airplane game and when I begin going very fast I begin to experience some problems as a player: Elements are not distinguishable, like power-ups from bullets, etc I start ...
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 ...
11
votes
4answers
1k views

Side scroller terrain generating and scrolling [duplicate]

I am creating a side scroller game for android devices but I encountered a problem. The game looks like this: The black dot is a player. Player's x doesn't change, only the y does. When the player ...
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 ...
9
votes
4answers
4k views

Variable height jumping in side scrollers

How can I have the player jump higher if the jump key is held down longer? I am currently just reducing gravity as long as the key is held and the player is jumping, but this looks odd.
9
votes
2answers
3k views

XNA 2d Camera Scrolling - why use matrix transform?

I am making a test game where I want the level to be constantly scrolling. To create this effect I have established a camera class which simply stores a vector2 position and an enum direction. It also ...
9
votes
2answers
1k views

How can I randomly generate 2D tile-based side-scroller terrain?

I want to randomly generate a map for a 2D sidescroller game using the following tileset: I have found a few great articles on the bitmasking process, for example: ...
8
votes
3answers
582 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 ...
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 ...
7
votes
2answers
1k views

Question about top down/side scrolling!

I know that its just the background that scrolls and the player pretty much stays centered. What I am wondering what technique is more correct when I am implementing a large side scrolling map (I am ...
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 ...
6
votes
2answers
494 views

Collision Detection/Response in Vector-based levels

I have a 2D side scroller whose levels are stored as vectors (that is, a bunch of lines) which looks like this: How would I detect that I'm colliding with one of these lines, and react accordingly ...
5
votes
5answers
518 views

Generating a map in runtime for a simple top-scrolling racing game

I'm creating a simple top-scrolling racing game. The concept is quite simple - the player controls the car, which goes on a dynamically generated field with square blocks. Once the car hits a car, the ...
5
votes
3answers
930 views

Can I swap out Farseer physics fixtures at runtime?

I am working on a 2D side-scroller using Farseer Physics Engine v3.3.1. In order to create a realistic physical skeleton for the player, I am using a method similar to the one explained here (See ...
5
votes
1answer
258 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 ...
5
votes
1answer
2k views

How do I implement side scrolling in a javascript platformer?

I'm building a side scrolling platformer with Javascript and the canvas element for a school project. I have the character all sorted out. He runs left and right, and has a different sprite set for ...
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: ...
4
votes
1answer
601 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
431 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 ...
3
votes
2answers
600 views

Stop map from scrolling but let player still move?

I have a basic method of scrolling around on a map (moving the map instead of the player), but at when the player gets to a certain proximity to the edge, how do you stop the map from scrolling, but ...
3
votes
2answers
1k views

Flash AS3 sidescrolling tiles optimization

I'm trying to make a sidescrolling game in Flash that will run on a low performance laptop. While studying the subject from Tonypa I saw that he builds a Bitmap by making copys of the BitmapData of ...
3
votes
3answers
545 views

3D Side-Scrolling Shooter: to use or not to use Lua scripting?

I'm programming a Side-Scroller, and I've reached the point where I need to program the enemy behaviour. I don't know what I should choose between hard-coding the enemy ships' behaviour or using a ...
3
votes
2answers
2k views

Implementing camera for 2d side scroller game?

I'm implementing a 2D side scroller for iOS (using C/C++ with OpenGL) (beat'em up style like double dragon/final fight ). My scenes are composed of one cyclical background image ( the end of the ...
3
votes
1answer
681 views

Can world depth be achieved in a side scroller?

I tend to build games with strong stories, which usually involves quite an indepth world environment. Typically I develope typical 2.5 over head view JRPG style (think Zelda, Final Fantasy 3, etc) ...
3
votes
1answer
9k views

How to use rigid bodies for characters?

First off, I am making a game similar to SSB, which relies heavily on physics, even though it is a sidescroller. I am currently using Unity. In Unity there are "character controllers" which are used ...
3
votes
2answers
2k views

Different camera movement methods in a 2d- side-scrolling game that makes it fun

Possible reference to this question, but I want specific answers pertaining to Side-scrollers. IMO, side-scrollers can be classified as Player doesn't move, the background graphics move to fake ...
3
votes
1answer
130 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 ...
3
votes
1answer
715 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 ...
3
votes
2answers
409 views

Silverlight scrolling with camera

I'm trying to get my head around scrolling a 2D map that uses a physics engine. If I was to launch a projectile, would I actually be applying the physics to the background images rather than the ...
2
votes
5answers
1k views

How should I implement side-scrolling level design?

I'm working on a college project using the educational Java framework Greenfoot, and as stated above we're making an r-type clone. I've been looking at using an array of strings to populate the ...
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 ...
2
votes
2answers
509 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 ...
2
votes
2answers
790 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 ...
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, ...
2
votes
1answer
683 views

Moving a big set of box2d bodies in an iOS endless side-scroller game (such as Canabalt)

I am working on an iOS endless-running game (Robot Unicorn, Canabalt, etc). I'm using box2d for the Physics and Collision Checking and cocos2d for graphics. To achieve the notion of an endless level, ...
2
votes
2answers
1k views

Best method for 2 layer tile based map scrolling

What is the best general approach to implement scrolling for a 2D tile based game? I need to scroll the map with a constant speed, lets say 2 pixels every frame (like in a top down shooter). The ...
2
votes
1answer
716 views

Question About Scrolling A Tilemap In C++/SDL/OpenGL

I been working with scrolling this week but I recently encounter a problem that I don't understand why it's happening. In a 2D scroller I want to scroll a tilemap pixel per pixel which gives a smooth ...
2
votes
1answer
1k views

Best Method to Create Side Scrolling Levels? - Cocos2D

I am looking to start my first side scroller project using Cocos2D, but I am curious. What is the preferred/best method of creating you levels? For large levels I see hand making it very laborious, is ...
1
vote
1answer
534 views

Handling player/background movements in 2D games

Suppose you have your animated character controlled by the player and a 2D world (like the old 2D side-scrolling games). When the user presses right on the keyboard, the background is moved to the ...
1
vote
1answer
87 views

Drawing chunks, and positioning the camera

I've seen many questions and answers regarding how to draw tiled maps but I can't really get my head around it. Many answers suggest either loading the visible part of the map, or loading and ...
1
vote
1answer
929 views

haxe level scrolling

How would level scrolling be implemented with haxe and nme? I started plying with haxe and currently the only way to display things on screen is by using nme.display.Sprite. I don't think changing ...
1
vote
1answer
274 views

Saving a list of points into a text file

I recently posted a question about this, but was not really sure where to go. I've gotten some progress, and have generated some simple noise here: http://pastie.org/5408655 That works well enough ...
1
vote
1answer
215 views

Game Physics: Implementing Normal Reaction from ground correctly

I am implementing a simple side scrolling platform game. I am using the following strategy while coding the physics: Gravity constantly acts on the character. When the character is touching the ...
1
vote
3answers
105 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 ...
1
vote
1answer
2k views

Implementing Scrolling Background in LibGDX game

I am making a game in LibGDX. After working for whole a day..I could not come out with a solution on Scrolling background. My Screen width n height is 960 x 540. I have a png image of 1024 x 540. I ...
1
vote
1answer
155 views

How do I ensure that my 2D side-scroller camera stays within the world bounds?

I have tried implementing a basic 2D sidescroller camera in XNA, but I don't want it to be able to scroll past the edges of my tile map! I tried to fix it, but when I get the left side working, the ...
1
vote
1answer
166 views

Python + Pygame - Collision problems

I'm currently developing a game in Python + Pygame and i came up with a problem with the player and the platforms. The game is a 'runner' where the player it's fixed (The 'x' position isn't variable, ...
1
vote
1answer
179 views

Horizontal scroll only part of the view

I would like to know the best way on how to implement horizontal scrolling to only part of the view and vertical scrolling to complete view. I was able to achieve horizontal and vertical scrolling to ...
1
vote
2answers
565 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. ...
1
vote
1answer
810 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); ...