Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.


Visit our new games list, blog aggregator, IRC, and wiki.
Activation problem? Email [email protected]
It is currently Thu May 23, 2013 12:40 am

All times are UTC - 5 hours [ DST ]


Forum rules


Please read the sticky before creating a new topic.



Post new topic Reply to topic  [ 53 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
PostPosted: Tue May 01, 2012 1:38 pm 
Regular
User avatar

Joined: Sat Jul 03, 2010 7:22 pm
Posts: 169
Completed: Touhou Mecha Chap. 1
Projects: Touhou Mecha, Eastern Starlight Romance
Organization: Dai-Sukima Dan
Well, i do feel that "with" statements are a bit cumbersome right now, but depending on what you want to do, you might not need as many of them as you think. Especially since you can control alpha and position values manually.

For example here's a bit of code from Touhou Mecha, which pans across a CG, shakes the screen and makes a white flash once a second... at the same time!

Code:
  #Pan the CG
    scene cg onbashira with quick_flash:
        pos (-500, -20)
        pause 0.2
        easein 3 pos (-50, -20)
    #A solid white background that fades in and out. I use an image larger than 800x600 so that the edges don't show when the screen shakes.
    show solid white shaker:
        alpha 0.3
        pause 0.2
        linear 0.8 alpha 0
        alpha 0.3
        pause 0.2
        linear 0.8 alpha 0
        alpha 0.3
        pause 0.2
        linear 0.8 alpha 0
    #Shake the screen
    with Shake((0, 0, 0, 0), 3, dist=5)


A small Ren'py Project using this code is attached. I could be way off base as to what you're trying to do; take it if it's useful.

Either way I think you do real nice frame-by-frame animation, I do appreciate little details like that. I'll let you make the call on time versus visual quality.


Attachments:
File comment: Multiple effects.
Stacking effects-win32.zip [6.31 MiB]
Downloaded 17 times

_________________
Top
 Profile Send private message  
 
PostPosted: Tue May 01, 2012 6:23 pm 
Crawling Chaos
User avatar

Joined: Mon Feb 13, 2012 5:37 am
Posts: 1113
Location: Kimashi Tower, Japan
Completed: SMAR,AAA
Projects: DMC
Thank you so kindly for let me know your script. The effect is really neat :)

The primary reason I'm avoiding With transitions is when It used with Say statements:
Code:
$ _window_during_transitions = True
rio "Star canon...{nw}"
show starcanon with flash
extend "Fire!!"

If this code works then I could use With statements more, but it doesn't look what I want.

_________________


Top
 Profile Send private message  
 
PostPosted: Tue May 01, 2012 7:05 pm 
Regular
User avatar

Joined: Sat Jul 03, 2010 7:22 pm
Posts: 169
Completed: Touhou Mecha Chap. 1
Projects: Touhou Mecha, Eastern Starlight Romance
Organization: Dai-Sukima Dan
Hmm... a wild guess, but looking at the $ _window_during_transitions thing, you're not happy with the text inside the window disappearing when a "with" statement is used? (Along with the speaker name window disappearing, that's what bugged me when I used it personally)

I might just be projecting onto you though. I'll ask around on the programming section.

EDIT: I found this topic, so I guess you already know how to do this. Replacing "with" statements with ATL language seems to be the way to go, so in your case you'd probably replace "with flash" with equivalent ATL. Well, I learned something at least.

_________________


Top
 Profile Send private message  
 
PostPosted: Tue May 01, 2012 8:01 pm 
Crawling Chaos
User avatar

Joined: Mon Feb 13, 2012 5:37 am
Posts: 1113
Location: Kimashi Tower, Japan
Completed: SMAR,AAA
Projects: DMC
Graph wrote:
Hmm... a wild guess, but looking at the $ _window_during_transitions thing, you're not happy with the text inside the window disappearing when a "with" statement is used? (Along with the speaker name window disappearing, that's what bugged me when I used it personally)


Yes. It really bugs me :|

_________________


Top
 Profile Send private message  
 
PostPosted: Tue May 01, 2012 8:35 pm 
Regular
User avatar

Joined: Sat Jul 03, 2010 7:22 pm
Posts: 169
Completed: Touhou Mecha Chap. 1
Projects: Touhou Mecha, Eastern Starlight Romance
Organization: Dai-Sukima Dan
Hmm well, I found this topic, so I don't know if you've already found a workaround but...

In your case you'd probably replace "with flash" with equivalent ATL. Like you define

Code:
transform flash_delay:
    on show:
        alpha 0.0
        pause 0.25
        alpha 1.0
       
transform my_flash:
        on show:
            alpha 0.0
            linear 0.25 alpha 1.0
            linear 0.75 alpha 0.0
       
image white = Solid("#fff")


Then you call it like

Code:
    "Star canon...{nw}"
    show starcanon at center, flash_delay
    show white at center, my_flash
    extend "Fire!!"


I used "flash_delay" so that the starcannon image appears _after_ the screen is totally white.
"my_flash" creates flash in the background, without hiding your text window.

_________________


Top
 Profile Send private message  
 
PostPosted: Tue May 01, 2012 10:37 pm 
Crawling Chaos
User avatar

