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. So, help.

So, help.

Scheduled Pinned Locked Moved Help
18 Posts 2 Posters 3.6k 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.
  • SirBotsS SirBots

    @sirbots There’s the ai for both sides.

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

    @sirbots How do I start it? I press play and nothing happens

    Please help all my projects are 3000+ blocks

    SirBotsS 1 Reply Last reply
    0
    • TheNicknameGovT TheNicknameGov

      @sirbots How do I start it? I press play and nothing happens

      SirBotsS Offline
      SirBotsS Offline
      SirBots
      wrote on last edited by
      #6

      @011830-0a42ef84 Its just the AI. Nothing else.

      Your local coder who is working around the clock to make sure great games are made

      TheNicknameGovT 1 Reply Last reply
      0
      • SirBotsS SirBots

        @011830-0a42ef84 Its just the AI. Nothing else.

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

        @sirbots Can you send me the game that has the bug?

        Please help all my projects are 3000+ blocks

        SirBotsS 1 Reply Last reply
        0
        • TheNicknameGovT TheNicknameGov

          @sirbots Can you send me the game that has the bug?

          SirBotsS Offline
          SirBotsS Offline
          SirBots
          wrote on last edited by
          #8

          @011830-0a42ef84 The current version I’m working on has the bug. The released version rn does not.

          Your local coder who is working around the clock to make sure great games are made

          TheNicknameGovT 2 Replies Last reply
          0
          • SirBotsS SirBots

            @011830-0a42ef84 The current version I’m working on has the bug. The released version rn does not.

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

            @sirbots, Let me program an AI in my game so I can have the feel of friendly units.

            I have problems with cloning blocks and working them into it so it may take a while. I’m waiting on @Tyller_ to make my game with clones.

            Please help all my projects are 3000+ blocks

            1 Reply Last reply
            0
            • SirBotsS SirBots

              @011830-0a42ef84 The current version I’m working on has the bug. The released version rn does not.

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

              @sirbots, Do your units on your team have inf range detection?

              I mean this as in if you get shot by an enemy, do ALL friendlies on the map (that aren’t dead) hear it?

              Please help all my projects are 3000+ blocks

              SirBotsS 1 Reply Last reply
              0
              • TheNicknameGovT TheNicknameGov

                @sirbots, Do your units on your team have inf range detection?

                I mean this as in if you get shot by an enemy, do ALL friendlies on the map (that aren’t dead) hear it?

                SirBotsS Offline
                SirBotsS Offline
                SirBots
                wrote on last edited by
                #11

                @011830-0a42ef84 They don’t use sound. its only when they are in a certain distance of each other.

                Your local coder who is working around the clock to make sure great games are made

                1 Reply Last reply
                0
                • SirBotsS SirBots

                  I have a working targeting system, but every time I get attacked by the bots, my team focuses on me instead of the bots.

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

                  @sirbots said in So, help.:

                  I have a working targeting system, but every time I get attacked by the bots, my team focuses on me instead of the bots.

                  I thought you said that they target the enemy if you are attacked. How far is the detection range on this?

                  Please help all my projects are 3000+ blocks

                  SirBotsS 1 Reply Last reply
                  0
                  • TheNicknameGovT TheNicknameGov

                    @sirbots said in So, help.:

                    I have a working targeting system, but every time I get attacked by the bots, my team focuses on me instead of the bots.

                    I thought you said that they target the enemy if you are attacked. How far is the detection range on this?

                    SirBotsS Offline
                    SirBotsS Offline
                    SirBots
                    wrote on last edited by
                    #13

                    @011830-0a42ef84 No, my team shoots at me when I get attacked by the bots.

                    Your local coder who is working around the clock to make sure great games are made

                    TheNicknameGovT 1 Reply Last reply
                    0
                    • SirBotsS SirBots

                      @011830-0a42ef84 No, my team shoots at me when I get attacked by the bots.

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

                      @sirbots, oh, I get what you mean now.

                      What I would do is add a sprite that works as a zone for the bot’s detection range. When it targets an enemy, make sure that it won’t target the player by using the 'If (touching player)"

                      This may bug when there are multiple bots in the area, so you could add a thin sprite that is a line that connects to the eyes of the bot, so when it sees multiple bots in the original zone, it will turn to target the closest one (the one with the least amt of turning to target). If it is the player, the bot will move on to the other target

                      Please help all my projects are 3000+ blocks

                      SirBotsS 1 Reply Last reply
                      0
                      • TheNicknameGovT TheNicknameGov

                        @sirbots, oh, I get what you mean now.

                        What I would do is add a sprite that works as a zone for the bot’s detection range. When it targets an enemy, make sure that it won’t target the player by using the 'If (touching player)"

                        This may bug when there are multiple bots in the area, so you could add a thin sprite that is a line that connects to the eyes of the bot, so when it sees multiple bots in the original zone, it will turn to target the closest one (the one with the least amt of turning to target). If it is the player, the bot will move on to the other target

                        SirBotsS Offline
                        SirBotsS Offline
                        SirBots
                        wrote on last edited by
                        #15

                        @011830-0a42ef84 Huh.

                        Your local coder who is working around the clock to make sure great games are made

                        TheNicknameGovT 1 Reply Last reply
                        0
                        • SirBotsS SirBots

                          @011830-0a42ef84 Huh.

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

                          @sirbots Does it work?

                          Please help all my projects are 3000+ blocks

                          SirBotsS 1 Reply Last reply
                          0
                          • TheNicknameGovT TheNicknameGov

                            @sirbots Does it work?

                            SirBotsS Offline
                            SirBotsS Offline
                            SirBots
                            wrote on last edited by
                            #17

                            @011830-0a42ef84 No, I might have to share the unfinished version with you.

                            Your local coder who is working around the clock to make sure great games are made

                            SirBotsS 1 Reply Last reply
                            0
                            • SirBotsS SirBots

                              @011830-0a42ef84 No, I might have to share the unfinished version with you.

                              SirBotsS Offline
                              SirBotsS Offline
                              SirBots
                              wrote on last edited by
                              #18

                              @sirbots The best I can do rn is to just have them shoot at random bots anywhere on the map based on the coordinates on both teams, sadly. It’s still better than randomly firing at stuff

                              Your local coder who is working around the clock to make sure great games are made

                              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