Author Topic: (Personal style creation) How to get a spinning CD effect?  (Read 105 times)

manzarek

  • Sr. Member
  • ****
  • Posts: 131
    • View Profile
    • phpbb3world
Hi guys I am creating a personal style, but I am little expert with this language, in practice I would just like to know how to have a CD that runs, I just need this then I am satisfied with my work

Can some good soul pass me the code?
Mame Fighting

hermine.potter

  • Hero Member
  • *****
  • Posts: 668
    • View Profile
« Last Edit: May 05, 2021, 01:48:50 PM by hermine.potter »
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM

manzarek

  • Sr. Member
  • ****
  • Posts: 131
    • View Profile
    • phpbb3world
Re: (Personal style creation) How to get a spinning CD effect?
« Reply #2 on: May 05, 2021, 02:04:40 PM »
thanks, but I was trying to make sure that the cd, which runs and the one of the games, changes the cd with each game and it turns
Mame Fighting

jedione

  • Hero Member
  • *****
  • Posts: 1014
  • punktoe
    • View Profile
Re: (Personal style creation) How to get a spinning CD effect?
« Reply #3 on: May 05, 2021, 02:23:15 PM »
Q: witch CD base system is this for by chance?
help a friend....

ReBirFh

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
Re: (Personal style creation) How to get a spinning CD effect?
« Reply #4 on: May 05, 2021, 07:50:59 PM »
Take a look at this http://forum.attractmode.org/index.php?topic=1270.0

by QQPLAYER

//////////////////////////////////////

// ANIMATION CDART PRESERVE ASPECT RATIO

//////////////////////////////////////

local cdart = fe.add_artwork("cdart", flx*0, fly*0.27 flw*0.19, flh*0.25);
cdart.preserve_aspect_ratio = true;

local cdart_rotation = {
    when = Transition.ToNewSelection ,property = "rotation", start = 0, end = 360, time = 3000, loop = true
 }

 //Animation
 
 animation.add( PropertyAnimation( cdart, cdart_rotation ) );

manzarek

  • Sr. Member
  • ****
  • Posts: 131
    • View Profile
    • phpbb3world
Re: (Personal style creation) How to get a spinning CD effect?
« Reply #5 on: May 06, 2021, 03:43:14 AM »
thanks friend.
Mame Fighting