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
0 votes
0 answers
15 views

Refactoring jump-to-damage blueprints into parent that forwards jump collision events

I was wondering if anyone could help me out with a problem I’m currently having. So I have this blueprint setup for damaging enemies by jumping on them, but the setup I’ve been using for a while now ...
user avatar
0 votes
0 answers
28 views

How to solve "variable not set before reading" error?

I get the following error in GameMaker Studio 2: ...
user avatar
0 votes
0 answers
40 views

Best Pathfinding solution for 2D action-platformer

I'm developing a 2D action RPG with heavy platforming. The combat system and movement take inspiration from Hollow Knight and the Smash Bros saga. I would like to have some type of enemies with really ...
user avatar
2 votes
1 answer
122 views

How to create large Sidescrolling Map in Godot?

I would like to create a 2D Sidescrolling map, like one for a platformer, but for a shooter game. At first I thought I could just draw a big map based on a tilemap and make the player and the enemies ...
user avatar
  • 45
0 votes
0 answers
20 views

ACharacter falls instead of landing back at its starting point when jumping at the edge of a ledge

I’m using ACharacter class for a 2D platformer game in Unreal 4.26. When the pawn (the main character) starts to jump from a the very edge of a ledge, it’s not able to land in the same position. ...
user avatar
  • 101
0 votes
1 answer
66 views

Basis of Estimate (BOE) for Freelance Game Developers

First off I wanted to apologize if this isn't the right place to post this; I wasn't sure where else to go. I plan to cross-post this question to the Game Maker forums since that's the engine the game ...
user avatar
0 votes
2 answers
98 views

Help with multiple powerup types

I am trying to have a single class that handles multiple powerups types and using enum for the types of power-ups and switching the powers based on enum however when there are multiple power-ups in ...
user avatar
0 votes
2 answers
114 views

Best practice for detecting enemy death in 3D platformer

I'm building a 3D platformer, and I'm having issues figuring out how I should determine whether the player has effectively jumped on an enemy to kill them. My current approach uses "hurtboxes&...
user avatar
3 votes
1 answer
101 views

Why my player can suddenly fly?

I'm working in a project with Unity 2d where player walks on a small planet. I try to use some code from youtube tutorial to apply gravity to my planet.This code consists of two parts, Attractable and ...
user avatar
  • 88
0 votes
0 answers
27 views

Player catches on tile map collision, even with common fixes

I am making a simple 2D platformer in Unity. I have a tilemap and I started noticing that the player catches on the tiles during gameplay. I move the player using ...
user avatar
0 votes
0 answers
23 views

Platformer movement disabled after crouching

So, the problem is the movement to left and right is disabled after crouching and releasing ...
user avatar
0 votes
0 answers
43 views

Platforms are gradually being spawned further and further away in the Z-axis in a 2D Endless runner game, until they spawn behind the camera

I am creating a 2D endless runner game, where new platforms get spawned when the player reaches a certain distance to the last platform spawned. The issue that I found was that after the player ...
user avatar
0 votes
0 answers
44 views

position locking and smooth lerping side scroller camera follows the player with jittering delay

I've seen this question: How to smoothly move camera when the player is climbing a diagonal staircase in 2D tile-based side-scroller? And here's my code: ...
user avatar
  • 217
0 votes
1 answer
30 views

Make platformer character stay in the air at the top of a jump

I have a player who can jump. I want the character to stay in its position and not fall to the floor. This is the code I am using so far: ...
user avatar
0 votes
1 answer
803 views

Stop 2D platformer character from sliding down slope

I'm making a 2D platformer game with the default Unity 2D physics. I am implementing slopes, but my player slips down the slope because of the physics. Here is the code I use for the player movement: ...
user avatar
0 votes
1 answer
201 views

How to create 2D platformer maps without a game engine's editor?

I've been developing a 2D shooting platform videogame for the Sony PSP console using only the ONELua interpreter for the Lua programing language (since there is not any game engine for it). Despite ...
user avatar
  • 1
0 votes
0 answers
41 views

How to detect taps vs tilts in analog stick input

I'm trying to detect when a player taps vs tilts the analog stick. Ultimately, I'm trying to implement controls like Super Smash Bros. Melee. On top of this, I also want to incorporate an input buffer ...
user avatar
  • 1
0 votes
1 answer
82 views

