Hello guys, i tried to make a bomb game and i have a problem right now, i want the player to lay a bomb as per the direction, I mean when i press right arrow or moving to the right direction the player put a bomb in front of him and the same
I attach a screenshot from game events and want you to tell me what’s wrong with it.
im new to this so treat me as a beginner and simplify your answers plz.
Hello there, what is the project doing or not doing, that you don’t like? Is it making the bombs but not in the correct position? Is it not making bombs at all?
From your events it looks like, as long as you have pressed the Ctrl button on the left side of your keyboard and not the Ctrl button on the right side of your keyboard, your PlatformerGuy should make 2 bombs. The first one will be to the right of PlatformerGuy, with perhaps a peculiar appearance because of the .5 scale to the Y axis. Then as long as your Direction variable is either “Left” or “Right”, meaning at some point in the game you moved your PlatformerGuy with either the left or right arrow key and were not using other keys to move him, another bomb should be placed.
What is actually happening or not happening that you would like to fix?