Joined: Mon Feb 13, 2012 5:37 am
Posts: 1113
Location: Kimashi Tower, Japan
Completed: SMAR,AAA
Projects: DMC
I've replaced most of transitions I need with ATL equivalents already. Thanks anyone, I appreciate your kindness.

_________________


Top
 Profile Send private message  
 
PostPosted: Fri May 18, 2012 11:09 am 
Crawling Chaos
User avatar

Joined: Mon Feb 13, 2012 5:37 am
Posts: 1113
Location: Kimashi Tower, Japan
Completed: SMAR,AAA
Projects: DMC
Put a bit of more details on the first post. I think declaring open-sourcing is important, isn't it?

_________________


Top
 Profile Send private message  
 
PostPosted: Fri Jun 01, 2012 3:53 am 
Crawling Chaos
User avatar

Joined: Mon Feb 13, 2012 5:37 am
Posts: 1113
Location: Kimashi Tower, Japan
Completed: SMAR,AAA
Projects: DMC
Writing the final chapter. The estimated release date is June 15~18 (`・ω・´)

_________________


Top
 Profile Send private message  
 
PostPosted: Sun Jun 03, 2012 4:21 am 
Veteran
User avatar

Joined: Thu Jun 09, 2011 8:22 am
Posts: 294
Projects: Marchioness' Teacup
ooh, almost done!! Everything seems good so far ^^

Have you come up with the new game logo?

_________________
My Deviant Art Link
Image


Top
 Profile Send private message  
 
PostPosted: Sun Jun 03, 2012 8:06 am 
Crawling Chaos
User avatar

Joined: Mon Feb 13, 2012 5:37 am
Posts: 1113
Location: Kimashi Tower, Japan
Completed: SMAR,AAA
Projects: DMC
ew... in the worst case, the version 1.1 will have the true logo lol.
I only good on analog way of hand drawing (I'm still scanning pencil sketches before inking) .. not vectors (´・ω・`)ショボーン

_________________


Top
 Profile Send private message  
 
PostPosted: Mon Jun 04, 2012 8:22 am 
Veteran
User avatar

Joined: Thu Jun 09, 2011 8:22 am
Posts: 294
Projects: Marchioness' Teacup
I usually just choose a good looking fonts, add borders, maybe some gradient and stuff. want me to give it a try? no guarantee that my logo will be better than yours though :P

oh, and I don't use vector either (except the font, i do everything with brush)

_________________
My Deviant Art Link
Image


Top
 Profile Send private message  
 
PostPosted: Mon Jun 04, 2012 9:40 am 
Crawling Chaos
User avatar

Joined: Mon Feb 13, 2012 5:37 am
Posts: 1113
Location: Kimashi Tower, Japan
Completed: SMAR,AAA
Projects: DMC
Thank you! But I have two mind I'd ask you or not, because I'm not decided a log should be English or Mix of English and Japanese yet. The latter case, it'll be waste. Either way, how to choose font is what I'm troubling the most. I tried the logo generator Gimp has, but looking the list of font names made me facedesk >_>

_________________


Top
 Profile Send private message  
 
PostPosted: Tue Jun 05, 2012 5:19 am 
Veteran
User avatar

Joined: Thu Jun 09, 2011 8:22 am
Posts: 294
Projects: Marchioness' Teacup
ok then. Just give me a call if you need help :D

Yeah, having too many fonts installed can be a real pain when choosing which one too use XD. I learned it the hard way too, and since then I only have the basic fonts installed and a few others that i downloaded from internet.

If you don't mind adding more fonts to your harddisk, I suggest using one from this list. I think the handwriting style is fitting to the mahou shoujo image. Don't worry it's free royalty for commercial use ^^

_________________
My Deviant Art Link
Image


Top
 Profile Send private message  
 
PostPosted: Tue Jun 05, 2012 6:02 am 
Eileen-Class Veteran

Joined: Wed Sep 29, 2004 1:38 pm
Posts: 1494
nyaatrap wrote:
Writing the final chapter. The estimated release date is June 15~18 (`・ω・´)


Thank you for the estimate. Will be looking forward to it.


Top
 Profile Send private message  
 
PostPosted: Tue Jun 05, 2012 6:19 am 
Crawling Chaos
User avatar

Joined: Mon Feb 13, 2012 5:37 am
Posts: 1113
Location: Kimashi Tower, Japan
Completed: SMAR,AAA
Projects: DMC
The first plot was really short, but it became bigger than I thought. Now it has 20 sprites and 1000 screens of dialogues, 2 endings, additional new ATL scripts, e.t.c. :D
It'll be on time unless some sudden real work given.

HikkiPanda wrote:
ok then. Just give me a call if you need help :D

Yeah, having too many fonts installed can be a real pain when choosing which one too use XD. I learned it the hard way too, and since then I only have the basic fonts installed and a few others that i downloaded from internet.

If you don't mind adding more fonts to your harddisk, I suggest using one from this list. I think the handwriting style is fitting to the mahou shoujo image. Don't worry it's free royalty for commercial use ^^


Thanks (・∀・) I'll look up it.

_________________


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 53 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot], zankizuna


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group