Coding C# vs Gdscript in Godot 4 ~ Example Differences, Advantages & Disadvantages
Chris' Tutorials
Rough guide comparing how C# is coded in Godot 4 compared to modern Gdscript. The video covers some of the weaknesses of both. Note that in Godot you can cross script between the languages so picking only one is not required for your projects.
Godot 4 Plugins (Gdscript) World Time Plugin ➣ https://linktr.ee/worldtimeplugin Item Drops Plugin ➣ https://linktr.ee/itemdrops Grid Building Plugin ➣ https://linktr.ee/gridbuilder
➣ Downloadable Assets, Video Courses, and Other Places to Follow Me https://linktr.ee/ChrisTutorials https://ko-fi.com/christutorials https://patreon.com/christutorials https://chris-tutorials.itch.io/
➣ Art Used in Demos and Devlogs https://chris-tutorials.itch.io/gatherers-exterior-pack https://butterymilk.itch.io/tiny-wonder-forest https://crusenho.itch.io/complete-gui-essential-pack
00:00 - What to Expect 00:25 - Abstract Gdscript vs C# Interfaces 05:19 - PascalCase for C# 06:26 - Implementing IPlayer in C# Player Class 08:10 - Gdscript Filter Array 10:49 - Private Public Accessibility C# vs Gdscript 15:35 - C# LINQ Array Collections Filtering 18:52 - Abstract Class Inheritance C# 22:22 - Exporting Properties and Building C# Project 24:16 - C# Classes Missing from Add Node / Resource Menus 29:45 - Signals (Events) Gdscript vs C# 38:34 - Wrapup ... https://www.youtube.com/watch?v=r0xAAntDV_s
142674125 Bytes