Questions tagged [platformer]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
22 views

Problems with gravity and box colliders in Unity 3D

I have a game character that can jump or roll in order to avoid obstacles. He is able to roll while on the ground and he can also roll while he is in the air after jumping. Everything was working fine ...
0
votes
0answers
19 views

player goes off screen as the camera smooth follow interpolation

Sometimes player goes off screen as the camera lags behind it, especially when the player is falling. Also when the player is climbing walls by jumping left and right, the camera moves left and right, ...
1
vote
0answers
36 views

Simple collision resolution in a platformer game

I want to make a 2d platformer with moving, jumping and wall sliding. How can I make a simple pleasant collision resolution system that works for the following rectangles. Player is red, platform is ...
-1
votes
1answer
34 views

Run n' Gun game: Fixating the gun's angle

I am trying to have the gun stick to facing the left or right when the player isn't pressing any of the arrow keys. For instance, if the player is aiming diagonally up-left, then when the player lets ...
-1
votes
0answers
17 views

Enemy A/MovementI in Pygame, idle and aggressive bosses

Working on my first project and I'm trying to get enemy movement sorted, the code below is my current implementation. The enemy using the distance between the player position (target.pos.x) and their ...
0
votes
1answer
23 views

Unity 3D platform spawning problems

I'm making an infinite runner game in Unity 3D. I have it so that platforms spawn and move backwards toward the player and they are destroyed once past the player. Over time when the platforms are ...
0
votes
2answers
54 views

How to render a large, seamless platforming world without scene transitions?

In the game Limbo for example, the whole 2-3 hours of gameplay takes place in one continuous world. The player navigates from one area to another seamlessly, with no obvious loading or transitions. It ...
0
votes
0answers
13 views

Hi,how can I flip x a collider when the Sprite renderer rotates?

I have been making a 2d platform game in unity.My main character has a box collider but when he rotates, the box dont rotates with him. Thanks!
0
votes
0answers
21 views

Advice on how to organise the levels in a game

I'm thinking of building a 2D platformer game similar to Super Mario Bros, but I'm in the planning process and realised I don't really have a good way of storing information about each level – where ...
0
votes
1answer
31 views

2D player controller moves to the left, but not to the right

I wrote a C# script to control a 2D player, but the script is not fully working. When I press the right arrow/d key to move the player is not moving in the right direction, but I have done the same ...
0
votes
0answers
19 views

Load all sprites up-front, or stream them?

I'm currently in the starting phase of my first large game in Swift and SpriteKit. It will be a Super Mario-like platformer game where each level is about two minutes long. Since I've never made a ...
0
votes
0answers
30 views

How do I implement corner correction in a platformer?

I'm writing a platformer in Unity and I'm trying to make it so that when the player jumps up to a ledge but barely misses (imagine they hit their toe on the ledge, or maybe even their foot, I'll play ...
0
votes
0answers
14 views

Character either stuck in idle or character animation in unity

Im making my first game in unity. And Now I have this problem: my character is stuck in his running animation and I can't move him at all (when I'm trying to play the game). There is also this weird ...
0
votes
1answer
44 views

How do I get my team NPC to follow the player? | Game Maker Studio

I would like to have 4 teammate NPC's that would follow behind the Player. First off, I know how to get the movement and collisions working properly but getting the NPC's to follow the player is where ...
0
votes
1answer
32 views

Enemy gun won't aim properly when collision line is flipped | Game maker studio

When the enemy move's to the right their gun faces right. When they move left the gun will face left as it should. When the player collides with the enemy collision line on the right side, the enemy ...
1
vote
1answer
16 views

Unity 2019.3 - Tilemap colliders 2D + Componsite colliders + Platform effectors

I am using tilemaps to create my own platform game. This is what I had in the first place. This was working fine in first place, but is an issue. Sometimes, the enemies get stuck while running along ...
0
votes
0answers
26 views

What's the best type of Movement/collision detection for high-Speed games?

