A platform game (or platformer) is a video game characterized by requiring the player to jump to and from suspended platforms or over obstacles.

learn more… | top users | synonyms

1
vote
3answers
208 views

Gravity independent of game updates per second

Edit Just for clarification, my sprite's 'movement' isn't the problem. If I set my Time variable to 4 seconds, then it will cross the screen in exactly 4 seconds regardless of logic updates rate per ...
-1
votes
1answer
358 views

How was traditional 2D collision detection/resolution being done? [closed]

Just out of pure curiosity, I'm wondering how classic 2D games of the 80s/90s (The Legend of Zelda, Super Mario, Warcraft, ...) approached collision detection/resolution. For some reason I can't ...
0
votes
0answers
240 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 ...
2
votes
1answer
297 views

How to do 2D Raycasting on a slope

I have a 2d platformer game where my slope can be set at any angle, so I've setup a middle raycast that points to the ground onto the player to handle the collision. This works perfectly fine on a ...
1
vote
3answers
187 views

Creating an update “Tick” on tiles for simulating growth of plants

In my 2D tile based platformer I have added plants to be able to farm such as the simplest, grass, to other things like corn. Now each of these speacial tiles must be updated to show how much it has ...
-5
votes
1answer
132 views

camera2d class will not work [closed]

using System; using System.IO; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using ...
1
vote
1answer
664 views

UML Class Diagrams for 2D platformer Games? [closed]

I have to develop a small arcade game in C++ for a college assignment using a 2D Game Engine my teacher coded. What would be the best way to make a UML class diagram for it? It's very basic stuff but ...
1
vote
0answers
93 views

Developing a simple platformer [closed]

I'm in uni and for coursework we're developing a simple platform game in C# using XNA. I've been looking forwards to starting this all year. Does anyone have any advice on the best books to pick up ...
0
votes
5answers
390 views

Should my platformer have collectibles? [closed]

By collectibles, I mean objects that you collect mainly for the sake of collecting them, not to power up. Think coins in Super Mario or bandages in Super Meat Boy. I've seen a few platformers that do ...
-1
votes
1answer
193 views

Pixel perfect collisions for platforms

i'm trying to do a pixel perfect collision but i don't know how to handle collisions when there is a jump . Here i have one image of a sample map: But maybe I've done a bad supposing all pixel like ...
2
votes
2answers
751 views

Implementing tile-based movement on 2D platformer

I'm trying to make a cinematic platformer, in the veins of the first two Oddworld games, Flashback, Prince of Persia, Blackthorne and so on. This article describes very well how this kind of movement ...
3
votes
1answer
162 views

'perfect' platformer base Xna

