Forget the above - why write elegant code when you can just brute force things!
I quite like how this warp effect looks. The code on the other hand...
on collect do
ignore
wait 0.25 then
pdx = 0
pdy = 1
wait 0.25 then
pdx = -1
pdy = 0
wait 0.25 then
pdx = 0
pdy = -1
wait 0.25 then
pdx = 1
pdy = 0
wait 0.25 then
pdx = 0
pdy = 1
wait 0.2 then
tell event.room to
call "warp"
end
pdx = -1
pdy = 0
wait 0.25 then
pdx = 0
pdy = -1
wait 0.25 then
pdx = 1
pdy = 0
wait 0.25 then
pdx = 0
pdy = 1
listen
end
end
end
end
end
end
end
end
end
end
I think we should coin a term for this kind of common pulpscript pattern - I like "apocalyptic", because at the bottom of the event is the end of all things