Code a 3D Engine in Scratch | Part 4 | 3D Sound and Object Physics

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ม.ค. 2025

ความคิดเห็น • 201

  • @bamfyu
    @bamfyu 2 ปีที่แล้ว +18

    When I saw this in my inbox i was happy and scared at the same time lol, I wasn't sure how hard it would be to implement this tutorial into my heavily modified engine.
    I think it should work without too much trouble though 🤔😁

  • @Super-qr7wm
    @Super-qr7wm 2 ปีที่แล้ว +2

    The return of the king

  • @Jomunchkin
    @Jomunchkin 2 ปีที่แล้ว +4

    Nice, been waiting a while for it. I will definitely come back to this video for the physics, and maybe sound when making a game. Great job with the tutorial!

  • @truestbluu
    @truestbluu 2 ปีที่แล้ว +7

    Can you make enemies that throw objects at you and move around? If so thank you!

  • @Willbin23
    @Willbin23 ปีที่แล้ว +1

    Can somebody help me I compared mine to the original and nothing is different but when I trow the cat it can't trow upwards and sometimes it just dissapear

  • @yoru_0.0
    @yoru_0.0 2 ปีที่แล้ว +3

    Ive been waiting for this…. FINALLY, ur a god at coding my man keep up the good work

  • @Ewout761
    @Ewout761 2 ปีที่แล้ว +13

    wow, that was long ago! Sadly I moved on and started coding with html and javascript

    • @workadayvoid6062
      @workadayvoid6062 2 ปีที่แล้ว +1

      🤣

    • @sonalvaish4632
      @sonalvaish4632 2 ปีที่แล้ว

      Same

    • @akerae
      @akerae 2 ปีที่แล้ว

      Same

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว +3

      Haha same here, but I find Scratch is still a great tool for prototyping game mechanics

    • @Mega-wt9do
      @Mega-wt9do 2 ปีที่แล้ว

      same

  • @SkyIsTumbling
    @SkyIsTumbling 2 ปีที่แล้ว +7

    dope 😳

  • @thekonevgamer12
    @thekonevgamer12 หลายเดือนก่อน

    Problem Found
    6:48 The control block where it is ({y-yd} < 0), having the negative operator, causes the Physical Object to be stuck there from its point of origin. But if we change the "" the physical object has gravity again and can bounce when it touches the wall, but it ends up falling into void and does not bounce. The only solution is to change the negative value {y-yd} to {y+yd} with the positive operator. The physical object has gravity again and this time it manages to touch the ground and bounces there.

  • @_quite.essentiallyjay
    @_quite.essentiallyjay 2 ปีที่แล้ว +2

    Uh hey, flash? Do you have any idea how to make the clones delete themselves after they hit the ground? I've tried everything I can think of, I'm trying to do this with shurikens, and they stop getting thrown due at some point due to scratch's clone limit

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว +1

      Hm, good question. You could make a new variable that sets to 0 at the beginning of the physics script, then sets to 1 if a collision occurs. Something like:
      set collision to 0
      check for solid hitbox
      if hitbox = 1
      [collision code]
      set collision to 1
      Then up in the frame script, do something like:
      if collision = 1 and costume name = shuriken
      delete this clone
      Or maybe set up a new script:
      when I start as clone
      if costume name = shuriken
      wait until collision = 1
      repeat 20 times
      change ghost effect by 5
      delete this clone
      I hope this helps!

    • @_quite.essentiallyjay
      @_quite.essentiallyjay 2 ปีที่แล้ว

      @@TheGreenFlash thanks a bunch man, I owe you one

    • @momhoodlife1346
      @momhoodlife1346 2 ปีที่แล้ว

      turbo warp maybe?

  • @TheRailfan360
    @TheRailfan360 2 ปีที่แล้ว +3

    Hi TheGreenFlash! I just came across your series yesterday during my spare period at school. I've watched all the four episodes (as of the ones uploaded now), and I'm so happy someone like you was so generous to share this series with the public. I love the aspect of your videos, and you explain them in incredible detail, and even going as far as to explain the math that makes it possible! I've always wanted to make a decent 3D game on Scratch, but I could never really understand the pen based tutorials. But this clone based 3D engine is super helpful and way easier to follow. Plus, it allows for actual graphics! (Albeit they're 2D sided)
    But, as a question in reference to what's in the parentheses, if I were to use 3D modelling software, and run something to take a series of pictures of the model at enough angles to complete a rotation of it along its X-axis, do you think it would be possible to utilize those images in this engine? If so, how would you implement them?
    And of course, I would like to say thanks for offering the tutorials you've posted so far! Thank you so much! I've subbed!

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว +2

      Thank you so much! Honestly it’s comments like this that keep me making more videos. For your question, absolutely it would be possible to use pictures from 3D modeling software to make an object seem more 3D. I’ve seen it done a few times, and it can definitely enhance the project. To implement it, I’d do something like this:
      // find the direction from the object to the camera
      set direction to atan((camX - objX) / (camZ - objZ))
      if camZ < objZ
      change direction by 180
      // find the number of the nearest costume
      set direction to round(direction * number_of_costumes / 360)
      // make sure direction, which now holds the costume number, is not less than 1
      set direction to (direction mod number_of_costumes) + 1
      // set the costume
      switch to costume join(name)(direction)
      If you try this, let me know how it works out!

    • @TheRailfan360
      @TheRailfan360 2 ปีที่แล้ว +1

      @@TheGreenFlash Wow! Thank you for the response! I haven't gotten around to make the project yet (as school is really crowding my time schedule), but to hear that it is in fact possible is very enlightening to me. I will definitely try to add it, so thank you so much! I'll be using it for a 3D railfanning/train watching simulator, something that I've always wanted to do in Scratch. :)
      And you bet that I will credit you in every aspect possible!

  • @ENRGguy
    @ENRGguy 2 ปีที่แล้ว +1

    The best 3D engine! Easy, fast, cool.

  • @glnn444
    @glnn444 2 ปีที่แล้ว +4

    Hey Flash, thanks for this!
    I do have a question, is it possible for the physics object to know what it's hitting? And how to make the object that gets hit to disappear?

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว +1

      Thanks for watching the tutorial! (If this is too long, please feel free to skip to the last line.) Technically it’s possible, but at this stage you’d have to add a lot to the engine. I’d do it by linking objects with a specific hitbox, then when that hitbox is removed, the clones would delete themselves. To link the objects to the hitboxes, each hitbox would need an extra list item to act as a “tag”, a unique name that identifies it. Objects would need a new variable to hold the tag of their hitboxes. We’d use the block to check if the tag was in the hitbox list.
      For knowing what an object is hitting, the i variable gives the index of an object detected in a collision. To save this value before the i variable is changed (since several scripts use it), you need a new variable, maybe call it Hitbox Index or something. Set this value to -1 at the top of the physics script, then set it to i in the if blocks after the Check for Hitbox blocks. This would look like:
      Physics
      set Hitbox Index to -1

      Check for Hitbox
      if Hitbox Detected? = 1

      set Hitbox Index to i
      [do the same for the other two if blocks]
      Then up in the frame script, after the Physics block, do something like:
      Physics
      if costume name = “whatever name” and not Hitbox Index = -1
      repeat 6
      delete item Hitbox Index + 1 from list
      Of course, this has a loop, so you would have to put it in a custom block with Run without screen refresh selected.
      If this is to much to add yourself, don’t worry, we’ll cover it in the next episode on moving hitboxes.

    • @momhoodlife1346
      @momhoodlife1346 2 ปีที่แล้ว +1

      In the (object physics :friction gravity drag bounce) block, replace the hitbox detection with deleting clones

  • @NitinKumar82889
    @NitinKumar82889 2 ปีที่แล้ว +1

    Hey, How i can add mouse look around insted of using arrow keys.

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      Thanks for watching the tutorial! You could try something like this in the Camera sprite’s forever loop:
      set Camera X Direction to mouse x / 3.6
      change Camera Y Direction by mouse x * abs(mouse x) / 10000
      You can play around with the numbers to see what rotation speed works best for your game

    • @NitinKumar82889
      @NitinKumar82889 2 ปีที่แล้ว

      @@TheGreenFlash Hey, thanks for the reply. But i've tried different solution and it worked. You u can see it on my scratch account. Name - Mikthecodr
      Edit: I will publish it tomorrow or today.

    • @NitinKumar82889
      @NitinKumar82889 2 ปีที่แล้ว

      @@TheGreenFlash I treid it, But its not to my liking.

  • @_quite.essentiallyjay
    @_quite.essentiallyjay 2 ปีที่แล้ว +1

    lets go, the flash is back

  • @rakeshmehta9477
    @rakeshmehta9477 2 ปีที่แล้ว +3

    Can you do a tutorial on enemies in part 5. Thanks for this tutorial.

  • @Z200Editzz
    @Z200Editzz 2 ปีที่แล้ว

    I want to clarify an error that occurred to me when I was playing the ninja game. the problem is that when I move the towers do not comply with their prism shape. but soon they all divided towards my direction as if they were following me in the direction the player was pointing. and I wanted to know if you could fix it pls

  • @zeijaku8065
    @zeijaku8065 2 ปีที่แล้ว +1

    ITS FINALLY HERE!!

  • @duck___e
    @duck___e 2 ปีที่แล้ว +3

    incredible! works like a charm 👍

  • @phasemontony
    @phasemontony 2 ปีที่แล้ว

    when I try to throw the scratch cat instead of throwing the scratch cat it sends me flying, can someone tell me how to fix this?

  • @idkwhatshouldiputhere7395
    @idkwhatshouldiputhere7395 2 ปีที่แล้ว +1

    wow this is awesome!!! I did it and I am really happy but at the moment it feels like a 3d basketball game instead of like a shooting or role playing game!! I can't wait for the next tutorial I hope you implement how to make levels and enemies !!! but I am really impressed with the basketball game I made with this thank you!!!!!

  • @ThatAmeliaH
    @ThatAmeliaH 2 ปีที่แล้ว +1

    He's BACK!

  • @apple_ilev5s
    @apple_ilev5s 2 ปีที่แล้ว

    hi, i have a question, how do you make a custom block that builds a floor with a certain size?
    and another one is, how do you make it so instead of hiding the clones that are off-screen or need to be hidden, will be deleted instead to save performance?

  • @legoboy7107
    @legoboy7107 2 ปีที่แล้ว

    The 3D Sound part isn't possible on Scratch 2.0 as the pan left/right block for sound doesn't exist.

  • @Mega-wt9do
    @Mega-wt9do 2 ปีที่แล้ว

    when is next part coming out?

  • @DevXP
    @DevXP 2 ปีที่แล้ว +1

    4:46 what did scratch cat do...

  • @kristianlara949
    @kristianlara949 2 ปีที่แล้ว +1

    Really like your vids! I want to know how to add enemies and pathfinding.

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว +1

      Thanks! Enemies and weapons will be added in the next episode. Pathfinding is more complex, so if I add that, it probably won’t be for a while. However, if you know how to program pathfinding in 2D, you could code 2D pathfinding at ground level, and that would work for a lot of situations.

  • @phinblue4989
    @phinblue4989 2 ปีที่แล้ว +1

    I didn’t make the cam x dir cos and the other variables so now I’m stuck :(

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      Thanks for watching the tutorial! It should still work if you put:
      (sin(0 - Camera Y Direction)) in place of Camera Y Direction Sin,
      (cos(0 - Camera Y Direction)) in place of Camera Y Direction Cos,
      (sin(0 - Camera X Direction)) in place of Camera X Direction Sin, and
      (cos(0 - Camera X Direction)) in place of Camera X Direction Cos.

    • @phinblue4989
      @phinblue4989 2 ปีที่แล้ว +1

      Ok thanks:)

  • @-nightmarecrewmates-1045
    @-nightmarecrewmates-1045 2 ปีที่แล้ว

    Noice i want to know how can i make it to i can make a item i throw come back if i press a button.???
    its for my game plz help...

  • @linuxs
    @linuxs 2 ปีที่แล้ว

    I have a problem. The floor is for the cats higher than for the player and the towers. Looks like the cats are floating. When I go further away you can see that the cats are over the bottom of the towers.

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว +1

      Hm, that's not good. It sounds like a problem with the Check for Solid Hitbox script either in the Objects sprite or the Camera sprite. It could also be the dimensions inputs used in the Add Object custom block. You could try comparing your code to the completed code here: turbowarp.org/624854326/editor And thanks for watching the tutorial!

    • @linuxs
      @linuxs 2 ปีที่แล้ว

      @@TheGreenFlash I found it! The cats were not to high, but the towers were too low. I set the i variable in the add tower custom block to 0 and not to 100...
      Thanks for helping

  • @Lupta-o6o
    @Lupta-o6o 2 ปีที่แล้ว +1

    is there is going to be a part 2?

    • @Willbin23
      @Willbin23 ปีที่แล้ว

      this is part 4 tho..

  • @giddledude
    @giddledude 2 ปีที่แล้ว

    my objects wont stop can you help I can send the turbo warp?

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      Thanks for watching the tutorial! I'm not sure what's wrong, but you could try comparing your code to the completed code here: turbowarp.org/624854326/editor

  • @Melcat248
    @Melcat248 2 ปีที่แล้ว +1

    What is the next part gonna include?

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว +1

      I'm not sure yet. Originally the plan was to do moving hitboxes, but some people have suggested a tutorial for building rooms and other structures in the engine. What would you want it to be about?

    • @Melcat248
      @Melcat248 2 ปีที่แล้ว +1

      @@TheGreenFlash moving hit boxes would set us up for more and better structures (like zip lining, obstacle courses, etc), so moving hitboxes should be in it!
      a few other minor things should be:
      1: the horizon should be able to move horizontally/diagonally with the player
      2: have objects able to move on their own, like if I wanted to have a duck npc, it should be able to move on its own (it would be another object type along with static and physics, it could be moving)
      3: Water physics
      I understand if Any of these can't really be done, or need another part. so far im loving the series! thank you for this!

  • @TheTrueTechFreak
    @TheTrueTechFreak 2 ปีที่แล้ว

    Hello Green Flash I don't understand that why my project sprite 'Horizon' is always not of the same size and shows the white part while I use the Up and Down arrow key. (When I reopen it though I always save the changes). Edit: and also 2 of my wall show the cat bouncing effect while not the others ,PLZ HELP ME!

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว +1

      Thanks for watching the tutorial! You can set the maximum and minimum up/down looking in the Camera sprite to stop the horizon sprite from going off the screen, or you could use the horizon sprite from the tutorial here: turbowarp.org/624854326/editor
      I'm not sure why only two of the walls are working for object collisions, but you could try comparing your code to the completed code here: turbowarp.org/624854326/editor (same link as before)

    • @TheTrueTechFreak
      @TheTrueTechFreak 2 ปีที่แล้ว

      ​@@TheGreenFlash Thanks a lot !!

    • @TheTrueTechFreak
      @TheTrueTechFreak 2 ปีที่แล้ว

      @@TheGreenFlash This helps a lot and works well Thanks!! Just the problem was under 'Check For Solid Hitbox | (position) ' there under repeat block i kept extra change I by 6 block .LoL

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว +1

      Lol that would do it. I’m glad you figured it out!

  • @littlebunny06
    @littlebunny06 2 ปีที่แล้ว +2

    Does the 3D sound work with camera Z rotation? It is really cool and simple :P

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว +2

      It should still work, as long as it still uses the rotated x, y, and z values

    • @littlebunny06
      @littlebunny06 2 ปีที่แล้ว +1

      @@TheGreenFlash I just looked into it a bit more and when, for example, the camera rolls 90 degrees, the "left ear" will actually be at the top of the screen, not the left. If the camera-view transformed x position is zero but the y position is a positive number, the sound should pan to the left ear, I believe. A simple fix for this is to just take camera-transformed x before camera z transformation. Please tell me if anything is incorrect!

  • @ChairmanMeow575
    @ChairmanMeow575 2 ปีที่แล้ว

    Can you do a tutorial on how to create a gun in this because I am creating a game for school that is based on goldeneye 007 from Nintendo. thanks

  • @Removal450
    @Removal450 2 ปีที่แล้ว

    @TheGreenFlash My projectiles are only shooting one way. Example: I am facing north. I press E my projectiles shoot south. I am facing West. I press E my projectiles shoot South. And so on. Do you have any way to fix this? It will be much appreciated.

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      Thanks for watching the tutorial! It sounds like a problem with the speed inputs on the Add Object block in the When Key e Pressed script. It could also be something wrong with the Physics script. Either way, you could try comparing your code to the completed code here: turbowarp.org/624854326/editor

  • @NeisamPi
    @NeisamPi 11 หลายเดือนก่อน

    My throwable cat doesn't move, anyone know why?
    (EDIT) I was just using too many clones :/ luckly I just used turbowarp infinite clones so that doesnt matter anymore

  • @TwentyNineEightyFive
    @TwentyNineEightyFive 2 ปีที่แล้ว

    idea for the next things more movement like double jumps and dashing and enemies and maybe a sword to attack with with the throwing thing working as ranged

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      Those are all great ideas! I might not get to them in the next one, but hopefully in future episodes

  • @kristianlara949
    @kristianlara949 2 ปีที่แล้ว

    Hello GreenFlash. Sorry if I'm interrupting you, but can you please tell me what the next episode is about?

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      The next episode will be about enemies and weapons, though the same code can more generally be used for characters and tools. I’ve recorded and edited the first half of it, but it’s going slowly due to homework and other stuff.

  • @LogicTechNa2
    @LogicTechNa2 2 ปีที่แล้ว

    Will you please shoot enemies in the 3d world?

  • @tankhellfire
    @tankhellfire 2 ปีที่แล้ว

    if scratch rounds x y why do you round it

  • @snack6502
    @snack6502 2 ปีที่แล้ว

    hello greenflash i wanted to ask that will it show my project as a remix if i use the part 3 template.because i kinda messed up on mine.. :( pls confirm

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      Thanks for watching the tutorial! The episode 3 code won’t show up as a remix since it’s used through TurboWarp.

    • @snack6502
      @snack6502 2 ปีที่แล้ว

      @@TheGreenFlash oke doke but when are u gonna make enemys and i dont want objects that u throw around in my game so if i dont follow that will the episode 5 code not work or smth?

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      I’m not entirely sure yet. My current enemy prototype uses the object physics script to move the enemy and check for collisions, but I may change it.

    • @snack6502
      @snack6502 2 ปีที่แล้ว

      @@TheGreenFlash so can you just make a tutorial on how u did that plsssssssssssss plssssssssss

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      Yep, that will be the next tutorial!

  • @maDU59_
    @maDU59_ 2 ปีที่แล้ว

    Very cool but the towers looks like a bit weird, sometimes they are not perpendiculars to the floor

  • @Reeseify
    @Reeseify 2 ปีที่แล้ว

    When is the next video? I have been waiting for a while!

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      Hopefully soon! Finals have really been taking up all of my time these last few weeks. Thanks for still supporting after all this time!

    • @Reeseify
      @Reeseify 2 ปีที่แล้ว

      @@TheGreenFlash Okay

  • @Sebwazhere
    @Sebwazhere 2 ปีที่แล้ว

    Why is my baseball just yeeting through the floor (it's just sliding in the floor until it hits a tower lol, then it's just kinda stuck in place)

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      If the baseball doesn’t bounce, it sounds like the Bounce input in the Object Physics custom block is positive. I find using -0.7 gives a nice bounce. If that doesn’t fix it, you can compare your scripts to the completed code here: turbowarp.org/624854326/editor

    • @Sebwazhere
      @Sebwazhere 2 ปีที่แล้ว

      @@TheGreenFlash I fixed it! I set the X speed instead of the Y speed lol.

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      Lol yep, that would do it. I’m glad you were able to figure it out!

  • @european4477
    @european4477 2 ปีที่แล้ว

    Is there a way to make a wall or something

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      Good question! You should be able to add several wall panels in a row and then put a hitbox around them.

  • @Yrec_molodec
    @Yrec_molodec 2 ปีที่แล้ว

    Hi. How do you like the idea of ​​​​making a map editor?

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว +1

      I really like that idea! Building a world with blocks can be slow work, so a map editor could definitely speed things up

  • @HaiThanh-it8oj
    @HaiThanh-it8oj 2 ปีที่แล้ว

    hey, can you make the player sit ?

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      Thanks for the suggestion! I’ll have to see if I can add crouching in a future episode.

  • @crafti_mation12
    @crafti_mation12 2 ปีที่แล้ว

    When will part 5 come

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      Hopefully in 2-3 weeks! I’m trying a new way of doing them that will hopefully be faster.

  • @DJElixir
    @DJElixir 2 ปีที่แล้ว

    Y do you use the pythegriam therom so much?

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      It’s a really helpful equation when you need to know the distance between two points, and you need to know that a lot here to get the math working

    • @DJElixir
      @DJElixir 2 ปีที่แล้ว

      @@TheGreenFlash Is it for the hypotenuse of the triangle? I guess my math class was fine I guess.

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      Yep, that’s how it works! Most of the math in these videos involves triangles and geometry

    • @DJElixir
      @DJElixir 2 ปีที่แล้ว

      @@TheGreenFlash nice

  • @sergwest585
    @sergwest585 2 ปีที่แล้ว +1

    this is amazing

  • @Kirby_Super
    @Kirby_Super 2 ปีที่แล้ว

    Maybe an update broke it or my pc just sucks, but my throwables lag a lot, and cause the game to run really slow

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      That’s concerning. You could try running the code from the video here to see if it’s still a problem: turbowarp.org/624854326/editor

    • @Kirby_Super
      @Kirby_Super 2 ปีที่แล้ว

      @@TheGreenFlash Weirdly enough, The original project runs fine, but my version does not.
      Edit: Holy crap I was just being an idiot and the physics block didnt have run without screen refresh

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      Lol that would do it. I’m glad you were able to figure it out!

  • @kalpnajambu2869
    @kalpnajambu2869 2 ปีที่แล้ว

    Can you do a tutorial on enemy that can die from the bullet or projectile

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว +1

      Yep! I’m hoping to release that one this Friday, assuming I don’t run into any more problems

    • @kalpnajambu2869
      @kalpnajambu2869 2 ปีที่แล้ว

      Eastern Friday or Western Friday??

    • @Reeseify
      @Reeseify 2 ปีที่แล้ว

      @@TheGreenFlash Omg, that's today

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว +1

      Thanks for the support! It’ll be published tomorrow around 8 or 9am EST

    • @kalpnajambu2869
      @kalpnajambu2869 2 ปีที่แล้ว

      Excellent

  • @BluJacketGuy
    @BluJacketGuy 2 ปีที่แล้ว

    when the world wanted him the most he came back

  • @kabox8149
    @kabox8149 2 ปีที่แล้ว

    i am french and i love you video !!!

  • @ChimFilms
    @ChimFilms 2 ปีที่แล้ว

    Can you do 3rd person perspective in the next video? If that’s possible then it would be really cool

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      That would be a cool addition! It can be hard to get a third person character to look good, but I’ll definitely look into it for a future video

  • @kurt635
    @kurt635 2 ปีที่แล้ว

    This is really cool! but I do have one problem. the objects that bounce stop popping up when I add a tower. and when they do pop up, I use the aswd keys and they don't move. any ideas?

    • @kurt635
      @kurt635 2 ปีที่แล้ว

      ok now they move, and they also summon in but now the physics don't work.

    • @kurt635
      @kurt635 2 ปีที่แล้ว

      never mind. but this time they only fly in one direction. and the hitboxes don't work. this is weird.

    • @kurt635
      @kurt635 2 ปีที่แล้ว

      and now when I look up, they move up too.

    • @kurt635
      @kurt635 2 ปีที่แล้ว

      oh god, now the up and down is buggy and they won't move and it's all just a mess.

    • @kurt635
      @kurt635 2 ปีที่แล้ว

      ok, somehow by putting the stuff at the bottom of the script it kind of works now. but the cats are flying all over my screen. that's probably because I fiddled with the physics.

  • @subbob001bob8
    @subbob001bob8 2 ปีที่แล้ว

    Can you make a tutorial on how to make water 3d like in a level in your ninja game. PLZ

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      That would be cool, and it wouldn’t be too hard. You’d just need to duplicate the hitbox detection scripts for a new list called Water Hitboxes, then just add a lot of drag when the player is touching one. Thanks for the idea, I might do it in a future video!

  • @griffinbrooks6748
    @griffinbrooks6748 2 ปีที่แล้ว

    Awesome! however please add some actual cubes aswell! the collisions work great but having an actual cube instead of many billboarded objects would be awesome!

  • @catsious1861
    @catsious1861 2 ปีที่แล้ว

    Can you please make a part 5 of this series?
    Fixing bugs and more?
    also my collision script is not working pls help :(

    • @_quite.essentiallyjay
      @_quite.essentiallyjay 2 ปีที่แล้ว +1

      send me the link to the project and I'll fix it for you

    • @catsious1861
      @catsious1861 2 ปีที่แล้ว

      @@_quite.essentiallyjay ok hang on........

    • @catsious1861
      @catsious1861 2 ปีที่แล้ว

      @@_quite.essentiallyjay i will send you a download link and send it to me back if your done fixing it :D btw the reason i prefer download links cuz it cant save :( tnx f or helping me buddy

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      Thanks for watching the tutorial! I'll definitely make a part 5, though it probably won't be out for a few months. I'm not sure what's wrong with your collision script, but you could try comparing your code to the completed code here: turbowarp.org/624854326/editor

    • @_quite.essentiallyjay
      @_quite.essentiallyjay 2 ปีที่แล้ว

      @@catsious1861 oh alright

  • @Duckmastrr
    @Duckmastrr 2 ปีที่แล้ว

    next vid could you teach us how to make walls?

    • @tadking8130
      @tadking8130 2 ปีที่แล้ว

      It is easy just do it like this
      When i recive clone
      Set (i) to 0
      repeat (10)
      Change i by 10
      Add Object x | : (200 + i) y : (0) z : (0)

  • @JoshuaSpeedcubing
    @JoshuaSpeedcubing 2 ปีที่แล้ว

    can you add wall running please

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      That would be really fun! I'll definitely consider putting it in a future episode.

    • @JoshuaSpeedcubing
      @JoshuaSpeedcubing 2 ปีที่แล้ว

      @@TheGreenFlash great! I’m looking forward to that tutorial

  • @theobliviousquailofficial
    @theobliviousquailofficial 2 ปีที่แล้ว

    In your next video, you should do a tutorial on how to view objects from sides, like 1st prize from Baldi's Basics. I'd also like to know how to make walls by bypassing scratch's 300 clone limit.

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      That would be cool. It probably won’t make it into the next one, but I’ll definitely try to add it in future tutorials.

  • @ahmedamr9563
    @ahmedamr9563 2 ปีที่แล้ว +1

    Please part 5

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      Hopefully soon! Homework and Scratch projects have kept me from working on it much

  • @sef3793
    @sef3793 2 ปีที่แล้ว

    It feels different waiting for a video for a while, and then finding the video 2 minutes after is it posted

  • @momhoodlife1346
    @momhoodlife1346 2 ปีที่แล้ว +1

    2 things, 1. please make a 5th episode with enemies and weapons. second of all, what would count as a unit ( from your 3rd episode) on a sprite, you picked 120

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      When a sprite changes its x position by 1, it’s moved 1 unit. In the costume editor, you’ll see something like 120x200 underneath a costume in the vertical bar on the left. This is saying that the costume has a width of 120 units (so you’d need to change x by 120 to get from one side to the other) and a height of 200 units.

    • @youssefbensalha1198
      @youssefbensalha1198 2 ปีที่แล้ว

      yeah please

    • @momhoodlife1346
      @momhoodlife1346 2 ปีที่แล้ว

      @@TheGreenFlash , I have a question, when will we get a fifth episode, will it come in a couple months, days weeks, or did you just stop making episodes

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว +1

      I haven’t been able to work on episode 5 since I’ve been busy with Scratch projects and homework, but I’m hoping to start working on episode 5 next week. After I start a video, it’s usually done within 2 to 4 weeks. Thanks for staying interested in this series after all this time!

    • @momhoodlife1346
      @momhoodlife1346 2 ปีที่แล้ว

      @@TheGreenFlash oh no prob, you don't HAVE to continue the series, when you feel ready to continue to start the series, please do, you can start next month or next, but don't take to long because some body might beat you to a 3d engine faster

  • @alihesham8167
    @alihesham8167 2 ปีที่แล้ว

    lol this came 3 hours before i needed it

  • @Z200Editzz
    @Z200Editzz 2 ปีที่แล้ว

    the work is still good

  • @Mega-wt9do
    @Mega-wt9do 2 ปีที่แล้ว +1

    Finaly :)

  • @Reeseify
    @Reeseify 2 ปีที่แล้ว

    Can you show how to make AI?

  • @joejames1414
    @joejames1414 2 ปีที่แล้ว

    LUV UR VIDS🙂🙂🙂🙂

  • @RonicTheEgg
    @RonicTheEgg 2 ปีที่แล้ว

    he sounds like the derp voice from McYum

  • @sumitbhandari4669
    @sumitbhandari4669 2 ปีที่แล้ว

    Please PART 5!!!!

  • @Reeseify
    @Reeseify 2 ปีที่แล้ว

    I'm still here waiting for the next video

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      Thanks for sticking with this! I plan on publishing part 5 within 12 hours

  • @giddledude
    @giddledude 2 ปีที่แล้ว

    Lol I modified it already with 3d sound XD I'm going to keep watching these though even though I made a really complex one (if you wanna see I'll send a link)

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      Sure, it's always great to see how other people approach these topics

  • @rishikandeepan5973
    @rishikandeepan5973 2 ปีที่แล้ว +1

    Hi could you make a different series where the 3d engine is third person

  • @duongnguyen23579
    @duongnguyen23579 2 ปีที่แล้ว

    Finally

  • @TheMowmans
    @TheMowmans 2 ปีที่แล้ว +1

    I’m pretty sure my character is afraid of cats, because when he spawns one he just goes flying away upwards lol

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      Lol sounds like the script for spawning a cat is changing the Player Y Speed variable. You could try comparing your code to the completed code here: turbowarp.org/624854326/editor

    • @TheMowmans
      @TheMowmans 2 ปีที่แล้ว

      @@TheGreenFlash Thanks, I fixed the flying away just working on the cats not showing up, now I have no idea if the cats even likes the player!?

    • @TheMowmans
      @TheMowmans 2 ปีที่แล้ว

      And now the camera x seems to be -5.53e-33

    • @r0xleg116
      @r0xleg116 ปีที่แล้ว

      @@TheMowmans how did you fix the player not going flying

    • @TheMowmans
      @TheMowmans ปีที่แล้ว

      @@r0xleg116 I forgot it’s been awhile

  • @tadking8130
    @tadking8130 2 ปีที่แล้ว +1

    Ohh yea

    • @tadking8130
      @tadking8130 2 ปีที่แล้ว

      and what are ur pc specs

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว +1

      2.5 GHz processor i5, 8 GB RAM

    • @tadking8130
      @tadking8130 2 ปีที่แล้ว

      @@TheGreenFlash nice

  • @westernonion3338
    @westernonion3338 2 ปีที่แล้ว

    YES!!!!!!!!!!

  • @Bruh-bv8mn
    @Bruh-bv8mn 2 ปีที่แล้ว

    Yeah

    • @Bruh-bv8mn
      @Bruh-bv8mn 2 ปีที่แล้ว

      Finally Part 4 :D

  • @goobertnelius
    @goobertnelius 2 ปีที่แล้ว

    Oooh

  • @IncredibleKai108
    @IncredibleKai108 10 หลายเดือนก่อน

    its very laggy but very cool

    • @jollyname
      @jollyname 5 หลายเดือนก่อน

      use turbowarp instead

  • @TwentyNineEightyFive
    @TwentyNineEightyFive 2 ปีที่แล้ว

    can you please slow down your voice is enough but you are teleporting variables like Eminem has nothing on yo mouse

    • @TheGreenFlash
      @TheGreenFlash  2 ปีที่แล้ว

      Yep, you definitely have a good point there. Thanks for the feedback, I’ll definitely try to slow down the coding in later episodes

    • @TwentyNineEightyFive
      @TwentyNineEightyFive 2 ปีที่แล้ว

      @@TheGreenFlash thank you

  • @JustDeerLol
    @JustDeerLol 2 ปีที่แล้ว

    FINALLY