When a player touches a ground peice in a game, he seems to sink through the ground then slowly rise back up, and when he has risen back up, he is very jittery. if (touchingTheGround()) { ...
0
votes
2answers
270 views

Making The Player Stop Bouncing And Stop Sinking In The Ground In A Platformer XNA

Heres a problem i've been having. I have a platformer, and whenever my player hits the ground he keeps bounding. Here's the falling code iceBoy.moveY++; iceBoy.position.Y += moveY; Now heres the ...
0
votes
1answer
215 views

Create Random Platformer-Gameworld

Evening. I created a xna-game like the iOS Platformer game "Banana Kong". The level-layers are currently saved as XML files. Example: <level> <layer1> <tile type="0" ...
2
votes
2answers
758 views

Non-physics character movement in a Box2d Environment

I am in the process of creating a physics platformer. However, I want the player movement to feel very old-school(as in: non-physics like), which means that the character: Should always move equally ...
2
votes
1answer
1k views

Stopping on a slope in Box2d

I am creating a simple platformer using Box2d. I've implemented a variant of the technique described here. To make the player character move more 'platformer-like' I want him to stop on (shallow) ...
7
votes
2answers
1k views

How could you create climbing movement in a 2D platformer?

Basically what I want to do is have a playable character that is able to "walk" on an organic surface at any angle, including sideways and upside-down. By "organic" I mean I want my levels to have ...
1
vote
1answer
329 views

How do I make camera follow the player within some bounds?

I am creating a simple ambient/explorer platformer. Because I want the player to only be able to see a new area once they have reached it, I decided to split up the world in rooms. To not make things ...
1
vote
1answer
156 views

How to handle sprite speed when objects move using Box2d?

I have a basic platformer using Box2d that works great. However, I now want to stop using my default square, and implement some running and jumping animations. How can I ensure that: When running, ...
2
votes
1answer
396 views

How to make a character in a Box2D world jump faster?

I have a question about using Box2D to simulate a physics-platformer. I manage to make the character move to the right and left, and jumping as well. However, jumping seems extremely slow when ...
1
vote
1answer
51 views

Flixel level ceases to show on screen

I was following along with the EZPlatformer flixel tutorial(with some of my own modifications), and suddenly find that my level is not appearing on screen. I am unable to detect any changes I could ...
4
votes
2answers
162 views

Why is my collision resolution failing on the corners?

I'm tearing my hair out trying to work out how to handle my collision resolution at the corners of the rectangles that I'm colliding with. The code that I'm working with is: class Player(object): ...
6
votes
2answers
499 views

“Super meatboy”-ish replay

I'm making a platformer built from mini-levels - and I want to create a sort of a replay of all the player tries that the player did for the level. My question is - what is the best way to record the ...
9
votes
3answers
498 views

Impulsioned jumping

There's one thing that has been puzzling me, and that is how to implement a 'faux-impulsed' jump in a platformer. If you don't know what I'm talking about, then think of the jumps of Mario, Kirby, and ...
1
vote
4answers
2k views

Tile-based maps in AS3

I want to make a tile-based platformer in AS3. I want my game to read an external maps file (in xml or json or somethimg similar) to draw a tile-based map. I've seen loads of tutorials for this in ...
0
votes
1answer
166 views

Storing large array of tiles, but allowing easy access to data

I've been thinking about this for a while. I have a 2D tile bases platformer in XNA with a large array of tile data, I've been running into memory problems with large maps. (I will add chunks soon!) ...
1
vote
1answer
201 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 ...
0
votes
1answer
478 views

Platform game collisions with Block

I am trying to create a platform game and doing wrong collision detection with the blocks. Here's my code // Variables GTimer jump = new GTimer(1000); boolean onground = true; // The update method ...
2
votes
1answer
482 views

What's the best way to handle slopes for a platfomer game using Box2D

I would like to know if there is any known solution for handling the player's movement on slopes using Box2D engine. I tried to do it using a circle as the player. Everything was fine until I tried ...
2
votes
1answer
638 views

Trouble with AABB collision response and physics

I have been racking my brain trying to figure out a problem I am having with physics and basic AABB collision response. I am fairly close as the physics are mostly right. Gravity feels good and ...
0
votes
1answer
544 views

Artifacts when using SamplerState.LinearClamp in SpriteBatch

I'm using XNA 4.0 and VS2010 Express for Windows Phone and Windows Phone SDK 7.1. This is a platform game and I have a map made up of 16x16 textures that is drawn dynamically, tile by tile. When ...
4
votes
2answers
320 views

Detecting a ledge in Box2D [duplicate]

Possible Duplicate: Detect Open Space in Farseer How do I detect ledges? I'm making a 2D platformer with Box2D. The player needs to be able to grab onto a ledge and pull him/herself up. ...
2
votes
2answers
387 views

One-way platform collision

I hate asking questions that are specific to my own code like this, but I've run into a pesky roadblock and could use some help getting around it. I'm coding floating platforms into my game that will ...
3
votes
2answers
1k views

Platformer Enemy AI

I'm currently developing a platformer shooter. The game is multiplayer and while my net code could use some real work I have put that off for the time, so currently I'm trying to implement the AI. ...
2
votes
2answers
213 views

Platformer gravity where gravity is greater than tile size

I am making a simple grid-tile-based platformer with basic physics. I have 16px tiles, and after playing with gravity it seems that to get a nice quick Mario-like jump feel, the player ends up moving ...
0
votes
1answer
1k views

Platforming - Hanging off of cliffs and edges? [duplicate]

Possible Duplicate: Programming a climbing system like tomb raider I've been interested in platforming gameplay dynamics for a while now. What I'm trying to ask is how games like Assassin's ...
3
votes
3answers
450 views

Tile based platformer, using larger tiles?

So for my tile based platformer, It has a grid of tiles Occupying 1x1 block for each one. However, What if I want larger tiles? Maybe doors, tables, etc. They wouldnt fit in a 1x1 tile, so what I ...
4
votes
1answer
1k views

The Physics behind 2D Platformer Games? [closed]

Is there any good book or tutorial that explains the physics behind creating a 2D Platformer game? Such as tile rendering, tile map reading, collision detection, camera movement etc.?
0
votes
1answer
100 views

Tilting a platform on its axis?

I'm wondering how I can tilt a platform on it's center/axis. For example, if the player steps on the left of the center, it should tilt to that side like in this picture. Can a platform like this ...
0
votes
3answers
419 views

Code Problem Involving Vertical Movement of Platforms

I am trying to create vertical moving tiles with the Microsoft Platformer Starter Kit. My platforms can move in one direction; however, they fail to switch direction. If my platform starts at the ...
0
votes
4answers
270 views

Big level objects collision system for 2d game

I read many variants today and get some knowledge in general, so here is a steps of mine thoughts in pictures (horrible paint.net ones). We need to develop grid system, so we check only thing near, ...
2
votes
3answers
2k views

How do I structure a 2D platform level?

I'm doing a 2D platformer but I don't know how they are usually built. The approach I'm looking at is making it tilebased, with ground tiles on bottom row, then platforms on some places in "mid-air" ...
4
votes
1answer
267 views

How to cull liquids

I use culling on my Tiles in my 2D Platformer (XNA), so only ones needed are drawn on screen. Thats easy to do. However, My Liquid tiles (Water, lava, etc) require an Update Method aswell as the ...
2
votes
1answer
868 views

Handling hitboxes

So I have an issue that I'm laughing at myself about, because it really seems like it should be something that I should be able to figure out pretty quickly. I am designing a 2D action platformer; I ...
5
votes
1answer
2k views

Slopes in 2D Platformer

I'm dealing with Slopes in a 2D platformer game I'm developing in XNA Game Studio. I was really tired of trying without success, until I found this post: 45° Slopes in a Tile based 2D platformer, ...
3
votes
1answer
905 views

Platformer Starter Kit - Collision Issues

I'm having trouble with my game that is based off the XNA Platformer starter kit. My game uses smaller tiles (16x16) then the original (32x40) which I'm thinking may be having an effect on collision ...
4
votes
5answers
987 views

Should my game handle collisions in the Player object?

I'm making a 2D platform game. Right now I'm just working on making a very generic Player class. I'm wondering if it would be more efficient/better practice to have an ActionListener within the Player ...
2
votes
3answers
946 views

One-way platforms in UDK

I'm looking to make a multi-player platforming game using UDK. I'm currently doing feasibility research, to make sure I will reasonably be able to do all of the technical things I want to do. The ...
2
votes
1answer
528 views

How to load chunks of 2d map segments when player reaches a certain point?

In my 2d platformer (made with Java and Slick2d), random maps are made by combining different segments together and displaying them one after the other. My problem is that I can't load too many ...
0
votes
1answer
269 views

Platforms collide-able on one side only

I have frequently tried to make some sort of a platformer, but when I actually code it, I run into a bit of a snag. How would I be able to make platforms in the air stop objects if they hit the sides ...