Before I begin I'd just like to make it clear that I am not familiar with many programming/development terms, so if anyone can link articles to any terms used it would greatly help things move along: ...
0
votes
0answers
14 views

Unity2D: Colliding with Edges Issue

I am using Unity (in 2D). I have force being applied to the rigidbody2D when the player moves left/right. For some reason, when the player hits the edges of the tiles, it just pushes up and forward. ...
0
votes
1answer
61 views

Confused, maybe the mistake ik is the foreach loop

I dont know why but my jump method does not work. My character can only jump on one single object. The other obstacle haven't any influence on the player. I really don't see my mistake ...
0
votes
0answers
25 views

Platformer collision detection problem - player snapping onto sides [duplicate]

I am having problems with collision detection. I am trying to make a simple platformer but when the player is falling or moving too fast it sometimes detects the wrong collision side. I am getting the ...
0
votes
0answers
111 views

Unity 2D Cinemachine weird behavior for non rectangular confiner

I have been trying to emulate a sort of Megaman X4 way of following the player around platforming levels, where the camera is confined to certain boundaries of such levels. However, all the tutorials ...
1
vote
0answers
63 views

Why is my player falling through the Tiled map?

I am gassed. I have this game due very very soon. I made my player so that it doesn't fall through or go through tiles from Tiled that have the property "blocked". I do not know why but it is not ...
0
votes
2answers
57 views

How do I remove the objects when it is not seen on the camera?

I am a beginner C# Developer and I am creating my own version of the "No Internet Dinosaur Game." How do I remove the Object like (Platforms, Cactus, etc.) When it is not seen on the camera?
41
votes
1answer
4k views

How to differentiate landing on top of an object from falling down the side?

I am looking for a conceptual solution to my problem. It's a simple platformer-alike game where player can move horizontally during free-fall. Consider those two cases: In the first case, from game ...
0
votes
2answers
179 views

Why does my Enemy A.I stop moving when it hits the wall, and how to fix it?

I am making my 2D platformer game at the moment, and I am still a beginner. I saw this tutorial on youtube in which he showed how to make an enemy a.i move. He manages to move it but he didn't show ...
0
votes
1answer
507 views

How to use TEnumAsByte Unreal 4.22

The problem I am attempting to use a TEnumAsByte in one of my class headers: I get compilation errors: Code sample I have included everything relevant to the ...
1
vote
1answer
80 views

Why is my player not giving a knock back when it stays at the right side of the enemy?

So, I have this problem I am facing, for some reason my player does not get a knockback when it stays at the right side of the enemy but when it stays at the left side it gives a knockback. What's the ...
1
vote
1answer
143 views

How to receive a Knock Back when the player touched the enemy

I'm still new to C#, making my 2D game atm and my problem is how can I give my player a Knock Back when it touches the enemy. How to add it with this code? ...
1
vote
3answers
70 views

Why moving platform script is not working?

I have some code attached to a moving platform: ...
0
votes
0answers
52 views

Non tile based bouncy platformer with sloppy lines and everything

I want to make a bouncy platformer as in this https://www.youtube.com/watch?v=WMrmGUdWprA. This game is not tile based, but there are sloppy lines going in any direction. I see two challenges: How ...
0
votes
2answers
87 views

What is the most efficient way to trigger an action based on proximity?

I am developing a 3rd person platformer that entails a grapple hook system. This grapple hook system relies on a series of 'grapple-able' points. I would like these points to shine every so often. ...
0
votes
1answer
61 views

Multiplayer platformer

I'm considering building a multiplayer game having a central server handling the game and keep clients updated. I was checking various examples of ".io" games styles of implementation and seems pretty ...
1
vote
0answers
101 views

Does 2D Platformer games still have popularity among gamers? [closed]

I'm currently working on a 2D platformer game that i wanted to put out as my first game but seeing the popularity of other games made by Voodoo and others are quite distressing and made me ask myself ...
1
vote
3answers
182 views

