Hobbyist developer, Linux enthusiast, and Arch Linux user.

“The only things constant in this world are death and taxes, I’ve got both!”Skeleton Merchant, Terraria

  • 2 posts
  • 0 comments
Joined 3 years ago
Cake day: June 29th, 2023

I’m making a game where the player moves through an endless scrolling 2D world. Currently, I want the terrain to represent a sine wave, as shown in the provided illustration.

How should I setup my terrain scene to generate this terrain with collision? Or should the terrain generation be in the main game scene? If the later, what node structure should I use for my terrain?