Sup folks.
I want to make a game with a scrolling background. But generating is too hard for me, so I would like to take one big image. Width = 10000 and height 600. And using drawImage to get a scrolling background. It's for a "Copter"-based game.
I approx need 15 rules of code. Could someone give me an example using drawImage?
Thanks in advance!
![Twitter](/assets/twitter-4e19209ef84344ee0c433f4c7bad8d49.png)
![Twitter.hover](/assets/twitter.hover-1fb19a5bafc50deace8f88eaec867845.png)