Jump to content



Photo
* * * * * 5 votes

B2S Backglass Designer (WIP)


  • Please log in to reply
503 replies to this topic

#501 remdwaas1986

remdwaas1986

    Enthusiast

  • Platinum Supporter
  • 284 posts
  • Location:Netherlands

  • Flag: Netherlands

  • Favorite Pinball: Pokemon

Contributor

Posted 15 May 2021 - 08:57 PM

i looked in JP's code but couldn't figure it out, i also cannot look in the backglass, because it's a fixed file. Omg Outhere thank you so much i tried to figure this out from the start i'm making tables! the code of minions works. Just make a solidnoid backglass, add snippits and give them a rom id 1 till whatever and from the script you call the rom id 1. with animations you can also give an id so the animation is playing 


gallery_139054_567_13031.pnggallery_139054_567_2859.png


#502 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 16 May 2021 - 01:08 PM

i looked in JP's code but couldn't figure it out, i also cannot look in the backglass, because it's a fixed file. Omg Outhere thank you so much i tried to figure this out from the start i'm making tables! the code of minions works. Just make a solidnoid backglass, add snippits and give them a rom id 1 till whatever and from the script you call the rom id 1. with animations you can also give an id so the animation is playing 

file, import, point it at the directb2s file
now you can look at the backglass


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#503 remdwaas1986

remdwaas1986

    Enthusiast

  • Platinum Supporter
  • 284 posts
  • Location:Netherlands

  • Flag: Netherlands

  • Favorite Pinball: Pokemon

Contributor

Posted 16 May 2021 - 03:27 PM

thnx wiesshund that works do you or anybody know after you do an animation that the screen goes back to the last one without calling it from the code?


gallery_139054_567_13031.pnggallery_139054_567_2859.png


#504 remdwaas1986

remdwaas1986

    Enthusiast

  • Platinum Supporter
  • 284 posts
  • Location:Netherlands

  • Flag: Netherlands

  • Favorite Pinball: Pokemon

Contributor

Posted 16 September 2021 - 01:51 PM

hi i hope somebody can help me, i want to call an animation and stop this animation.

 

Sub startB2S(aB2S)
    If B2SOn Then
    Controller.B2SSetData 1,0
    Controller.B2SSetData 2,0
    Controller.B2SSetData 3,0
    Controller.B2SSetData 4,0
    Controller.B2SSetData 5,0
    Controller.B2SSetData 6,0
    Controller.B2SSetData 7,0
    Controller.B2SSetData 8,0
    Controller.B2SSetData 9,0
    Controller.B2SSetData 10,0
    Controller.B2SSetData 11,0
    Controller.B2SSetData 12,0
    Controller.B2SSetData 13,0
    Controller.B2SSetData 14,0
    Controller.B2SSetData 15,0
    Controller.B2SSetData 16,0
    Controller.B2SSetData 17,0
    Controller.B2SSetData 18,0
    Controller.B2SSetData 19,0
    Controller.B2SSetData 20,0
    Controller.B2SSetData 21,0
    Controller.B2SSetData aB2S,1
    End If
End Sub
 
and in the sub where the item is hit:
startB2S(21)
if i put the loop to 0 i can add a timer but i don't know how to stop that animation. how can i stop animation 21, because if i use the loop it plays only a couple of times and then not more.
 
Edit: i fixed the issue made 10 the same pictures with the animation in it and put it in the a loop with 0 in the B2s. I now put startb2s(21) in the sub and enable a timer with the settings/time of the animation. in that timer i call another startb2s(2) and disble the timer.  

Edited by remdwaas1986, 26 September 2021 - 01:46 PM.

gallery_139054_567_13031.pnggallery_139054_567_2859.png