Jump to content

Photo

Fade-in/fade-out: Diamond Lattice (Cave Story Modified)


  • Please log in to reply
1 reply to this topic

#1 P-Tux7

P-Tux7

    💛

  • Members

Posted 30 August 2019 - 10:50 AM

Relevant C++ code snippets from an open-source reimplementation of Cave Story (Note: both case 4's in Fade.cpp are relevant here; one draws the fade-in, and one fades out):

https://github.com/c...ster/src/Fade.h

https://github.com/c...er/src/Fade.cpp

 

I am requesting the kind of transition from Cave Story that you can see here with the diamond lattice. When it fades-out, the diamonds go "into" Link as he warps and turn the screen black, and when it fades-in, the diamonds "come out of" Link and erase the blackness. This is slightly edited from Cave Story, because it wasn't centered on the player, but I just requested it this way to match with the other styles that are centered on Link when he's warping.

I'd like this to be possible for both entering caves/dungeons, and also to be possible with warp tiles/stairs and pit warps if possible.

 

Relevant video (This TAS shows off the screen transitions)


Edited by P-Tux7, 30 August 2019 - 10:51 AM.


#2 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 05 September 2019 - 06:30 AM

Relevant C++ code snippets from an open-source reimplementation of Cave Story (Note: both case 4's in Fade.cpp are relevant here; one draws the fade-in, and one fades out):

https://github.com/c...ster/src/Fade.h

https://github.com/c...er/src/Fade.cpp

 

I am requesting the kind of transition from Cave Story that you can see here with the diamond lattice. When it fades-out, the diamonds go "into" Link as he warps and turn the screen black, and when it fades-in, the diamonds "come out of" Link and erase the blackness. This is slightly edited from Cave Story, because it wasn't centered on the player, but I just requested it this way to match with the other styles that are centered on Link when he's warping.

I'd like this to be possible for both entering caves/dungeons, and also to be possible with warp tiles/stairs and pit warps if possible.

 

Relevant video (This TAS shows off the screen transitions)

 

I'm unsure how useful this'll be. The function that draws the patterns is CortBox(&bitmap, int);

 

It is an ambitious project, and interesting. I forked it, and I may look at it, but that kind of effect is something that I'd say will need to live in scripts for now. 

 

I wonder if we should have a fade script slot. We have one for near-enough every other flipping event, now. This'd just run during a new fade type scripted), but it certainly can't be my priority. It isn't too hard to script fades in existing slots. I could probably make a basic screen square particle effect in under an hour, as an entirely original effect.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users