Wecoc's Example Codes & Objects Collection Vol 1. Magnets

Coding BAM FP Wecoc's Example Codes & Objects Collection Vol 1. Magnets 1.0.0

No permission to download
Code based threads and topics.
I decided to make some demos with a little collection of examples of things you can do with FP and BAM, since I have some ideas that may not deserve their own topic.

Hence, this is the first entry of WECOC's Example Codes & Objects Collection, or "WECOC" for short.
(That first "WECOC" also stands for WECOC's Example Codes & Objects Collection).

This demo includes a basic script (BAM_MagnetTrigger) that handles BAM magnets and adds a few features:
- Activate/Deactivate the magnet with SolenoidOn and SolenoidOff
- Set a "MagnaSave" state for magnet attractors, to completely stop the ball in the center
- Check if the magnet is attracting any ball at any moment with IsEmpty
- Make more realistic repulsion forces when the strength is negative.

The demo also includes very simple magnet models (trigger) and a magnet hole trap (ornament) similar to the ones found in Hot Hand.

Examples included in the demo:
- [BAM_MagnetTrigger] Attraction Magnet with MagnaSave near a flipper
- [BAM_MagnetTrigger] Repulsion Magnet between the flippers; popup alternative
- Separated bumpers with alternating magnets
- Accelerator triggers, which accelerate the ball when hit
- Ramp based on "Perpetual motion simulator" models

Funnily enough, the last examples don't use BAM magnets at all, everything is controlled with ball properties instead.

Separated bumpers

Even though the bumpers in the demo are very separated, when one is hit the other two briefly activate a magnet placed under them, making it more possible to still act like a close bumper group.

Ramp magnet

Perpetual motion simulators consist of a magnet that attracts a ball while it's going down a wire ramp, with a very precise timing on the magnet's input, so the ball gains enough speed to jump back to the top. This can hardly work on a pinball since there's not enough vertical space, but you can replace it with a variant where the ball either falls to the floor (disabled) or to a catching wire (enabled) based on its speed.

The demo does that automatically, but it could also be controlled by the player. Other variants of this idea are possible, like floating targets that give score based on the gained height.

magnet-demo02s.png
magnet-demo03s.png
magnet-demo04s.png
Author
Wecoc
Downloads
35
Views
647
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from Wecoc

General chit-chat
Help Users
You can interact with the ChatGPT Bot in any Chat Room and there is a dedicated room. The command is /ai followed by a space and then your ? or inquiry.
ie: /ai What is a EM Pinball Machine?
  • No one is chatting at the moment.
  • Chat Bot Mibs Chat Bot Mibs:
    Torntabittz has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    brotherboard has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    GARRY040 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    BL2K has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Chilldog has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    rodneyfitz has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    ace19120 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Tomasaco has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Greek_Jedi has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Beermano has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    02browns has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    nitram1864 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    aeponce has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    JEAN LUC has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    lorenzom has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    maxangelo19 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Dragonslapper has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    royaljet has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Tyfox has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Goldtopboy has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    slick267 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    dabreeze has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Spike has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Tofa has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Atropine has left the room.
      Chat Bot Mibs Chat Bot Mibs: Atropine has left the room.
      Back
      Top