I have added the jumping animation to my player. When my player jumps, the animation plays. However when the player lands, the jump animation becomes ...
I have added the jumping animation to my player. When my player jumps, the animation plays. However when the player lands, the jump animation becomes ...
I'm playing with light 2D in unity and struggling to achieve proper lighting. I want to create a top down shooter with rendering only field of view of ...
I'm trying to recreate Stickwar's flash game, a game in which I'm a big fan of but got suck when I attempt to align my troops. Particularly, here is t ...
here resData.data.list is in the form [[122,4,3,2],[5,4,3,32],[54,5,6,7,77],[2,3,5,7,5,4]] in console.log(updatedList), I am still getting [[1,2].[1 ...
I am creating a 2d mobile game where one of the scripts uses a joystick to move and the other script lets the player shoot an object when tapping anyw ...
My intend is to spawn node (I will say Stickman for now) on a specific position and make them move to left and right using buttons. As you can see, ...
I'm new to Unity and I'm trying to make it so the player can't jump while they're already jumping using IsGrounded which should check if they're on th ...
I am creating a webpage that allows users to search for a hiking trail based on difficulty. They will select either the 'Easy' or 'Hard' radio button ...
I'm making a 2D shooter game where the player's arm should be able to pivot based on your mouse position. I have a "joint" object set to the shoulder ...
guys! We are developing a 2D game for desktop and mobile. It is grid-based although we decided not to use tilemaps and, instead, create our own grid b ...
I'm following this tutorial to create a tile-based movement for my player, but I can't understand why it isn't working. This is my code, but It doesn' ...
I am trying to make weapon which is an orb. I tried almost everything but couldn't make weapon following mouse while in range of player. Can anyone he ...
Currently I have a dataframe of X Y coordinates which represent some circles that have been detected in OpenCV Python. These circles form distinct row ...
So i am new to libgdx and i am thinking about making 2D quest. I want to know how to interact with the objects on the backround image. For example, i ...
I am making a game in Godot and I want one of my enemies to move away from the ground when it detects a collision with RayCasts. I set up my RayCasts ...
This is my code and i managed to spawn the weapon when I interacted with the item, but couldn't find a way to make it spawn on my character and neit ...
I'm trying to "animate" (yes, I'm using the animate capabilities of Unity but I'm only changing the sprite from one still frame to another still frame ...
Problem illustrated I'm making a 2D game and got stuck on a mathematical issue. How do I find this missing X in the vector2 point in the picture illu ...
I am trying to have my code get when an object enters or exits a trigger, and then add or remove it from a list based on which it did (enter or exit). ...
I have a projectile and an enemy, but I want the enemy to decrease the heath variable when it touches the projectile. I tried to shoot projectiles bu ...