Skip to main content

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.

0 votes
0 answers
33 views

2D line tracing in a 3D environment

I am trying to build a grapple hook for my 2.5D platformer game. First I started with creating a line trace between the character to the mouse cursor but I want to restrict the end point to always be ...
Itay Cohen's user avatar
0 votes
1 answer
34 views

How do I move both the child & parent game objects at the same time?

My current code is: ...
Saltii's user avatar
  • 1
0 votes
2 answers
100 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. ...
TheEpikDuck's user avatar
0 votes
0 answers
76 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 ...
JAL's user avatar
  • 1
0 votes
0 answers
41 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 ...
shanksVR's user avatar
1 vote
0 answers
267 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 ...
Alex CB's user avatar
  • 376
1 vote
1 answer
503 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... ...
alturkovic's user avatar
1 vote
1 answer
63 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 ...
MikaKC's user avatar
  • 11
1 vote
1 answer
133 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 ...
James Anderson's user avatar
0 votes
0 answers
171 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. ...
Fuljin's user avatar
  • 1
1 vote
1 answer
128 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)...
Ali's user avatar
  • 55
2 votes
1 answer
118 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 ...
TOM's user avatar
  • 41
0 votes
1 answer
162 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 ...
Andre Alvarez's user avatar
1 vote
0 answers
384 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 ...
Nomi's user avatar
  • 33
0 votes
1 answer
88 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 ...
TBG's user avatar
  • 25

15 30 50 per page
1
2 3 4 5
28