extends CharacterBody3D @export var MoveSpeed: float = 5.0 @export var JumpPower: float = 4.5 @export var Sensitivity: float = 0.005 @onready var head: Node3D = $Head func _ready() -> void: Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED) func _input(event: InputEvent) -> void: # Rotate the character with mouse motion if event is InputEventMouseMotion: rotate_y(-event.relative.x * Sensitivity) # Rotate head and clamp its rotation to prevent over-rotation var new_head_rotation_x = head.rotation_degrees.x - event.relative.y * Sensitivity * 180 / PI new_head_rotation_x = clamp(new_head_rotation_x, -90, 90) # Clamping rotation head.rotation_degrees.x = new_head_rotation_x func _physics_process(delta: float) -> void: # Apply gravity if not is_on_floor(): velocity.y -= float(ProjectSettings.get_setting("physics/3d/default_gravity")) * delta # Handle jumping if Input.is_action_just_pressed("jump") and is_on_floor(): velocity.y = JumpPower # Process movement process_move(delta) func process_move(delta: float) -> void: var input_dir = Input.get_vector("move_left", "move_right", "move_forward", "move_backward") var direction = (global_transform.basis * Vector3(input_dir.x, 0, input_dir.y)).normalized() if direction.length() > 0: velocity.x = direction.x * MoveSpeed velocity.z = direction.z * MoveSpeed else: velocity.x = lerp(velocity.x, 0.0, 0.1) velocity.z = lerp(velocity.z, 0.0, 0.1) # Move and slide using velocity move_and_slide()
@Lu876-zd5iv8 күн бұрын
cmon use your own voice dont be embarrassed
@mefe19278 күн бұрын
nice project! this whole series would be a banger if you voiced it yourself and not with ai, appreciate the effort tho!
@MAT694888 күн бұрын
❤
@flickered8 күн бұрын
how do you upload the 3d models from blender?
@appleminecraft8 күн бұрын
By exporting in .obj or .gltf format
@SSsyzgy9 күн бұрын
Amazing waiting for whole game th 1 to 17 😂
@appleminecraft8 күн бұрын
@SSsyzgy by the time i will make town hall 17, clash of clans will have town hall level 22
@OreoRobDog9 күн бұрын
either i have a natural skill for making models or your just slow at making them but i can make each one of those within 10m. i started making models like 4 months ago
@disben9009 күн бұрын
good 4 u!
@appleminecraft9 күн бұрын
I made these during my exams that's why I just spent about 30 minutes a day working.
@BCjdjdfj8 күн бұрын
me too
@BCjdjdfj8 күн бұрын
@@appleminecraft hit me up if u might need any help with models ; )
@BCjdjdfj8 күн бұрын
@@appleminecraft altohugh u know how to texture unlike me so ur kinda better than me lol
@TF2Manyagi9 күн бұрын
I can help you :3
@BoxerBoy4049 күн бұрын
I think you Minecraft player because Your Chal name Apple Minecraft HAHAH
@appleminecraft9 күн бұрын
I think i might be
@RobloxFilmsAndAnimations9 күн бұрын
👍
@AbdelmoenYT9 күн бұрын
very cool👍
@BoxerBoy4049 күн бұрын
Thank you
@巨龙之路10 күн бұрын
These models look good👍
@appleminecraft9 күн бұрын
Thanks!
@petralju777013 күн бұрын
More tutorials like this please, this was very good maybe something about top down camera controller ! Thanks
@SyahzEdit.Official16 күн бұрын
I don't think the game name is "clans of clans" on the title 💀
@appleminecraft16 күн бұрын
@SyahzEdit.Official bruh i didn't even notice 🤦
@appleminecraft16 күн бұрын
I wonder why the impession was so low
@SyahzEdit.Official16 күн бұрын
Don't worry about it but you make good game bro +1 sub for ya
@巨龙之路17 күн бұрын
OMG! This video is awesome! I have learned many interesting things from this.
Do you think learning blender is a must or can you buy/use AI for things like that?
@appleminecraft19 күн бұрын
You can make a game without blender. There are plenty of free models and you can also buy models. Using AI, currently there isn't a AI for 3D models or there might be i don't know about it.
@xXBigGodXx19 күн бұрын
@@appleminecraft pretty sure there is ai for models that even animates them for you
@appleminecraft19 күн бұрын
I just looked it up. There is a AI for 3d models
@smaylll-v122 күн бұрын
🔥🔥🔥🔥🔥🔥🔥
@smaylll-v122 күн бұрын
Like it, short and to the point
@appleminecraft22 күн бұрын
@SIOMAYTIZI glad you found it helpful 👍
@shantanusali26 күн бұрын
Can you also show the process of making your own map in blender and then importing it into godot
@appleminecraft25 күн бұрын
Im currently working on another video. After that then I will make it.
@lev1mc26 күн бұрын
not working. the collision isnt here when imported to Meshlibrary ( atleast for me )
@appleminecraft26 күн бұрын
This video is for a model imported in glTF format. When there are lots of nodes. It is easier to convert it to .obj temporarily just to create a collision together of all meshes.
@lev1mc26 күн бұрын
@@appleminecraft sorry, I did something wrong with the player then not with the mesh. Nice video btw,
@巨龙之路26 күн бұрын
it is interesting! 🤩
@appleminecraft26 күн бұрын
@@巨龙之路 thanks 😊
@dudedudely9327 күн бұрын
Is there anyway you could make a joypad(xbox controller)setup video
@appleminecraft27 күн бұрын
I have never done it before but you can find plenty of other videos on KZbin.
@dudedudely9326 күн бұрын
@appleminecraft okay I' almost got it stuck on rotating the the camera up and down going to review your video again to see if I could find anything
@appleminecraft26 күн бұрын
@dudedudely93 maybe you could send me the code on discord and we can find a fix?
@nolan1O75Ай бұрын
Great tutorial boss! Thanks !
@JohanColeVerollАй бұрын
Good work sir
@巨龙之路Ай бұрын
This video is extremely helpful!
@appleminecraftАй бұрын
@@巨龙之路 ❤️
@巨龙之路Ай бұрын
Great video! I successfully created my first enemy in the game following this video.
i was looking stuff to learn godot and this video pop up in my recommends, nice work on the explanation, keeping it simple while teaching a bit. thank you!
@NameNotFound382 ай бұрын
Just letting you know that if you have to change the rendering mode to forward+ in project settings
@Superchunk-k2h7 ай бұрын
What AI are you using for the voice I want to do that
@appleminecraft7 ай бұрын
Honestly I kinda forgot but I think it was from a app called Narrator's Voice which is available on playstore.
@rhevoramirez79698 ай бұрын
thanks, my friend
@NachitenRemix10 ай бұрын
0:37 Number 1: ˢᶦᵐᵖˡᶦᶜᶦᵗʸ
@appleminecraft10 ай бұрын
Simplicity makes me go YES.
@WarthogEnjoyer378410 ай бұрын
I frickin love triangles bro.
@20hotmen11 ай бұрын
Thanks for the actually helpful tutorial
@warsin8641 Жыл бұрын
much love
@voidling2632 Жыл бұрын
adding fog: error: swap_buffers: Vulkan: Cannot submit graphics queue. Error code: VK_ERROR_DEVICE_LOST swap_buffers: Vulkan: Cannot submit graphics queue. Error code: VK_ERROR_DEVICE_LOST prepare_buffers: Vulkan: Did not create swapchain successfully. Error code: VK_NOT_READY ......... project now broken, can't open it and I have to crawl back to Unity.... godot can't handle 3D.
@appleminecraft Жыл бұрын
This was an error which is being fixed in Godot 4.1 according to this GitHub issue github.com/godotengine/godot/issues/74774 but the issue is 9 months old so it should be fixed. Try updating Godot to the latest version and your graphic drivers. It is not caused by volume fog but is a Vulkan error. I hope this helps.
@voidling2632 Жыл бұрын
@@appleminecraft It seems they didn't really fixed it. I have the latest version.
@appleminecraft Жыл бұрын
@@voidling2632 Well yes, you are right. Godot isn't the 3D game engine to make production-ready games. It is an open-source game engine meaning anyone can suggest a fix for any issue but we just do not know when and who. With every new Godot 4.x updates there are dozens of bug fixes. Hope fully it gets fixed soon. Godot is slowly becoming a good engine just look at the changes for Godot 3 and Godot 4 it is like a whole other game engine.
@appleminecraft Жыл бұрын
@voidling2632 It is a difficult issue to fix because it only appears on some specific devices and thus is impossible to replicate.
@voidling2632 Жыл бұрын
@@appleminecraft I already solved this issue. I changed the render to mobile, by changing the project.godot file: adding or changing (if you have already a [rendering]) [rendering] renderer/rendering_method="mobile" Opened my project, deleted my environment node, changed back to forward, created a new environment node, no issue so far.