I’m new here and to Cocos, so hi! Excited to learn with you all. I’m following the Flappy Bird tutorial and hit a wall almost immediately. In part 3 where we make the ground, I triple-checked that all my nodes are created with the same values and everything from the tutorials, and I’ve triple-checked Ground.ts and it looks right to me.
towards the end of the script as in the tutorial, and even logging this.ground1.position to the console, and seeing it update as expected every frame and resetting correctly when it should run off the screen.
However, the ground just holds still, as if these nodes aren’t realizing their position is being updated. I have a repo to clone if anyone’s willing to take a look. Thanks in advance for any wisdom you can share!
To follow up, if I simulate in-editor I can see the x value of each node’s position update as expected, however still no movement on screen. This issue is reproducible on both HTML and Android.
Hi @danieljustus, I have not run through the Flappy Bird tutorial, but does the ground component have a RigidBody on it? If so are the settings correct?
If it is set to ‘Static’, that could be the issue?