A genre of action game whose focus is on platform-based movement. It is equally present in both the 2D and 3D game worlds.

learn more… | top users | synonyms (1)

0
votes
0answers
24 views

What's the best way to deal with platformer tile collisions?

I am starting with game development and creating a basic platformer game. I already have searched a lot and found some ways to implement the platformer aspect to the game, like apply a gravity, ...
0
votes
0answers
24 views

Sub pixel Sprite jitter on moving platform

I have written a simple 2D platform game in C++. Coordinates are stored as integers, not floats. To facilitate smooth acceleration, the positions and velocities of the game objects are stored in sub ...
1
vote
1answer
34 views

LibGDX box2d - Jumping not working

I'm trying to make a platformer game using Box2D, but I can't manage to do the jumping. The source code is here: https://github.com/ZacGarby1/Platformer. I have no idea why it's not working because I ...
1
vote
1answer
41 views

Make game camera stay inside of tiled map boundaries [LibGDX]

I am creating a little 2D platform game, with the LibGDX framework. So far I have created a simple prototype level in Tiled, and loaded this map into my LibGDX game. I can use mouse and keyboard ...
-1
votes
1answer
44 views

Can someone help me with this Game Maker code

I want to make a little platformer. I watched Shaun Spalding's tutorial but nothing seems to work. Everything was fine until I put in the collision detection. But the player can't move while he's on ...
2
votes
3answers
152 views

How to test if procedurally generated level for infinite runner can be passed?

I have a 2D infinite runner platformer game built in Unity 5, where the level procedurally generates itself. I need to check if it is possible to pass the holes on the level. How could I do that?
0
votes
0answers
15 views

How to parse a and displat TMX map object in SDL using tmxparser ?/How to make a platform game using tiled editor and SDL?

I am newbie in this field getting too much trouble in simple platform game for one of my project module if you guys could help or share some code. This is what I have done till now. I could parse a ...
2
votes
1answer
62 views

What's the best way to make multiple objects of the same thing?

I am coding in C#. Due to limitations of the environment I will be working in, I cannot use any framework like the XNA Framework; only what is provided by default on Windows. I want to create ...
0
votes
1answer
46 views

XNA Platformer - Where should tile collision handling be?

I've started using XNA and am working on a simple 2D platformer (single level). However, I am stuck as to where the collision detection should be handled. Here is my current project structure: The ...
2
votes
1answer
28 views

Construct 2's Scroll-to too small?

I'm making a platformer that wants the screen to closely follow the player, and I know I need the Scroll TO behavior. However, when I tried to make the screen move to the player, I get this: As ...
1
vote
0answers
38 views

Libgdx box2d - what is the best approach to spawn an actor on a stage dynamically?

I'm currently building a 2d sprite infinite runner game, but everytime I spawn new enemy(actor) and platform, I noticed that there's a delay on it. Any idea of what would cause this behavior? I'm ...
2
votes
1answer
24 views

Spriter model not touching ground in?

I was attempting to make a game in Construct 2 by using my Spriter Models plugin. However, when I imported the model, rescaled it & changed a few things, I got this: As seen in the picture, the ...
2
votes
1answer
65 views

How do I set the Jump distance and height of my sprite in C#

I have been able to make my sprite jump for a platformer I am making in unity. I can't seem to be able to make him jump a certain height or distance though, every time he jumps it's like he's jumping ...
1
vote
0answers
54 views

How to disable static friction in Box2D?

I'm making a 2D platformer. One of the issues is that when the character hits the ground, there's an initial pause and then the character finally slows down to a halt. I believe the initial pause is ...
2
votes
3answers
86 views

How do I make my foreground tiles stand out more from the background?

(the background implemented in the game) In the game that I work on, the background and the map tiles are pretty indistinguishable for new players, probably because they have similar colors and ...
2
votes
1answer
61 views

In Game Maker, how do I make invisible platforms the player can walk on, and reveal with an item?

I'm using Game Maker and looking for help with these: I'd like to have invisible platforms and walkways for the player to move on. I want the platform to be slightly visible in this option so the ...
1
vote
0answers
70 views

How to create 2D cameras in swing?

