How do I get the Background Transparent

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Message
Author
Gamesmaster
Newbie
Posts: 23
Joined: Wed Apr 26, 2006 1:29 pm
Location: South Carlina
Contact:

How do I get the Background Transparent

#1 Post by Gamesmaster »

I'm trying the Ren'Py engine out for the first time.I got a couple of character pics but the white background just won't go away.At first the images was a jpg with a black background.I've tried changing it to white and I've tried changing the picture format to .png.Neither idea worked
Below is the picture I'm using.
Attachments
renee_vhappy.png
renee_vhappy.png (207.3 KiB) Viewed 3953 times

lordcloudx
Eileen-Class Veteran
Posts: 1406
Joined: Fri Feb 17, 2006 12:47 pm
Completed: http://rd2k2-games.blogspot.com

#2 Post by lordcloudx »

hey... are you sure you wanna use that pic? Isn't that shiori misaka from Kanon. In fact, I'm sure that's her.

Anyway, there are lots of tutorials on making pics like that transparent... but the fastest way with a nice soft effect is to use the magic wand tool on adobe photoshop. Click on the white background with the magic wand. Then go to select feather --- choose 3 or 5 pixels and press delete a few times maybe 2 or 3 times. Then save for web as a png-24 or something like that
Attachments
how's this?
how's this?
renee_vhappy.png (240.79 KiB) Viewed 3945 times
How do you make your games? I see. Thank you for the prompt replies, but it is my considered opinion that you're doing it wrong inefficiently because I am a perfushenal professional. Do it my way this way and we can all ascend VN Nirvana together while allowing me to stroke my ego you will improve much faster. Also, please don't forget to thank me for this constructive critique or I will cry and bore you to death respond appropriately with a tl;dr rant discourse of epic adequately lengthy proportions. - Sarcasm Veiled in Euphemism: Secrets of Forum Civility by lordcloudx (Coming soon to an online ebook near you.)

Gamesmaster
Newbie
Posts: 23
Joined: Wed Apr 26, 2006 1:29 pm
Location: South Carlina
Contact:

Thanks let me try it out

#3 Post by Gamesmaster »

Well I don't know where she's from really but I found a site with lots of images to use.My scanner is not working so I can't draw my own but I really want to at least try this thing out .So I'm doing the best I can with the resources that I have.It's either this or try drawing a original character with nothing but a mouse.(I have nightmares just thinking about it).

lordcloudx
Eileen-Class Veteran
Posts: 1406
Joined: Fri Feb 17, 2006 12:47 pm
Completed: http://rd2k2-games.blogspot.com

#4 Post by lordcloudx »

You can do inking with a mouse. At least as long as you have a rough sketch or any other pic as a reference, to work with. Just trace over the sketch or pic either point by point or by angles using the pen or freeform pen tool and stroking the paths every now and then.

Or you can even draw from scratch with mspaint. The good old curve tool is something that they should have added to photoshop long ago.
How do you make your games? I see. Thank you for the prompt replies, but it is my considered opinion that you're doing it wrong inefficiently because I am a perfushenal professional. Do it my way this way and we can all ascend VN Nirvana together while allowing me to stroke my ego you will improve much faster. Also, please don't forget to thank me for this constructive critique or I will cry and bore you to death respond appropriately with a tl;dr rant discourse of epic adequately lengthy proportions. - Sarcasm Veiled in Euphemism: Secrets of Forum Civility by lordcloudx (Coming soon to an online ebook near you.)

Ren

#5 Post by Ren »

If you don't want to use paint you could try Pixia instead, it's free and i quite like how it fixes lines for you.
I heard some people don't like it but i think it works quite well and i saw some artworks done with it that made me think it can give you nice results if you practice enough.

lordcloudx
Eileen-Class Veteran
Posts: 1406
Joined: Fri Feb 17, 2006 12:47 pm
Completed: http://rd2k2-games.blogspot.com

#6 Post by lordcloudx »

Wow! Pixia is incredible in the hands of the right user. It seems to be more powerful than photoshop for anime drawings.
How do you make your games? I see. Thank you for the prompt replies, but it is my considered opinion that you're doing it wrong inefficiently because I am a perfushenal professional. Do it my way this way and we can all ascend VN Nirvana together while allowing me to stroke my ego you will improve much faster. Also, please don't forget to thank me for this constructive critique or I will cry and bore you to death respond appropriately with a tl;dr rant discourse of epic adequately lengthy proportions. - Sarcasm Veiled in Euphemism: Secrets of Forum Civility by lordcloudx (Coming soon to an online ebook near you.)

monele
Lemma-Class Veteran
Posts: 4101
Joined: Sat Oct 08, 2005 7:57 am
Location: France
Contact:

#7 Post by monele »

One good thing with a picture you create yourself is that you won't have to use the wand and this will help avoid the jagged lines as you can see in the hair area (sadly, the wand doesn't help too much :/).
I don't mind such items to be used as placeholder art though (since I tend to do that myself >.>)

Alessio
Miko-Class Veteran
Posts: 576
Joined: Fri May 07, 2004 9:40 am
Completed: GO! Magical Boy (2006), Angelic Orbs (soundtrack)
Projects: Cyberlin (in progress)
Location: Finland
Contact:

#8 Post by Alessio »

Actually if you resize a picture (smaller), then the jagged lines will get more smooth. As long as the image is big enough and the background has one uniform colour you can thus get rid of jagged lines.

