Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • CreatiCode
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

CreatiCode Scratch Forum

  1. CreatiCode Forum
  2. Feedback
  3. hitbox and hurtboxs

hitbox and hurtboxs

Scheduled Pinned Locked Moved Feedback
8 Posts 3 Posters 1.1k Views
  • 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.
  • D Offline
    D Offline
    dezz nuts
    wrote on last edited by
    #1

    I want a way to edit how other sprites interact. I’m trying to make a circle sprite, but I run into the issue of trying to make other sprites only count touching if they touch the ring. I don’t want them to touch a blank spot.

    Also, day 2 requesting a document with a way to see all the features that were added from users and progress.

    CreatiCodeI 1 Reply Last reply
    0
    • D dezz nuts

      I want a way to edit how other sprites interact. I’m trying to make a circle sprite, but I run into the issue of trying to make other sprites only count touching if they touch the ring. I don’t want them to touch a blank spot.

      Also, day 2 requesting a document with a way to see all the features that were added from users and progress.

      CreatiCodeI Offline
      CreatiCodeI Offline
      CreatiCode
      wrote on last edited by info-creaticode
      #2

      @dezz-nuts

      Are you saying you do not want to count as touching a sprite if that sprite is a ring and your sprite is inside that ring?

      D 1 Reply Last reply
      0
      • CreatiCodeI CreatiCode

        @dezz-nuts

        Are you saying you do not want to count as touching a sprite if that sprite is a ring and your sprite is inside that ring?

        D Offline
        D Offline
        dezz nuts
        wrote on last edited by
        #3

        @info-creaticode im saying i want to be able define were the sensing block can interact also i want be able want the senseing block to only count were it touch a non transparent part of sprite only one opaque part

        CreatiCodeI 1 Reply Last reply
        0
        • D dezz nuts

          @info-creaticode im saying i want to be able define were the sensing block can interact also i want be able want the senseing block to only count were it touch a non transparent part of sprite only one opaque part

          CreatiCodeI Offline
          CreatiCodeI Offline
          CreatiCode
          wrote on last edited by
          #4

          @dezz-nuts

          Can you create a simple example project? With just 2 sprites, and illustrates where the issue is: like the sensing block (which block you are using?) is reporting it is touching the other sprite though you do not want it to do so.

          D 1 Reply Last reply
          0
          • CreatiCodeI CreatiCode

            @dezz-nuts

            Can you create a simple example project? With just 2 sprites, and illustrates where the issue is: like the sensing block (which block you are using?) is reporting it is touching the other sprite though you do not want it to do so.

            D Offline
            D Offline
            dezz nuts
            wrote on last edited by dezz nuts
            #5

            @info-creaticode press the flag https://play.creaticode.com/projects/696fc7e4f11495ad2e200591


            password 123

            CreatiCodeI 1 Reply Last reply
            0
            • D dezz nuts

              @info-creaticode press the flag https://play.creaticode.com/projects/696fc7e4f11495ad2e200591


              password 123

              CreatiCodeI Offline
              CreatiCodeI Offline
              CreatiCode
              wrote on last edited by
              #6

              @dezz-nuts

              If you set the ring to have transparent filling, then it will say touching is false, right?

              94a2cd7d-c0ee-48e8-92e2-d64494f17a60-image.png

              If you must have the white color filling the ring, then you can work around it a few ways:

              1. Use touching color with the ring color instead of touchign sprite
              2. Besides checking for touching, also calculate distance between the dog and the ring, and if the distance is very small, it means the dog is inside the ring.
              3. Use 2 ring sprites, one transparent and one filled, and they go together, and for touching test, use the ring that’s transparent.
              D TheNicknameGovT 2 Replies Last reply
              0
              • CreatiCodeI CreatiCode

                @dezz-nuts

                If you set the ring to have transparent filling, then it will say touching is false, right?

                94a2cd7d-c0ee-48e8-92e2-d64494f17a60-image.png

                If you must have the white color filling the ring, then you can work around it a few ways:

                1. Use touching color with the ring color instead of touchign sprite
                2. Besides checking for touching, also calculate distance between the dog and the ring, and if the distance is very small, it means the dog is inside the ring.
                3. Use 2 ring sprites, one transparent and one filled, and they go together, and for touching test, use the ring that’s transparent.
                D Offline
                D Offline
                dezz nuts
                wrote on last edited by
                #7

                @info-creaticode thank you @dezznuts

                1 Reply Last reply
                0
                • CreatiCodeI CreatiCode

                  @dezz-nuts

                  If you set the ring to have transparent filling, then it will say touching is false, right?

                  94a2cd7d-c0ee-48e8-92e2-d64494f17a60-image.png

                  If you must have the white color filling the ring, then you can work around it a few ways:

                  1. Use touching color with the ring color instead of touchign sprite
                  2. Besides checking for touching, also calculate distance between the dog and the ring, and if the distance is very small, it means the dog is inside the ring.
                  3. Use 2 ring sprites, one transparent and one filled, and they go together, and for touching test, use the ring that’s transparent.
                  TheNicknameGovT Offline
                  TheNicknameGovT Offline
                  TheNicknameGov
                  trusted helpers
                  wrote on last edited by TAO
                  #8

                  @info-creaticode @dezz-nuts If they’re saying they want the ring invisible, they can use the ghost function to make it invisible while still making the “touching sprite” function work.

                  Please help all my projects are 3000+ blocks

                  1 Reply Last reply
                  0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • CreatiCode