Hi I this is my first app - I watched an online tutorial and felt fairly confident but I’ve stumbled at the first hurdle. I’d much appreciate a leg-up if anyone’s able to help.
I want to create a side scroller with a background image that scrolls slowly as the character advances to the end, meeting sprites along the way.
The background image is 16384px by 1536px - huge I know, but it’s based on an ipad display height (landscape) and about 8 screens long.
My first questions are:
- is this a good idea? I was going to downsize the sprites and background image and use lower resolution images/sprites for smaller screens - but setting those per screen size is an issue for later. I’m starting with best possible quality and trying to get something to work.
Would it be better to cut the image into screen widths and have one appear as the previous one scrolls away?
- I don’t how to put the image on the screen. A lot of tutorials cover endless scrolling but this case is different. Should I use display.newImage, scrollView? How should I handle the scrolling, perhaps transitions.to?
Many thanks for any help - with such a basic question I know.
David.