But I'd really recommend using own artwork. You wouldn't be even able to offer your game for download if it contains parts you don't own the copyright of. (On the other hand, if you see it as a temporary solution, and the game turns out well, I'm sure some artist would be willing to help.)

Gamesmaster
Newbie
Posts: 23
Joined: Wed Apr 26, 2006 1:29 pm
Location: South Carlina
Contact:

Alright sign me up

#9 Post by Gamesmaster »

Alright alright you guys convinced me.I would really like to draw my own graphics.But I've never drawn straight on my computer before.I've always drawn my stuff on paper and scanned it, then colored it.But I will give it a try.Right now I'm in the practice stages of this thing so I'm going to use the images I have for the practice program but I will definitely try my hand at making game graphics for the actual game.

The artwork that I saw using Pixia was amazing.I wonder how long it took him to get that good?

Alessio
Miko-Class Veteran
Posts: 576
Joined: Fri May 07, 2004 9:40 am
Completed: GO! Magical Boy (2006), Angelic Orbs (soundtrack)
Projects: Cyberlin (in progress)
Location: Finland
Contact:

#10 Post by Alessio »

I'm pretty sure that in order to draw properly you'd need a scanner or then a drawing tablet, no matter which program you use (Pixia, GIMP...). The mouse is just not exact enough for free-hand drawing. Don't punish yourself trying that...
Alternatively, you can use a vector graphics program and assemble the lines bit by bit. I think PyTom created his characters in the Demo game and in Moonlight Walks that way.

monele
Lemma-Class Veteran
Posts: 4101
Joined: Sat Oct 08, 2005 7:57 am
Location: France
Contact:

#11 Post by monele »

I agree. Unless you're proficient with a mouse (doing lots of oekakis for example), it will really bring the quality down. Not having either a scanner or a tablet will clearly hinder your work :/. Do you know anyone who has a scanner maybe ? Even if it's not *great*, you could at least scan drawings from time to time this way.

Another thing : what are your plans in the close future ? If you just want to try Ren'Py, as in testing what it can do for you, then I guess you don't *have* to draw things -right now-. Keep using ready-made pictures. You'll have time to replace them with your own drawings later.
If you plan to publish something really soon though, better not lose time and find a solution ^^;

Watercolorheart
Eileen-Class Veteran
Posts: 1314
Joined: Mon Sep 19, 2005 2:15 am
Completed: Controlled Chaos / Sum of the Parts / "that" Midna game with ZONEsama
Projects: Sparse Series/Oddments Shop original cartoon in Pevrea; Cybernetic Duels (fighting game); Good Vibin'
Organization: Watercolorheart Studios
IRC Nick: BCS
Tumblr: adminwatercolor
Deviantart: itsmywatercolorheart
Github: Watercolordevdev
Skype: heartnotes
Soundcloud: Watercollider
itch: watercolorheart
Location: Florida
Contact:

#12 Post by Watercolorheart »

Alessio wrote:I'm pretty sure that in order to draw properly you'd need a scanner or then a drawing tablet, no matter which program you use (Pixia, GIMP...). The mouse is just not exact enough for free-hand drawing. Don't punish yourself trying that...
Alternatively, you can use a vector graphics program and assemble the lines bit by bit. I think PyTom created his characters in the Demo game and in Moonlight Walks that way.
That is not true. I learned to drew with a mouse as a child at the age of five roughly the same time as a pencil, and I have no difficulties in making a non-shaky line, provided that I have a decent mouse and pad.

A lot of work just goes into cleaning up spare pixels, and making straight-edged lines. It's the same with traditional, really: you'd still erase and fix a line that was off-center then, now, wouldn't you?

Alessio
Miko-Class Veteran
Posts: 576
Joined: Fri May 07, 2004 9:40 am
Completed: GO! Magical Boy (2006), Angelic Orbs (soundtrack)
Projects: Cyberlin (in progress)
Location: Finland
Contact:

#13 Post by Alessio »

Wow, well, if you manage to do that, then I take my claim back of course. :) I started my foray into the computer world at the age of 16 when mice were... er... not really being used yet. So pencil on paper is what I go for.

monele
Lemma-Class Veteran
Posts: 4101
Joined: Sat Oct 08, 2005 7:57 am
Location: France
Contact:

#14 Post by monele »

I started at the age of 4, with a mouse, as crappy as it was, and I *did* draw stuff on the computer with the mouse (no affordable scanners or tablets at the time), but still... except maybe for a tablet, I wouldn't give my pen'n'paper + scanner away :)

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

#15 Post by PyTom »

Alessio wrote:Alternatively, you can use a vector graphics program and assemble the lines bit by bit. I think PyTom created his characters in the Demo game and in Moonlight Walks that way.
I did, I used the free SVG program inkscape. I had to do it that way, since I am fundamentally unable to draw with the mouse. Even if I was, I like the fact that in Inkscape, the lines are alive, so I can alter them easily if I don't like where they end up. That's something you can't do with raster graphics, especially after a path has been stroked.

(That's not to say I consider myself a good artist... I know I'm not. But it is to point out that if a nerd like me can make reasonable art with Inkscape, imagine what someone decent could do.)

Everything I did was made with the bezier line tool, rather than any of the pencil or pen tools. I like having precise control over where the points on the line are placed.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Semrush [Bot]