Text Input and Custom Fonts (Godot Retro Text Adventure Tutorial #2)
In this tutorial we add a LineEdit node so that we can collect text input from the player in our Zork-like retro text adventure in Godot. We go over some basic input handling and add a caret to our text input field to indicate where the user should type. We also go over how to import custom fonts into Godot engine, and use the imported font data to create new custom font resources we can use.
IBM Plex Mono: https://fonts.google.com/specimen/IBM+Plex+Mono
GDScript Style Guide: https://docs.godotengine.org/en/stable/getting_started/scripting/gdscript/gdscript_styleguide.html
This series is totally beginner friendly, but expects a bit of programming knowledge. Make sure to follow the official Godot tutorial first:
https://docs.godotengine.org/en/stable/getting_started/step_by_step/your_first_game.html
⌨️ Find the code on GitHub:
https://github.com/josephmbustamante/godot-text-adventure-tutorial
👋 Join the community Discord: https://discord.gg/e4BxZbe
☕️ If you find the content I make helpful, please consider supporting the channel: https://www.buymeacoffee.com/jmbiv
⏱ TIMESTAMPS
0:00 Intro
0:25 Adding a LineEdit node for player input
2:18 Running our game for the first time
3:48 Changing the window position when you run the game
5:55 Adding our first script to our input field
8:47 Making our input field focused by default
10:30 Proper GDScript style
11:29 Finding a custom font online
12:24 Importing our custom font into Godot
13:38 Introduction to Resources in Godot
14:28 Creating our custom font resource
18:35 Adding a caret to our input field
21:05 Limiting how much the user can type
22:09 Removing the blue focus box around our input field
23:03 Outro
🖥 MY GEAR*
LG UltraGear 27" QHD (Monitor): https://amzn.to/39eODOo
Samson G-Track Pro (Mic): https://amzn.to/3nyjbzQ
Samson 38" Mic Boom: https://amzn.to/35KtpXV
Samson SP04 Shockmount: https://amzn.to/3qbyobw
Pop Filter: https://amzn.to/3ozpXqn
Anker Q20 Headphones: https://amzn.to/3sfRfEc
MacBook Pro (2017, 15"): https://amzn.to/3hZgJkL
Magic Trackpad: https://amzn.to/39qomNk
CalDigit TS3 USB-C Dock: https://amzn.to/3q0frZw
WASD V2 87-Key Keyboard
* These are Amazon Affiliate links, so I may earn a commission if you use them to make a purchase. Thanks for supporting the channel!
🎵 MUSIC
"BETTER DAYS" by LAKEY INSPIRED
www.ChillOutMedia.com / www.LoFi-HipHop.com
License for commercial use: Creative Commons Attribution 3.0 Unported "Share Alike" (CC BY-SA 3.0)
https://creativecommons.org/licenses/by-sa/3.0/legalcode
Видео Text Input and Custom Fonts (Godot Retro Text Adventure Tutorial #2) канала jmbiv
IBM Plex Mono: https://fonts.google.com/specimen/IBM+Plex+Mono
GDScript Style Guide: https://docs.godotengine.org/en/stable/getting_started/scripting/gdscript/gdscript_styleguide.html
This series is totally beginner friendly, but expects a bit of programming knowledge. Make sure to follow the official Godot tutorial first:
https://docs.godotengine.org/en/stable/getting_started/step_by_step/your_first_game.html
⌨️ Find the code on GitHub:
https://github.com/josephmbustamante/godot-text-adventure-tutorial
👋 Join the community Discord: https://discord.gg/e4BxZbe
☕️ If you find the content I make helpful, please consider supporting the channel: https://www.buymeacoffee.com/jmbiv
⏱ TIMESTAMPS
0:00 Intro
0:25 Adding a LineEdit node for player input
2:18 Running our game for the first time
3:48 Changing the window position when you run the game
5:55 Adding our first script to our input field
8:47 Making our input field focused by default
10:30 Proper GDScript style
11:29 Finding a custom font online
12:24 Importing our custom font into Godot
13:38 Introduction to Resources in Godot
14:28 Creating our custom font resource
18:35 Adding a caret to our input field
21:05 Limiting how much the user can type
22:09 Removing the blue focus box around our input field
23:03 Outro
🖥 MY GEAR*
LG UltraGear 27" QHD (Monitor): https://amzn.to/39eODOo
Samson G-Track Pro (Mic): https://amzn.to/3nyjbzQ
Samson 38" Mic Boom: https://amzn.to/35KtpXV
Samson SP04 Shockmount: https://amzn.to/3qbyobw
Pop Filter: https://amzn.to/3ozpXqn
Anker Q20 Headphones: https://amzn.to/3sfRfEc
MacBook Pro (2017, 15"): https://amzn.to/3hZgJkL
Magic Trackpad: https://amzn.to/39qomNk
CalDigit TS3 USB-C Dock: https://amzn.to/3q0frZw
WASD V2 87-Key Keyboard
* These are Amazon Affiliate links, so I may earn a commission if you use them to make a purchase. Thanks for supporting the channel!
🎵 MUSIC
"BETTER DAYS" by LAKEY INSPIRED
www.ChillOutMedia.com / www.LoFi-HipHop.com
License for commercial use: Creative Commons Attribution 3.0 Unported "Share Alike" (CC BY-SA 3.0)
https://creativecommons.org/licenses/by-sa/3.0/legalcode
Видео Text Input and Custom Fonts (Godot Retro Text Adventure Tutorial #2) канала jmbiv
godot godot engine godot 3.2 godot tutorial godot 2d how to make a game in godot game development game development tutorial game development for beginners godot for beginners game dev indie game dev how to make video games how to godot gamedev godot game engine godot text adventure godot text adventure tutorial godot text godot input godot user interface godot control node godot control first godot game my first godot game godot beginner tutorial
Комментарии отсутствуют
Информация о видео
9 февраля 2021 г. 19:15:05
00:23:56
Другие видео канала




















