Hi, new to Godot and working on a first project after taking a tutorial and I've run into two issues I can't sort out so far. For anyone who wants to look at my code/project, it is in this github repo: https://github.com/BPrinjinski/GodotProto
1.) I am seeing, while running, tiles in my room randomly flicker out and back in very quickly. I am not sure what is causing this and don't have any leads, really. Nothing appears to trigger it, and it happens randomly while the game is running.
2.) I have implemented states for my player such as IDLE, MOVE, JUMP, and FALL. I have animations in a state machine for these states, and they were working as intended until I added the FALL state. When on the ground and supposed to be IDLE or MOVE, the animation briefly flashes to the FALL animation and back again. To determine these states, I am looking at is_on_floor(), and if that returns false and the player has a y velocity > 0, I take it to be falling. I am assuming, then, that something is causing is_on_floor() to come back false even when it's true and for some reason there is a positive y velocity for an idling sprite(possibly from gravity?)
Any help is appreciated, thanks!