Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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

-1
votes
2answers
32 views

How to get color from texture at specific location in libgdx?

This is the screenshot of my game. This is a 2d platformer game where the player jumps to many differently colored tiles. On the left-hand top corner, there is a square tile which changes its color ...
0
votes
1answer
51 views

How can i collide two bodies without filtering(collision filtering)?

I have two bodies with fixtures. One is platform or ground and other is the player itself.I want to collide the player to the platform without bit filtering.How can i do that?I can see the rectangular ...
0
votes
2answers
44 views

How Can I Fix Spawning The Tiles?

I am making a 3D infinite runner game in Unity in C#. When the player has reached the end of the tile it should spawn another tile and then delete the previous tile. When the player reached the end of ...
0
votes
1answer
50 views

How to remove horizontal black bar at the bottom of the game screen in libgdx?

Here is the screenshot .Here is my Play constructor in Play class.
0
votes
2answers
33 views

How to render gameobjects with same size and same position in unity

canvas can be fixed for all screen sizes but I want to fit gameobjects which is not in canvas, for all sizes of screen. This is the transform of my game object The game object's size and position ...
0
votes
1answer
28 views

Unity - 2D Platformer Controller responsiveness issue

I've been designing some basic controls for a 2D platformer and managed to get the feeling that I've been looking for when moving and jumping, but something is not quite right, it's not very ...
0
votes
0answers
43 views

Game map for platformer megaman-style game

I want to make platformer game that would be sort of like megaman. I'm using SFML library for it. I have a problem with creating a map. Should I hardcode every single platform, add it colliders and so ...
3
votes
1answer
76 views

Accessibility in Games

We're currently developing a 2D Platformer and we decided to take some time to implement Accessibility Features. But we couldn't find good information about Accessibility Features, muss less how to ...
0
votes
1answer
36 views

Measure the length of the platform in Unity

I created a platform in Unity. It consists of an empty parent object and child objects. Child object have attached components: Sprite renderer and ...
1
vote
2answers
67 views

Java - Collision detection (Glitch)

I am working on a platformer game for the final year project in HS. However... The collision detection system I use is basically about checking wether a specific part of the character intersects with ...
0
votes
0answers
95 views

2D Tiled-based Platformer Sloped ceiling

How can I do collision detection with a sloped ceiling in a 2D Tile-based Platformer? My collision-detection follows the technique described here: http://bitkidgames.com/?p=2221 On the page it ...
1
vote
1answer
179 views

Godot 3 - Trying to make a character dash (wavedash)

So, I'm trying to make a character do a wavedash in Godot 3 and I don't know what I'm missing here. When I press 'Z', the character should burst speed and then a few miliseconds later it should ...
0
votes
0answers
41 views

Unity 3d- adding momentum, plus only jumping on the ground

I'm making a 2.5D platformer and i want to add momentum where it start slow, then speeds up to a set number. Also while i'm here, i want my jump to only allow to jump once on the ground. If anyone can ...
2
votes
2answers
186 views

Unity2D: Wrapping a line around an object

I have this 2d platformer made out of box colliders. I have the player connected to a point by a LineRenderer and a DistanceJoint2D, for use in physics puzzles. This tool lets him link to a location ...
1
vote
1answer
50 views

How to make game scene bigger in 2d platformer?

Hi i am current making a 2D platformer game but after i reach an end of screen then it doesn't move forward how to increase the game play screen area so that i will be able to go in vertical direction ...
0
votes
0answers
46 views

Unity3D: How to move player between two fixed points in a 2D game?

I am trying to make an endless game where the player has to jump on platforms above him in order to survive. This is a rough sketch i made: I have a script which makes my player jump automatically ...
0
votes
1answer
152 views

Unity: RaycastHit2D continually returns point (0,0)

firstly I'm a bit of a Unity noob so sincere apologies if I've done something dumb. I'm attempting to use a RaycastHit2D to detect when the player is on a platform. If he is, the point it returns ...
101
votes
4answers
18k views

What is actually moving in an endless runner?