What is the best way to create a camera for a 2D platformer using swing, and I want to create a camera that moves instead of moving the background. This is because I'm going to have objects rotated by ...
1
vote
0answers
125 views

How is curved 2d ground is implemented in real games?

I'm developing a 2d platformer (inspired by N game) and I already successfully implemented circle-convex, convex-convex and circle-circle collision. But now I want to be able to make platform that ...
0
votes
3answers
103 views

Making a 2d sprite based game in Unity? [closed]

I'm looking at developing a 2D sprite based platformer. Usually I make games in Gamemaker, because I find it very easy to use. I have never used Unity before but have heard a lot of good things. So, ...
0
votes
1answer
129 views

Can't move character at all in unity basic platformer guide

so, I followed below tutorial. https://unity3d.com/learn/tutorials/modules/beginner/live-training-archive/creating-a-basic-platformer-game Going well until 18:50 (video time in tutorial), when the ...
0
votes
1answer
52 views

Unity5 How to create a floor

This may be a may be a very basic question but I have a 32x32 tile of grass for a 2D platformer I'm making. Is there an easy way to duplicate the tiles and lay them out? or will I have to copy and ...
1
vote
1answer
145 views

Gravity and Jumping in Clickteam Fusion 2.5

So I'm currently building a bare-bones functioning game that involves simple platforming. Quite literally a box moving left and right and jumping. I'm using Clickteam Fusion 2.5, and I know there's an ...
5
votes
1answer
112 views

How to implement level transitioning for 2D Platformer (tile-based)

I'm making a 2D tile-based platformer in C++/SDL and I want the player to move to the next level when they run off the side of the level, but I'm not sure how to implement this. I have tried putting ...
-1
votes
1answer
371 views

Creating an Android port of old PC games [closed]

I have seen some decent ports to Android of old PC games. The graphics and game engines are the same, and all that seems to have been changed was the key mapping, and adding touch-screen events. I ...
1
vote
1answer
128 views

Increasing friction or Adding force relative to transform position in Unity 2D?

Back again with a quick question! I have a few basic platforming mechanics going on in this scene. I have a prefab platform with an animation that loops back and forth between two different x ...
0
votes
4answers
173 views

Implementation of collision in 2D platformer (C++)

My collision system for my game currently works fine, it lets me test a collision with an entity or specified rectangle... but that's not enough. I used to use GameMaker and it had collision events in ...
3
votes
1answer
113 views

Running and Jumping using Box2d and libgdx

.this is my first trial on making a 2d game and currently struglling how to run and jump smoothly. My problem is when the player keep pressing on left or right botton then jump. the player won't jump, ...
0
votes
1answer
188 views

How to get plausible platformer physics with Farseer on MonoGame/XNA?

I am creating a 2D Vectorial (made of polygons, not tiles !) platformer using MonoGame and Farseer Physics Engine. Everything works perfectly, except the movement of the character which doesn't feels ...
0
votes
1answer
85 views

Restricting my horizontal slash attack

I've been working on making this slash attack for my character in the unity engine. The whole point to this script is to put the damage range in sync with the slashing animation. The slash is ...
2
votes
1answer
48 views

Platformer Collision in javascript

