How would I go about making the random movement in a top down 2d game? The left and right work but I don't know how to add on the up and down movement.
Hi, thank you for your tutorials, they are really helpful!! Can I ask to make a platformer advanced ai tutorial(enemy jump from heights)? I cant find anything for godot 4 Thank you again❤💕
in this after taking damage it isn't ever turned back to false after turning it true, so how does the frog come back to you? as shouldn't it always move back as taking damage would always be triggered?
Hey great videos!! but I have a problem, for some reason my enemy collision is not working as intented, the enemy follows the player as expect it, it goes right and touchs the player but when it goes left to follow him, it stops before touching him, it like it detects the player before touching it I dont know why.. Please help!
it sounds like the enemies hitboxs may be adjusted wrong, but im not sure sense I cant see your project!! are you getting any sort of message in the debugger?
Hey everyone ! nice tutorial ! thanks a lot for this new serie !! But, i'm kinda stuck with the randomize movement, when i launch the game, my enemy is not moving at all ! any idea ?
Hey amazing video as always! I love watching how you explain things, helps me a lot. Could you possibly make a follow up on the inventory UI, and how to access those items? Thanks!
Love the tutorials:) , but I had one problem, I did a print(dir) and it gives only (0, 0). So my randomized movement does not work at all. Does anyone know if I could be doing something wrong? My choose func and stuff is - func _on_direction_timer_timeout(): $DirectionTimer.wait_time = choose([1.5,2.0,2.5]) if !is_chasing: dir = choose([Vector2.RIGHT, Vector2.LEFT]) velocity.x = 0 func choose(array): array.shuffle() return array.front() but it doesn't work for some reason (?). My Godot vers is 4.2.2 EDIT: I did it again and now it works, idk xd
have you created a global script?? we created one earlier in this series!! but basically just create a script and call it "global.gd" then go into project settings > autoloads and autoload that script!!
Hello! I once dated a girl who was a "Toxic Frog". Keep up the good work friend.
oh my! thanks!
How would I go about making the random movement in a top down 2d game? The left and right work but I don't know how to add on the up and down movement.
you can also do await anim_sprite.animation_finish() on 17:45
Really good explain tutorial series! Thanks!
thank you, glad it helped!
Hi, thank you for your tutorials, they are really helpful!!
Can I ask to make a platformer advanced ai tutorial(enemy jump from heights)? I cant find anything for godot 4
Thank you again❤💕
i will look into it!! thanks!
Looks like new series is going on ❤ 😮
in this after taking damage it isn't ever turned back to false after turning it true, so how does the frog come back to you? as shouldn't it always move back as taking damage
would always be triggered?
my damage continous but animation stops in the frog
Hey great videos!! but I have a problem, for some reason my enemy collision is not working as intented, the enemy follows the player as expect it, it goes right and touchs the player but when it goes left to follow him, it stops before touching him, it like it detects the player before touching it I dont know why.. Please help!
it sounds like the enemies hitboxs may be adjusted wrong, but im not sure sense I cant see your project!! are you getting any sort of message in the debugger?
@@dev-worm theres no problem with the hit box :c, I think is some calcularon in the frog chase code 😭
Thanks DevWorm!
thank you! of course!
Right on time with those pesky animation handles😂 doing a continuous swing with animatedsprite 2d proved to be nigh impossible for me😅
Great video. Thank you
thank you so much!! glad it helped!!
Thanks🌹
thanks!! of course!
nice job as always !!!
thank you so much!
Hey everyone ! nice tutorial ! thanks a lot for this new serie !! But, i'm kinda stuck with the randomize movement, when i launch the game, my enemy is not moving at all ! any idea ?
Problem solve ! just didn't turn on the "autostart" on timer, and forgot an "f" on shuffle... so silly...
haha those little mistakes are so annoying!! glad you got it all figured out!! goodwork!
haha so happy to hear that!
@@panpan6014 Dude u saved me!!!
Hey amazing video as always! I love watching how you explain things, helps me a lot. Could you possibly make a follow up on the inventory UI, and how to access those items? Thanks!
thank you so much!! Ill will look into it now!
bro, can you do rts?
Love the tutorials:) , but I had one problem, I did a print(dir) and it gives only (0, 0). So my randomized movement does not work at all. Does anyone know if I could be doing something wrong?
My choose func and stuff is -
func _on_direction_timer_timeout():
$DirectionTimer.wait_time = choose([1.5,2.0,2.5])
if !is_chasing:
dir = choose([Vector2.RIGHT, Vector2.LEFT])
velocity.x = 0
func choose(array):
array.shuffle()
return array.front()
but it doesn't work for some reason (?).
My Godot vers is 4.2.2
EDIT: I did it again and now it works, idk xd
glad to hear the edited line!! was it just a bug or something??
i am also facing same problem
👍
I guess third?😂
First
I had a problem with player chase chapter it says file not found for global Help!! Anyone
have you created a global script?? we created one earlier in this series!! but basically just create a script and call it "global.gd" then go into project settings > autoloads and autoload that script!!