Build a Top-Down 2D GODOT RPG in 20 Minutes!

Build a Top-Down 2D GODOT RPG in 20 Minutes!

Andrew Hoffman

2 года назад

242,974 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@maskedtitan9164
@maskedtitan9164 - 28.04.2022 15:21

You deserve a subscribe

Ответить
@yiggdrasile
@yiggdrasile - 23.10.2024 10:40

Any chance on making an up to date version with the latest version of Godot? I can't speak for others, but I know I would GREATLY appreciate it!

Ответить
@riftjumper
@riftjumper - 28.09.2024 19:06

man u barely show anything and u too fast. where do i drag what? our layout may be different than yours... its so annoying.

Ответить
@jaeaur
@jaeaur - 26.09.2024 04:15

thanks!

Ответить
@tokenknob
@tokenknob - 05.09.2024 05:20

Followed along with this recently, there are some changes between the version of Godot that was used and Godot 4 which I used. However once you figure out the new tileset/tilemap controls and make sure to use the character2d instead of the kinematic node type then it works pretty well for learning.

Ответить
@mattboxprod
@mattboxprod - 28.08.2024 04:36

This was wildly difficult for me because of the different versions. I figured some stuff out slowly, but there are some issues I can't resolve without ending up in a deep rabbit hole of functions.

Ответить
@ghad6799
@ghad6799 - 08.08.2024 07:11

What about people WITH programming experience, surely I can avoid ui stuff by coding right? But no one talks about full customizability with code

Ответить
@jka1277
@jka1277 - 05.07.2024 10:32

Can't see "current" in camera 2D is there an alternative to that check box?

Ответить
@HuffleRuff
@HuffleRuff - 04.07.2024 08:28

Damn you really hammer that enter key lol

Ответить
@Smiff248
@Smiff248 - 27.06.2024 01:18

Somehow on the player script line 26 doesnt work it says error and i dont know why and how i should fix it ive tried so long now but nothing seems to work.

Ответить
@antodarell-brown6516
@antodarell-brown6516 - 11.06.2024 17:58

does anyone know how to add a sprint input for the code used here?

Ответить
@mrmonsterz644
@mrmonsterz644 - 06.06.2024 06:21

Line 26:Function "move_and_slide()" not found in base self.

Ответить
@mrmonsterz644
@mrmonsterz644 - 06.06.2024 06:20

Line 26: Function "move_and_slide()" not found in base self.

Ответить
@RuthlessMetalYT
@RuthlessMetalYT - 02.06.2024 20:20

where did you get those keybindings from? there's none in my godot.

Ответить
@tomwilson2112
@tomwilson2112 - 08.05.2024 08:02

Those LOUD dings when the speech is barely audible. This really needs an editing pass on the audio.

Ответить
@assymptoad4989
@assymptoad4989 - 02.04.2024 05:59

fix the audio levels on your dings and clicks and what not

Ответить
@Topher_lope
@Topher_lope - 31.03.2024 06:47

