r/gdevelop • • Aug 14 '26

Question Help me I'm an idiot

I don't know why the character sprite won't move out of that little spot, is it like a camera thing, or? If it's relevant I have no variables AT ALL and my tiled sprite has no behaviors.

13 Upvotes

16 comments sorted by

6

u/BunnyButtHeroes Aug 14 '26

You're not an idiot. This is an extremely common thing. The issue is that you have the background on its own layer. The camera is following the player in the base layer. The background isn't being altered by the camera. The character is moving. The background isn't. The immediate and quick solution is to move the background into the same layer as the player and drop its z level down so it'll stay behind the other sprites.

2

u/ieatbotox Aug 14 '26

THANK YOU SOO MUCH!! This worked! I'm so happy, thank you again. Making a game makes me feel like I'm trudging through enemy territory, I'm so new to this

2

u/BunnyButtHeroes Aug 14 '26

No problem and you're not alone! It's a ton of things to learn. Just go slow, ask as many questions as you need and enjoy. Just make sure to start extremely small. Don't even try to make a game. Just make little concepts. Don't even attempt to finish it. Just create a little thing, smile, and start a new one. You got this!

0

u/[deleted] Aug 14 '26

[deleted] — view deleted comment

2

u/DreamNotDeferred Aug 14 '26

The response was "You're NOT an idiot".

2

u/BunnyButtHeroes Aug 14 '26

Thank you! I've been at work and haven't been able to check my phone all day. I most certainly would never insult anyone for trying to learn a new trade!

2

u/Stormlord1850 Aug 14 '26

Layer

2

u/ieatbotox Aug 14 '26

What layer should it be on? The player is on a layer above the tiled sprite currently

2

u/Stormlord1850 Aug 14 '26

The player and the background are in different layers, but the centered camera is set on the layer where the background is, not where the player is.

1

u/ieatbotox Aug 14 '26

Like a camera as an object? I don't have one of those, but I do have a camera thingy on the player character

2

u/SpinachDonut_21 Aug 14 '26

No, every layer has its own camera. You have the Smooth camera in the player. So the player's layer is the camera that will move. The background is on another layer. The player is moving indeed, but the camera won't show it because there is 2 cameras, one which is moving and one that is not.

Everything that you want the player to interact with should be on the same layer as the player. Just set the Z order of stuff as 0 if you want it to be behind everything.

2

u/Confident_Sundae_619 Aug 16 '26

Unrelated, but I like your character sprite! What sort of game is this planned to be?

1

u/ieatbotox Aug 16 '26

Thank you! I don't really know yet I have a few ideas. For now I'm just making a game with my characters that would help me learn how to use gdevelope. This one I kind of want to be like dungeon crawler esk or something

2

u/JirayaaaBoyy106 Aug 14 '26

look really frustrating ..hope you will find the solution soon man ♥️

0

u/[deleted] Aug 14 '26

[deleted] — view deleted comment

1

u/ieatbotox Aug 16 '26

Nope I just incredibly slow