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. Project Showcase
  3. Anything I can add/fix? - Bot Test

Anything I can add/fix? - Bot Test

Scheduled Pinned Locked Moved Project Showcase
29 Posts 2 Posters 6.3k Views 1 Watching
  • 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.
  • Tyller_T Tyller_

    @011830-0a42ef84 oh yeah , I added stuff to fix that, you have to do

    point in direction(direction from x (0) y (0) x(mouse x) y(mouse y))

    in order to do it, its a weird bug, I think what it’s doing is pointing from player x y to the mouse (which makes sense) but the mouse x y is relative to the screen, so you could be 500 pixels right and if you click in the middle of the screen, instead of showing 500 mouse x 0 mouse y it shows 0 mouse x 0 mouse y, and if you want something that isn’t the player to look at hte mouse I can make an example if you really need i t

    TheNicknameGovT Offline
    TheNicknameGovT Offline
    TheNicknameGov
    trusted helpers
    wrote on last edited by
    #20

    @tyller_ Can you screenshot the blocks?

    I'm back!!!

    1 Reply Last reply
    0
    • Tyller_T Tyller_

      @011830-0a42ef84 oh yeah , I added stuff to fix that, you have to do

      point in direction(direction from x (0) y (0) x(mouse x) y(mouse y))

      in order to do it, its a weird bug, I think what it’s doing is pointing from player x y to the mouse (which makes sense) but the mouse x y is relative to the screen, so you could be 500 pixels right and if you click in the middle of the screen, instead of showing 500 mouse x 0 mouse y it shows 0 mouse x 0 mouse y, and if you want something that isn’t the player to look at hte mouse I can make an example if you really need i t

      TheNicknameGovT Offline
      TheNicknameGovT Offline
      TheNicknameGov
      trusted helpers
      wrote on last edited by
      #21

      @tyller_ I’m using this as a pointer:
      1dfa4819-7f26-4f5b-beb2-3dee9fba6434-image.png
      the problem is, it starts bugging when I go near or on the edge

      I'm back!!!

      Tyller_T 1 Reply Last reply
      0
      • TheNicknameGovT TheNicknameGov

        @tyller_ I’m using this as a pointer:
        1dfa4819-7f26-4f5b-beb2-3dee9fba6434-image.png
        the problem is, it starts bugging when I go near or on the edge

        Tyller_T Offline
        Tyller_T Offline
        Tyller_
        trusted helpers
        wrote on last edited by
        #22

        @011830-0a42ef84 it always bugs like that, I don’t know how to fix that since yo can’t use viewport x/y because that is not relative to the real x y position of the viewport (its some weird shortened one)

        <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>

        TheNicknameGovT 1 Reply Last reply
        1
        • TheNicknameGovT Offline
          TheNicknameGovT Offline
          TheNicknameGov
          trusted helpers
          wrote on last edited by
          #23

          @info-creaticode, can you help with making the player point to the mouse pointer with a bigger viewport than the original?

          I'm back!!!

          1 Reply Last reply
          0
          • Tyller_T Tyller_

            @011830-0a42ef84 it always bugs like that, I don’t know how to fix that since yo can’t use viewport x/y because that is not relative to the real x y position of the viewport (its some weird shortened one)

            TheNicknameGovT Offline
            TheNicknameGovT Offline
            TheNicknameGov
            trusted helpers
            wrote on last edited by
            #24

            @tyller_ Can you help implementing clones for the zombie?

            I'm back!!!

            Tyller_T 1 Reply Last reply
            0
            • TheNicknameGovT TheNicknameGov

              @tyller_ Can you help implementing clones for the zombie?

              Tyller_T Offline
              Tyller_T Offline
              Tyller_
              trusted helpers
              wrote on last edited by
              #25

              @011830-0a42ef84 Sry, I had started doing some javascript stuff and using my laptop as a webpage host server for testing stuff, I currently can’t use vscode.dev because I had to give my charger to my brother so my laptop auto powered off, so for today I’m going to try to do some creaticode stuff

              <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>

              TheNicknameGovT 1 Reply Last reply
              1
              • Tyller_T Tyller_

                @011830-0a42ef84 Sry, I had started doing some javascript stuff and using my laptop as a webpage host server for testing stuff, I currently can’t use vscode.dev because I had to give my charger to my brother so my laptop auto powered off, so for today I’m going to try to do some creaticode stuff

                TheNicknameGovT Offline
                TheNicknameGovT Offline
                TheNicknameGov
                trusted helpers
                wrote on last edited by
                #26

                @tyller_ So you are or aren’t going to implement clones? I’ve already made a round system so it would be very cool if I could add clones

                In Ver. 1.0 I’m planning on adding a multiplayer system and a shop.

                I'm back!!!

                Tyller_T 1 Reply Last reply
                1
                • TheNicknameGovT TheNicknameGov

                  @tyller_ So you are or aren’t going to implement clones? I’ve already made a round system so it would be very cool if I could add clones

                  In Ver. 1.0 I’m planning on adding a multiplayer system and a shop.

                  Tyller_T Offline
                  Tyller_T Offline
                  Tyller_
                  trusted helpers
                  wrote on last edited by
                  #27

                  @011830-0a42ef84 Here it is
                  https://play.creaticode.com/projects/67a4fb9137d5f05663875c86


                  I was gonna combine (which I really should of cus there’s so much repitition in the blocks) but I did this, it was the easiest method to think of and I didn’t ant to drag costumes, instead dragging blocks and copy pasting alot

                  <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>

                  TheNicknameGovT 1 Reply Last reply
                  0
                  • Tyller_T Tyller_

                    @011830-0a42ef84 Here it is
                    https://play.creaticode.com/projects/67a4fb9137d5f05663875c86


                    I was gonna combine (which I really should of cus there’s so much repitition in the blocks) but I did this, it was the easiest method to think of and I didn’t ant to drag costumes, instead dragging blocks and copy pasting alot

                    TheNicknameGovT Offline
                    TheNicknameGovT Offline
                    TheNicknameGov
                    trusted helpers
                    wrote on last edited by
                    #28

                    @tyller_ Ty this is really helpful for later versions, but there seems to be an issue in where the bot seems to not want to turn to face the player. Do you know the issue to this?

                    I'm back!!!

                    Tyller_T 1 Reply Last reply
                    0
                    • TheNicknameGovT TheNicknameGov

                      @tyller_ Ty this is really helpful for later versions, but there seems to be an issue in where the bot seems to not want to turn to face the player. Do you know the issue to this?

                      Tyller_T Offline
                      Tyller_T Offline
                      Tyller_
                      trusted helpers
                      wrote on last edited by
                      #29

                      @011830-0a42ef84 yeah so the issue is likely that multiple broadcasts are being sent per frame, which causes only some broadcasts to work,there is no way around this as far as I know, actually a really scuffed/creative way could be you have each thing add to a list the instructions, and then each clone looks for their clone id in the list and follows that instruction (actually I might do that in my cell game to prevent a bug I’ve found with my black holes)

                      <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
                      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