Author Topic: Vertical movement Animation on Grid?  (Read 5238 times)

atrfate

  • Full Member
  • ***
  • Posts: 86
    • View Profile
Vertical movement Animation on Grid?
« on: August 31, 2016, 02:17:36 PM »
Currently in My theme Nescia X live, I use horizontal mode as the default because getting the animations and stuff to work properly in vertical mode dont seem to be going well for me!

Iv managed to get the placement and everything mostly working, however I now have the issue of when going to "next_page" the animation dose not trigger it only triggers when going to "next_game"
Same with previous Page/GAME So I need to find a way to cause the trigger so also happen when going to next page/pervious page so it works correctly

Code: [Select]
function on_progress( progress, var )
{
if ( vert_flow )
{
local r = m_num % rows;
local c = m_num / rows;

if ( abs( var ) < rows )
{
   if (select_status == true)
   {
snap.x = ( progress * cols - c ) * width + PADX + snap_width_delta + 40;
   }
else
{
   snap.x = ( progress * cols - c  ) * width + PADX + 111 ;}
}
}



So I need to get 2 things done I need the placement to line up exactly like in Horizontal mode, and I need the trigger to also count for "next page/Pericous page"