Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
1answer
50 views

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

I am having a problem with the Enemy ai. It does not move when it collides with the wall. How do I fix this? Enemy Script ...
0
votes
1answer
23 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
61 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
63 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
57 views

Why moving platform script is not working?

I have some code attached to a moving platform: ...
0
votes
0answers
49 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
1answer
55 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
57 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
83 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
160 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
37 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 ...
2
votes
2answers
67 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
73 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
40 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
50 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
214 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
69 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
99 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 ...
1
vote
1answer
135 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
242 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
193 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
47 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 ...
0
votes
0answers
30 views

Godot: How to maintain constant inertia

Inertia If I have a platform moving vertically I want the player to jump onto it without it losing its motion and slowing down or stopping. I have tried looking at the settings to CollisionShape2D ...
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
113 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
131 views

Phaser: How to call a function inside another function?

So I actually have the following code that works: ...
0
votes
0answers
17 views

Phaser: How to use a simple timer from 0 to 3

I am using the following code (which is a simplified snippet in order to make it more readable): ...
2
votes
2answers
74 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: ...
0
votes
0answers
37 views

how to check if player stands on platform?

I want to test if player stands on platform. I have 32x32 platform sprites. My code looks like ...
0
votes
2answers
110 views

Keep platformer jump height consistent with different frame rates

I want to achieve a platformer jump similar to that of Super Mario Bros. (keep pressed the jump button to jump higher) and I want it to be frame rate independent. At 30 FPS it works as I want. However,...
0
votes
2answers
83 views

How To Destroy/Deactivate one enemy without affecting other enemies of the same type?

In my game, you jump on zombies'heads to squash them. Currently I'm only able to have one zombie in my game. When I add another (duplicate or drag from prefab), then run the game, I can squash one ...
0
votes
1answer
79 views

How to stop all character movement when jumping against the side of a platform?

My Sprite is Moving against a platform. I have a script and an unusual one (that's what one of the member said.) My isGrounded isn't using any rayCasting. I didn't have any problem with it but when I ...
0
votes
2answers
170 views

How to mitigate speed effects on moving platforms?

I am implementing horizontal moving platforms in my 2D platformer. The way it's implemented currently, when my player lands on a moving platform, he is reparented to it so that his position updates ...
3
votes
1answer
271 views

Why do old platformers typically scroll to the right? [duplicate]

Lots of old platformers are only left-to-right-ish and they don't allow you to move viewport left. I'm interested was it just a game design choice or it's due to some limitations back then. I have a ...
3
votes
2answers
259 views

How to implement a clipped shadow in 2D?

I want to create a shadow effect similar to the one found in JoyMasher's Blazing Chrome. Notice that the shadow clips when you're on a ledge, and projects to the geometry below. Currently, my ...
1
vote
1answer
94 views

How to synchronize moving hazards?

I am trying to implement a saw blade hazard in my platformer. The saw blade simply moves from point A to point B, and back, at constant velocity. (Let's assume all saw blades move at the same velocity....
0
votes
1answer
483 views

ScreenToWorldPoint and ViewportToWorldPoint

I'm currently following tutorials on Youtube to learn howto use Unity. My code runs perfectly as per the tutorial, but i just have some questions regarding the code, with regards to screenToWorldPoint ...
0
votes
1answer
87 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
215 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
340 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
130 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
96 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
1answer
106 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
86 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
86 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
321 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 ...
1
vote
1answer
623 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 ...
2
votes
2answers
353 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
123 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
1answer
781 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 ...