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.
410 questions
0
votes
0
answers
38
views
How do you setup a ramp with an existing tile-set in Unity?
(Beginner questions)
How do you setup the ramp with the tiles in unity?
The graphics and the behavior?
I've been checking this free tileset:
In the image it has connected ramps
I cannot seem to get ...
0
votes
0
answers
161
views
My fragment shader is being run on every pixel of the screen
This is my first time using this website and I'm a beginner too, so sorry if what I'm asking doesn't make sense.
I am using C++ and OpenGL to make a basic platformer.
My issue is that the fragment ...
0
votes
0
answers
111
views
Does anyone have the detailed breakdowns of physics in NES/SNES Mario games?
I'm working on basic clones of the classic Mario games I played on that Wii SNES emulator when I was younger to learn classic hardware emulation, platformer development, Monogame, etc. I found this ...
1
vote
1
answer
214
views
Collision detection and physics in a 2d pixel platformer
I'm reworking physics in a 2d action platformer I'm developing (no engine, c++ / sdl). Here's the general movement logic for all characters:
I calculate the offset I need to apply to the character
I ...
0
votes
0
answers
91
views
Using line and arc abstractions for building a platformer generator
I'm planning to make a procedural level generator and I think I will need some sort of abstraction of a level in 2D.
I thought that levels could be abstracted to lines (platforms) and arcs (jumps) and ...
1
vote
2
answers
285
views
Best Collision detection for slopes
I know this question sounds familiar but I'm working on a pretty big platformer (Written in PJS, on Khan Academy) and I don't want it to be just plain ground, I want slopes in the game (gentle slopes, ...
0
votes
1
answer
78
views
How do I move both the child & parent game objects at the same time?
My current code is:
...
0
votes
2
answers
157
views
Why is my enemy not moving?
I'm trying to make a 2D Unity platform game for a school project, but I can't seem to get the enemy to move.
...
0
votes
0
answers
104
views
Pixel platformer character collides with blocks above while there's still a visible gap
I was trying to the set up a tile map for a 2D pixel art game in Godot 4.1 (following a tutorial) and realized that there seems to be an issue or something I am not aware of with the way collisions ...
0
votes
0
answers
60
views
Enemy not responding to chained attack
I am working on a 2D mobile platformer where there will be different characters with unique skill sets. I am working on a character that should be able to perform chained attacks.
I have a button in ...
1
vote
0
answers
372
views
Procedural NavigationPolygon for a platformer in Godot 4
I'm trying to make navigation possible for npcs in a 2D platformer.
The game generates chunks with random platforms as the player ascends, so I also need to implement the navigation procedurally.
Each ...
1
vote
1
answer
874
views
JIttery rendering and ghost trail behind platformer character in Godot
I have no gamedev experience and I just started learning. I wanted to develop a basic platformer to learn.
I got stuck pretty soon with rendering in Godot. When I run the game, it just feels... ...
1
vote
1
answer
92
views
Player stays grounded when jumping at the side of a two tile high wall
I am currently developing a simple Super Mario Bros. like platformer in Cocos2d-x v2. I am now at the step of doing wall sliding with two axis-aligned bounding boxes (tiles) but I've not quite found ...
1
vote
1
answer
215
views
In platformer video games, what is the term for the size of the character on the screen?
In 2D platformer games, what is the term or word for determining the size of the player character on the screen?
For example, the player character in Castlevania: Symphony of the Night is very small ...
0
votes
0
answers
266
views
Trying to get a Character to face the direction based keys pressed left or right instantly
I finished up my movement script which is finally working fantastically. The only issue I am having is getting the character to face the direction when I press either left or right on the keyboard. ...
1
vote
1
answer
195
views
How can I fix this NullReferenceException error while all the references are set to specific objects?
I'm currently working on a boss fight for my game.
My problem is that I keep getting a NullReferenceException error that prevents the boss (named The Smallest Stain)...
2
votes
1
answer
180
views
How can I initialize a sprite programmatically in Unity
Hello everyone and thank you so much for your help!
I've tried following the answer at Unity 5 2D drawing sprites programmatically but nothing happened. I have a blank screen with just a background ...
0
votes
1
answer
240
views
How to make raycast go through platform effector?
I'm making a 2D game and I'm using a raycast.
I want the raycast to ignore the platform when hitting it from beneath, but not when hitting it from above.
Right now the raycast always hits no matter ...
1
vote
0
answers
608
views
How to make a moving platform with Unity Tilemap?
I am trying to make a 2D level of a game and want to know how to move a specific tile left and right.
All the level is designed on a single Tilemap. I want to move one platform left and right. How ...
0
votes
1
answer
140
views
Platformer enemy with raycast to detect obstacles keeps changing direction rapidly
I am making a 2D platform and implementing a character similar to a Mario Goomba. This character will move left or right, depending on whether or not a raycast determines that there is an object in ...
0
votes
1
answer
86
views
How to handle keyboard input arrow keys for a 2.5D Platformer
I need a higher level abstraction for keyboard input for a 2.5D platformer.
Like I know left and right is pressed, but I want to consider things like,
left is held down for more than one second, start ...
2
votes
1
answer
534
views
How to handle duplicate logic in a state machine for a platformer player?
I'm trying to implement a platformer character using a finite state machine, but I have troubles understanding what kind of logic goes into a state and what logic goes into a main player class ...
0
votes
1
answer
146
views
Informing clients of player actions in 2d platformer
I'm creating an online game (2d platformer) and I'm having some trouble understanding what to send clients. I'm sampling each player's input and sending it to the server after a set amount of time. ...
0
votes
0
answers
268
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 ...
2
votes
1
answer
3k
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 ...
0
votes
1
answer
287
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 ...
0
votes
3
answers
3k
views
How to stop the slide on slopes?
I'm struggling with a wee issue where if my character walks up a slope he slides back down when at rest, and bounces down when running down the slope. I've followed a few videos but none seem to ...
0
votes
2
answers
261
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 ...
0
votes
2
answers
284
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&...
3
votes
1
answer
374
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 ...
0
votes
0
answers
26
views
Platformer movement disabled after crouching
So, the problem is the movement to left and right is disabled after crouching and releasing
...
0
votes
0
answers
116
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 ...
0
votes
1
answer
100
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:
...
0
votes
1
answer
2k
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:
...
0
votes
1
answer
951
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 ...
0
votes
0
answers
126
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 ...
0
votes
1
answer
468
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 ...
3
votes
2
answers
2k
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 ...
0
votes
2
answers
212
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 ...
1
vote
0
answers
542
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 ...
1
vote
1
answer
3k
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 ...
2
votes
1
answer
2k
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 ...
0
votes
1
answer
2k
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 - ...
0
votes
1
answer
993
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 ...
-1
votes
2
answers
275
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 ...
0
votes
2
answers
577
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 ...
0
votes
0
answers
431
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 ...
1
vote
0
answers
133
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 ...
0
votes
1
answer
2k
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 ...
1
vote
2
answers
531
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 ...