Goofy Tower Defense
-
@tyller_ Also, what is your Creaticode username.
-
@011830-0a42ef84 Tyller_, I hvae my username set as tyllerthegamer but my searchable/full name should be Tyller_
-
@tyller_ And you’re not using your alt acct for this?
-
@011830-0a42ef84 oh yeah I haven’t shared it yet, don’t copy it yet cus i’m not done
-
@tyller_ can you share the project so I can look at your updates? I won’t copy until you say
-
@tyller_ Also can you figure out why when “speed” enemy dies before “bolt” spawns, the units won’t attack the enemies?
-
@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.
-
@jeffreyrb03-gmail What’s your favorite unit so far? (I added a minigunner if you haven’t looked at it yet)
-
@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?
-
@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
-
@tyller_ Okay thanks, I will explain the ones you have questions on. Make sure the questions are detailed please
-
@011830-0a42ef84 idk revolver or private id say i enjoy their animations
-
@jeffreyrb03-gmail The Minigun is my favorite
-
@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
-
@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
-
@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.
-
@jeffreyrb03-gmail or tell me how to make clones actually work
-
@011830-0a42ef84 you need variables that when made you select “for this sprite only”, variables you do that for are able to be set across all clones, independently, you’d have to clean up a lot of your code though
-
@tyller_ how would I do that, I’m still pretty inexperienced
-
-
@tyller_ How do you open that up? Also, can you give me an example for one of the sprites?
-
@011830-0a42ef84 you click new variable in the variable tab, I’m a bit busy rn so in a bit
-
When upgrading units, do you apply a separate sprite to make the upgraded UI or would a widget be better?
-
@011830-0a42ef84 wdym upgraded ui? for any upgrades you would just use different costumes, plus widgets would be best for any ui elements
-
@tyller_ I mean when you click the sprite, a UI shows the upgrade and the upgrader button.
-
@tyller_, @jeffreyrb03-gmail,
Major update(s) for my test game, please check it out and tell me how it is. -
Added a mini boss: Summoner
(type /summon summoner to spawn it)
https://play.creaticode.com/projects/6730fb66bf68856fe9840816
Please tell me any bugs you find. The launcher might be a bit bugged with summoner, I don’t know how to fix it