I’m building a game which have forever scrolling ground. Ground have some holes,and game over when player fall into a hole. I can scrolling background. But I can't scrolling "Ground" which have PhysicsBody (and player can stand).
I tried 2 ways,like this.
1) Scrolling TileMap using JSTilemap It's made game running so slowly, and it not scrolling forever.
2) Scroll SpritNode from ground image file. There an error "PhysicsBody: Could not create physics body" when I use [SKPhysicsBody bodyWithTexture].
Which way is better? and , Isn't there any other way?
Thanks,