Navigation

    CreatiCode Scratch Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode

    Shake screen

    Feedback
    5
    10
    454
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • The_True_Odst
      The True ODST Best Forum Helpers last edited by The_True_Odst

      There should be an option where the screen can shake
      blocks should include these:
      3c58b892-b82e-4844-ac02-8b2a29ac73d2-image.png

      shake screen: it shakes screen until manually stopped

      24fa7ccc-d092-483c-aeb1-059ad4ae85c5-image.png

      shake screen for any amount of time

      0bbddedb-ed5b-4d5f-9a76-3d2683aa13c3-image.png

      Screen shake strength: sets how much force is applied to shaking the screen.

      info-creaticode Tyller_ 2 Replies Last reply Reply Quote 1
      • The_True_Odst
        The True ODST Best Forum Helpers last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • info-creaticode
          CreatiCode @The_True_Odst last edited by

          @011830-0a42ef84

          What happens when you run the “shake screen” block?

          c. jeffreyrb03-gmail 2 Replies Last reply Reply Quote 0
          • Tyller_
            Tyller_ Best Forum Helpers @The_True_Odst last edited by

            @011830-0a42ef84 you could make this why just setting the viewport x slightly offset, and if you lock viewport to sprite then locking it to another sprite that always goes to the intended target but is offset while shaking

            <div component="post/signature" data-uid="255" class="post-signature">Check out my chat room project so you ppl can not use forums as chat rooms! https://play.creaticode.com/projects/66f2e1dcd1be43d82b886fbd?version=1 <p dir="auto">
            </div>

            1 Reply Last reply Reply Quote 1
            • c.
              Cαƚƚყ Mod Helper @info-creaticode last edited by

              @info-creaticode I can try to make a mockup screenshake blocks.

              Official Forums Moderator

              1 Reply Last reply Reply Quote 1
              • jeffreyrb03-gmail
                JaecadeJnight Mod Helper @info-creaticode last edited by

                @info-creaticode Shakes the screen

                #LLJW
                <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

                info-creaticode 1 Reply Last reply Reply Quote 0
                • info-creaticode
                  CreatiCode @jeffreyrb03-gmail last edited by

                  @jeffreyrb03-gmail

                  Some details need to be discussed. When the screen is shaken, do we simply move every thing (including the backdrop) left and then right? If we move everything left, then there will be a gap at the right edge (assuming viewport is not used). Do we fill that gap with white or black color?

                  jeffreyrb03-gmail 1 Reply Last reply Reply Quote 0
                  • jeffreyrb03-gmail
                    JaecadeJnight Mod Helper @info-creaticode last edited by

                    @info-creaticode Yeah, everything would need to get moved, and that gap should probably be filled with black

                    #LLJW
                    <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

                    The_True_Odst 1 Reply Last reply Reply Quote 0
                    • The_True_Odst
                      The True ODST Best Forum Helpers @jeffreyrb03-gmail last edited by The_True_Odst

                      @jeffreyrb03-gmail, @info-creaticode, Yes, that’s what I was thinking. Maybe when moving the backdrop, there could be an option on whether or not the gap should be white or black.

                      info-creaticode 1 Reply Last reply Reply Quote 1
                      • info-creaticode
                        CreatiCode @The_True_Odst last edited by

                        @011830-0a42ef84

                        Please check out this new block:

                        https://www.forum.creaticode.com/topic/1653/shake-screen

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post