Pygame Platform & Player collisions

I am trying to create a platform game where a player jumps between platforms horizontally (using a projectile curve). Currently, I have a class that blits platforms and a background, as well as the ...
user avatar
3 votes
2 answers
572 views

How to map gamepad inputs for my platformer?

With keyboard+mouse controls, we seem to have an unspoken control mapping standard, with keys be like WSAD for moving, E for use, mouse button for attacks or interactions, spacebar for jumping, and so ...
user avatar
0 votes
2 answers
86 views

Wall Jump doesn't push character away from wall

I followed a tutorial about implementing a wall jump but one thing that doesn't work is getting the character pushed on the opposite side of the wall when pressing the jump button. As it is, character ...
user avatar
1 vote
0 answers
96 views

Corgi Engine - Character glitches with "jump" animation on top of a ladder

I'm new to Corgi Engine and Unity in general. I have an issue that I could find a way to resolve. I'm using CorgiEngine's "RetroLadder" prefab and extended "Rectangle" character ...
user avatar
  • 121
1 vote
1 answer
771 views

Change 3D Render Resolution in Godot

I'm making a Mario-Like platformer in Godot, and am going for a N64 style, and I want to lower the resolution of the render, while still having the window being resizable, like in Blender. Is there ...
user avatar
  • 13
1 vote
1 answer
716 views

Capsule getting stuck on edge of block

I'm making a first person game and when I jump and my character gets close to the top of the wall, the vertical movement stops, jitters, or suddenly snaps to the top of the wall. Video Here is my ...
user avatar
0 votes
1 answer
599 views

Character falls through the Platform Effector 2D in Unity. How can I fix it?

Character falls through the Platform Effector 2D in Unity. How can I fix it? Here is the demonstration: https://imgur.com/G5YkTxa. I tried changing the Edit - Project Settings... - Physics 2D - ...
user avatar
0 votes
1 answer
181 views

Why do edges make the player jump?

I'm making a 2D platformer with Unity and I have a problem with platform edges. This problem is usually visible in the situation where I want the player to walk up the stairs by jumping, but the ...
user avatar
  • 71
0 votes
0 answers
24 views

How to see the surface arc in Unity?

How to see the surface arc in Unity? There is the tutorial and in this tutorial we can see the arc in editor: While I can not see it. I checked that all my gizmos are enabled. How can I enable the ...
user avatar
-1 votes
2 answers
95 views

How do I fade between scenes when my player reaches a certain point

I have made a 2d Platformer but when my player reaches the end of a level I want it to fade to the next level. How can I have multiple scenes that each have one level and that fade in and out? Load ...
user avatar
0 votes
2 answers
241 views

How to Implement Trap Damage Unity

Currently, I have a 2D platformer game, and I want to implement a function that can make the player die and go back to the start or a checkpoint when he interacts with a weapon or trap. What I have in ...
user avatar
0 votes
0 answers
202 views

How to Implement One-Way Slopes?

I am working on a 2D platformer in Unity and am doing my own collision detection. I was previously using the method described in Sebastian Lague's popular YouTube tutorial, where you break your ...
user avatar
  • 1,297
1 vote
0 answers
60 views

Rotate the player in a certain way that makes it look like he is sliding

I'm trying to make my first game in Unity: a 3d platformer inspired by the classic Crash Bandicoot games. I've managed to make most of the movement with the character control script below. However, I ...
user avatar
0 votes
1 answer
761 views

How are Tile Collision Slopes done in Game Maker Studio 2 / GML or in general?

I have been trying to get my slopes to function for almost a month now, doing nothing else with the project. Rewrote it 6-7 times in different collision styles, sometimes coming close to success while ...
user avatar
  • 19
1 vote
1 answer
97 views

How can I implement a Varying Jump Height Mechanic for my character?

First of all I want to mention that English is NOT my mother tongue, I am using GODOT to make my game and that I am only 16, so I don't have any prior programming experience, although, I understand ...
user avatar
1 vote
1 answer
209 views

How do I generate platforms in a specific position in godot?

I am making a rogue-like game in Godot. Currently, I am stuck with the world generation. I know how to add children, but I am wondering if there is a way to add those children in a specific position. ...
user avatar
0 votes
1 answer
89 views

Composite collider 2D mysteriously adds x velocity to player rigidbody

