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. Help
  3. Coding questions

Coding questions

Scheduled Pinned Locked Moved Help
20 Posts 4 Posters 4.6k 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.
  • CreatiCodeI CreatiCode

    @thebrickmaster626-f522560b

    Can you explain what kind of joystick? Do you have an example or a picture?

    T Offline
    T Offline
    Salvatore Nicholson
    wrote on last edited by
    #3

    @info-creaticode it’s supposed to be a joystick that works and shows on 3d scenes.

    CreatiCodeI 1 Reply Last reply
    1
    • T Salvatore Nicholson

      How do I make a joystick with widgets? (I don’t have a pc or computer) CreaticodeXO didn’t work so well, so could you help me plz?

      JaecadeJnightJ Offline
      JaecadeJnightJ Offline
      JaecadeJnight
      Mod Helper
      wrote on last edited by jeffreyrb03-gmail
      #4

      @thebrickmaster626-f522560b I like the idea, I guess you could make a draggable widget with limits so you can’t drag it too far and end up breaking the joystick, and then make like a 3d character and/or camera constantly move (with a forever block) to whatever direction the joystick is in, which might be hard because you’ll have to do some math or complex calculations.
      Or maybe instead of a joystick, you could do what older Minecraft bedrock did and make arrows to move

      CreatiCode and Scratch in general isn’t all that mobile/touchscreen friendly so if you have an iPad or something I recommend buying a bluetooth keyboard and mouse and using it to use creaticode and it will make ur life so much easier.

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

      T 1 Reply Last reply
      1
      • T Salvatore Nicholson

        @info-creaticode it’s supposed to be a joystick that works and shows on 3d scenes.

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

        @thebrickmaster626-f522560b

        Can you show a picture of what you are thinking? You can draw it or google a screenshot, so we understand what you are looking for.

        In general, you can add buttons like these to allow for user controls, which works on mobile as well:

        8ffeba28-3e3e-406e-8bef-7de0c12521e8-image.png

        T 1 Reply Last reply
        1
        • CreatiCodeI CreatiCode

          @thebrickmaster626-f522560b

          Can you show a picture of what you are thinking? You can draw it or google a screenshot, so we understand what you are looking for.

          In general, you can add buttons like these to allow for user controls, which works on mobile as well:

          8ffeba28-3e3e-406e-8bef-7de0c12521e8-image.png

          T Offline
          T Offline
          Salvatore Nicholson
          wrote on last edited by
          #6

          @info-creaticode idk how to send images in chat

          JaecadeJnightJ 1 Reply Last reply
          1
          • JaecadeJnightJ JaecadeJnight

            @thebrickmaster626-f522560b I like the idea, I guess you could make a draggable widget with limits so you can’t drag it too far and end up breaking the joystick, and then make like a 3d character and/or camera constantly move (with a forever block) to whatever direction the joystick is in, which might be hard because you’ll have to do some math or complex calculations.
            Or maybe instead of a joystick, you could do what older Minecraft bedrock did and make arrows to move

            CreatiCode and Scratch in general isn’t all that mobile/touchscreen friendly so if you have an iPad or something I recommend buying a bluetooth keyboard and mouse and using it to use creaticode and it will make ur life so much easier.

            T Offline
            T Offline
            Salvatore Nicholson
            wrote on last edited by
            #7

            @jeffreyrb03-gmail thx for the idea

            1 Reply Last reply
            1
            • T Salvatore Nicholson

              @info-creaticode idk how to send images in chat

              JaecadeJnightJ Offline
              JaecadeJnightJ Offline
              JaecadeJnight
              Mod Helper
              wrote on last edited by
              #8

              @thebrickmaster626-f522560b You’re welcome! Also you can hold press or right click on a picture like from google or something and then touch “Copy Image” and then here in the text area press “Paste” to put an image or also upload an image, the button to do it is at the end of all the other buttons when ur making a post/reply

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

              T 2 Replies Last reply
              0
              • JaecadeJnightJ JaecadeJnight

                @thebrickmaster626-f522560b You’re welcome! Also you can hold press or right click on a picture like from google or something and then touch “Copy Image” and then here in the text area press “Paste” to put an image or also upload an image, the button to do it is at the end of all the other buttons when ur making a post/reply

                T Offline
                T Offline
                Salvatore Nicholson
                wrote on last edited by
                #9

                @jeffreyrb03-gmail joystick img:IMG_6793.jpeg
                Thx to Griffpatch on scratch mit website for joystick tutorial on yt

                1 Reply Last reply
                0
                • JaecadeJnightJ JaecadeJnight

                  @thebrickmaster626-f522560b You’re welcome! Also you can hold press or right click on a picture like from google or something and then touch “Copy Image” and then here in the text area press “Paste” to put an image or also upload an image, the button to do it is at the end of all the other buttons when ur making a post/reply

                  T Offline
                  T Offline
                  Salvatore Nicholson
                  wrote on last edited by
                  #10

                  @jeffreyrb03-gmail btw the joystick is for my 3d car game on my iPad. I will send you the project when it’s done.

                  CreatiCodeI 1 Reply Last reply
                  1
                  • T Salvatore Nicholson

                    @jeffreyrb03-gmail btw the joystick is for my 3d car game on my iPad. I will send you the project when it’s done.

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

                    @thebrickmaster626-f522560b

                    Maybe this is a good example? When you go to our home page at creaticode.com, you can use pointer or mouse to press down on the 3D scene of the car, and you will see a circular cyan input control:

                    cde526d4-df53-4089-af26-97bf79877db3-image.png

                    JaecadeJnightJ T 2 Replies Last reply
                    1
                    • CreatiCodeI CreatiCode

                      @thebrickmaster626-f522560b

                      Maybe this is a good example? When you go to our home page at creaticode.com, you can use pointer or mouse to press down on the 3D scene of the car, and you will see a circular cyan input control:

                      cde526d4-df53-4089-af26-97bf79877db3-image.png

                      JaecadeJnightJ Offline
                      JaecadeJnightJ Offline
                      JaecadeJnight
                      Mod Helper
                      wrote on last edited by
                      #12

                      @info-creaticode Could you guys make an individual tutorial that just shows how to make a widget joystick like that and make it control things like movement or camera for a 3d object? And also how to do things like find what angle (in degrees) the joystick is being pointed at, and how far it’s being pointed, which would just be the distance of the joystick circle to the center of the bigger circle.

                      I struggle with CreatiCode’s 3d features a bit because the coordinate system of XYZ isn’t the XYZ system I’m used to, where Y is up and down, X is left to right, and Z is front to back. Im also a bit unfamiliar with v-angle and h-angle but that’s not too bad. It would be a big help, thanks!

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

                      1 Reply Last reply
                      0
                      • CreatiCodeI CreatiCode

                        @thebrickmaster626-f522560b

                        Maybe this is a good example? When you go to our home page at creaticode.com, you can use pointer or mouse to press down on the 3D scene of the car, and you will see a circular cyan input control:

                        cde526d4-df53-4089-af26-97bf79877db3-image.png

                        T Offline
                        T Offline
                        Salvatore Nicholson
                        wrote on last edited by
                        #13

                        @info-creaticode that’s a good idea! But is there a tutorial, code, or an example project that I can use?

                        CreatiCodeI 1 Reply Last reply
                        0
                        • T Salvatore Nicholson

                          @info-creaticode that’s a good idea! But is there a tutorial, code, or an example project that I can use?

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

                          @thebrickmaster626-f522560b @jeffreyrb03-gmail

                          We will provide some tutorials on this. It will take some time since this is an illustration, and it is not supported yet.

                          T 1 Reply Last reply
                          1
                          • CreatiCodeI CreatiCode

                            @thebrickmaster626-f522560b @jeffreyrb03-gmail

                            We will provide some tutorials on this. It will take some time since this is an illustration, and it is not supported yet.

                            T Offline
                            T Offline
                            Salvatore Nicholson
                            wrote on last edited by
                            #15

                            @info-creaticode okay! Let me know when it’s done!

                            CreatiCodeI 1 Reply Last reply
                            0
                            • Tyller_T Offline
                              Tyller_T Offline
                              Tyller_
                              trusted helpers
                              wrote on last edited by Tyller_
                              #16

                              @thebrickmaster626-f522560b I already have a two joystick system already made, you get the direction and distance each joystick is from the center of it’s thingy, https://play.creaticode.com/projects/673b45dab08c383c7eea0609

                              edit: you have to broadcast “Mobile Controls” to start it

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

                              T 1 Reply Last reply
                              0
                              • Tyller_T Tyller_

                                @thebrickmaster626-f522560b I already have a two joystick system already made, you get the direction and distance each joystick is from the center of it’s thingy, https://play.creaticode.com/projects/673b45dab08c383c7eea0609

                                edit: you have to broadcast “Mobile Controls” to start it

                                T Offline
                                T Offline
                                Salvatore Nicholson
                                wrote on last edited by
                                #17

                                @tyller_ thx, but does it work on 3d scenes?

                                1 Reply Last reply
                                0
                                • Tyller_T Offline
                                  Tyller_T Offline
                                  Tyller_
                                  trusted helpers
                                  wrote on last edited by
                                  #18

                                  @thebrickmaster626-f522560b no, I’m not sure how to display stuff over the 3d scene like the home screen project

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

                                  T 1 Reply Last reply
                                  0
                                  • Tyller_T Tyller_

                                    @thebrickmaster626-f522560b no, I’m not sure how to display stuff over the 3d scene like the home screen project

                                    T Offline
                                    T Offline
                                    Salvatore Nicholson
                                    wrote on last edited by
                                    #19

                                    @tyller_ I figured out that widget display on 3d scenes, so could you please make one with widgets? Also I only need one joystick to move the car around.

                                    1 Reply Last reply
                                    0
                                    • T Salvatore Nicholson

                                      @info-creaticode okay! Let me know when it’s done!

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

                                      @thebrickmaster626-f522560b

                                      Please check out the new joystick blocks we have just added:

                                      https://www.forum.creaticode.com/topic/1651/virtual-joysticks-for-user-input

                                      1 Reply Last reply
                                      1

                                      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