"Delete the box" I know what I have to do but I don't know if I have the strength to do it...
@malikha55374 жыл бұрын
Hahahaha sameeee
@Zylops4 жыл бұрын
My name is connor. I am the android sent by CyberLife.
@5Puff4 жыл бұрын
@@Zylops am I the only one who hasn't played that game?
@ReconArmor1175 жыл бұрын
Next Tutorial: 3D Space Shooter? Like!
@limbo98654 жыл бұрын
@raffle baffle Yes 😂
@Mark734 жыл бұрын
The radius of your ball is 1. That means the circumference is 6.28 (PI*2). So in rolling 1 unit it will roll across 1/6.28 or 0.159 of its circumference. 360 degrees times 0.159 is 57.2 So for every single unit (which you can measure out with CTRL+drag) it rolls, it will rotate 57.2 degrees.
@GileadMaerlyn5 жыл бұрын
35:48 _"I'm not sure why that is"_ I think it's because the *loop* button is activated, so godot knows that at the end it'll be back at the start.
@elPouchkine4 жыл бұрын
Exactly
@adog31292 жыл бұрын
THANK YOU!
@schakma945 жыл бұрын
At 22:09, I am not going to change the enemy's swaying movement. It's cute, like a drunkard trying to find his way.
@ssundeefan-hm9do2 жыл бұрын
i agree
@karga95895 жыл бұрын
You are a great teacher, tutorials were really easy to follow and i've learned a lot. Thanks!
@wukongmain20754 жыл бұрын
fun stuff!, I decided to animate my enemy moving normally around a wall shape i made making a full rotation and then moving backwards a full rotation but at like twice the speed. Might catch the player off guard seeing it come back towards them super fast aha
@kellywshere5 жыл бұрын
Great tutorial! By the way: the reason the rotation animation get messed up at first is because at 19:46 you manually rotated the object, which made the z-axis rotation number jump by -360 degrees (from 270 to -90).
@raidez99873 жыл бұрын
Instead of animation, I create a Path node, define path for enemy, put Enemy scene inside a PathFollow node, and use animation player to change the path offset. Make sure to make Path curse property unique and it's working well (much easier to change the path, adjust speed, etc).
@GaryParkin2 жыл бұрын
I was going to search for a path and see if Godot had one until I read your reply. Did it work? After the course, I'm going to add AI code to the enemies to wander around randomly and look for the player.
@Brambi2552 жыл бұрын
To implement rotation according to movement direction, you can add this script to the enemy node. I'm just a beginner so maybe there's a better way, but it works for me: extends Area var pos var currentPos var deltaPos const ROTSPEED = 100 func _ready(): pos = global_transform.origin func _process(delta): currentPos = global_transform.origin deltaPos = currentPos - pos rotate_x(-deltaPos.z * ROTSPEED * delta) rotate_z(deltaPos.x * ROTSPEED * delta) pos = global_transform.origin
@health.is.wealth.2 жыл бұрын
@@Brambi255 Great stuff, works for me as well!
@cubedev48385 жыл бұрын
Wowo!! Godot make me impressed. Very simple game engine but powerful!!
@jbanimations84754 жыл бұрын
Thank you so much for taking the time and energy to teach us all this wonderful software!!
@_Geist2 жыл бұрын
i got stuck on a couple parts, but scrapping them and starting fresh, after reading the comments here and re-watching. i managed to iron out my unseen mistakes.. not sure what exactly i messed up, but oh well. to learning!
@demians_world68265 жыл бұрын
Hey i've finished untill now but when is #8 coming out? Bc I love this series!!! U should do more of these series so we can learn even more!
@heterotrophic3 жыл бұрын
I figured out 29:15 myself without watching the video (used if body == self instead of body.name == "Steve") and I'm so proud :D
@181grisa5 жыл бұрын
Been waiting for this part! This is by far the best Godot 3D tutorial I could find! Great quality job man, thanks for the effort you put into this series ! Also, can't wait to learn more from your videos :)
@frozenfridge39433 жыл бұрын
Thank you for making these videos you're an asset to the godot community
@spark3dvision2173 жыл бұрын
This was a great introduction into godot, thanks.
@joep6204 жыл бұрын
Thanks for this series. This has helped me a lot.
@HealthyWC-25 жыл бұрын
Great video man, thank you for the uploads
@matiasveitch92994 жыл бұрын
The ball with radio 1 is supposed to rotate the exact number in radians of the translation by definition of what a radian is
@thomaseubank15035 жыл бұрын
12:43 I just hit control while I moved mine and it worked just fine for me.
@phatarapransaraluck31965 жыл бұрын
this series is so helpful Thank you a lot
@stevesmith99735 жыл бұрын
Thank you sooo much for all of your time and effort! Great videos!
@AlaskaLinuxUserAKLU4 жыл бұрын
It is too bad that I can't hit the like button twice! Great stuff!
@LabmonkeyofAnu5 жыл бұрын
This is fun, thanks :)
@TechBoxNorth3 жыл бұрын
Wouldn't it be better if Steve (the player) was the one checking for collisions to reduce the number of collision checks?
@sergeantsapient Жыл бұрын
I think he mentioned something about areas being good at detecting collisions with physics bodies. Maybe he meant they're more efficient than physics bodies. Best I can reason. Maybe it's something to do with that areas calculate collisions every frame faster because they're not calculating physics like the physics bodies would be.
@HarryRasmussen5 жыл бұрын
Great lesson. Thanks!
@mjdragon132 жыл бұрын
For those trying this out in Godot 3.4.4, area_entered might not work! Try the body_entered function to do the enemy player collision but with the same code! Thanks for the wonderful tutorial @BornCG
@Phrate2 жыл бұрын
area_entered checks if it has a collision with other "area" type nodes, which our Steve is not. Steve is a kinematic/physics body, so body_entered is the correct choice
@warrengeorge71265 жыл бұрын
Wonderful as always
@juanantoniomiralles60274 ай бұрын
Eres un maquinarias, gracias por tremendo tutorialaco!!
@staplepin80995 жыл бұрын
@bornCG man you are the best
@auto-fav89695 жыл бұрын
hi i have been watching this videos serie it is amazing . i would like to ask you if you can make another one about 2d game in godot . and good luck
@dejo0955 жыл бұрын
If anybody is asking how he created that spiked ball, Im guessing he subdivided the cube, applied the modifier. Then he selected all faces, inseted them, as each face for itself, then extrude-scale them then subdivision modifier in the end :-)
@josemayorquin69114 жыл бұрын
My enemy imported in the sky, so I put him on the floor and added the keyframes. But when I hit play he appears out in the ocean
@fhajji4 жыл бұрын
@BornCG: The enemy looks like a Coronavirus. Which brings me to an idea of an epidemic simulation game: - Change the enemy in Blender to look more like Coronavirus - If Steve collides with an enemy, change state of Steve to "incubating" - After some time, change state of Steve to "active", and have it "cough", creating new enemies (viruses) - If Steve touches walls, mark them as "contaminated" as well - Now, add more players (multiplayer-game in Godot? Is that even possible?) in the scene and have them dodge the viruses. - In the players collide with viruses, or contaminated walls, mark them as "incubating" - Every player that hits more than a set limit of enemies (viruses) will then die... or have them die according to a preset mortality rate - Have the enemies die after some time, just like the real viruses which become inactive after a while. - Optionally: spread some "disinfectants" in the maze, so that player that collided with walls not too long ago can avoid getting to the "incubating" stage if the hit a disinfectant, a.k.a. if they wash their hands. That would be a great continuation of this series. As always, excellent tutorial! Love it!
@cgcube73424 жыл бұрын
😂😂😂
@RonicTheEgg10 ай бұрын
how dare you be so awesome
@BornCG10 ай бұрын
🤣😊
@Wilker_uwu3 жыл бұрын
the issue of the rotation animation is that you changed one of the keyframes, but when you set up the frames before changing, you stored the first value in all of them. you rotated 270 degrees in the second keyframe, but all the others were still zero, because that was the value which you set when creating the frames before animating. so the values were like 0 to 270, then back to 0.
@Wilker_uwu3 жыл бұрын
i know the video is old and you might have already known :p that's just to help people coming here who happens to browse by new comments ^^
@davidbischi4 жыл бұрын
22:04 Its because of something called gimbal lock. quarternions would do the trick!
@papadenteam Жыл бұрын
Спасибо вам! Хорошие уроки!
@rgbcrafts5 жыл бұрын
For fun: what if you turn the enemies a cube and made them roll like a dice? How you would change on code to make them behave like that? BTW, thanks for this tutorial. You make it seems easy to code a game with all your examples. Any chance of allowing subtiles and translations? I would like to do them to my native language. You know, good will of helping others reach the same content without language boundaries limiting them.
@eidanyoson78983 жыл бұрын
Im using Godot version 3.2.3 and following step by step (great tutorial by the way!). Ive noticed that when I press the play scene button, the game takes dramatically more time to load in comparison of what I see on the video. Is there some sort of performance configuration in project settings to gain speed or is it the version difference? Im using a geforce gtx 1060 by the way
@iakobs3 жыл бұрын
HI! If you look at the chapter adding the walls (it's 5 IIRC), you have the problem and the solution in the coments. TL;DR godot is buggy when it comes to make materials unique, it's much better to duplicate them
@Phrate2 жыл бұрын
@@iakobs It's not a buggy thing, it's basically asking Godot to throw out its efficiency. Instead of just one reference to the mesh and material, it's now storing a couple hundred new copies of the 7mb mesh and 2k texture. Then it's building and rendering every single one of those over and over again from scratch. Make Unique is very powerful and it was most certainly used completely wrong in this tutorial. Nonetheless, was an awesome tutorial!
@Kushemojie3 жыл бұрын
DevLog,,, l had trouble with the enemy cacelling out the player ,, but after hours of rewatching this video,, and trial and errors,, l got it in the end,, thank you ,, lemme finish this
@GaryParkin2 жыл бұрын
Isn't there a calculation you could do to auto roll the ball based on its position? I looked at this but I could not find a way for the enemy ball to know its moving. (Newbe)
@matthewdevine82754 жыл бұрын
For some reason my duplicated enemies just disappear when I run the game. Also, for some reason this whole time my sphere objects are all stretched vertically.
@llYuki0okami3 жыл бұрын
enable Autoplay and Loop in animation options for enemy 2
@koto30152 жыл бұрын
@@llYuki0okami thank you, i was so confused
@Galaxia532 жыл бұрын
When I tried to make the enemy take a corner twice the y axis started to turn on the z axis making it seemingly literally impossible to make him roll on the y axis again. The Y rotation takes the Y axis from the environment while the Z takes the one from the enemy. This animation system is the worst thing ever. Edit: I found a better way to do it. Copy an enemy and remove it's animation node. Basically you get a "Path" node then you get a few extra options at the top middle of your screen, select the second option with the little plus sign in it and now you can draw a path (best done in top down view). You can close the path with the fourth option next to "options". Now add a "Path Follow" node as a child of the "Path" node and make the enemy a child of the "Path Follow" node. Make sure the enemy is located at the exact point the path begins otherwise it's gonna look really weird. Now click on the "Path Follow" node and on the right there is an option called "Rotation Mode" which is on XYZ, put that on "Oriented" so the enemy will face the direction the path travels. Then just animate the enemy rolling (so not it's position) and face the enemy the way the path goes which is the direction you drew the path. You can also see how it will look by clicking on the Path node and on the right of the screen is an option called "Offset". Now add this piece of code to the "Path Follow" node which I can't exactly explain (sorry): "extends PathFollow var runSpeed = 5 func _process(delta: float) -> void: set_offset(get_offset() + runSpeed * delta)" Now it should work. You can even smooth out the corners it takes a bit by clicking on Path, on the right of the screen click on "Curve3D" then increase the number of "Bake Interval" a bit.
@quafshattaiyush26134 жыл бұрын
Can't download the enemy files. Can you please help.
@ritamch75184 жыл бұрын
10:49 where real men cried
@pleckton29725 жыл бұрын
Like finally you uploaded the enemies part jeez thx
@tradingwithwill72144 жыл бұрын
Would you want to avoid triggering the entered function by each enemy constantly by having it not touch the other objects (wall/floor) somehow?
@MH-lr6ue2 жыл бұрын
my biggest struggle is the camera. I find it very difficult to place it in a decent area to view the full stage. everything else is pretty easy. I'm very surprised that i can't change the default button text size but creating a new font doesn't take a lot of time so whatevas...thanks for the tutorial.
@GingerNinja8000HD4 жыл бұрын
hey i cant seem to get the hit option to work it works if i dont specify but as soon as i put in the name it wont register anything thanks in advanced
@ReconArmor1175 жыл бұрын
Good Job! Make more :)
@carterazilla52163 жыл бұрын
it doesnt print hit? help
@andrewalekseyev24602 жыл бұрын
Can you please help!!! For some reason after doing two keyframes of the animation and having everything work just fine the z axis completely stops working. If you try to change it it just rotates the ball on the same axis as the y axis and it is no longer possible to to rotate the enemy on the z axis no matter what I try. If I try just manual turning it in the editor and use that as the keyframe it just switches ALL of the axses to something like -90 or 180. I have looked online but I haven't found anything
@Galaxia532 жыл бұрын
For me it screwed up the y and z axis when I tried to make the enemy take two turns. If you also tried to do that then I can say that that doesn't work at least with the method in this video. If I make the enemy take one turn it works for me. Right now I use Godot 3.5 but it screwing up the axis was in a version before this. If you didn't try to do something different from the video then you may want to try and redo the animation completely and try to do exactly what he does. You may have done something different or wrong by accident thus not understanding why it's not working.
@schnitzelhannes64313 жыл бұрын
simple enemy script for doing the rotation without the AnimationPlayer: var origin = Vector3(0,0,0) const ROTSPEED = 5 func _ready(): origin = translation func _physics_process(delta): if (translation.x > origin.x): $enemyMesh.rotate_z(deg2rad(-ROTSPEED)) if (translation.x < origin.x): $enemyMesh.rotate_z(deg2rad(ROTSPEED)) if (translation.z > origin.z): $enemyMesh.rotate_x(deg2rad(ROTSPEED)) if (translation.z < origin.z): $enemyMesh.rotate_x(deg2rad(-ROTSPEED)) origin = translation
@RayStudio953 жыл бұрын
yeah!! I made it!!
@dananderson84595 жыл бұрын
We want part 8!
@BornCG5 жыл бұрын
Super crazy busy this week running a 3D printing camp. The good news is that #8 is already recorded, but needs editing.
@sergeantsapient Жыл бұрын
Years later from the tutorial but I think I understand why it's changing the z axis. It's because it's trying to return back to the original value that it was keyed to in the beginning by the time it gets to the end of the loop. This is expected but rather annoying behavior XD.
@c0rjnth14ns5 жыл бұрын
Thanks!
@siemasiemasiem4 жыл бұрын
Thank you for the tutorial, you helped me a lot :) but this part make me sad... why don't you code random wondering movement for enemies? Making stuff like that as animations is just ugly.
@vincentiusaxel84144 жыл бұрын
how to make the quit button
@arg38824 жыл бұрын
i dont know why but whatever i do the collision with enemy is not working
@akhilesh_193 жыл бұрын
Can anyone help me, I'm not getting "hit" output .
@pyramidvince28554 жыл бұрын
If you duplicate the enemy, can you change the duplicated enemy's color? Or do you have to change the original enemy scene?
@veermetri055 жыл бұрын
Hello I really like to watch your video. I like to know that you have started a new series of tutorial of game engine. I have liked your videos of Blender 2.7 . I am waiting for 2.8 tutorial. As you have started new tutorial series complete it first and then please make a video tutorial of Blender 2.8. If you want to grow your channel with games you can also make a video about armory3d game engine which is about blender. I hope you respond to me and your viewers too. Your friendly, Veer Metri
@BornCG5 жыл бұрын
Thanks! I'll be publishing more blender 2.8 tutorials as soon as blender 2.80 stable is released in a few weeks! 🎉👍
@shifflettartstudios23354 жыл бұрын
My enemy2 doesn't show up in the scene when I play it.
@99MrX994 жыл бұрын
For me the problem was that Enemy2's AnimatinPlayer somehow was switched back to Enemy1Animation and I forgot to enable Autoplay and Loop after fixing this it appeared and worked.
@humancollins56264 жыл бұрын
my game over screen won't go to the menu screen due to it failing to load the resource it say's: core/io/resourceloader.cpp:285 @ _load() Buttontitleretry.gd:8 @ _on_buttontitleretry_pressed() for some reason it says my button retry has a :8 at the end of gd which isn't true
@BornCG4 жыл бұрын
That might mean there's an error on line 8?
@orrsnir5 жыл бұрын
hello guys! can someone please explain to me why my left and right keys are making the ball move diagonal? on a microsoft book 2? is it something i need to change in the input? thanks :)
@dhruvagarwal60315 жыл бұрын
When will part 8 come...waiting for it from a long time
@BornCG5 жыл бұрын
This week almost certainly! Check out my Facebook page for updates. 👍
@red_juan5 жыл бұрын
Pressing the press down button will snap an object to the ground
@jerichothomason29134 жыл бұрын
Thankyou for your awesome series, Can You please tell me why the play button is lagging on clicking it even after releasing it
@BornCG3 жыл бұрын
It takes time for the next scene to load. ... I believe one or more of my resources.. a model or texture.. was quite large in file size
@ashishthakur99835 жыл бұрын
Please upload the next part
@bogballproductions63424 жыл бұрын
When I hit the enemy, nothing happens. The code and everything is just what you had, so why isn't it working? Someone please respond
@schnitzelhannes64313 жыл бұрын
connected the signal to the function? we cant see the project so...
@akhilesh_193 жыл бұрын
Same problem
@akhilesh_193 жыл бұрын
@@schnitzelhannes6431 I have connected the signal to the function
@fetaup92933 жыл бұрын
Body entered and body exited aren't on the Node Signals page. What do I do?
@BornCG3 жыл бұрын
Make sure you've selected the correct node over in your node tree.
@fetaup92933 жыл бұрын
@@BornCG Ok. Thanks. Also double thanks for the incredible tutorial, I've wanted to get into game development for a really long time
@RaiderJake4 жыл бұрын
Is there a way to use the keyboard for the menu's? I'm making a fps and if i die without the mouse on the screen, the mouse doesn't appear on the continue screen, thx for the great tutorials, I'm brand new to this and in way over my head, you've been a big help :)
@BornCG4 жыл бұрын
Yes! You can make buttons have 'neighbors' so your can switch the active one with the arrow keys. .. there's is a little more to it than that, but it's definitely doable. You can also have the menu show the mouse cursor when it loads. Your can access any settings like that using code in-game.
@RaiderJake4 жыл бұрын
@@BornCG I fixed it, Finally! added this to the button script.... func _ready(): Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE) Thx again for you help
@TheMeastanimetions2 жыл бұрын
if i open the link there is a error saying 8052 This user has been placed on accounting hold
@BornCG2 жыл бұрын
Download mirrors should be fixed now! Sorry about that.
@TheMeastanimetions2 жыл бұрын
@@BornCG thanks
@LawMasterTimmy5 жыл бұрын
Next Tutorial: 3D platformer?
@DeafSavage5 жыл бұрын
I'd be down for a platformer!
@ewmcnee2 жыл бұрын
For the life of me, I couldn't get the enemy ball to roll without spinning uncontrollably in undesired directions. Godot 3.4.4
@Galaxia532 жыл бұрын
I had the same problem but I finally did come up with a solution. What it does is when it's done rolling ones it wants to roll back to it's original position (before it started rolling) while at the same time it rolls towards the point you set next. So if I want it to roll to 100.x and then want it to roll to 100.y it rolls to 0.x 100.y and it wanting to roll back to 0.x is what's causing it to roll weird. The solution is a little odd but it works well. If the first diamond encounter is 100.x then the diamond after that should be 100.x 100.z in order to make it roll to the way you had in mind when you typed out 100.y Just to make a damn ball roll lol. Great animation system godot
@onyx99434 жыл бұрын
Is there a way to restart the scene without having to load it all over again?!
@BornCG4 жыл бұрын
Like re-spawning from the starting position after you hit an enemy? Sure. =)
@claudmariodsouza42413 жыл бұрын
Where to save
@ronstephen4 жыл бұрын
that is corona right? ball should keep social distancing to avoid spread. if not you will suffer what ball did.
@enisf19235 жыл бұрын
make a 2d game next
@diamondjasper68305 жыл бұрын
my game over scene doesnt work why is that
@RandomRyan5 жыл бұрын
Hi
@farratheproducer-beatsinst63674 жыл бұрын
make sure that your are directing the button function to the correct path. your game over scene may be inside a folder inside the res://, for example: res://scenes//gameover.tscn its hard to tell if that is the reason, but could be the case. hopefully this helps
@salvatoremanna47692 жыл бұрын
4:51 you just created COVID
@la-ia14045 жыл бұрын
Can you do one for exporting games to Android.
@BornCG5 жыл бұрын
Yup I will! But it's changing for Godot 3.2 so I'll probably do it for that.
@phobosklaskii62375 жыл бұрын
What just sixteen views? D:
@BornCG5 жыл бұрын
Just went up 9 minutes ago and now at 41 views. :P
@BornCG5 жыл бұрын
SHARE! ;-)
@phobosklaskii62375 жыл бұрын
BornCG 👌👌
@iIAbOoDIi_5 жыл бұрын
upbge plz
@SuperNecroticOH Жыл бұрын
ngl enemy looks more like a virus
@nurwaneduardo78313 жыл бұрын
30:44
@seemysight4 жыл бұрын
for the love of god take care of the object resolution, you are doing a simple ball game there is NO REASON your ball should not fit into the over watch guidelines for a character