Well like maybe most of the users here, I also use Photoshop to create sprites and other graphical materials for the game though I consider myself to be still a newbie.

So I;ve got a question concerning making the sprites. I am trying to make the sprite look smooth(vector-like) however i see a problem that might arise from the anti aliasing of the outside line of the sprite and I know that in COnstruct I might get same weird whith gray surrounding the sprite. So what's the most efficient way of doing this? I could use hard line in PS and maybe use the smooth plugin(but how would that affect the game's performance if I would have sprites moving around with all the construct effect applied to them.) I could also think of making the sprite size in PS twice the size i itend it to be then put it on consturct then just decrease the sprite object with that sprite texture. I believe it smoothens it but still I'm not sure how it is compared to the effect plugin performance-wise.

[quote="hero_bash":td2hw76i]Well like maybe most of the users here, I also use Photoshop to create sprites and other graphical materials for the game though I consider myself to be still a newbie.

So I;ve got a question concerning making the sprites. I am trying to make the sprite look smooth(vector-like) however i see a problem that might arise from the anti aliasing of the outside line of the sprite and I know that in COnstruct I might get same weird whith gray surrounding the sprite. So what's the most efficient way of doing this? I could use hard line in PS and maybe use the smooth plugin(but how would that affect the game's performance if I would have sprites moving around with all the construct effect applied to them.) I could also think of making the sprite size in PS twice the size i itend it to be then put it on consturct then just decrease the sprite object with that sprite texture. I believe it smoothens it but still I'm not sure how it is compared to the effect plugin performance-wise.

Hmm, what do you guys think?[/quote:td2hw76i]

I'm not sure wheter i got your question right. But if i did i would first drow the outlines of the sprite in the size you want to display it in game or bigger, than i would export it as JPG (or bmp, whatever), import to Inkscape, used TRACK BITMAP feature, corect the new created vector gfx if nessecery, set the size you want it to be in your game, export is as png, import to PS, and coloured it. You will get perfectly smooth looking spite. If you want it to be perfectly coloured as well, you could fill it with colours within Inkscape. Thats the fastest and best way i can think of.

[quote="hero_bash":28jrftlt]So I;ve got a question concerning making the sprites. I am trying to make the sprite look smooth(vector-like) however i see a problem that might arise from the anti aliasing of the outside line of the sprite and I know that in COnstruct I might get same weird whith gray surrounding the sprite.[/quote:28jrftlt]You should never get gray surrounding the sprite: Construct uses premultiplied alphablending, which avoids this. The best way is to take advantage of the alpha channel and use soft edges to your sprite. If done right you can do a lot of scaling before it becomes noticable. Don't forget to leave a 1-pixel transparent border around the sprite (shift+crop) to prevent "hard edges".

[quote:28jrftlt]I could also think of making the sprite size in PS twice the size i itend it to be then put it on consturct then just decrease the sprite object with that sprite texture. I believe it smoothens it but still I'm not sure how it is compared to the effect plugin performance-wise.[/quote:28jrftlt]Shaders can affect performance quite badly, and not all graphics cards support them, so you should avoid them wherever possible. Your first idea, however, could work: large textures scaled down use mipmapping for high quality resizing, and if you zoom in or scale up, you actually increase the detail, which is nice. Still, if it looks similar to just using alpha blended edges, you may as well use that, because drawing images larger uses more VRAM.

Just a quick technical note: it is wrong to call Construct's smooth rotations/scaling anti-aliasing. It's not, that's a different algorithm which improves resolution. It's actually called bilinear filtering, and it's a lot faster than anti-aliasing, but it doesn't improve resolution - it basically just smooths over hard edges.

in PS you should use a vector shape so that it will look always sharp at whatever resolution you go.Trim, then enlarge canvas by 1 pixel in each direction (to avoid hard-edges). Save for web, export as PNG-24.

When ever I make graphics in PS to go into Construct, I just make all layers invisible except the layer I want to import. Then go 'save for web and devices' then save it as PNG. Then I just load that image with a sprite, and it's as it should be.

[quote="alspal":1gjikyo0]When ever I make graphics in PS to go into Construct, I just make all layers invisible except the layer I want to import. Then go 'save for web and devices' then save it as PNG. Then I just load that image with a sprite, and it's as it should be.[/quote:1gjikyo0]

You need script support! Run a script, and export all of your layers to separate .png files in a tidy little folder and numbered for your convenience. It's a GODSEND... trust me, you won't know why you went for so long without it

I think CS and above comes with scripting capability already, but if you need the scripting plugin for PS7 you can grab it here.