Author Topic: Cards on sides?  (Read 118 times)

TigressErica

  • Newbie
  • *
  • Posts: 4
    • View Profile
Cards on sides?
« on: June 04, 2018, 02:44:57 pm »
Can cards only be flipped 90 degrees to the right? I keep coming across games I'd love to make plugins for... but I'd have to be able to flip cards to their right, left and/or upside-down, and so far, it seems it's only possible to flip cards to the right. Is there any way to do this in Lackey?

xdarkgeox

  • Newbie
  • *
  • Posts: 38
  • Creator of Mecha Warriors Card Game
    • View Profile
Re: Cards on sides?
« Reply #1 on: June 04, 2018, 11:19:53 pm »
of course you can make cards flip in any direction just modify this function in the plugininfo

<cardfunction><label>Turn</label><kind>MAKERIGHT90DEGREES</kind><includeasbutton>no</includeasbutton></cardfunction>

instead 90 , you can put 270 for left or 180 for upside down

TigressErica

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Cards on sides?
« Reply #2 on: June 06, 2018, 04:44:09 pm »
Thanks a ton xdarkgeox! I've been making plugins by modifying existing plugins and hadn't known of this bit of programming.