- Jun 14, 2018
- 1,611
- 2,258
Okay. So I'm doing some... let's call them "dream images".
The images float around the screen. Fading in and then fading out again.
What I've got works... but I can't help but feel I'm doing it wrong. Or at least, I should be doing it better.
... yeah, yeah... "if it works, so it's not wrong".
Okay.. yeah. But since this is the first time I've tried this... and it "feels" wrong... I figure mention it here to those people who've done it other ways and see if my "feeling" is misplaced.
So I have this...
The first image starts at the bottom of the image and fades in then out again, whilst moving to the top of the image and slightly beyond.
The second image starts in the upper right corner and fades in and out while travelling towards the bottom left. Again, moving slightly further than needed.
I suppose my biggest "feels wrong" is the "with Pause(4.0)". It was the only way I could get the transition to stay on screen for 4 seconds.
I've had a look at a couple of other RenPy games and obviously nobody quite does it the same way.
Any thoughts? Any obvious improvements, insights or pointers?
The images float around the screen. Fading in and then fading out again.
What I've got works... but I can't help but feel I'm doing it wrong. Or at least, I should be doing it better.
... yeah, yeah... "if it works, so it's not wrong".
Okay.. yeah. But since this is the first time I've tried this... and it "feels" wrong... I figure mention it here to those people who've done it other ways and see if my "feeling" is misplaced.
So I have this...
Python:
scene black with dissolve
show pic_ch3_dream1 with Pause(4.0):
xalign 0.5 yalign 1.0 alpha 0.2
linear 2 yalign 0.25 alpha 1.0
linear 2 yalign -0.5 alpha 0.0
pause
scene black
show pic_ch3_dream2 with Pause(4.0):
xalign 1.0 yalign 1.0 alpha 0.2
linear 2 xalign 0.375 yalign 0.25 alpha 1.0
linear 2 xalign -0.25 yalign -0.5 alpha 0.0
pause
The first image starts at the bottom of the image and fades in then out again, whilst moving to the top of the image and slightly beyond.
The second image starts in the upper right corner and fades in and out while travelling towards the bottom left. Again, moving slightly further than needed.
I suppose my biggest "feels wrong" is the "with Pause(4.0)". It was the only way I could get the transition to stay on screen for 4 seconds.
I've had a look at a couple of other RenPy games and obviously nobody quite does it the same way.
Any thoughts? Any obvious improvements, insights or pointers?