1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-09-28 17:27:23 +02:00

Interpolate Direct Mode drawer closing

This is pretty simple to interpolate, since ed.dmtileeditor is
guaranteed to have only changed by 1, and then it's just multiplied by
4.
This commit is contained in:
Misa 2021-03-09 15:42:55 -08:00 committed by Ethan Lee
parent b202e02578
commit 988a7720b9

View file

@ -2961,7 +2961,7 @@ void editorrender(void)
{
if(ed.dmtileeditor<=4)
{
t2=(4-ed.dmtileeditor)*12;
t2=graphics.lerp((4-ed.dmtileeditor+1)*12, (4-ed.dmtileeditor)*12);
}
//Draw five lines of the editor