On flipping sprites
- Dreadwing93
- Regular
- Posts: 30
- Joined: Mon May 20, 2013 1:44 am
- Projects: 0xE125: Crimson Spiral
- Contact:
On flipping sprites
Ren'py has this wonderful image manipulator called im.Flip(), which can be used to flip a sprite horizontally so they face the other direction.
Let's say you've got a hopelessly asymmetrical character though.
Let's say she's missing an arm, her left arm, and you drew her sprite facing left.
If you use im.Flip() to make her face right, then her left arm magically regrows! But now her right arm is gone...
When it comes to small things like asymmetrical hair I would just flip the character without a second thought.
But in the case of the missing arm, what would you do?
I have three main ideas, and I'm not sure which would be best:
1. Hacking it so that your character for some reason is always on the right side of the screen.
2. Just make another sprite facing the other way.
3. Just give in to temptation and im.Flip()
Obviously #2 would be best quality-wise but I want to avoid redrawing sprites when it isn't completely necessary. I'm sure others might share this sentiment.
Let's say you've got a hopelessly asymmetrical character though.
Let's say she's missing an arm, her left arm, and you drew her sprite facing left.
If you use im.Flip() to make her face right, then her left arm magically regrows! But now her right arm is gone...
When it comes to small things like asymmetrical hair I would just flip the character without a second thought.
But in the case of the missing arm, what would you do?
I have three main ideas, and I'm not sure which would be best:
1. Hacking it so that your character for some reason is always on the right side of the screen.
2. Just make another sprite facing the other way.
3. Just give in to temptation and im.Flip()
Obviously #2 would be best quality-wise but I want to avoid redrawing sprites when it isn't completely necessary. I'm sure others might share this sentiment.
-
- Veteran
- Posts: 356
- Joined: Mon Mar 11, 2013 11:03 pm
- Contact:
Re: On flipping sprites
[EDIT: This old post totally missed the issue: obvious asymmetry (like missing arm). Other users have given answers below.]
Last edited by pwisaguacate on Wed Dec 11, 2013 6:01 pm, edited 1 time in total.
- Dreadwing93
- Regular
- Posts: 30
- Joined: Mon May 20, 2013 1:44 am
- Projects: 0xE125: Crimson Spiral
- Contact:
Re: On flipping sprites
I was actually planning on going with #1.
And I actually do have a character with only one arm (She's not an amputee, just an android. A broken one.)
I originally drew her facing left, but since she's going to be the POV character most of the time I wanted her to be on the left side of the screen (Since the protagonists usually go on the left for some reason)
I think she's grown quite comfy on the right side of the screen though, so I think I'll just leave her there for now.
And I actually do have a character with only one arm (She's not an amputee, just an android. A broken one.)
I originally drew her facing left, but since she's going to be the POV character most of the time I wanted her to be on the left side of the screen (Since the protagonists usually go on the left for some reason)
I think she's grown quite comfy on the right side of the screen though, so I think I'll just leave her there for now.
-
- Veteran
- Posts: 397
- Joined: Sun May 22, 2011 8:23 pm
- Projects: FA:NG, ???
- Contact:
Re: On flipping sprites
If you flip your sprites, make sure that any asymmetrical details are redone so that they don't flip (eyepatches, bangs etc.) I think it's better to just modify the relevant sprites for that purpose.
Forever Alone: Nerds the Gathering - A brotome game. (Nerdy Valentine's Day Card and small status update 2/14/14)
Night at the Hospital - Maiden voyage of Team Snugglebunny
Skylessia: Tale of the Boon - Epic fantasy whatsit, currently on hiatus.
Viking Pipsqueak Productions Blog (under construction)
Ioccasionally frequently draw other people's characters. Now offering delinquentization, medievalization, and cyborgification. Hit me up in PM if you want sprites for your KN or non-ren'ai VN.
EVEN IF THE TENDONS OF MY THUMBS TEAR INTO NOTHINGNESS, EVEN IF I GO NEARSIGHTED FROM STARING TOO HARD AT THE SCREEN, EVEN IF MY BODY IS CLOSE TO COLLAPSE FROM THE 72 HOURS I HAVE GONE WITHOUT FOOD! I WILL DEFEAT YOU!
Night at the Hospital - Maiden voyage of Team Snugglebunny
Skylessia: Tale of the Boon - Epic fantasy whatsit, currently on hiatus.
Viking Pipsqueak Productions Blog (under construction)
I
EVEN IF THE TENDONS OF MY THUMBS TEAR INTO NOTHINGNESS, EVEN IF I GO NEARSIGHTED FROM STARING TOO HARD AT THE SCREEN, EVEN IF MY BODY IS CLOSE TO COLLAPSE FROM THE 72 HOURS I HAVE GONE WITHOUT FOOD! I WILL DEFEAT YOU!
Re: On flipping sprites
There's no problem with her just being on the right side, but if you'd like to flip her, I'd also just edit the main sprite.
Means duplicate it, flip it in your painting program flip/redraw everything that's on the wrong side now.
If we look at the guy above all you'd have to do is to flip his bangs and fix the buttons.
Since sprites don't have strong lightning you wouldn't have to do much there.
(Having flipped hair is a pet peeve of mine--it just throws me out so much when sprites are mirrored if they are asymmetrical. D:)
- En.
Means duplicate it, flip it in your painting program flip/redraw everything that's on the wrong side now.
If we look at the guy above all you'd have to do is to flip his bangs and fix the buttons.
Since sprites don't have strong lightning you wouldn't have to do much there.
(Having flipped hair is a pet peeve of mine--it just throws me out so much when sprites are mirrored if they are asymmetrical. D:)
- En.
- nyaatrap
- Crawling Chaos
- Posts: 1824
- Joined: Mon Feb 13, 2012 5:37 am
- Location: Kimashi Tower, Japan
- Contact:
Re: On flipping sprites
BTW, the following code is faster:
I often use flipping for GFX.
Code: Select all
image:
xzoom -1
- Dreadwing93
- Regular
- Posts: 30
- Joined: Mon May 20, 2013 1:44 am
- Projects: 0xE125: Crimson Spiral
- Contact:
Re: On flipping sprites
Well my character with one arm aside, I do have a character with asymmetrical hair that I've been flipping. I'm not going to be able to get away with keeping him on one side, so I'm either going to have to fix up his hair, or just have him rapidly untie and retie his ponytail every time he wants to turn around.
If I put that in a transform statement, then I can do something like this:
Oh, thanks for that.nyaatrap wrote: xzoom -1
If I put that in a transform statement, then I can do something like this:
Code: Select all
init:
transform flip:
xzoom -1
start:
show image at flip
- pineapplepocky
- Regular
- Posts: 82
- Joined: Wed Jul 31, 2013 10:10 pm
- Location: California
- Contact:
Re: On flipping sprites
one thing you should be careful, especially with artists that don't do it, is that flipping can often show artists' mistakes. Like regarding proportions, if you flip it and it looks weird, it's likely that it's off and you need to fix it. Artists often flip their images to make sure mistakes and proportions on the drawings are the right size or is on the correct spot on the image. It's often called the 'mirror technique'.
the reason why the mirror technique is used: When you look at an image long enough, you being to think or imply details that are there...like 'oh that's an eye it goes there, that's the mouth it goes there, this must be a person'. When you flip the image, your brain suddenly changes its perspective on the image, so instead of looking at what you 'think' it's supposed to look like, you are looking at the picture more as an image with details. Sort of if a complete stranger looked at a picture vs. you staring at the same thing for hours and not noticing anything wrong with it.
back to topic:
So if you DO plan to flip the image in a visual novel, make sure the art looks perfect first. You don't want to suddenly have an image where their eye looks oddly tilted in one direction.
Even if you flip it or not in a visual novel, you should still be doing that to check if your drawing looks good or not too. Makes a super difference.
the reason why the mirror technique is used: When you look at an image long enough, you being to think or imply details that are there...like 'oh that's an eye it goes there, that's the mouth it goes there, this must be a person'. When you flip the image, your brain suddenly changes its perspective on the image, so instead of looking at what you 'think' it's supposed to look like, you are looking at the picture more as an image with details. Sort of if a complete stranger looked at a picture vs. you staring at the same thing for hours and not noticing anything wrong with it.
back to topic:
So if you DO plan to flip the image in a visual novel, make sure the art looks perfect first. You don't want to suddenly have an image where their eye looks oddly tilted in one direction.
Even if you flip it or not in a visual novel, you should still be doing that to check if your drawing looks good or not too. Makes a super difference.
Visual Novel Project: Destiny Limit --> http://www.destinylimit.net/
(facebook: http://www.facebook.com/destinylimitgame)
deviantart: http://pineapple-pocky.deviantart.com/ (and open for commissions)
blog: http://www.jackieloart.com/blog/
- qirien
- Miko-Class Veteran
- Posts: 541
- Joined: Thu Jul 31, 2003 10:06 pm
- Organization: Metasepia Games
- Deviantart: qirien
- Github: qirien
- itch: qirien
- Location: New Mexico, USA
- Discord: qirien
- Contact:
Re: On flipping sprites
There is one more option - draw the character in a more neutral pose, looking close to straight ahead, so that they could go on the left or the right without flipping. Of course, then your characters are looking at the player instead of each other, which sounds awkward, but can work.
Who is online
Users browsing this forum: No registered users