Y

YouLibs

Remove Touch Overlay

Godot 3.2: Let's Build a 2D Platformer!: Part 12 (Coin HUD, Custom Signals & Fixing Double-Collect)

Duration: 40:19Views: 30.3KLikes: 1.3KDate Created: Jun, 2020

Channel: BornCG

Category: Education

Tags: gamecodeplatformergdscriptgodotenginedisplaylessonprogramplatformbeginnerenginehudtutorialcollectgodotheads-upjumpcoin

Description: Thanks for watching! In this Godot Game Engine tutorial I cover: - Adding a "Heads Up Display" (a HUD) to our game that always stays on screen in a game level showing information to the player: In this case, the number of coins collected. - Adding a CanvasLayer node. - How to use Several "Control"-type nodes in Godot, including: Panel, ImageRect, Label - How to use imported fonts to create text on screen - How to manipulate the text of an on-screen label to change its text in-game to the value of a variable (the number of coins) - Using the _ready() function on a node to perform an action when the item loads (assign a variable's value to the text of a label) - How to create and use custom signals in Godot (so a coin scene instance can send a signal to another object in a level scene). - Fixing the problem in our game where a coin can be collected twice by quickly moving in-and-out-and-back-in to the coin as it's bouncing upward #godotengine #gamedev Play the Platformer Game Online Now!: borncg.itch.io ***************** DONATE to support my channel via PayPal: goo.gl/ThkwyG **************** DOWNLOAD the .zip file HUD coin .png image & FONT (Balsamiq Sans) .ttf file: Download Mirror 1: bit.ly/3MG7OCC Download Mirror 2: bit.ly/2B9RYBs ( find more game assets at kenney.nl ! ) [not a sponsor] **************** LIKE and FOLLOW me on: FACEBOOK: facebook.com/BornCG INSTAGRAM: instagram.com/born.cg FOLLOW me on TWITTER: twitter.com/BornCG Reddit: reddit.com/u/BornCG ********************************** Visit my Godot 3 Tutorial Series playlist!: youtube.com/playlist?list=PLda3VoSoc_TSBBOBYwcmlamF1UrjVtccZ Visit my Blender 2.8 Tutorial Series playlist: youtube.com/playlist?list=PLda3VoSoc_TRuNB-5fhzPzT0mBfJhVW-i Visit my Blender 2.7 Tutorial Series playlist: youtube.com/playlist?list=PLda3VoSoc_TR7X7wfblBGiRz-bvhKpGkS Also check out my Blender Game Engine Basics Series playlist: youtube.com/playlist?list=PLda3VoSoc_TSS7ht07sCt8zDCyAenOG6i My Blender Video Effects Playlist: youtube.com/playlist?list=PLda3VoSoc_TQQYZfHuzWtEjh11OTEKXBK My Character Rigging (Minecraft) Mini-Series Playlist: youtube.com/playlist?list=PLda3VoSoc_TRWPzZHPqJlHfS0kOeQzQUQ **************** Nicolas from the band 'The Lazy Saviours' created my Intro Jingle! Check out his band's album here: on Amazon: amzn.to/2CID1nz on iTunes: apple.co/2QgqHOU [not a sponsor] ****************

Swipe Gestures On Overlay