Pixel alignment issue in editor

Get help using Construct 2

Post » Tue Aug 21, 2012 6:33 am

Hey all!

Here's my issue: I'm trying to align aliased tiles with each other, which works fine in Photoshop; however, in Construct 2, some tiles will have this issue:


The whole thing will be exactly one pixel out of alignment, and using the left / right arrow keys overshoot that pixel by one and leave it too far on the other side. Both tiles have the same width both in actual pixels and in the editor.

Is this a resolution issue? Also, when creating small-scale assets (think 10x10 pixels), is it better to upscale the tiles previous to importing, or would it be just as effective to have Construct do the scaling for me?Kibbles2012-08-21 06:47:08
Posts: 4
Reputation: 308

Post » Tue Aug 21, 2012 3:01 pm

It's the way things are rendered in browser - I've been doing pixelated stuff by blowing up, in order to save memory and disk space, and occasionally things won't reach.

I'm assuming you're using a grid to line everything up?

Are the tiles on-grid, and integers? IE, if tiles are 10, grid points are multiples of ten, and x,y co-ods aren't something like 10.1256 , which can happen when nudging by cursor keys.

Posts: 495
Reputation: 11,964

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 3 guests