For example the famous Flappy Bird game, or anything that sort really, is the player(in this case the bird, or the camera whichever you prefer) moving forward or is the whole world moving backwards(...
4
votes
0answers
308 views

Slope handling in a tile-based platformer

I'm trying to implement slopes in my 2D tile-based platformer made in GameMaker Studio 1.4. I'm done with the normal solid block tiles, they work like charm, but slopes are even harder than I ...
1
vote
0answers
53 views

How to implemement smooth side scrolling in a DOS game?

I'm about to develop (just for fun) a retro DOS game with Turbo C 2.01. Currently I'm wirting directly all the pixel information to 0xA0000000 + [y * 320 + x] which ...
2
votes
1answer
113 views

Falling through the ground

I spawn my player he falls hits the ground and starts falling through it slowly. Code: ...
0
votes
1answer
405 views
19
votes
7answers
6k views

How can I detect the player being crushed in a 2D platformer?

I'm checking collision for a platformer character as shown in #1. The red dots are the pixels that are checked and the grey lines indicate the axes they pertain to. I like the results I get from ...
0
votes
1answer
90 views

How can I make my character jump?

I'm trying to make a platformer. I'm trying to figure out how to make my character jump. I have tried setting a direction variable (after I enabled physics on the room, the character, etc), and it ...
0
votes
0answers
52 views

chaining spine animation together for a platformer

Apologies for the vague subject line I'm having problems with getting animations to work correctly for me. I have managed to get my jump and double jump working correctly. I am now trying to get my ...
3
votes
1answer
150 views

Why does my Character Jump only Half as High?

I am trying to implement simple Newtonian physics for my game. However, my character only jumps half of the height I would expect him to. Physics says that the take-off velocity (impulse) ...
3
votes
0answers
178 views

2D platformer:How to avoid “bouncing descend” when walking down slopes?

I've been working on implementing slope collision by SAT(Separating Axis Theorem). And then I have a trouble. When my character walks down slope, it moves like a bouncing ball: The slope has 3 ...
0
votes
0answers
46 views

Making tilemap terrain painting

I've been trying to build a terrain painting brush for the editor of my platform game and have been trying to come up with a good method of building it. I've made a method that checks each tile ...
0
votes
1answer
72 views

How to interrupt an animation and transition to another?

I am trying to make a 2D platform game which is Megaman-style. I have some problems when I make shooting animation. In Megaman game, the animation can interrupt by press keys. Just like this: For ...
2
votes
1answer
87 views

Keyboard input conflict in wall jump

I'm trying to make a Megaman-style wall jump in my 2D platform game with JavaScript. The character can do A,B,C motions when it sticks the wall: My problem is that when I trying to jump off the wall(...
5
votes
2answers
669 views

What's wrong with using physics engine in 2d platformer?

I started making my simple 2D runner game with a splash of physics (particularly, rope physics). It's in Love2d, project is targeting mobile platforms. Development goes fine, though I meant to ask one ...
0
votes
1answer
90 views

Polygon trigger colliders for 2D platformer

I'm creating a 2D platformer in MonoGame and I'm thinking of using AABB as physical colliders for characters and then have a trigger polygon collider on each character for checking for example if an ...
0
votes
3answers
75 views

Camera and enemy behaviour in AS3 platformer

beginner in AS3 here. I am working on a platformer game based on the code of a provided example exercise. I have the following problem: I have an enemy who shoots bullets. The enemy is the parent, ...
6
votes
6answers
1k views

How exactly do slopes and edges work in this scenario?

So this sort of behaviour probably exists in other games, but the old Kirby games - Kirby's Adventure and Kirby's Dreamland 2 - is where I noticed it. So, when dealing with regular block platforms, ...
4
votes
1answer
177 views

How to handle complex inputs in 2D platform game?

I am trying to add keyboard control for my character in 2D platform game with JavaScript. The character can walk, dash and jump. Here is my current code: ...
0
votes
1answer
29 views

Crouching Up and Down XNA C# Controller

The game is a 2D platformer. The problem I have is when I press the B button to crouch from standing, I do not know how to implement a function where B can be pressed again to move back to the ...
0
votes
0answers
65 views

How to monitor the collisions between multiple bodies

I'm making a 2D platformer with Box2D and LibGDX, shooter, and I'm implementing the logic for a snail in the game. The basic idea is that it walks across the ground leaving a sort of, slime trail, and ...
1
vote
0answers
406 views

Blood covering ground in Unity 2D platformer

I have just started my adventure with Unity so my question may seem silly to experienced users but anyway I'll give it a try. If you could just give me couple of keywords I could search for in order ...
6
votes
1answer
700 views

Unity2D jumping inconsistancy

I'm tinkering with a unity2D sidescroller, and am trying to make a player controller to jump. However, when I tell my character to jump, it sometimes jumps twice the distance, and I don't know why. ...
0
votes
1answer
97 views

Causing Update loop with Coroutine Unity

Total Noob Alert! < 7 days with C# and Unity My Win Game screen becomes SetActive and my Player is SetActive false when you are standing in a trigger and crouch. That all works fine except you ...
1
vote
1answer
75 views

How to create a walkable crate box?

I have a 2D platformer with each platform having a PlatformEffector2D component. I want to create a crate that can be pushed. When I jump into the edge of the ...
1
vote
1answer
724 views

What is the best collision detection method or algorithm for a 2d platformer?

I'm working of a 2d platformer. It's a preety simple game, but the ground is flat and it looks boring. I did the collision detection for it and it's all working when the boxes are axis aligned, but I ...
0
votes
1answer
59 views

What should I use instead of randomized start positions for good-looking 2D rain?

Right now I'm randomizing the position of my 2D rain's spawn positions on both the X and, slightly, on the Y axis. It looks pretty weird right now, it has a bunch of huge clumps and unfilled areas: I ...
1
vote
2answers
60 views

Triggering an animation on a gameobject with a collider2D

I'm creating platforms that break on trigger. The animation works and the colliders are set like they should, but I can't seem to figure out how to trigger the "stepBreak" animation I have. This is ...
0
votes
1answer
129 views

Collision detection problem in Java

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=PLah6faXAgguMnTBs3JnEJY0shAc18XYQZ ...
0
votes
2answers
532 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
60 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 ...
-1
votes
1answer
220 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
537 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 ...