When running the game, try going to the remote tab. The names of your nodes might be different from what you might expect. I suggest, rather than checking whether the name is exactly wallnode, try checking if the node name contains wallnode.
Or, even better, set you wallnodes into a particular layer so that only those will be detected by the area2d.
You can use both languages within the same project. For example, if you want to do something that requires a lot of heavy computation, you can use C# for that, while the rest is GDScript.
But I definitely recommend learning GDScript because it has the most support compared to C# (so I've heard; I don't use C#).
This is the part I'm referring to:
(!IsCharacterAttacking() && nextState != currentState)
After finished_attacking() is called, IsCharacterAttacking() will return false, right? So let's simplify, the conditional statement basically looks like this:
true && nextState != currentState
But, then you started attacking, nextState was set to the attacking state, so it became the currentState in the next frame. Making the statement look like:
true && false
Which is basically false, so the entire switch stament you've set up isn't getting called. I think.
This is just what I think is happening, but I can't be sure. If this is not what's happening, then idk. Hope you solve it!
Since it's a pixel art game, I suggest snapping the sprite to the pixel grid so it looks like a retro game. But this is just a suggestion; having sprites that don't snap to the grid can be a stylistic choice.
This looks very cool and retro! have you thought of also putting dashes lines for the edges that aren't visible? I think that would look interesting.
quick question; why does some faces get completely filled with the blue with the angle (relative to the camera's perspective) is shallow enough? kinda seems weird when it does that.
Nice feet! How did you implement those? It seems that they adapt to the slope of the floor they stand on.
Also, if this is an early prototype, then I suggest continue working on the mechanics before you create more art for it. Nice prototype. It looks good. Good luck dude.
The dirt tile looks weird in some places, you might wanna look into that.
Good luck on your game!
looks good!
When running the game, try going to the remote tab. The names of your nodes might be different from what you might expect. I suggest, rather than checking whether the name is exactly
wallnode, try checking if the node name containswallnode.Or, even better, set you wallnodes into a particular layer so that only those will be detected by the area2d.
is this rigidbody or characterbody?
Can i see your implementation? Or at least a video of how it currently looks
You can use both languages within the same project. For example, if you want to do something that requires a lot of heavy computation, you can use C# for that, while the rest is GDScript.
But I definitely recommend learning GDScript because it has the most support compared to C# (so I've heard; I don't use C#).
How did you made that background? Is that a repeated texture? How did you made it repeat?
Nice! Although kinda weird how some rooms are centered and some rooms touch but not connected.
This is the part I'm referring to:
(!IsCharacterAttacking() && nextState != currentState)After
finished_attacking()is called,IsCharacterAttacking()will returnfalse, right? So let's simplify, the conditional statement basically looks like this:true && nextState != currentStateBut, then you started attacking,
nextStatewas set to the attacking state, so it became thecurrentStatein the next frame. Making the statement look like:true && falseWhich is basically
false, so the entire switch stament you've set up isn't getting called. I think.This is just what I think is happening, but I can't be sure. If this is not what's happening, then idk. Hope you solve it!
I see. Thank you, kind redditor!
Isn't each layers only appears to be 3D? Maybe you can use AStar normally. Have you tried it? If yes, then idk.
(I don't know or use AStar, only NavigationAgent2D so idk how they differ)
I think what's happening is that when
Glad to hear that you're enjoying game dev!
Since it's a pixel art game, I suggest snapping the sprite to the pixel grid so it looks like a retro game. But this is just a suggestion; having sprites that don't snap to the grid can be a stylistic choice.
The game’s looking quite good.
This looks very cool and retro! have you thought of also putting dashes lines for the edges that aren't visible? I think that would look interesting.
quick question; why does some faces get completely filled with the blue with the angle (relative to the camera's perspective) is shallow enough? kinda seems weird when it does that.
nice visuals though
dumb question from a noob (me):
This looks neat!
I think it would be an interesting challenge if you only used 4 colors in a way that no two adjacent regions would have the same color.
Looking good! The smack animation could have more juice to it though. Have you tried making the objects white for a few frames when smacked?
I think those are on-screen buttons
I'm very dumb, what is it and what does it do?
Nice feet! How did you implement those? It seems that they adapt to the slope of the floor they stand on.
Also, if this is an early prototype, then I suggest continue working on the mechanics before you create more art for it. Nice prototype. It looks good. Good luck dude.
The texture on those blocks kinda remind me of that game where you play as a hamster in a ball and you navigate a maze with traps and all that.
miss that game.
looks like someone needs to drink more water
Huh, that never happened to me. I use 4.1 btw.
I kinda fixed this in my game by making the navigation polygon (I forgot what's it called) smaller then the tiles (I use tileset for the world).
Here's the tutorial that helped me do exactly that by Firebelley Games
Have you tried using NavigationAgent2D?