Adversity Comp - Visual Novel Writing Contest - Sept 2012

A place to discuss things that aren't specific to any one creator or game.
Forum rules
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
Post Reply
Message
Author
User avatar
TKC
Newbie
Posts: 6
Joined: Tue Aug 16, 2011 8:49 pm
Contact:

Re: Adversity Comp - Visual Novel Writing Contest - Sept 201

#61 Post by TKC »

What I've found that works best for me has been:

Code: Select all

    show girlsprite glare:
        crop (0, 130, 700, 700)
        align (0.5, 0.0)
Hope that helps. :)

Akjosch
Regular
Posts: 74
Joined: Wed Jul 25, 2012 5:48 am
Contact:

Re: Adversity Comp - Visual Novel Writing Contest - Sept 201

#62 Post by Akjosch »

LieselSolo wrote:Would someone be kind enough to give a Ren'Py newbie a way to show the spirit's head and body without the screen chopping off the top of her head? My entry's progressing nicely, but every I show the sprite you can't see those cat ears.
For example, in the "init" block at the start of the file:

Code: Select all

    transform my_left:
        crop (0, 130, 700, 700)
        align (-0.5, 0.0)
    transform my_center:
        crop (0, 130, 700, 700)
        align (0.0, 0.0)
    transform my_right:
        crop (0, 130, 700, 700)
        align (0.5, 0.0)
Usage in the actual scene:

Code: Select all

    show girlsprite confused at my_left
If you want a small "fade in/fade out" effect with that, this looks for example like that.

Code: Select all

    transform my_left:
        crop (0, 130, 700, 700)
        align (-0.5, 0.0)
        alpha 0.0
        on show:
            linear 0.5 alpha 1.0
        on hide:
            pause 0.5
            linear 0.5 alpha 0.0

User avatar
LieselSolo
Regular
Posts: 35
Joined: Tue Jun 19, 2012 6:59 pm
Contact:

Re: Adversity Comp - Visual Novel Writing Contest - Sept 201

#63 Post by LieselSolo »

TKC wrote:What I've found that works best for me has been:

Code: Select all

    show girlsprite glare:
        crop (0, 130, 700, 700)
        align (0.5, 0.0)
Hope that helps. :)
That worked! Thanks so much!

User avatar
papillon
Arbiter of the Internets
Posts: 4107
Joined: Tue Aug 26, 2003 4:37 am
Completed: lots; see website!
Projects: something mysterious involving yuri, usually
Organization: Hanako Games
Tumblr: hanakogames
Contact:

Re: Adversity Comp - Visual Novel Writing Contest - Sept 201

#64 Post by papillon »

(There are also commands to resize/rescale graphics which may be handy. :) )

User avatar
Mink
Eileen-Class Veteran
Posts: 1099
Joined: Wed Mar 09, 2011 1:00 am
Completed: Say You Love Me (Short Version), C!P (NaNo12), Lady Misfortune, NatH, W/K, MtF, SMQ, TBM, TMHK, LoC, MMDG
Projects: Stuff
Organization: Metal Orphans
Location: Somewhere that's green
Contact:

Re: Adversity Comp - Visual Novel Writing Contest - Sept 201

#65 Post by Mink »

...Now I feel like the way I changed the sprite's image is really stupid.

But it's the story that counts, right? And as long as it works? >_>
"I will send a fully armed battalion to remind you of my love."

***Say You Love Me***Human Enough***Cheerful!Polymorph [NaNo12][Complete!]***
Image
"Couldn't you stop this?"
"Probably, but I don't want to."


*Website, yo*

User avatar
papillon
Arbiter of the Internets
Posts: 4107
Joined: Tue Aug 26, 2003 4:37 am
Completed: lots; see website!
Projects: something mysterious involving yuri, usually
Organization: Hanako Games
Tumblr: hanakogames
Contact:

Re: Adversity Comp - Visual Novel Writing Contest - Sept 201

#66 Post by papillon »

As long as it works, yes! :)

User avatar
OokamiKasumi
Eileen-Class Veteran
Posts: 1779
Joined: Thu Oct 14, 2010 3:53 am
Completed: 14 games released -- and Counting.
Organization: DarkErotica Games
Deviantart: OokamiKasumi
Location: NC, USA
Contact:

