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
14 views

Collision detection problem with eclipse

I have a problem in my game. My player cannot move after I put collision detection from this video : https://www.youtube.com/watch?v=DadImcUt9Nk&index=22&list=...
0
votes
2answers
19 views

Rigidbody or Character Controller for a momentum based sidescrolling shooter/platformer?

I'm working on a side scrolling game where among other movement options the player can perform a "bullet jump". The bullet jump fills a similar role to a double jump, but instead of just jumping in ...
0
votes
1answer
31 views

Creating a 2D sidescroller with different behavior in each level

I'm creating a game with levels built from tilemaps in LibGDX. I've created the logic for the game that adds entities based on object layers, however, many levels have different behaviors. Do I need ...
0
votes
1answer
70 views

2D collision not working

I'm new to game programming and my first project is a platformer. All things are going well, I draw the map, got the scrolling working, there's only one problem. I can't get the collision to work, I ...
1
vote
0answers
61 views

2D Unity: How to make a enemy jump from a navmesh platform to another?

I'm currently working on a 2d platformer, however I came across an issue where the enemy moves within a certain range of the platform. In this case I use a navmesh to limit the enemy's movement ...
0
votes
1answer
45 views

Hold and swipe can't work together

I Have a character in my game that must go when player hold finger at the screen, but when I swipe character first go, and then do swipe. (for example jumping - character first go, and only then jump)....
-4
votes
1answer
42 views

Tiling Challenge [closed]

I have a problem and I hope I am in good hands. I recently started using Gamemaker Studio and I intend to create a 2d game where a room can be tiled seamlessly from the wall to the floor with wall ...
0
votes
2answers
61 views

How should I make a jump-timing game's character static on screen?

I decided to learn Pygame and try to make a simple game inspired by Google's T-rex jump game. However, I stumbled upon a problem that I can not seem to figure out: How can I implement a scroller/...
0
votes
1answer
113 views

Platformer AI Jump Calculation

Thank you for taking the time to read my question, I will try to keep it as concise as I can. I am making a 2D-platformer game. I am in the process of programming AI that can intelligently traverse ...
1
vote
2answers
111 views

Animating 2d character which can wear items?

In my game the player can control a character which can wear items. Now it is not visible but I would like to make it visible like for example in Terraria, Starbound, etc. In my game a player can ...
0
votes
2answers
105 views

