Navigation

    CreatiCode Scratch Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode

    Goofy Tower Defense

    Project Showcase
    4
    61
    3250
    Loading More Posts
    • 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.
    • The_True_Odst
      The True ODST Best Forum Helpers last edited by

      https://play.creaticode.com/projects/672e66b5731b37123597e815


      How is this game?

      info-creaticode 1 Reply Last reply Reply Quote 1
      • info-creaticode
        CreatiCode @The_True_Odst last edited by

        @011830-0a42ef84

        Did you forget to share?

        The_True_Odst 1 Reply Last reply Reply Quote 1
        • The_True_Odst
          The True ODST Best Forum Helpers @info-creaticode last edited by The_True_Odst

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

          jeffreyrb03-gmail 1 Reply Last reply Reply Quote 1
          • jeffreyrb03-gmail
            JaecadeJnight Mod Helper @The_True_Odst last edited by

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

            The_True_Odst 1 Reply Last reply Reply Quote 1
            • The_True_Odst
              The True ODST Best Forum Helpers @jeffreyrb03-gmail last edited by The_True_Odst

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

              jeffreyrb03-gmail 1 Reply Last reply Reply Quote 1
              • jeffreyrb03-gmail
                JaecadeJnight Mod Helper @The_True_Odst last edited by

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

                The_True_Odst 1 Reply Last reply Reply Quote 1
                • The_True_Odst
                  The True ODST Best Forum Helpers @jeffreyrb03-gmail last edited by

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

                  jeffreyrb03-gmail 1 Reply Last reply Reply Quote 1
                  • jeffreyrb03-gmail
                    JaecadeJnight Mod Helper @The_True_Odst last edited by

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

                    The_True_Odst 1 Reply Last reply Reply Quote 0
                    • The_True_Odst
                      The True ODST Best Forum Helpers @jeffreyrb03-gmail last edited by

                      @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”
                      ?

                      jeffreyrb03-gmail 2 Replies Last reply Reply Quote 1
                      • jeffreyrb03-gmail
                        JaecadeJnight Mod Helper @The_True_Odst last edited by

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

                        The_True_Odst 2 Replies Last reply Reply Quote 0
                        • The_True_Odst
                          The True ODST Best Forum Helpers @jeffreyrb03-gmail last edited by

                          @jeffreyrb03-gmail ok

                          1 Reply Last reply Reply Quote 1
                          • The_True_Odst
                            The True ODST Best Forum Helpers @jeffreyrb03-gmail last edited by

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

                            jeffreyrb03-gmail 1 Reply Last reply Reply Quote 1
                            • jeffreyrb03-gmail
                              JaecadeJnight Mod Helper @The_True_Odst last edited by

                              @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 Reply Quote 1
                              • jeffreyrb03-gmail
                                JaecadeJnight Mod Helper @The_True_Odst last edited by

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

                                The_True_Odst 1 Reply Last reply Reply Quote 1
                                • The_True_Odst
                                  The True ODST Best Forum Helpers @jeffreyrb03-gmail last edited by The_True_Odst

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

                                  jeffreyrb03-gmail 1 Reply Last reply Reply Quote 1
                                  • jeffreyrb03-gmail
                                    JaecadeJnight Mod Helper @The_True_Odst last edited by

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

                                    The_True_Odst 2 Replies Last reply Reply Quote 1
                                    • The_True_Odst
                                      The True ODST Best Forum Helpers @jeffreyrb03-gmail last edited by The_True_Odst

                                      @jeffreyrb03-gmail OK let me rename every sprite then

                                      Ok they are all renamed and kind of explained

                                      1 Reply Last reply Reply Quote 1
                                      • The_True_Odst
                                        The True ODST Best Forum Helpers @jeffreyrb03-gmail last edited by

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

                                        jeffreyrb03-gmail 4 Replies Last reply Reply Quote 1
                                        • jeffreyrb03-gmail
                                          JaecadeJnight Mod Helper @The_True_Odst last edited by

                                          @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 Reply Quote 0
                                          • jeffreyrb03-gmail
                                            JaecadeJnight Mod Helper @The_True_Odst last edited by

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

                                            jeffreyrb03-gmail 1 Reply Last reply Reply Quote 1
                                            • jeffreyrb03-gmail
                                              JaecadeJnight Mod Helper @jeffreyrb03-gmail last edited by jeffreyrb03-gmail

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

                                              The_True_Odst 1 Reply Last reply Reply Quote 1
                                              • jeffreyrb03-gmail
                                                JaecadeJnight Mod Helper @The_True_Odst last edited by

                                                @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 Reply Quote 1
                                                • jeffreyrb03-gmail
                                                  JaecadeJnight Mod Helper @The_True_Odst last edited by

                                                  @011830-0a42ef84 well i changed up the look of it with gradients and moved where the cheats button is and to have a happy face

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

                                                  The_True_Odst 3 Replies Last reply Reply Quote 1
                                                  • The_True_Odst
                                                    The True ODST Best Forum Helpers @jeffreyrb03-gmail last edited by

                                                    @jeffreyrb03-gmail Sorry I was away, lemme check

                                                    1 Reply Last reply Reply Quote 0
                                                    • The_True_Odst
                                                      The True ODST Best Forum Helpers @jeffreyrb03-gmail last edited by

                                                      This post is deleted!
                                                      1 Reply Last reply Reply Quote 0
                                                      • The_True_Odst
                                                        The True ODST Best Forum Helpers @jeffreyrb03-gmail last edited by The_True_Odst

                                                        @jeffreyrb03-gmail I read everything you did and it is a lot better than what I’ve done lol. I have one problem though, the units won’t fire at “bolt” after they killed “basic” and “speed.” I think that might be on you because mine works fine when I place all my units down.

                                                        Have any unit/enemy suggestions? If so explain them pls I would love to make them.

                                                        1 Reply Last reply Reply Quote 1
                                                        • The_True_Odst
                                                          The True ODST Best Forum Helpers @jeffreyrb03-gmail last edited by

                                                          @jeffreyrb03-gmail yo

                                                          The_True_Odst 1 Reply Last reply Reply Quote 0
                                                          • The_True_Odst
                                                            The True ODST Best Forum Helpers @The_True_Odst last edited by

                                                            @011830-0a42ef84 Have any updates?

                                                            1 Reply Last reply Reply Quote 0
                                                            • Tyller_
                                                              Tyller_ Best Forum Helpers last edited by Tyller_

                                                              @011830-0a42ef84 I can help with some stuff, though how I make stuff may be a bit, complex (my main projects are mainly over 1.5k blocks, but trust me it works, plus I try to make stuff very adjustable)

                                                              Edit: ight so I found some issues but I think this is an issue with me being on an ipad and therefore I can’t move the mouse without the mouse being down, so buying a bit of a struggle shall we say, I’ll make a list of my changes to be a bit mobile friendly while not making it annoying

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

                                                              The_True_Odst 1 Reply Last reply Reply Quote 0
                                                              • The_True_Odst
                                                                The True ODST Best Forum Helpers @Tyller_ last edited by The_True_Odst

                                                                @tyller_ Okay, when editing the game, use my test room instead of Jeff’s so it doesn’t get all confusing.

                                                                Do you have any suggestions on enemies/units I could add? If so please list in detail. I’m not always that good at coming up with ideas.

                                                                Tyller_ 1 Reply Last reply Reply Quote 0
                                                                • Tyller_
                                                                  Tyller_ Best Forum Helpers @The_True_Odst last edited by

                                                                  @011830-0a42ef84 I have already started by updating Jeff’s, and I’m not sure of any ideas for you on making enemies/units, also something to note, the placing logic is very messed up, I have started going insane trying to figure out how to make color is touching color return true, but basically the issue with placing is that the range indicator is apart of the sprite, so that is always touhcing the path, aslo you want to check
                                                                  if<not < touching (color of path) > >
                                                                  not check just if it’s touching the placeable area, the issue is the range indicator so you’d need a clone or other sprite that goes to the mouse forever and checks to make sure it’s not going to be placed on the path, not sure if that makes sense but I’ve started going insane so yeah

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

                                                                  The_True_Odst 1 Reply Last reply Reply Quote 1
                                                                  • The_True_Odst
                                                                    The True ODST Best Forum Helpers @Tyller_ last edited by The_True_Odst

                                                                    @tyller_ I updated his part already and put it in my testing room, so you might want to switch it out because I don’t think I even have the time to completely re-make a character onto an “older” version.

                                                                    Tyller_ 1 Reply Last reply Reply Quote 0
                                                                    • Tyller_
                                                                      Tyller_ Best Forum Helpers @The_True_Odst last edited by

                                                                      @011830-0a42ef84 Oh, well then idk what to do then, wouldn’t his remix be your testing room

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

                                                                      The_True_Odst 2 Replies Last reply Reply Quote 1
                                                                      • The_True_Odst
                                                                        The True ODST Best Forum Helpers @Tyller_ last edited by

                                                                        @tyller_ It is, but I’ve already updated and posted it. You might want to edit in that one

                                                                        1 Reply Last reply Reply Quote 0
                                                                        • The_True_Odst
                                                                          The True ODST Best Forum Helpers @Tyller_ last edited by

                                                                          @tyller_ Also, what is your Creaticode username.

                                                                          Tyller_ 1 Reply Last reply Reply Quote 0
                                                                          • Tyller_
                                                                            Tyller_ Best Forum Helpers @The_True_Odst last edited by

                                                                            @011830-0a42ef84 Tyller_, I hvae my username set as tyllerthegamer but my searchable/full name should be Tyller_

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

                                                                            The_True_Odst 2 Replies Last reply Reply Quote 1
                                                                            • The_True_Odst
                                                                              The True ODST Best Forum Helpers @Tyller_ last edited by

                                                                              @tyller_ And you’re not using your alt acct for this?

                                                                              Tyller_ 1 Reply Last reply Reply Quote 0
                                                                              • Tyller_
                                                                                Tyller_ Best Forum Helpers @The_True_Odst last edited by

                                                                                @011830-0a42ef84 oh yeah I haven’t shared it yet, don’t copy it yet cus i’m not done

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

                                                                                The_True_Odst 2 Replies Last reply Reply Quote 1
                                                                                • The_True_Odst
                                                                                  The True ODST Best Forum Helpers @Tyller_ last edited by The_True_Odst

                                                                                  @tyller_ can you share the project so I can look at your updates? I won’t copy until you say

                                                                                  jeffreyrb03-gmail 1 Reply Last reply Reply Quote 1
                                                                                  • The_True_Odst
                                                                                    The True ODST Best Forum Helpers @Tyller_ last edited by

                                                                                    @tyller_ Also can you figure out why when “speed” enemy dies before “bolt” spawns, the units won’t attack the enemies?

                                                                                    1 Reply Last reply Reply Quote 1
                                                                                    • jeffreyrb03-gmail
                                                                                      JaecadeJnight Mod Helper @The_True_Odst last edited by

                                                                                      @011830-0a42ef84 In mine all I wanted to do was just make the code cleaner and better by replacing the sprite buttons with widgets and tweak a couple things. You should always try to do things like setting the project up in the stage, like setting all the variables you want to set instead of doing it in other sprites. The rest is a bit too confusing for me since I didnt make the code. I do like the animations tho, theyre pretty awesome.

                                                                                      The rest I don’t really have the time to help with. For figuring out things I can try but this is a prime example of why one needs to put comments in their code lol.

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

                                                                                      The_True_Odst 1 Reply Last reply Reply Quote 1
                                                                                      • The_True_Odst
                                                                                        The True ODST Best Forum Helpers @jeffreyrb03-gmail last edited by

                                                                                        @jeffreyrb03-gmail What’s your favorite unit so far? (I added a minigunner if you haven’t looked at it yet)

                                                                                        jeffreyrb03-gmail 1 Reply Last reply Reply Quote 1
                                                                                        • The_True_Odst
                                                                                          The True ODST Best Forum Helpers @Tyller_ last edited by

                                                                                          @tyller_ I have an issue where the units shoot the enemies even when they are not in range. How do you fix this bug? Also, how do you make the units shoot the first enemy they see and keep it that way?

                                                                                          Tyller_ 1 Reply Last reply Reply Quote 0
                                                                                          • Tyller_
                                                                                            Tyller_ Best Forum Helpers @The_True_Odst last edited by

                                                                                            @011830-0a42ef84 I am currently in the process of now not trying to fix bugs as I see them but figure out how it works, I believe you may of misunderstood how some stuff works, I will report back after I figure some more stuff out, I might start just adding a bunch of comments all over

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

                                                                                            The_True_Odst 1 Reply Last reply Reply Quote 0
                                                                                            • The_True_Odst
                                                                                              The True ODST Best Forum Helpers @Tyller_ last edited by

                                                                                              @tyller_ Okay thanks, I will explain the ones you have questions on. Make sure the questions are detailed please

                                                                                              1 Reply Last reply Reply Quote 0
                                                                                              • jeffreyrb03-gmail
                                                                                                JaecadeJnight Mod Helper @The_True_Odst last edited by

                                                                                                @011830-0a42ef84 idk revolver or private id say i enjoy their animations

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

                                                                                                The_True_Odst 2 Replies Last reply Reply Quote 1
                                                                                                • The_True_Odst
                                                                                                  The True ODST Best Forum Helpers @jeffreyrb03-gmail last edited by

                                                                                                  @jeffreyrb03-gmail The Minigun is my favorite

                                                                                                  1 Reply Last reply Reply Quote 0
                                                                                                  • The_True_Odst
                                                                                                    The True ODST Best Forum Helpers @jeffreyrb03-gmail last edited by The_True_Odst

                                                                                                    @jeffreyrb03-gmail, @Tyller_,
                                                                                                    I’m not sure if this is a good animation to use. (Note, when an enemy comes into contact, they will take explosion dmg. I will make an explosion when they do come into contact with it)
                                                                                                    https://play.creaticode.com/projects/6732680bbf68856fe984df65

                                                                                                    I made a separate testing room so if you want to put your own units, enemies, and animations you are welcome to

                                                                                                    Click the unit to see the animation

                                                                                                    jeffreyrb03-gmail 1 Reply Last reply Reply Quote 1
                                                                                                    • jeffreyrb03-gmail
                                                                                                      JaecadeJnight Mod Helper @The_True_Odst last edited by

                                                                                                      @011830-0a42ef84 i like the animation. I think i’m done helping for that sorta stuff and I can’t really give more help to you in terms of the actual game (the enemies and whatnot) because I find it a bit hard to modify the code and at the current moment I don’t have a lot of time or motivation to try to understand the code so that I can change stuff up. I could modify the code, but I wouldn’t do it in a way that’s convenient and actually helps you because I would just remake everything from the ground up then you’d sorta face the same problem of maybe not being able to understand my code or not liking my practices. I am willing to help in other ways though, like the project I gave you contained all that I wanted to fix, since I didn’t think it was necessary to have multiple sprites for each individual button.

                                                                                                      I can help in different ways though like if you need help with making widgets and making them function and look good. I also have suggestions for the game:

                                                                                                      • After the first wave finishes, I thought the game finished since there were no more enemies even though i spammed the spacebar and waited. I noticed in the code that something (in “Bolt”) would take 7 seconds. I recall it taking longer than that tho so I think the system was broken. You should make it so it’s clear to the user when the round/wave is finished. A lot of games do that by just freezing the screen and putting a message that says something like “You completed level {number}” and like a star ranking that shows how well you completed the level. I’m not saying you have to do that exactly but you at least have to make it clear when a wave finishes and tell the user to press space for another round or for the current system “A new wave will begin shortly, please wait”.
                                                                                                      • idk ill add more later

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

                                                                                                      The_True_Odst 2 Replies Last reply Reply Quote 0
                                                                                                      • The_True_Odst
                                                                                                        The True ODST Best Forum Helpers @jeffreyrb03-gmail last edited by

                                                                                                        @jeffreyrb03-gmail, I know, everything was just a test. Could you help me with making clones to each enemy so I don’t have to duplicate sprites over and over? Like on an actual round 1, I’m planning on having there to be more than 1 basic enemy and then on round 2 it would be more of them and then speed.

                                                                                                        1 Reply Last reply Reply Quote 1
                                                                                                        • First post
                                                                                                          Last post