Wish this was updated :(

Ответить
@origenydestino13
@origenydestino13 - 09.03.2024 12:37

A fantastic video for those who are impatient to see their assets come to live fast and even for a free evening where you want to make a game for yourself. Magnificent to get hyped and keep learning, without all the initial hassle of reviewing thousand settings, their usage and such. Subscribed, well deserved!

Ответить
@JoeBlac
@JoeBlac - 23.02.2024 13:56

If you're making this tutorial with Godot 4.x some nodes and resources names have changed, eg KinematicBody2D has become CharacterBody2D. You can find the changes between versions in the Godot docs "Migrating to a new version"

Ответить
@LiamR90
@LiamR90 - 24.01.2024 21:56

Looks good but this video was too fast, too zoomed out and not really a step by step. Mister Taft Creates made a similar series for Unity but it was much slower and broken down over several videos

Ответить
@mr.j36b82
@mr.j36b82 - 19.01.2024 03:06

tutorial isnt great, mainly because you do things without explaining what you did to do it like saving the scene early on in it, and you either have text on screen or are too zoomed out to see what you're doing. because of this, its impossible for me to follow what you're doing.

Ответить
@Always.Smarter
@Always.Smarter - 14.01.2024 01:45

a bit of a stretch calling this an RPG but i wish you would do more advanced tutorials and provide a github link for what you have posted

Ответить
@asdqwe4427
@asdqwe4427 - 07.01.2024 10:50

What was direction for?

Ответить
@ufoyyyccc1040
@ufoyyyccc1040 - 29.12.2023 15:24

For some of you having trouble here's a working script by Chatgpt:
extends KinematicBody2D

var velocity : Vector2 = Vector2()
var direction : Vector2 = Vector2()

func read_input():
direction = Vector2() # Reset the direction vector

if Input.is_action_pressed("up"):
direction.y -= 1

if Input.is_action_pressed("down"):
direction.y += 1

if Input.is_action_pressed("left"):
direction.x -= 1

if Input.is_action_pressed("right"):
direction.x += 1

velocity = direction.normalized() # Normalize the direction vector
velocity = move_and_slide(velocity * 200)

func _physics_process(delta):
read_input()

Ответить
@timflatus
@timflatus - 25.12.2023 18:33

In British English actually GOD-oh, in French (arguably the "correct" pronunciation) both vowels are pronounced the same. God-OH is also acceptable. GO-dot just sounds like a pixel-based race game. 🤣 The name has something to do with French military boots and racing cyclists. Didi and Gogo's bowler hats are an optional reference to early Hollywood slapstick. Now you know.

Ответить
@MayaKulpa
@MayaKulpa - 22.12.2023 14:21

the dings are awful my man, turn em down my guy. I liked the video though!

Ответить
@TheKrensada
@TheKrensada - 14.12.2023 08:51

There's gotta be a simpler way to code for player input.

Ответить
@coyohti
@coyohti - 16.11.2023 22:52

Immediate thumbs up for having taken the time to learn how Godot is pronounced. It shows an admirable level of attention to detail. Thank you.

Ответить
@richardhelliwell3770
@richardhelliwell3770 - 10.11.2023 13:18

Excellent stuff, your a little bit quick, so a lot of pausing and going back to catch just what your doing, but looking forward to checking out your other videos. As a note to others, this is a GODOT 3 tut, a few things have changed in v4, one to look out for is KinematicBody2D is now called CharacterBody2D took me a while to find that!!

Ответить
@DoubO_
@DoubO_ - 07.11.2023 18:53

You are amnazing

Ответить
@jordanlobo8512
@jordanlobo8512 - 05.11.2023 22:01

awesome video, but please tone down the sfx, I had to crank up the volume because your voice is silent, then ill be deafened because of the ping sfx you used

Ответить
@NexusBaum
@NexusBaum - 26.10.2023 14:01

Everyone is wrong on pronouncing Godot. :P

Ответить
@m1lan417
@m1lan417 - 03.09.2023 09:54

speak louder dawgg cant hear shit

Ответить
@Enton1337
@Enton1337 - 22.07.2023 18:29

Hi, I've not seen you before and found you by searching stuff on godot. I tried watching your video. Your voice is substantially lower than the occasional "ding" sound when you show text. If I turn up your voice enough to hear you, the "ding" becomes annoyingly loud. Otherwise, I can't understand you. My suggestion would be to remove that ding sound altogether as it adds nothing. Sadly, I had to stop watching.

Ответить
@EleventhFloorBelfry
@EleventhFloorBelfry - 14.06.2023 17:53

Deprecated.
KinematicBody2D has been replaced by CharacterBody2D, and move_and_slide() refuses to work with it.

Ответить
@theinktician
@theinktician - 06.06.2023 11:31

i dont think i have the right one. Options are missing throughout the tilemap part. I'll have to come back later. Its 4am

Ответить
@TheAnkiitu12
@TheAnkiitu12 - 04.04.2023 06:44

Is there something different between 3.4.2 and 3.4.4, because this code, specifically the player movement code, does not work.

Ответить
@its.maestro
@its.maestro - 26.03.2023 20:42

can you make a tutorial on adding background music and sound effexts

Ответить
@satidseenun1724
@satidseenun1724 - 19.03.2023 18:47

thank you so much

Ответить
@yt_superman7383
@yt_superman7383 - 16.03.2023 18:47

talk about lackluster

Ответить
@PDilling
@PDilling - 20.02.2023 05:59

I just can't get the camera to work for some reason and the move_and_slide function keeps causing a error. XD

Edit: Ok, I figured out what happened to the camera, it was just the main scene that was defined incorrectly, if someone has an issue with the camera like me you can fix it by selecting the main scene as your world.

And it turns out that move_and_slide only works if you "extends" from the "kinematicBody2D" at the top, yeah I had left it as "extends node" XD

Ответить
@toxidev4899
@toxidev4899 - 10.02.2023 06:15

This Was So Helpful! If It Wasn't For This I Wouldn't Be Using Godot.

Ответить
@szotking
@szotking - 08.02.2023 21:48

GUYS I SEE YALL (me too) HAD A PROBLEM WITH MOVEMENT. HERE IS A SCRIPT TO MAKE IT WORK

extends KinematicBody2D

export (int) var speed = 200

var velocity = Vector2()

func get_input():
velocity = Vector2()
if Input.is_action_pressed("right"):
velocity.x += 1
if Input.is_action_pressed("left"):
velocity.x -= 1
if Input.is_action_pressed("down"):
velocity.y += 1
if Input.is_action_pressed("up"):
velocity.y -= 1
velocity = velocity.normalized() * speed

func _physics_process(delta):
get_input()
velocity = move_and_slide(velocity)

------------------------------------------------------------------------------------------
it was on official godot docs :)) have a great day yall

Ответить
@Maltebyte2
@Maltebyte2 - 24.01.2023 11:47

Thank you soo much for making these videos!

Ответить
@stevensims3342
@stevensims3342 - 13.01.2023 18:41

Thanks for the video though I must say I have a friend like you who really SMACKS that enter key ✌😂

Ответить
@wonderincgames
@wonderincgames - 13.01.2023 18:16

Thank you so much! You helped me a lot! I can't thank you enough, so.... New subscriber!

Ответить
@mangonauts6464
@mangonauts6464 - 12.01.2023 23:30

Couldn't figure out why my code wasn't working even though mine's pretty much a copy of the example. Then, figured out that apparently the amount of indentation a line has plays a part in whether the code works or not.

Ответить