TheGreenFlash
TheGreenFlash
  • 6
  • 524 042
Code a 3D Engine in Scratch | Part 5 | Enemies and Weapons
Welcome back to another Scratch tutorial! In this video, we'll add enemies and weapons to our clone-based 3D engine.
If you haven't been following this series, here's the completed code up to this episode:
turbowarp.org/716090143/editor
Find the graphics and sounds for this tutorial here:
scratch.mit.edu/projects/540546093/
Post your Scratch projects on Game Jolt in D7 Studios:
gamejolt.com/c/d7studios-arrabp
Halo ODST: Left Behind Mission 1:
scratch.mit.edu/projects/64862136/
Episode 1, Engine Basics: th-cam.com/video/tX_x4iYvspU/w-d-xo.html
Episode 2, Up/Down Looking: th-cam.com/video/s2mBL3_tUZI/w-d-xo.html&t
Episode 3, Physics and Collisions: th-cam.com/video/H0qF0gG3vWg/w-d-xo.html
Episode 4, 3D Sound and Object Physics: th-cam.com/video/rQB5n7OcT5k/w-d-xo.html
Episode 4.5, 3D Sound Update: th-cam.com/video/SU9q8xO3q-E/w-d-xo.html
Episode 5, Enemies and Weapons: th-cam.com/video/5RjXsAvOEVA/w-d-xo.html
Full Series Playlist: th-cam.com/play/PLlmCqBdsUGHyjvpz5bbwFIsAwPYySdPNY.html
0:00 Introduction
1:23 Enemy Movement
8:48 Player Hitscan
14:27 Weapon Graphics
17:33 Reticle (Costume)
19:30 Reticle (Code)
21:03 Weapon Sound Effect
21:37 Weapon Recoil
29:36 Weapon Sway
36:01 Thanks for Watching!
"TGF Uno.png" by artsketching (www.gamejolt.com/@vathorex) of gamejolt.com
"Cat, Screaming, A.wav" by InspectorJ (www.jshaw.co.uk) of Freesound.org
มุมมอง: 32 784

วีดีโอ

Code a 3D Engine in Scratch | Part 4.5 | 3D Sound Update
มุมมอง 9K2 ปีที่แล้ว
Welcome back to another Scratch tutorial! In this video, we'll add to the 3D sound scripts to optimize the engine for better performance. Find the graphics and sounds for this tutorial here: scratch.mit.edu/projects/540546093/ Episode 1, Engine Basics: th-cam.com/video/tX_x4iYvspU/w-d-xo.html Episode 2, Up/Down Looking: th-cam.com/video/s2mBL3_tUZI/w-d-xo.html&t Episode 3, Physics and Collision...
Code a 3D Engine in Scratch | Part 4 | 3D Sound and Object Physics
มุมมอง 24K2 ปีที่แล้ว
Welcome back to another Scratch tutorial! In this video, we'll add 3D sound and object physics to our clone based 3D engine. If you haven't been following this series, here's the completed code for the first three episodes: turbowarp.org/562945332/editor Find the graphics and sounds for this tutorial here: scratch.mit.edu/projects/540546093/ Episode 1, Engine Basics: th-cam.com/video/tX_x4iYvsp...
Code a 3D Engine in Scratch | Part 3 | Physics, Collisions, and General Improvements
มุมมอง 47K3 ปีที่แล้ว
Welcome back to another Scratch tutorial! In this video, we'll add physics and collisions to our clone based 3D engine, as well as some general improvements. If you haven't been following this series, here's the completed code for the first two episodes: turbowarp.org/497593298/editor Find the graphics for this tutorial here: scratch.mit.edu/projects/540546093/ Episode 1, Engine Basics: th-cam....
Code a 3D Engine in Scratch | Part 2 | Up/Down Looking
มุมมอง 75K3 ปีที่แล้ว
Welcome back to another episode in this series on making a clone-based 3D engine in Scratch. This video builds on the code from the previous episode to add rotation about the x-axis to the 3D engine. Find the graphics for this tutorial here: scratch.mit.edu/projects/540546093/ Episode 1, Engine Basics: th-cam.com/video/tX_x4iYvspU/w-d-xo.html Episode 2, Up/Down Looking: th-cam.com/video/s2mBL3_...
How to make a 3D Engine in Scratch 3.0
มุมมอง 337K3 ปีที่แล้ว
Sprite 3D games make up a small but ever-growing genre on Scratch. With this tutorial, you can make your own clone-based 3D project. Want to see a full Sprite 3D game on Scratch? Check out The Ninja 3D: scratch.mit.edu/projects/393464757/ Episode 1, Engine Basics: th-cam.com/video/tX_x4iYvspU/w-d-xo.html Episode 2, Up/Down Looking: th-cam.com/video/s2mBL3_tUZI/w-d-xo.html&t Episode 3, Physics a...