Hi im making a platformer in javascript and this is the collision function that I have if(obj2.y > obj1.y + obj1.height || obj2.y + obj2.height < obj1.y|| obj2.x > obj1.x + obj1.width ...
1
vote
1answer
90 views

Box2D No Gravity when moving against wall

I use Box2D in my current project and I have a problem with the gravity.. You can see my problem here: https://www.youtube.com/watch?v=2_kv9LkKwN4&feature=youtu.be when i jump normal everything ...
4
votes
3answers
427 views

Level Design: Char Traveling to and from a Site

I'm developing a 2d platformer game where your character can travel to and from sites as he pleases. To travel to and from these sites the character must travel along a path between his current ...
2
votes
1answer
270 views

Why does my character stop a little before landing on the ground?

I made a little game with side-scrolling and a box (the player) jumping across the level. The simple physics are almost done, but I have two problem with the way things behave: On landing, the box ...
0
votes
0answers
85 views

Hard time implementing AABB collision into a platformer

I have AABB collision working fine. The problem is I can't get it to work with a platformer style game. The collision makes the player move a bit static when colliding and the gravity wont work with ...
0
votes
1answer
425 views

Unity C# 2D Platformer Main Camera should stop on sides of level

I've been working on a 2D Platformer and i succeeded in setting up a script for my Main Camera to follow my Player gameobject using transform positions. Now when my character is near the sides (or ...
2
votes
2answers
152 views

Why doesn't this 2d physics calculation yield the desired jump height?

I found a formula for gravity and jumping in this article: http://error454.com/2013/10/23/platformer-physics-101-and-the-3-fundamental-equations-of-platformers/ I implemented this formula and ...
0
votes
1answer
67 views

How to use friction to bring object to a stop in a simple 2D platformer?

I'm coding the physics for a little platformer I'm making but I'm not sure how to design a friction calculation that does what I expect. When running along a platform I want the player's character to ...
0
votes
0answers
144 views

Basic Line of Sight - Pygame

I'm working on a very basic platformer. All objects are rectangles. I've been looking for a simple way to determine if the line of sight is obstructed between Player and CPU by a platform. I saw ...
1
vote
0answers
32 views

Colliding wiith a smooth line of blocks

I'm having a strange problem. I'm creating a 2D platformer, and creating the gameplay map by reading a csv file and placing prefabs of the appropriate type on map. One part of the map is a simple ...
0
votes
2answers
540 views

Basic 2d platform collision detection algorithm has a slight bug (Java)

I'm trying to implement collision detection between Player (the main character) and a Platform. They are both modelled as rectangles; when player hits the side of a platform he should bounce off it ...
1
vote
3answers
562 views

unity destroy enemy when jumping on it

I am creating a 2D platformer using Unity3D, I want to have the player destroy enemies when it jumps/falls over them (just from the top). But I have been having problems trying to implement this. I ...
0
votes
0answers
44 views

2D Platformer Pathfinding [duplicate]

First of all, I'm sorry, I know this is a really broad topic, but I've been trying to do this for days, I've looked at about a hundred different Google links, and I'm just not having any luck. ...
0
votes
1answer
70 views

Z axis for player movement is being incremented, but i don't know how

I'm currently learning and developing a 2D plataform game in Unity, but now i'm having some errors that i can't solve. When I press the arrow keys to make my character move right and left, the Z axis ...
1
vote
1answer
148 views

Applying statements to a single instance in Game Maker?

I'm currently in the process of making a platformer, and am currently in the process of creating "depth" into my game, by making Up/Down-W/S control your depth. (Come closer to screen, go further). ...
2
votes
3answers
365 views

Jumping higher when the player touches a trigger collider in Unity

Im using Unity engine to create a 2D platformer. My character can single/double jump, this works fine everywhere except when i am in range of a collider with a IsTrigger set to TRUE, then my character ...
0
votes
1answer
360 views

How to implement 2d collision detection that is immune to low framerate and fast movement? [duplicate]

I am trying to implement my own collision detection for a 2.5d voxel style platformer using Three.js. I have a problem with my implementation - if the framerate is too low or the character is moving ...
2
votes
1answer
110 views

Box2d C++ x velocity slowing for no apparent reason

I'm making a 2d platformer in C++, using Box2d for physics and sfml for rendering, I want the player character to move with a constant velocity in the x direction, and to jump when the spacebar is ...
0
votes
3answers
77 views

In a Sonic-esque platformer, how to tell if the chracter is upside-down or not?

In a Sonic-esque platform game, how do you know if the player's character is currently upside down? Let's say the character is running to the left: At a certain point the character will begin to ...
4
votes
3answers
973 views

How to generate a “loop room” in a platformer game (by Unity)?

I want to build a level with a room whose left edge is linked to right edge in a 2D platformer game in Unity. My goal is let all objects disappear in one side will appear in other side of the room. ...
3
votes
5answers
496 views

Is it bad practise to have an object for every tile?

In the game I am working on, many of my tiles must have special attributes (such as triggers when the player steps on them). I was wondering if it would be bad practise to create an object for every ...