Added: 1 year ago
From: TornadoTwins
Views: 36,700
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (126)

Sign In or Sign Up now to post a comment!
  • Comment removed

  • How do I make a screen that shows whatever a camera sees?

  • And i can't even make a floor

  • when my fireball hits the turrent it just bounces off and dosen't destroy it so what do i do???

  • Nice thanks alot really helped me with a project due in 2 weeks :)

  • How do i make you cant walk through a object??

  • @RsGod18 Add a box collider to your character

  • TornadoTwins, why don't u advertise use of OnCollisionEnter function and just use gameObject.name instead of gameObject.tag. Tags correlations get destroyed when you export packages from you game to other games. But names don't.

  • the turret would blow up

  • the turretwould

     blow up

  • 1 person writes bullit with e

  • You guys are trendsetters!--

    i bet you started the game creating trend on youtube!!!!!!

  • if you want i am review all unity3d made game on my account so leave a download like or a video response on my channel and i will review your game btw tornado twin rule !!!!!!!!!

  • no worries peeps, I solved it, I was just being stupid.

  • Sorry guys new problem, I figured what was causing my fireball to flop, but now I cannot seem to get it to contact with my turret. I put colliders on everything and made them all triggers, but it just goes straight through them, does anyone have any ideas???

  • I'm having a wierd problem, as soon as I Tag my wormProjectile with bullet.tag = "wormProjectile), without any more coding, my fireball just flops to the ground like a dead anchovie! Does anyone have any ideas???

  • if you are having problems and the spawn point dues not get destroed its because you might have put the box collider on the body of the turret but you are supposed to put it on the top part of the turret.

  • Hello Peoples, i had seen many of us had or have problems with this part because a couple of things does´t work.

    So in this case:

    function OnTriggerEnter (hit : Collider )

    {

    if (hit.gameObject.tag == "WormProjectile") { Destroy(hit.gameObject); Destroy(gameObject); }

    }

    If you had exactly this code and it doesnt work you just should tick the Box "is Trigger" in Box Collider you attached to the Turret :D

    Now it will works!

    Pls. thumps up that all others can see this!

  • Wont Work for me help!

  • these are the errors i get

    Assets/Standard Assets (Mobile)/My scripts/MoveAround.js(42,1): BCE0034: Expressions in statements must only be executed for their side-effects.

    Assets/Standard Assets (Mobile)/My scripts/MoveAround.js(42,1): BCE0034: Expressions in statements must only be executed for their side-effects.

    Assets/Standard Assets (Mobile)/My scripts/MoveAround.js(71,3): BCE0005: Unknown identifier: 'script'.

  • my turrent wont die

  • YEAH I SOLVED MY PROBLEM!!!!!!!!!!!!!! I CAN FINALLY CONTINUE

    got stuck for like 3 hours :|

  • Comment removed

  • whats the seagull tag???

    0:34

  • i have a problem when i shoot my fireball appears butt just go down and if i remove bullit.tag = "wormProjectile"; it's normal and my fire ball go forward how can i solve that sorry for my bad english.

  • Comment removed

  • my turret won't destroy! help!

  • @TheNarutofreak313 mine neither!

  • I CANT GET MY FIREBALLS TO DESTROY THE TURRET PLEASE HELP

  • My ball doesnt move anymore

  • try to make game but i can't make it because i'm stuck

  • this is my script:

    function OnTriggerEnter( hit : Collider ) { if(hit.gameObject.tag == "wormProjectile"); { Destroy(hit.gameObject); Destroy(gameObject); } }

    and i havethis error:

    Assets/scripts/TurretCollision­.js(5,48): BCE0044: expecting :, found ';'.

    plz help me!!!!!

  • @TheMrLithuanian Umm, if I'm not crazy but did you really do

    if(hit.gameObject.tag == "wormProjectile")

    if you didn't and added ; after it, it will come up with an error because in if, do, while, switch, if else, else statments should never in the line have a semi-colon, or else error!

  • why did i suddenly got this error after many parts????  Assets/Standard Assets/Toon Shading/MoveAround.js(54,17): BCE0005: Unknown identifier: 'healthcontrol'.

  • @TheNarutofreak313 did you name your file healthcontrol or something different, because you want to do but the computer needs what your asking for in detail and no mistakes, or else :(

  • i seriously don't know what i do wrong here is my Code:

    function OnTriggerEnter( hit : Collider) {

    if (hit.collider.tag == "wormProjectile"){

    Destroy(hit.gameObject);

    Destroy(gameObject);

    }

    }

    i have the tag the same spelling.

    when o shoot the fireball and pause the game i check if it's tagged right and it is.

    but it just won't go away !!

  • @TheArkayProductions did you use the right game object???

  • @TheArkayProductions I realize this is a little late, as you posted 4 months ago, but you have written

    if (hit.collider.tag == "wormProjectile")

    In that statement, you should replace collider with gameObject, so it reads;

    if(hit.gameObject.tag == "wormProjectile")

  • I'm ALLMOST DONE !! but i can't get this to work. there are no errors. i spelled the wormProjectile... i did some other tests. I tried everything. REALLY everything !

    does someone have the code and maybe upload it ?

  • What program do u use to record your screen? (screen recorder)

  • can some one please tell me where to start with unity 3d 

  • @BigidyBooh probably lesson 1...yeeaahhh

  • @BigidyBooh I suggest the beginnning and if so make sure to have the file Island demo, or if your using the newest version come to my video and look in description for the codes you need to start out with! :D Happy programing, also helps to have a tiny bit of backround knowlegde from javascript!

  • ok, i solved my first problem.

    if anyone had the same problem, all you need to do is put a fifth variable, right under where it says, var savedTime=0; all you need to put is var canShoot = true;, and it will allow you to put it on your turrets

  • also, whenever i try to pu the turretcollision script on the turret, it just says the script isnt finished and it wont allow me to put it on, can you help me

  • ok twins, after 25 videos i finally figured out why i cant play the game on the game view, on it, it says "Network:(no players connected)

    do you know how to get it to connect, cause i have no idea

  • Hey TT... I've looked over this video about 20 time's, looked at the comments, researched on google... but for some reason my turret does not get destroyed. I have no idea why... but if someone can held that would be great. (Oh and instead of my worm falling off and responing, i just made invisible walls (if that has anything to do with it :(

    - Thanks

  • TornadoTwins

    Im addicted to game making i should be studying for my yr 11 yearly exams but id rather make games in my spare time haha love ure work guys thanks for the tutorials there quality

  • TorndaoTwins

    Im addicted to game making i should be studying for my yr 11 yearly exams but id rather make games in my spare time haha love ure work guys thanks for the tutorials there quality

  • Why does it say my TurretCollision script is still compiling? It won't let me attach it to anything.

  • how do you get that city that I saw there??

  • @patmaddengaming Look at the fireball prefab and check to see if under "Sphere Collider", "Is Trigger" is checked. It shouldn't be checked.

    I successfully made the turrets explode before, but I accidentally deleted my turret prefab and had to start over. My problem now is the fireballs go right through the turret. I have a box collider, Turret Collision script is attached to "topPart", my game object tag in Turret Collision is "wormProjectile", and the topPart has a tag, "wormProjectile".

  • the first script that didnt work for you worked for me :)

  • there stands that my script is not finished

  • no matter what i do, it will not blow up. i made my own cannon an i've done every single step 3 times now. It will not work :'(

  • i made my own gun that shot at me in the unity program and when you shot yours and nothing happened for me when i shot it got rid of the gun and it didnt shoot me i dunno what i did put i skiped half of this lol

    p.s all your tuts are great the only errors i have are my own

  • hey my worm screws up when it looses its body parts, it works fine the very first time, than the second time it goes crazy and it respawn with only the head and it wont die or anything

  • Hello i am wondering if anyone can help me i have followed all the tutorial but this one just wont work. The turret just wont die, i have followed this tutorial many times and it still wont work, i have tagged the right things, i have coded it right and attached the script right can anyone help me please by the way nice tutorials :)

  • @theslayer29179 I also need help with this, everything works but the destroying the turret. I even added my own IceCream that adds a life when I'm under 3 lives.

  • @Druilair yeah i no i have followed this to the littlest spot and it still doesn't work :(

  • @theslayer29179 If anyone had the same problem and have fixed it, can you please say what you did? The only difference between there turret and mine is that I made my own because their site is down. So if anyone knows what we're doing wrong please say :)

  • @Druilair and @theslayer29179 hello did you manage to solve it? I don't really know the problem, because there could be a lot of reasons, maybe you should post the code here or in the unity forum and then link to it from here? I made my own turret too, with a sphere and two cylinders. If you've imported a model, make sure it has a collider and that you've placed the script on the actual turret and not on the empty gameobject. Also, it could be that you've misspelled the OnTriggerEnter function.

  • This is real good stuff! :D!

    I maked the worm day in just 1 day :D! (till #25)

    But i didn't make the fift script because i thought i didn't need it.

    I got also the turret u have used but i have maked a new empty game object and drag the barrel into the body and the body and the base into the empty game object. and afcourse i had delete the other empty game object where u got the script on. And u know what, It works! :D!. But maybe i can get stuck by the next vid :P, A amazing job guys!!!!

  • @Ezirunner Just forget 1 thing, U must also make sure that U got a mesh render to the barrel and the body!

  • @Ezirunner Wow, in one day!? Respect! That's a lot to process.

  • @Ezirunner That's awesome! And you know what I discovered? His first plan of action had no flaws. He just forgot to set the WormProjectile as Trigger on the Collider. That's how I resolved my problem. Now because of these tutorials, I sort of feel like I can do stuff on my own now!

  • the codes are confusing but if we study they are prety easy

  • @risper123 Thats true. Unfortunately it doesn't get easier than this...

  • all i did is make a empty object put the base and other parts of the turret in it. put a box collider and turrentcollision script on the empty object. turned the trigger on the box collider fixed the x,y,z and my turret dies and doesn't continue to shoot =D

  • @mnrocks1997 try this (it worked for me): copy the name 'wormProjectile' that's in your script. Then click on the fireball prefab that you should of made. Then click on the 'untagged' button and add a new tag to it, and past the name in the tag then click enter. Test your game. Hope this helps, if not message me back.

  • since i followed this video's instructions everything in my game is going wrong!

  • when i shoot, it says wormProjectile not defined!"

  • @boblifegoeson1234 try this (it worked for me): copy the name 'wormProjectile' that's in your script. Then click on the fireball prefab that you should of made. Then click on the 'untagged' button and add a new tag to it, and past the name in the tag then click enter. Test your game. Hope this helps, if not message me back.

  • Can anyone say the script if I wont destroys it with 2 ore more hits?

  • you could use sphere collider i have tested

  • you can also put a sphere collider to the whole canon and put the script on it and it will make easier.I have tested it.

  • holy shit the game came really far i stoped watching after the 5th video nice job man kudos to you

  • Comment removed

  • i fixed it so dont worry it was the script, but there is still a problem i thought it was the script but it was not, all the time i play my game after 1 second it stops but i cant put myself in the game anymore please help its not a big deal ill see how i can fix it but if someone can help me, please do or if you had or have this problem just tell me what you think it is

  • Is there a way to make the cannons only fire in a certain area like when you get too close to them and such if so could you try to cover it in upcoming tutorials im new still to this

  • hey there wouldnt this script be better for destroying it? (moch up)

    var Turret: Transform; //set the turret as this var

    function OnTriggerEnter( hit : collider) {

    if (hit.collider.tag == "wormProjectile"){

    Destroy(hit.gameObject);

    Destroy(Turret);

    }

    }

    attaching this to every part of the turret that has a collider should work, and this way there is no bulky box collider and there is nothing left (no base)

  • @Myself

    Forgot to add, thanks TT you guys should me this program and i love you as much as one straight man can love two others

  • are u ritch?

    u have cinema 4d , unity pro, cityengine , etc..

  • this isnt working......

  • Xcuse me sir, What will be the scripting for changing scenes in UNITY (JAVASCRIPT)

  • very cool Ty

  • how do i download all ur vids in a good quality as how in youtube??

    coz my connections so slow to watch online!!

  • @TT

    have u do a ragdoll adn constraint tutorial??

    and bones action tutorial??

  • the TurretCollision script doesnt work need help

  • the codes r so confusing

  • @MrDonkeyman721inc What I used to do is print them and study them until I understood everything. You can use Unity's Scripting manual to look things up. Best way to learn it all.

    -TT

  • OK ill study the scripting manuals thx

  • @TornadoTwins wheres the manual please reply tnx!

  • is this unity 3d or pro

  • @sumosammy310 It is pro, but I'm not using any PRO features in these videos.

  • Unity 3D, they use the free version so anyone can follow.

    @ TornadoTwins : Another great video. Keep up the good work. I'd probably switch to Unity myself or another engine if I didn't already have my project started in GG's damn Torque engine. I'm starting to learn that as nice as it is, it's got a lot (and I stress a lot) of issues.

  • free version

    but everything done here works in both

  • sorry, i thought it showed the comment on here. But what program do you use to record the computer screen?

  • I like it! =D

  • umm i have a problem with my game if any one could help it would be good... but when the turrent shots me nothing happens my lives dont go down even somtimes the bullit goes throght me...

  • one question, what do you use to record your computer screen? If it's hypercam then nevermind, but if it's something else please tell me. I just use my camera, and it looks like crap so....?

  • @6daylater Whazzup my friend! Yeah, a camera wouldn't work since the refresh rate (Herz) of your monitor would be faster than your camera's framerate. It always looks bad.

    For recording I use 'Camtasia for Mac'. If you're not on a Mac there's probably another Camtasia for Windows, but I haven't tried it. It would be great for your songs too!

    Cheers,

    -TT

  • @TornadoTwins Yeah exactly my point, it's always full of lines and stuff so thats my problem. Yeah I have windows, so I'll go see.

    Thank ya much : D

  • to tornado twins, you're not a nerd:

    your a super computer braniac who's head is about to burst, that and you make KILLER GAMES!:)

  • @superknife24 LOL haha

  • @superknife24 I agree entirely , the Tornadotwins are my heroes

    -DD360

  • your videos are amazing :)

  • @somebodyruleE Thanks dude

  • haha your joking about bullit aren't you? I thought that was how unity read it. OMG!

  • um, TT, can you post a reply of the working health control script, mine never works propelly,

    and i cant find the episode with the game over script (the section when the turrets hit you, and you respawn).

    if anyone else have the working script can you give it to me.

    thank you

  • i coud realy need a SAVE menu cuz...u know...

    ow and i made when u die to load the level and the LevelLoadFade thing is giving me as error and because of that it doesnt work.

    anyone???

  • a better way is to do this:

    Application.LoadLevel( //your levels number);

    to check your levels number go to "file-build settings" and click on the "add current " button and it will display your level and it respective number.

    PS: The number might change if you add various levels

  • can you plz send me the game...

  • i use the word bullit thanks to you because i liked the way you spelled it a lot more

  • 7 :D

  • ty 5*

  • lol i just noticed they came in :)

  • thx man

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more