I'm working on a real-time strategy platforming game set in space, I've got the editor up and running an I can load maps into the game and the pixel-perfect collision works well (right click to spawn creatures).
Howerver when I move the camera (press arrow-keys to off-set everything), white lines appear around the tiles which make it look really ugly, is there any way to solve that or is that just what happens when you use drawquad..?
EDIT 2: now it's the right one, sorry
[solved] Ugly tiles when "moving camera"
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
[solved] Ugly tiles when "moving camera"
Last edited by Linuus on Sun Mar 03, 2013 4:41 pm, edited 2 times in total.
- substitute541
- Party member
- Posts: 484
- Joined: Fri Aug 24, 2012 9:04 am
- Location: Southern Leyte, Visayas, Philippines
- Contact:
Re: Ugly tiles when "moving camera"
Ah, simple. That happens when you move your camera in non-integer values (like 0.333333333333 or 16.67). Try adding math.floor in the coordinates of your images (and, if you use offsets, the offsets in your images too).
Currently designing themes for WordPress.
Sometimes lurks around the forum.
Sometimes lurks around the forum.
Re: [solved] Ugly tiles when "moving camera"
Thank you so much!
Works great now
Works great now
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], Semrush [Bot] and 4 guests