1. Announcing Mekorama on the Web!

    Now anyone can play levels from the forum online, with one click!

    Dismiss Notice
  2. Psst! If you're new here, welcome! Please visit these pages first for information about the forum and Mekorama:

    Welcome! ¡Bienvenido! Selamat datang! Добро пожаловать! Willkommen!
    and
    Everything you want to know about Mekorama

    Dismiss Notice

Help Please How to create 'thunderstorm' effect?

Discussion in 'Level Creation Help' started by EL797, Apr 6, 2019.

  1. EL797

    EL797 Famous Member

    Messages:
    659
    Levels:
    310
    Albums:
    9
    Likes Received:
    3,185
    Joined:
    Mar 31, 2018
    How can I do this?
    IMG_20190406_075944.jpg
     
    Badre, Blue Tower and Chasano222 like this.
  2. Frenzies

    Frenzies Administrator Staff Member

    Messages:
    355
    Levels:
    18
    Albums:
    5
    Likes Received:
    1,215
    Joined:
    Jun 15, 2016
    You simply attach B to a zapper and it will zap him no matter how far he is from it. For example:
    07F6C558-3D6C-4337-997E-099B210FCCD6.png
     
    Blue Tower and EL797 like this.
  3. richardfu_

    richardfu_ Retired Moderator and Featured Levels Manager

    Messages:
    62
    Levels:
    110
    Albums:
    3
    Likes Received:
    1,511
    Joined:
    Jul 20, 2016
    That's not entirely true. The zapper will only zap B if it's near B's center of mass. Also the lightning always connects to B's eye. So if you make a very large B with his eye very far apart, and put the zapper near the center, you'll see the lightning effect.
     
    Blue Tower, Źàiď, Makaroni and 2 others like this.
  4. Makaroni

    Makaroni Member

    Messages:
    24
    Levels:
    9
    Albums:
    1
    Likes Received:
    67
    Joined:
    Dec 30, 2018
    I tried to understand @richardfu_'s explanation in a practical way:

    Indeed, seems to be the object's center of mass (CoM) rather than the geometrical center of the object. Next question would be how heavy different block types are. Ok, at least relative to each other. :)

    Surprisingly for me, there are two other things in the video aside from the lightnings to notice:
    • Rubberband limbs happen also to single bots and it seems because of their spacial extension beyond the one block-sized area they normally stand on. Before I thought that it would be necessary to connect at least two bots for the effect, or do even worse things to them. No, one single bot is sufficient for rubberband limbs. In the Video B has something 16x16x16 sized as head, which is just nice to see the effect (according to its facing direction (East) the bot and all attached blocks undergo the initial rotation before the clock starts, but the positions of hands and feet don't). With smaller extensions the effect becomes smaller, and with an extension that exceeds the normal standing area only by one block the effect is quite difficult to notice at first sight. But with knowing all this it is possible to see it.
    • The CoM of the extended bot seems to define the rotational axis for the initial rotation before the clock starts. But it is not yet clear to me in which exact way the CoM is defining this axis.
     
    Last edited: Apr 15, 2019
  5. Makaroni

    Makaroni Member

    Messages:
    24
    Levels:
    9
    Albums:
    1
    Likes Received:
    67
    Joined:
    Dec 30, 2018
    I know, this message is exceeding the original intention of this thread a little, but take it as an example application of the Zapper-Lightning-CoM interaction outlined above and as an attempt to answer my last bullet above (how CoM is defining the rotational axis). In the videotaped level the CoM is known because of symmetrical desing in two directions and because of the Zappers measuring it in the other direction. And it seems that the answer with regard to the rotational axis is the most simple and direct one. o_O


    But things getting worse when introducing greek mythodolgy to this level. When the three Graeae bots are sharing their only eye, the Z gods no longer can see this single eye and will fling their lightnings at B Graia directly. ;)
    Graeae.jpg
     
    Last edited: Apr 25, 2019
  6. Sirrus the algebraist

    Sirrus the algebraist Member

    Messages:
    1
    Levels:
    1
    Albums:
    1
    Likes Received:
    0
    Joined:
    Mar 14, 2021
    A super simple way
     

    Attached Files:

  7. Makaroni

    Makaroni Member

    Messages:
    24
    Levels:
    9
    Albums:
    1
    Likes Received:
    67
    Joined:
    Dec 30, 2018
    Deprecation notice: I tested my own "Center of Mass" card from the "Thunder Lab (CoM)" video above (QR in the video) and found that it does not work any longer as originally intended with the most recent app version (Android tablet). I also think that the "Thunderstorm" card above from @Frenzies worked back then differently than it does today. Also cannot remember that the three Graeae bots have been this furious as they are now.

    Improvement notice: The two card variations from my "Thunder Lab" video above even work better with the updated app since from the different behaviours in the video apparently only the thunderstorm effect remained - at least this is my first impression.

    Thunder_Lab_geometrical.png

    Thunder_Lab_mass.png

    Center_of_Fury.png

    CoM_Lab_geometrical.png

    CoM_Lab_mass.png
     
    EL797 likes this.
  8. EL797

    EL797 Famous Member

    Messages:
    659
    Levels:
    310
    Albums:
    9
    Likes Received:
    3,185
    Joined:
    Mar 31, 2018
    I found a way to create lightning effect without the need to attach B to anything:
    6bb572b5-5c56-4d11-85b6-cbfd018b0521.jpg
     
    Soohaeib Afeef Hosen likes this.
  9. Soohaeib Afeef Hosen

    Soohaeib Afeef Hosen Active Member

    Messages:
    17
    Levels:
    11
    Albums:
    3
    Likes Received:
    209
    Joined:
    Nov 22, 2022
    That's funny. Actually this one is hard enough to implement in compact complex level I guess.
     
    EL797 likes this.

Share This Page