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. Goofy Tower Defense

Goofy Tower Defense

Scheduled Pinned Locked Moved Project Showcase
61 Posts 4 Posters 21.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.
  • CreatiCodeI CreatiCode

    @011830-0a42ef84

    Did you forget to share?

    TheNicknameGovT Offline
    TheNicknameGovT Offline
    TheNicknameGov
    trusted helpers
    wrote on last edited by TAO
    #3

    @info-creaticode I fixed it. Right now they target the fastest since I’ve learned how to do that. How do you make them target the first enemy? Also, is there anything I can add to make it smoother? This game is planning on being a wave game and there are only 3 units right now for development examples.

    Edit: Click the white circle and type “/give” in the upper left for extra money. This is mainly to see what the revolver does.

    Edit2: I’m also planning on adding an auto-wave start
    Edit3: I made the optional wave start, but idling the characters is a bit difficult with the way I created the game. They do manage to kill the first enemy before the others spawn, so they idle the entire time and don’t shoot, so I had to time it. I think I found a way to get around it though. (Edit4: I did manage to fix it)

    Edit5 🙏 : I’m also going to make an upgrader for the units along with placing multiples of the same unit.

    note: you may need to click the flag a couple of times because the units or “start wave” don’t always work properly.

    Please help all my projects are 3000+ blocks

    JaecadeJnightJ 1 Reply Last reply
    1
    • TheNicknameGovT TheNicknameGov

      @info-creaticode I fixed it. Right now they target the fastest since I’ve learned how to do that. How do you make them target the first enemy? Also, is there anything I can add to make it smoother? This game is planning on being a wave game and there are only 3 units right now for development examples.

      Edit: Click the white circle and type “/give” in the upper left for extra money. This is mainly to see what the revolver does.

      Edit2: I’m also planning on adding an auto-wave start
      Edit3: I made the optional wave start, but idling the characters is a bit difficult with the way I created the game. They do manage to kill the first enemy before the others spawn, so they idle the entire time and don’t shoot, so I had to time it. I think I found a way to get around it though. (Edit4: I did manage to fix it)

      Edit5 🙏 : I’m also going to make an upgrader for the units along with placing multiples of the same unit.

      note: you may need to click the flag a couple of times because the units or “start wave” don’t always work properly.

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

      @011830-0a42ef84 You can utilize clone id or use different methods like store metadata about each enemy in a table to give them higher priority to be targeted first. For smoothness maybe use 2d physics? I think saving data with cloud variables or databases would be epic for this type of game as well.

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

      TheNicknameGovT 1 Reply Last reply
      1
      • JaecadeJnightJ JaecadeJnight

        @011830-0a42ef84 You can utilize clone id or use different methods like store metadata about each enemy in a table to give them higher priority to be targeted first. For smoothness maybe use 2d physics? I think saving data with cloud variables or databases would be epic for this type of game as well.

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

        @jeffreyrb03-gmail Here’s the test room: I struggle with cloning. Think you can help with it?
        https://play.creaticode.com/projects/6730fb66bf68856fe9840816


        Also, how do you think of the game overall?

        Please help all my projects are 3000+ blocks

        JaecadeJnightJ 1 Reply Last reply
        1
        • TheNicknameGovT TheNicknameGov

          @jeffreyrb03-gmail Here’s the test room: I struggle with cloning. Think you can help with it?
          https://play.creaticode.com/projects/6730fb66bf68856fe9840816


          Also, how do you think of the game overall?

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

          @011830-0a42ef84 I like the idea of the game, tower defense is a pretty awesome game genre. I’m gonna test the game and see what i can fix in the testing room project

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

          TheNicknameGovT 1 Reply Last reply
          1
          • JaecadeJnightJ JaecadeJnight

            @011830-0a42ef84 I like the idea of the game, tower defense is a pretty awesome game genre. I’m gonna test the game and see what i can fix in the testing room project

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

            @jeffreyrb03-gmail Ok, so you could be like my co-developer?

            Please help all my projects are 3000+ blocks

            JaecadeJnightJ 1 Reply Last reply
            1
            • TheNicknameGovT TheNicknameGov

              @jeffreyrb03-gmail Ok, so you could be like my co-developer?

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

              @011830-0a42ef84 Sure. Also first bug, you can place units on the yellow path.

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

              TheNicknameGovT 1 Reply Last reply
              0
              • JaecadeJnightJ JaecadeJnight

                @011830-0a42ef84 Sure. Also first bug, you can place units on the yellow path.

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

                @jeffreyrb03-gmail Yeah, I’ve been thinking about that. Would there have to be a boundary and it’s like
                If “[{unit} is in {boundary}],” then
                “don’t place”
                ?

                Please help all my projects are 3000+ blocks

                JaecadeJnightJ 2 Replies Last reply
                1
                • TheNicknameGovT TheNicknameGov

                  @jeffreyrb03-gmail Yeah, I’ve been thinking about that. Would there have to be a boundary and it’s like
                  If “[{unit} is in {boundary}],” then
                  “don’t place”
                  ?

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

                  @011830-0a42ef84 you could use <touching color(color)> in an if block so prolly yeah

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

                  TheNicknameGovT 2 Replies Last reply
                  0
                  • JaecadeJnightJ JaecadeJnight

                    @011830-0a42ef84 you could use <touching color(color)> in an if block so prolly yeah

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

                    @jeffreyrb03-gmail ok

                    Please help all my projects are 3000+ blocks

                    1 Reply Last reply
                    1
                    • JaecadeJnightJ JaecadeJnight

                      @011830-0a42ef84 you could use <touching color(color)> in an if block so prolly yeah

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

                      @jeffreyrb03-gmail I changed it to “If touching color” still doesn’t work fsr tho.

                      Please help all my projects are 3000+ blocks

                      JaecadeJnightJ 1 Reply Last reply
                      1
                      • TheNicknameGovT TheNicknameGov

                        @jeffreyrb03-gmail Yeah, I’ve been thinking about that. Would there have to be a boundary and it’s like
                        If “[{unit} is in {boundary}],” then
                        “don’t place”
                        ?

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

                        @011830-0a42ef84 nice profile change. also i took a look at your code and its a bit complicated and messy to me. My suggestion is that you utilize widgets for some things. For example, you dont need sprite2, sprite4, and sprite8. You could just make some button widgets in the stage. And even in normal Scratch, you could just have one button sprite for those 3 sprites, make it change costume, move, and clone itself, and then when self clicked just use an if costume = 1 then buy revolver and if costume = 2 then buy dj or whatever

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

                        1 Reply Last reply
                        1
                        • TheNicknameGovT TheNicknameGov

                          @jeffreyrb03-gmail I changed it to “If touching color” still doesn’t work fsr tho.

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

                          @011830-0a42ef84 mb i was just guessing

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

                          TheNicknameGovT 1 Reply Last reply
                          1
                          • JaecadeJnightJ JaecadeJnight

                            @011830-0a42ef84 mb i was just guessing

                            TheNicknameGovT Offline
                            TheNicknameGovT Offline
                            TheNicknameGov
                            trusted helpers
                            wrote on last edited by TAO
                            #15

                            @jeffreyrb03-gmail Could you do that for the test and just send it to me? I would implement it in my project and credit you. I’m really only good at character design/animation, and how they shoot/move. 🐖

                            Also, do you have any enemy/unit suggestions? If so please list and explain it to me

                            I’m also planning on making moving units, as well.

                            Please help all my projects are 3000+ blocks

                            JaecadeJnightJ 1 Reply Last reply
                            1
                            • TheNicknameGovT TheNicknameGov

                              @jeffreyrb03-gmail Could you do that for the test and just send it to me? I would implement it in my project and credit you. I’m really only good at character design/animation, and how they shoot/move. 🐖

                              Also, do you have any enemy/unit suggestions? If so please list and explain it to me

                              I’m also planning on making moving units, as well.

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

                              @011830-0a42ef84 Ok. Ill try to change your code but you should also try to make comments in places to explain what your code does since I have no idea what one of the sprites does but dw I’ll figure it out

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

                              TheNicknameGovT 2 Replies Last reply
                              1
                              • JaecadeJnightJ JaecadeJnight

                                @011830-0a42ef84 Ok. Ill try to change your code but you should also try to make comments in places to explain what your code does since I have no idea what one of the sprites does but dw I’ll figure it out

                                TheNicknameGovT Offline
                                TheNicknameGovT Offline
                                TheNicknameGov
                                trusted helpers
                                wrote on last edited by TAO
                                #17

                                @jeffreyrb03-gmail OK let me rename every sprite then

                                Ok they are all renamed and kind of explained

                                Please help all my projects are 3000+ blocks

                                1 Reply Last reply
                                1
                                • JaecadeJnightJ JaecadeJnight

                                  @011830-0a42ef84 Ok. Ill try to change your code but you should also try to make comments in places to explain what your code does since I have no idea what one of the sprites does but dw I’ll figure it out

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

                                  @jeffreyrb03-gmail How’s the progess going (I got bored)

                                  Please help all my projects are 3000+ blocks

                                  JaecadeJnightJ 4 Replies Last reply
                                  1
                                  • TheNicknameGovT TheNicknameGov

                                    @jeffreyrb03-gmail How’s the progess going (I got bored)

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

                                    @011830-0a42ef84 doing good im making it less messy and things are gonna do what theyre supoosed to now, almost done

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

                                    1 Reply Last reply
                                    0
                                    • TheNicknameGovT TheNicknameGov

                                      @jeffreyrb03-gmail How’s the progess going (I got bored)

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

                                      @011830-0a42ef84 heres my fixes to it: https://play.creaticode.com/projects/673102f9bf68856fe9841005

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

                                      JaecadeJnightJ 1 Reply Last reply
                                      1
                                      • JaecadeJnightJ JaecadeJnight

                                        @011830-0a42ef84 heres my fixes to it: https://play.creaticode.com/projects/673102f9bf68856fe9841005

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

                                        @jeffreyrb03-gmail @011830-0a42ef84 I moved everything initialization related (like setting variables and the backdrop) to the Stage, deleted all button sprites and replaced them with widgets, by making buttons shop1, shop2, shop3, and cheatsgiver, renamed the sprites to tell you what they are, and I made the /give command better so that you can now just type “/give 500” to give yourself 500 cabbage.

                                        Edit: I also changed something that took 5 seconds to be just 2 seconds since i think thats too long of a wait

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

                                        TheNicknameGovT 1 Reply Last reply
                                        1
                                        • TheNicknameGovT TheNicknameGov

                                          @jeffreyrb03-gmail How’s the progess going (I got bored)

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

                                          @011830-0a42ef84 u there?

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

                                          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