How can I fine-tune my movement values in a 2D block-based platformer?

I'm wondering how I can refine player movement/physics values, such as speed and jump height, to make it all work, while allowing the games to be fair and challenging. Is it simply trial and error, or ...
0
votes
1answer
76 views

Phaser 3 physics bug in platformer game

I'm writing a platformer lode-runner-like game. I would like to ask experienced people to see what's wrong. Everything seems to be ok but I am absolutely confused about 3 bugs. Why is the player ...
4
votes
2answers
95 views

Exchanging data between custom-built hardware and games

I have a built my own steering wheel and motion platform that I would like to connect to popular car racing games (e.g. iRacing, Dirt Rally). I need to read data such as the car's acceleration (to ...
1
vote
2answers
76 views

how to change value of variable only once?

I am building simple platformer game in which the player hops on to platforms and the speed of platforms increase per time. This is an endless game and depends on the high score system. But, the ...
0
votes
0answers
43 views

Unity 2d Player Glow like on off

I want my player to glow like in a loop of on and off for light it emitting and when he touches certain material with different light it should glow with that color
0
votes
1answer
52 views

2D character tips over sideways after collision with platform

This is what happens when my player character jumps and collides with a platform from the side. The player character tilts over or ends up upside-down or sometimes on its back. How can I prevent this?...
0
votes
1answer
430 views

Rotating character for 2.5D platformer in Unity

I'm currently making a prototype for a college project in Unity. The game is a 2.5D platformer, though I've incorporated a script for the camera from a 2D platformer so the camera moves ahead of the ...
0
votes
2answers
123 views

Make a platform appear and disappear constantly

I am building a platformer. In this game, I need one of my platforms to constantly activate and deactivate. Here is how I have tried to code this so far, but it causes Unity to freeze: ...
0
votes
0answers
103 views

How do I program a fan in a platformer game?

Fan physics I have a platformer game and want to have fans in it that blow in a given direction and if the player presses the jump button they can go even further. How do I do this? side note: I ...
3
votes
1answer
385 views

How to control jump strength by how long the player presses the jump button?

In a platformer game I am working on, I want my character to have controlled jumps. If I simply tap the jump key it will jump a just a little or if I hold it for a time it will jump higher. What do I ...
1
vote
1answer
519 views

Godot: How do I asign movement cost to tiles in a Tilemap?

Pathfinding I am trying to apply godot's Navigation to create a pahtfinding enemy in a Platformer game. I've read about a method to allow for pathfinding to take into account gravity. My issue is ...
0
votes
1answer
294 views

How is background of 2.5d games developed

When I say 2.5d games, I mean like this: Bloodstained Ritual of the Night DEMO gameplay My question is, I know the characters and platforms are 3d but are the backgrounds all 3d as well? Even if its ...
1
vote
1answer
53 views

Is there a tried-and-true method for calculating or detecting the edges of platforms?

In terms of a simple 2D platformer, I was wondering if, over the years, a right way has emerged as far as determining whether or not a strolling character has reached the edge of the platform it is ...
19
votes
13answers
6k views

How to make healing in an exploration game interesting

I'm creating a game with a heavy focus on exploration, though I'm at a bit of a loss for healing. The problem is that I don't like the idea of enemies randomly dropping health, as this usually ...
0
votes
1answer
201 views

Ideal 3D platformer controls for Keyboard + Mouse [closed]

I am developing a 3D platformer, and I know that controller is optimal for the precise movement, but I don't feel players should have to buy a controller just to experience a 3D platformer that is ...
0
votes
1answer
202 views

Phaser: How to call a function inside another function?

So I actually have the following code that works: ...
2
votes
2answers
122 views

Parabolic Jump Libgdx Without Box2D and With Vectors

I have tried to write a jump method that sketches out a parabolic jump but it results in either no movement, or a jerky upward movement when I try to scale up dt. I have the following things defined: ...

1
2 3 4 5
8