You'd be surprised how invisible a good tile is to most people. That said, making it randomly generated means that the odds of it being a good tile is... dramatically reduced. Random means that you'll have noticeable gaps and clusters, which will in turn make tile repetition more obvious.
A common trick is to make your tile just a little larger than necessary. Pad it by 64 pixels on each side, and it becomes much much harder to see the repeat, because the visible edges do not match up.
Have four or five tiles moving at different speeds... I'd say you're good. Just don't allow for too much variation, keep it subtle.
Optimizing parallax star background
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- tentus
- Inner party member
- Posts: 1060
- Joined: Sun Oct 31, 2010 7:56 pm
- Location: Appalachia
- Contact:
Re: Optimizing parallax star background
Kurosuke needs beta testers
- slime
- Solid Snayke
- Posts: 3160
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Optimizing parallax star background
Well I tried making 5 framebuffer tiles the same dimensions as my screen resolution and drew all of them as a test (disabling my normal parallax bg first). I got a much lower framerate than when I had my regular parallax! I guess I've optimized as much as I can.
Who is online
Users browsing this forum: Bing [Bot], devcolor, Google [Bot] and 1 guest