Post new topic    
Liquid Metal King Slime
Send private message
dissolving map slices 
 PostThu Jan 31, 2019 4:04 pm
Send private message Reply with quote
I'm at work and not really able to test well.

So I was wondering if you assist me and let me know if something like this will work.
Or if it will if written differently.

Code:
dissolve sprite (sl:map layer 0, dissolve:squeeze, 8, 0, false, true)
Metal King Slime
Send private message
 
 PostThu Jan 31, 2019 4:42 pm
Send private message Reply with quote
Nope, "dissolve sprite" only works on sprite slices.

You could conceivably create a sequence of dissolved tilesets and switch between them to get the same effect.
Liquid Metal King Slime
Send private message
 
 PostThu Jan 31, 2019 6:49 pm
Send private message Reply with quote
booo....

TMC wrote:
You could conceivably create a sequence of dissolved tilesets and switch between them to get the same effect.

good god.. no way
I want to dissolve the screen quite a few times.

EDIT:
oh! But I can make sprites the size of the screen now, right?
I think I can make this work...


EDIT EDIT : oh thank you for the quick replay btw TMC
You're a hero!



just going to store this here....
Code:
variable (pageA,pageB,pageC,pageD,pageE)

pageA:=load backdrop sprite (10)
pageB:=load backdrop sprite (11)
pageC:=load backdrop sprite (12)
pageD:=load backdrop sprite (13)
pageE:=load backdrop sprite (14)
put sprite (pageE ,0, 0)
put sprite (pageD ,0, 0)
put sprite (pageC ,0, 0)
put sprite (pageB ,0, 0)
put sprite (pageA ,0, 0)

wait(50)
dissolve sprite (pageA, dissolve:squeeze, 8, 0, false, true)
wait(50)
dissolve sprite (pageB, dissolve:squeeze, 8, 0, false, true)
wait(50)
dissolve sprite (pageC, dissolve:squeeze, 8, 0, false, true)
wait(50)
dissolve sprite (pageD, dissolve:squeeze, 8, 0, false, true)
wait(50)
dissolve sprite (pageE, dissolve:squeeze, 8, 0, false, true)
Metal King Slime
Send private message
 
 PostFri Feb 01, 2019 2:16 am
Send private message Reply with quote
Oh whoops, I missed that you were asking about the Squeeze dissolve. I was thinking of the Scatter dissolve. My suggestion of changing the tileset will only work to emulate Scatter (but you can other kinds of dissolve effects by changing the tileset in other ways). And at least that way you can create a screen transition that works everywhere instead of having to fake it on a screenshot. Maybe eventually we'll get some new builtin screen transitions, but in the meantime I should just add read/write pixel commands to let you script it yourself.

Those putsprite lines do nothing, since new slices default to 0,0.
Liquid Metal King Slime
Send private message
 
 PostFri Feb 01, 2019 4:13 am
Send private message Reply with quote
TMC wrote:
Those putsprite lines do nothing, since new slices default to 0,0.

WHAT?!
my whole life is a lie... Zombie Zombie
Liquid Metal King Slime
Send private message
 
 PostFri Feb 01, 2019 4:41 am
Send private message Reply with quote
Mission accomplished
thanks TMC

page art still in progress.....


Code:
pageC:=load backdrop sprite (13)
pageB:=load backdrop sprite (12)
pageA:=load backdrop sprite (11)

put sprite (pageC ,-320, 0)
put sprite (pageB ,-320, 0)
put sprite (pageA ,-320, 0)

fadescreenin, wait(20)
wait(65)
dissolve sprite (pageA, dissolve:squeeze, 8, 0, false, true)
wait for dissolve (pageA)
free sprite (pageA)
wait(75)
dissolve sprite (pageB, dissolve:squeeze, 8, 0, false, true)
wait for dissolve (pageB)
free sprite (pageB)
wait(75)
dissolve sprite (pageC, dissolve:squeeze, 8, 0, false, true)
wait for dissolve (pageC)
free sprite (pageC)
Metal Slime
Send private message
 
 PostFri Feb 01, 2019 4:58 am
Send private message Reply with quote
Looks really neat! Could wait until keypress and use it for books, even allowing you to flip pages back and forth (with some clever scripting). Nice.
vvight.wordpress.com
Liquid Metal King Slime
Send private message
 
 PostFri Feb 01, 2019 11:31 am
Send private message Reply with quote
I love that! :D
Metal King Slime
Send private message
 
 PostFri Feb 01, 2019 4:07 pm
Send private message Reply with quote
Page turning! Very spiffy!
Being from the third world, I reserve the right to speak in the third person.

Using Editor version wip 20170527 gfx_sdl+fb music_sdl
Liquid Metal Slime
Send private message
 
 PostFri Feb 01, 2019 4:44 pm
Send private message Reply with quote
Looks great, Spoon. This puts terrible feature-creeping ideas in my head.
Place Obligatory Signature Here
Metal King Slime
Send private message
 
 PostSat Feb 02, 2019 4:48 am
Send private message Reply with quote
Now why haven't I seen this done before?!

You expected the slices to start nowhere instead of at 0,0? That would have been reasonable.
Display posts from previous: