A platform game (or platformer) is a video game characterized by requiring the player to jump to and from suspended platforms or over obstacles.
-1
votes
0answers
76 views
What's the idea on the base of rendering camera on 2D platformers games? [closed]
I'm programming a 2D platformer game, and I am wondering about how the right to left scrolling of the camera is done in a game like this.
There is a background that need to be updated. There are also ...
2
votes
3answers
85 views
Determining which edge a collision occurred on in a platformer
First of all, this will be Open Source, and you will be mentioned for the help.
We've been programming a Super Mario Remake for the iPhone with Cocos2d for school.
It looks pretty great, and we ...
2
votes
2answers
52 views
What is the best way to close dialogs in a platform game controlled by keyboard only
I'm developing a flash puzzle platform game in my free time and I got stuck on deciding how to implement a feature. The game will be controlled by keyboard only, no mouse available.
My game will have ...
0
votes
3answers
134 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
184 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 ...
3
votes
1answer
123 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
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 ...
1
vote
3answers
132 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 ...
2
votes
1answer
121 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 ...
0
votes
1answer
56 views
Putting a 2d camera into a gamestatemanagement sample [closed]
Hello everyone i am new to xna and i am trying to implement a simple 2d camera that follows my sprite around the level i am using a gamestatemanagement so i have the basic platformer with screen ...
-5
votes
1answer
91 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 ...
0
votes
1answer
152 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
231 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 ...
1
vote
1answer
289 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
83 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
307 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
121 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 ...
-1
votes
2answers
182 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
151 views
How to make AABB collisions work? [closed]
I am unable to make efficient AABB collision in XNA 4. I am making a platformer, with tile based map.
Here is what I do in my tile class :
public virtual void Update(GameTime gameTime, ...
1
vote
4answers
863 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 ...
1
vote
2answers
294 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
442 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) ...
0
votes
0answers
128 views
An “AABB Physics Engine” [closed]
I've been working on the physics for my 2D game and for the past two weeks it's been doing my head in. I wanted something a little more complicated than what you see in 2D platformers, but I wanted to ...
6
votes
2answers
560 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
176 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
122 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
206 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 ...
3
votes
2answers
3k views
Starting Java 2D Platformer using LWJGL
Getting started on a 2d platforming project in java. I've decided on using LWJGL and OpenGL, but I don't quite know where to start. What is typically the first thing one would work on with a ...
1
vote
1answer
42 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
138 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):
...
5
votes
2answers
321 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 ...
7
votes
3answers
276 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 ...
0
votes
0answers
80 views
Managing shots of the player [closed]
I'm currently developing a 2D Jump'n'Run and the situation is the following: The player has different weapons he can collect and is then able to shoot the weapon's projectiles (laser, rockets, ...
1
vote
2answers
1k views
Box2D Platform body not moving player body along with it
I am creating a game using Box2D (Javascript implementation) - and I added the ability to have a static platform, that is moved along an axis as a function of a sine.
My problem is when the player ...
0
votes
1answer
117 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!)
...
0
votes
1answer
155 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
266 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
246 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
405 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 ...
22
votes
6answers
4k views
A way to store potentially infinite 2D map data?
I have a 2D platformer that currently can handle chunks with 100 by 100 tiles, with the chunk coordinates are stored as longs, so this is the only limit of maps (maxlong*maxlong).
All entity positions ...
0
votes
1answer
267 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
207 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
295 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
1answer
798 views
How do I implement smooth movement in a Box2D platform game?
I have implemented a character in JBox2D which moves with the help of a wheel rotating at the bottom of it. The movement is the best result I've had 'till now but it's a little glitchy when the ...
3
votes
2answers
683 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.
...
0
votes
1answer
216 views
World Location issues with camera and particle
I have a bit of a strange question, I am adapting the existing code base including the tile engine as per the book: XNA 4.0 Game Development by example by Kurt Jaegers, particularly the aspect that I ...
1
vote
2answers
196 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 ...
7
votes
8answers
2k views
How do I prevent my platformer's character from clipping on wall tiles?
Currently, I have a platformer with tiles for terrain (graphics borrowed from Cave Story). The game is written from scratch using XNA, so I'm not using an existing engine or physics engine.
The tile ...
2
votes
1answer
445 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
284 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 ...