Re: Adversity Comp - Visual Novel Writing Contest - Sept 201

#67 Post by OokamiKasumi »

Mink wrote:...Now I feel like the way I changed the sprite's image is really stupid.

But it's the story that counts, right? And as long as it works? >_>
I feel your pain. I kind of went around my as- err... butt to get to my elbow to make the sprite fit. (And chop off that &%$& mobile hanging over its head.)
Ookami Kasumi ~ Purveyor of fine Smut.
Most recent Games Completed: For ALL my completed games visit: DarkErotica Games

"No amount of great animation will save a bad story." -- John Lasseter of Pixar

User avatar
Mink
Eileen-Class Veteran
Posts: 1099
Joined: Wed Mar 09, 2011 1:00 am
Completed: Say You Love Me (Short Version), C!P (NaNo12), Lady Misfortune, NatH, W/K, MtF, SMQ, TBM, TMHK, LoC, MMDG
Projects: Stuff
Organization: Metal Orphans
Location: Somewhere that's green
Contact:

Re: Adversity Comp - Visual Novel Writing Contest - Sept 201

#68 Post by Mink »

Ha ha, I just feel silly because everyone else is like, "This is my code." and I'm like, "Uh...I just changed the numbers so it moved down." Hooray for taking shortcuts!

You guys, never ask me how I program stuff, because half the time I don't even know; I just mess with it until it works somehow. And yet I still think programming is fun, for some reason.
"I will send a fully armed battalion to remind you of my love."

***Say You Love Me***Human Enough***Cheerful!Polymorph [NaNo12][Complete!]***
Image
"Couldn't you stop this?"
"Probably, but I don't want to."


*Website, yo*

User avatar
OokamiKasumi
Eileen-Class Veteran
Posts: 1779
Joined: Thu Oct 14, 2010 3:53 am
Completed: 14 games released -- and Counting.
Organization: DarkErotica Games
Deviantart: OokamiKasumi
Location: NC, USA
Contact:

Re: Adversity Comp - Visual Novel Writing Contest - Sept 201

#69 Post by OokamiKasumi »

Mink wrote:Ha ha, I just feel silly because everyone else is like, "This is my code." and I'm like, "Uh...I just changed the numbers so it moved down." Hooray for taking shortcuts!
OMG! That's exactly what I did LOL!
Mink wrote:You guys, never ask me how I program stuff, because half the time I don't even know; I just mess with it until it works somehow. And yet I still think programming is fun, for some reason.
Programming is like a foreign language to me; Sometimes it actually makes sense. But yeah, I generally mess with things until I get it right.

Sadly, AFTER I turned in my finished game, I figured out the ATL to actually rescale the image. Sigh...
Ookami Kasumi ~ Purveyor of fine Smut.
Most recent Games Completed: For ALL my completed games visit: DarkErotica Games

"No amount of great animation will save a bad story." -- John Lasseter of Pixar

User avatar
Blane Doyle
Miko-Class Veteran
Posts: 809
Joined: Mon Dec 21, 2009 10:00 am
Organization: Autumn Eclectic
Location: Mountains
Contact:

Re: Adversity Comp - Visual Novel Writing Contest - Sept 201

#70 Post by Blane Doyle »

All I did was change the numbers to move my sprite down too... I thought that was a lot easier and faster once I got it the way I wanted it. Only took me about a minute.

I don't trust myself to properly program, honestly.

User avatar
OokamiKasumi
Eileen-Class Veteran
Posts: 1779
Joined: Thu Oct 14, 2010 3:53 am
Completed: 14 games released -- and Counting.
Organization: DarkErotica Games
Deviantart: OokamiKasumi
Location: NC, USA
Contact:

Re: Adversity Comp - Visual Novel Writing Contest - Sept 201

#71 Post by OokamiKasumi »

Blane Doyle wrote:All I did was change the numbers to move my sprite down too... I thought that was a lot easier and faster once I got it the way I wanted it. Only took me about a minute.