Tile Map Collision in 2D Platformer (C# Monogame)

I am trying my hand at making a small 2D platformer. Currently I am trying to implement collision on a tile map. I have been trying to experiment with different ideas but can not find a way for the ...
1
vote
1answer
59 views

Sprite sizing for my game [closed]

I have recently started a new project with my SO (Significant other)and she is doing the art for my game (Pixel art) now i have always gone with 32x32, 64x64 and so on (Using 16x scale) but she thinks ...
1
vote
1answer
49 views

GameMaker: how to make one non-physical object collide with a fixture?

I've searched a lot and i couldn't find the answer. I'm developing a platformer game where i need the player to stay on ground but i don't want to use build-in physics to make him move. The ground is ...
0
votes
2answers
93 views

Limiting framerate with a fixed timestep

UPDATE: I still need help determining how MAX_UPDATES works. I want my game to be designed in such a way that if the user can't run the game at full speed, it slows down so that no updates are ...
2
votes
1answer
226 views

How can I avoid “Moonwalking”

Let me explain my question: I have a sprite sheet with the different frames of the animations. Each animation has 8 frames. Based on the player's input, I modify the character's coordinates, thus I ...
2
votes
1answer
150 views

Simple 2D Platformer Collision Detection?

I'm relatively new to programming and I am attempting to write a 2d platformer in C++ using the SFML library. The structure of my code is that I have a Stage class which contains a vector of sf::...
1
vote
0answers
58 views

Collision Detection between two instances of the same Prefab

I am a trying to recreate the first stage of Super Mario Brothers, but I am having a bit of trouble with the collision system between Koopa Shells. I have written two different scripts in hopes to ...
0
votes
2answers
90 views

Need some advice on how to decide where to implement my enemy behaviours

I'm in the middle of writing a platformer game in Unity using C#. I have my character, if he presses the kick button his state switches to kicking. During this "kicking" state the character doesn't ...
0
votes
0answers
20 views

Coordinate code for moving the object from one side to others side

I'm trying to make a 2D games, like airplane in android. To play the airplane, the user must shake the phone and then the airplane will move from left side to right side. And I don't know how to move ...
2
votes
2answers
91 views

Jump-through & drop-down platform

I'm creating platforms in my game where the player can: 1) Jump through them from the bottom and land on top of them 2) While on top of them, drop down through them I've been able to get #2 working ...
1
vote
0answers
50 views

Level data for Mario or similar platform game [closed]

It has become a widespread to implement a Mario-clone to practise writing platform games or in order to demonstrate how a game engine works. For that reason I expected it to be easy to find level ...
0
votes
0answers
54 views

How to make the player glide after a jump in Unity?

I need a script that can make my player do an horizontal movement when he is in air (jumping) Take my older script! using UnityEngine; using System.Collections; public class Player : MonoBehaviour {...
1
vote
1answer
134 views

Handling movement on sloped surfaces - clamping character to sloped surface

I've noticed that a lot of people seem to have this issue but I've yet to find an actual working solution - when a rigidbody-based character controller (I'm not using Unity's character controller) ...
0
votes
1answer
69 views

Unity 2D C# Enemy Attackng Ai issue

Ok to be specific, both of my enemies will continuously play their attack animation even when it is false. I don't understand what I am doing wrong here :( void OnTriggerEnter2D(Collider2D other){ ...
0
votes
2answers
195 views

2D Platformer: add ability to jump on top of other character

I want to add ability to jump onto a head of other character/player, but still be able to go through them horizontally. There is one useful tutorial about one-way platforms, but that approach doesn't ...
0
votes
0answers
48 views

Libgdx game doesn't work correctly after game over screen

So, I am trying to create a platform game for Android. As part of the game, I have created ladders that the hero is climbing. When he hits the enemy he dies, there is a game over screen --> touch to ...
1
vote
1answer
56 views

Performance problem with BufferedImage and AlphaComposite

I'm currently making a 2D platformer game and now I want to implement Light using AlphaComposite. For creating the lights I first create a blank BufferedImage with ARGB format. After this, I create ...
1
vote
1answer
80 views

How to make a temporary collision?

I have a key and door system working, the character(ball) picks up the key and when it is within the collider it sets the text("press E to open") on the screen to active so that they can open the door....
1
vote
1answer
204 views

Java Libgdx Attaching Sprite to Box2D Body

So I am working on programming a java 2D platformer for fun on the side and I have a rendered TMX level and a box2d body (just a circle shape) that I am currently using as my player. All the controls ...
1
vote
3answers
116 views

C++ Platformer Collision

This is very simple, but I have spent nearly 6 months messing with this and it is always messed up. This is a tile platformer, everything is "normal", x and y correspond to tile. Tiles are 32 x 32 ...
0
votes
0answers
387 views

c# adding object collision to multiple objects

I'm trying to make a mario, platformer type game, and from following a tutorial, they've done the collision like this, but im wondering if there is a simpler way to it since I want to have collision ...
2
votes
1answer
220 views

How can I adapt A* pathfinding to work with platformers?

I have an A* implementation that works in "top down" situations where gravity is not taken into account for pathfinding. But, I am looking to modify to work in a 2d platformer situation. I am using ...
2
votes
2answers
80 views

Java: problem with 2D corner collision

:) It took me many days to create a working collision detection for a 2D java platformer... I am finally calculating the corners of my player but the system is still buggy and I hope that we can ...
2
votes
1answer
176 views

What is the advantage of pixel coordinates for a 2d game?

From the Godot feature list: Work in pixels as your units, but scale to any screen size and ratio. And reading the documentation they also use pixel coordinates to update the position of objects ...
1
vote
1answer
127 views

Character stuck on box collider 2.5D

I'm having trouble with my character on a 2.5D platformer. The character get stuck if it collides without reaching the platform's top. Here is a gif showing it: http://i.imgur.com/jmZ6O1K.gifv Both ...
0
votes
1answer
52 views

Tile collision detection

Right. So I was making this simple game. The player is two tiles wide, and four tiles high. My current code is really buggy (it was better before my rewrite) Here it is: float newx = position.x +...
0
votes
0answers
76 views

Grapling hook in 2D platform game (C programing)

I'm new in the programming world and I'm studying programming for video games, and I'm trying to create a game for a class project. I need my character to throw a grappling hook into a specific "rock"...
0
votes
3answers
109 views

How to decide whether to use a physics engine for a platformer

I'm planning on creating a 2D platformer and doing some research to make sure that when I get started, I avoid making some poor decisions. Something I've seen come up multiple times is that I should ...
0
votes
1answer
132 views

Libgdx Megaman Engine

This is my first time posting here. Through the tutorials and videos I can find regarding developing games using libgdx. I thought I would start with something that was relatively simplistic, a ...
0
votes
1answer
92 views

How would I handle collision to all instances of one object? (C# and monogame)

What I'm saying is, let's say I have a list. That list contains all the tiles in the game. I use this to update them all, draw them all, etc. for (var i = 0; i < Tiles.Count; i++) { Tiles[i]....
1
vote
1answer
133 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
81 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
196 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 ...
-3
votes
1answer
77 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
322 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
49 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
425 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
86 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
222 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 seen ...
1
vote
0answers
83 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 ...