Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Harshitsoam |
Hi I am facing a very strange problem enemy of my game which is kinematicbody2d
and it is spawned at random y coordinates and comes down on the screen it code for coming down is position.y+=EnemySpeed.green_enemy_speed
Here enemy speed is a int variable which is assigned to 2 and increments over time maximum to 10 the problem is when enemy is coming down from the screen it does not refresh real-time here is a video of showing what exactly the problem is -
I tried changing movement from incrementing position.y
to move_and_collide
but problem remains same please help me