I don't trust myself to properly program, honestly.
Neither do I. It my first time working with a sprite that changed expressions, so merely adjusting the numbers and displaying it in a fixed position worked for me. It's not like I needed it to move around, or anything.
Ookami Kasumi ~ Purveyor of fine Smut.
Most recent Games Completed: For ALL my completed games visit: DarkErotica Games

"No amount of great animation will save a bad story." -- John Lasseter of Pixar

User avatar
Mink
Eileen-Class Veteran
Posts: 1099
Joined: Wed Mar 09, 2011 1:00 am
Completed: Say You Love Me (Short Version), C!P (NaNo12), Lady Misfortune, NatH, W/K, MtF, SMQ, TBM, TMHK, LoC, MMDG
Projects: Stuff
Organization: Metal Orphans
Location: Somewhere that's green
Contact:

Re: Adversity Comp - Visual Novel Writing Contest - Sept 201

#72 Post by Mink »

Yeah, there's stuff I'd like to try to attempt to get the sprite to do using ATL, but I 1) don't know ATL, and 2) feel as if even if I did, my RPY file would turn into a giant mess.

Plus, the way I normally code stuff is to have the (main) story all in one file, and other code in another file (or files, because I'm anal), so that if I mess up, I don't have to go through lines and lines trying to see if one thing messed up another. Also, it just looks neater.

On a different note, this contest really is about adversity; I want to do too much. On the other hand, I'm out of the writer's block I was having.
"I will send a fully armed battalion to remind you of my love."

***Say You Love Me***Human Enough***Cheerful!Polymorph [NaNo12][Complete!]***
Image
"Couldn't you stop this?"
"Probably, but I don't want to."


*Website, yo*

User avatar
Sapphi
Eileen-Class Veteran
Posts: 1685
Joined: Fri Jun 05, 2009 3:31 am
Completed: Boku no Taisetsu na Yumeko
Projects: Twelve, PAW ★ PRINTS
Organization: Kitsch-soft
Location: Illinois, USA
Contact:

Re: Adversity Comp - Visual Novel Writing Contest - Sept 201

#73 Post by Sapphi »

Mink wrote: Are any of the 00 ones Feldt? Because I liked Feldt. And the lady in charge whose name I can't remember ATM. /off-topic
Sorry, nope... I do have two Lacus..es (Lacii? :lol: ), two Lunamarias, a Cagalli, a Miriallia, and a Nena. And I don't know much about them other than their names. XD

@Papillon: Are we allowed to redefine the images or are we forced to use them as they're defined in the main script? I'm fuzzy on what exactly "any personal resources, etc, that your entry needs" entails...
"It is [the writer's] privilege to help man endure by lifting his heart,
by reminding him of the courage and honor and hope and pride
and compassion and pity and sacrifice which have been the glory of his past."
— William Faulkner
▬▬▬▬▬▬▬▬▬▬..+X+..▬▬▬▬▬▬▬▬▬▬
Image

User avatar
papillon
Arbiter of the Internets
Posts: 4107
Joined: Tue Aug 26, 2003 4:37 am
Completed: lots; see website!
Projects: something mysterious involving yuri, usually
Organization: Hanako Games
Tumblr: hanakogames
Contact:

Re: Adversity Comp - Visual Novel Writing Contest - Sept 201

#74 Post by papillon »

You can write your own image definitions as long as you do it in your own rpy file, since anything you change in the script.rpy would not be submitted with your entry and would thus not work.

User avatar
Sapphi
Eileen-Class Veteran
Posts: 1685
Joined: Fri Jun 05, 2009 3:31 am
Completed: Boku no Taisetsu na Yumeko
Projects: Twelve, PAW ★ PRINTS
Organization: Kitsch-soft
Location: Illinois, USA
Contact:

Re: Adversity Comp - Visual Novel Writing Contest - Sept 201

#75 Post by Sapphi »

Yippee! Thanks! ^_^
"It is [the writer's] privilege to help man endure by lifting his heart,
by reminding him of the courage and honor and hope and pride
and compassion and pity and sacrifice which have been the glory of his past."
— William Faulkner
▬▬▬▬▬▬▬▬▬▬..+X+..▬▬▬▬▬▬▬▬▬▬
Image

Post Reply

Who is online

Users browsing this forum: Google [Bot]