How to arrange images for layered sprites?

Use this forum to help develop your game-making skills, and get feedback on writing, art, music, or anything else you've created that isn't attached to a game in progress.
Locked
Message
Author
User avatar
AERenoir
Veteran
Posts: 300
Joined: Fri May 27, 2011 8:23 pm
Contact:

How to arrange images for layered sprites?

#1 Post by AERenoir » Sat Dec 10, 2011 3:10 am

Okay so I'm having problems with making a layered sprite from the cookbook http://www.renpy.org/wiki/renpy/doc/coo ... t_emotions

Let's just say I cropped the face of my sprite. How do I know the pixel position of the face? Like how many pixels side and down on the "base" is the face?

User avatar
Camille
Eileen-Class Veteran
Posts: 1226
Joined: Sat Apr 23, 2011 2:43 pm
Completed: Please see http://trash.moe
Projects: Spirit Parade
Organization: Cyanide Tea
Tumblr: narihira
Deviantart: crownwaltz
Skype: thievinghearts
Contact:

Re: How to arrange images for layered sprites?

#2 Post by Camille » Sat Dec 10, 2011 3:39 am

Well, I personally just slice my sprites in Photoshop and then look up the coordinates. (or Auro's sprites, rather) But there's other ways to do it. Just google "image map creator". You can even do it through Ren'Py. When your game is running, hit shift+D -> image location picker. Then just choose an image and go. If you click and drag, you can make boxes and Ren'Py will tell you the coordinates as (xpos, ypos, width, height).
1/2 of Cyanide Tea | Break Chance Memento (BL) | Spirit Parade (Otome) | Portfolio/List of Works/Contact
I'm not around LSF very much these days; please contact me via Skype/Twitter. Ask me things!

User avatar
AERenoir
Veteran
Posts: 300
Joined: Fri May 27, 2011 8:23 pm
Contact:

Re: How to arrange images for layered sprites?

#3 Post by AERenoir » Sat Dec 10, 2011 7:44 am

I slice the same as crop? I want to know how I can crop in the right place. I t would be bad if I miss even by 1 pixel when I crop, no?

User avatar
Auro-Cyanide
ssǝʇunoƆ ʇɹ∀
Posts: 3059
Joined: Sun Jul 25, 2010 9:02 am
Completed: http://auro-cyanide.tumblr.com/visualnovels
Projects: Athena
Organization: Cyanide Tea
Tumblr: auro-cyanide
Deviantart: Auro-Cyanide
Location: Melbourne, Australia
Contact:

Re: How to arrange images for layered sprites?

#4 Post by Auro-Cyanide » Sat Dec 10, 2011 7:52 am

The slice tool is found with the crop tool in photoshop. Click and hold on the crop and you should be able to select it from the drop down menu. You can then use the slice tool to divide up the canvas. You can change position and size by right clicking on the section and opening the edit menu. Apart from that, I'm not too sure. I haven't actually used it before ^_^'

User avatar
DaFool
Lemma-Class Veteran
Posts: 4171
Joined: Tue Aug 01, 2006 12:39 pm
Contact:

Re: How to arrange images for layered sprites?

#5 Post by DaFool » Thu Dec 15, 2011 2:43 pm

I think it's simpler to just layer it all in Photoshop. Sure, you'll have a lot of transparent space, but it doesn't really contribute that much to file size. When compositing, you can just align them to 0,0.

User avatar
AERenoir
Veteran
Posts: 300
Joined: Fri May 27, 2011 8:23 pm
Contact:

Re: How to arrange images for layered sprites?

#6 Post by AERenoir » Thu Dec 15, 2011 7:56 pm

Good idea! :D

Locked

Who is online

Users browsing this forum: No registered users