ความคิดเห็น

  • @AëlPindiKusunga
    @AëlPindiKusunga 8 วันที่ผ่านมา

    is it an I? on the block

  • @kidsinstructions1542
    @kidsinstructions1542 9 วันที่ผ่านมา

    why do the pillars flip upside down when i turn too much

  • @ameridev
    @ameridev 12 วันที่ผ่านมา

    great! now make half life 2 in scratch, or else.

  • @wojtekilego7505
    @wojtekilego7505 13 วันที่ผ่านมา

    1000 comment.............

  • @nintendoofamerica444
    @nintendoofamerica444 15 วันที่ผ่านมา

    MATRIX REF

  • @LakesForTanks
    @LakesForTanks 25 วันที่ผ่านมา

    Looking up and down brakes the project

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

    this toturial series is so good i subscribed

  • @XavierJones-u9w
    @XavierJones-u9w หลายเดือนก่อน

    fsr when I look at a row of objects at a certain angle the sort wont working that angle

  • @khangbui-w6r
    @khangbui-w6r หลายเดือนก่อน

    gay

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

    Underrated, nice tutorial

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

    👇Part 6?

  • @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 "<" to the "=" or ">" 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.

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

    Problem Found 1.- 6:09 Having the "Add Object" block with the variable i in Y. Causes a bug, because if we try the game, we will see how the walls are crossed in one and do not form a tower. The only solution is to eliminate the i variables in Y from the "Add Object" block. Then change the value from top to bottom like this, my case is "0, 190, 0, 190" When testing, we will see how the walls form a tower, but crooked. This is due to an error in the X, but according to my research. We must correct the numbers that are negative to positive, my case would be code X is "40, 40, 40, 40". Then to test we will see that the stops form the tower correctly in position. There is no problem with the Z, because if you modify it, it can cause a bug.

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

      Edit: In case you don't want the wall to bend. You must eliminate the 2 blocks of "Add Object" no 4.

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

    Problem Found 1.- 6:12 When the value is 30 no objects hides when the player gets too close. If we change the value to 100, the objects hide fast when the player gets closer. The Recommended value is 50 2.- 10:22 Block "Go forward (Variable i - 1) layers" Do not apply effect to objects when we look at the back, left and right. If we change to (1- Variable i) it Apply the effects, therefore changing that property to "Go forward (1- Variable i) layers" is recommended.

  • @HarveyWu-j7r
    @HarveyWu-j7r 2 หลายเดือนก่อน

    hey...i think you should add a 'kill' code, like if the ninja touches the enemy, it puts the ninja at the spawn point, to make it harder:D

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

    why don't you try this video by griffpatch and use the strechy sprites mensioned in that video thus your engine get superpowerful

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

    Why is this so unstable for me

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

    I like your vids your actually super duper extremely genius

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

    1000th comment

  • @ArashArashee-u3r
    @ArashArashee-u3r 2 หลายเดือนก่อน

    Is it possible to make a 3d minecraft with this?

  • @PetarĐurić-z2e
    @PetarĐurić-z2e 3 หลายเดือนก่อน

    Having tilted or uneven floors would be great!

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

    1000th Commentt!!!!!!!!!!!! 🏀

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

    999

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

    998

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

    997

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

    996

  • @Jessica-o7n7o
    @Jessica-o7n7o 3 หลายเดือนก่อน

    Please make the objects look sense because they look at the camera at all times.

  • @PetarĐurić-z2e
    @PetarĐurić-z2e 3 หลายเดือนก่อน

    Somebody help me, my “rotated y” isn’t changing Edit: nvm I figured it out

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

      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/497593298/editor

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

    2:42 TRIGONOMETRY LES GOOOOOOOOOOOOOOOOOOO

  • @JasonHuang-ln3kc
    @JasonHuang-ln3kc 3 หลายเดือนก่อน

    Then how can we make 3d entities,such as a 3d skeleton,a 3d wall,a 3d Minecraft grassblock,a 3d ball and a 3d tree?

  • @pavel-ii3nq
    @pavel-ii3nq 3 หลายเดือนก่อน

    Not working 😭

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

      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/575099758/editor

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

    It doesn't work 😢

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

      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/575099758/editor

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

    I have a problem I can only add one object not many Anyone know the fix?

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

      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/575099758/editor

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

      @@TheGreenFlash thx bro I fixed it but I had another problem,it's in the rotation matrix when I press left it moves up and when i turn around it moves normally I tried many times but didn't work

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

    Amazing

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

    7:51

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

    4:27

  • @李兴国-b1h
    @李兴国-b1h 4 หลายเดือนก่อน

    为什么我在转变y视角的时候,移动会变得错误

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

    bro its the american griffpatch !!

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

    too insane

  • @LarisaSargsyan-hw4cl
    @LarisaSargsyan-hw4cl 4 หลายเดือนก่อน

    How to add multiple hit boxes?

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

    one of my sprites keeps rendering on top of the rest and as soon as it's fixed another one starts doing it. please help.

    • @AydenCaldwell-r9r
      @AydenCaldwell-r9r 4 หลายเดือนก่อน

      Try setting the "I" variable to 1 instead of 0 it worked for me

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

      @@AydenCaldwell-r9r I already fixed it, turns out I followed the tutorial wrong, but thanks anyway

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

    my movement breaks when I add looking up and down, help? edit: nevermind I'm just an idiot, I forgot to swap out some variables at one part.

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

    tu jurgo es hermoso

  • @Maki56-e7m
    @Maki56-e7m 5 หลายเดือนก่อน

    So helpful! also I changed it so you can look with your mouse pointer and strafe left and right

  • @냠냠쩝쩝-z7e
    @냠냠쩝쩝-z7e 5 หลายเดือนก่อน

    pleas NEXT video!!!

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

    this does not work much in 2024 :(

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

      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/575099758/editor

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

      @@TheGreenFlash i made it wasd was that the problem?

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

    Were you able to find the twitter video?

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

      I saw it! Sorry I didn’t respond sooner, my summer classes are going into finals week. Your Super Mario project looks awesome. What are your plans for it?

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

      Also if you’re on Discord, I’m TheGreenFlash there

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

      @@TheGreenFlash No problem, good luck with your finals, I'm sure you're learning great stuff! Thanks, I do want to try adding a lot more content including platforms and then share it on my main account, but I'm not sure how far it can get