As you can in the gif above there is an x velocity being set in the players rigidbody upon contact with the tilemap surface (Tilemap collider using composite). It was fine when I was using standalone ...
user avatar
  • 31
2 votes
1 answer
320 views

How to make a moving platform in Godot not be affected by collisions?

I am trying to make a moving platform in Godot (for a 2D platform game, but I suspect the issue would be similar in 3D). Basically, both my player and my platform are KinematicBody2D, and they move ...
user avatar
  • 733
0 votes
1 answer
191 views

How camera works in 2d platformer in level transitions

I want to know how Camera works in game of Celeste. Currently what I have is, camera follows the player using interpolation: ...
user avatar
  • 217
1 vote
1 answer
2k views

What is the equivalent for "(Input.GetAxisRaw(Horizontal))" in the new Input System?

I'm making a 2D platformer game with Unity and I have some problems with the new Input System. Also, I'm using PlayerInput component with invoke unity events behavior. In fact, I downloaded a player ...
user avatar
  • 71
0 votes
0 answers
122 views

The elements of a perfect juicy jump

I have seen and implemented these ideas: Simple Physics based Movement SO answer. Building a Better Jump GDC Talk. And written a tutorial about it Making a Platformer in Pico 8. Finally made a simple ...
user avatar
  • 217
0 votes
1 answer
61 views

Enemy AI on a platform

I was working on a 2.5D enemy AI movement on a platform. The idea is to get the enemy(green cubes) to move along the platform, when it gets to the edge of the platform, it turns around and goes the ...
user avatar
0 votes
1 answer
83 views

How can I assign a layer to tiles on an individual level?

I've just started out with my first game in Unity. It's a simple 2D Platformer with a tile-based level. When coding in the movement, I used the Physics2D.OverlapCircle() and an empty to check whether ...
user avatar
0 votes
0 answers
29 views

Upside down ground correction?

How would you go about making ground correction for a platformer but upside down(reversed gravity)? I used this formula: P.Y+=(P.Y-2)%8-1 but the character just ...
user avatar
3 votes
2 answers
931 views

Swept AABB Collision Detection Conflict with Tile-sized Gaps

Background The sweeping method for detecting and resolving collision has proven to be very versatile to implement collision for our game, and I have this GameDev.net article to thank for that: https://...
user avatar
0 votes
0 answers
27 views

Unity 2D collisions imprecise

I am trying to make a platformer. For the player character I am using a kinematic rigidbody because I want to calculate the jump curve myself (including physics & gravity). The platforms are also ...
user avatar
0 votes
1 answer
112 views

2D Side-scrolling Strategy Game Pathfinding Help

Hey Guys,I am trying to implement dungeons into my 2d RTS ish game.The dungeons is made out of rooms, you start at the top, and you can unlock rooms with scouts.The picture is the unlocked version of ...
user avatar
0 votes
1 answer
1k views

Godot: Move_and_slide_with_snap not working on slopes

My Problem I am currently building a platformer game. I was attempting to use move_and_slide_with_snap for the first time and can't find it working for me. My character does snap to the ground like I ...
user avatar
0 votes
0 answers
132 views

What are the parameters for a smooth wall jump

I want to make a platformer like Celeste and trying to implement wall jump. When the player is on the air and near a wall, and presses jump, the player gains x velocity opposite the wall direction, ...
user avatar
  • 217
0 votes
1 answer
212 views

How to handle enemies outside camera view in 2d platform

i am making a 2d platformer in unity like mario or adventure island, and i am placing enemies manually(not doing any spawning) in the world, and those enemies have animations and movement scripts with ...
user avatar
2 votes
0 answers
141 views

How to achieve variable jump height in an elegant and natural way

I am making a platformer, with a methodical approach to player physics. This is how I do variable jump height: ...
user avatar
  • 217
1 vote
1 answer
289 views

How to make Rigidbody.AddForce less delayed in Unity3D? [closed]

I'm trying to make it so that when the player in my game moves left or right, he lightly jumps from his current position to his new position. The way I have it set up now, the jump occurs once he has ...
user avatar
0 votes
1 answer
50 views

Need help accessing booleans from other script Unity3D

I'm making an endless runner game where platforms move towards the player so it makes it seem like the player is running across them. I'm trying to make it so that when the player dies, the platforms ...
user avatar

1
2 3 4 5
8