mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.6K
active users

#class_name

0 posts0 participants0 posts today
dbat :godot:<p>Updated my class hacks code on my wiki:</p><p><a href="https://gitlab.com/dbat/lessons-in-dev/-/wikis/Class-Hacks-in-Godot" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">gitlab.com/dbat/lessons-in-dev</span><span class="invisible">/-/wikis/Class-Hacks-in-Godot</span></a><br />🦇 <br /><a href="https://mastodon.gamedev.place/tags/godotengine" class="mention hashtag" rel="tag">#<span>godotengine</span></a> <br /><a href="https://mastodon.gamedev.place/tags/godot_class_name_revolt" class="mention hashtag" rel="tag">#<span>godot_class_name_revolt</span></a> <br /><a href="https://mastodon.gamedev.place/tags/class_name" class="mention hashtag" rel="tag">#<span>class_name</span></a></p>
dbat :godot:<p><a href="https://mastodon.gamedev.place/tags/godotengine" class="mention hashtag" rel="tag">#<span>godotengine</span></a> <a href="https://mastodon.gamedev.place/tags/gdscript" class="mention hashtag" rel="tag">#<span>gdscript</span></a> <a href="https://mastodon.gamedev.place/tags/class_name" class="mention hashtag" rel="tag">#<span>class_name</span></a> <a href="https://mastodon.gamedev.place/tags/hacks" class="mention hashtag" rel="tag">#<span>hacks</span></a> </p><p>Here&#39;s the code I am using (and iterating) to imitate many of the functions of ClassDB for custom classes.</p><p>User beware!</p><p><a href="https://gitlab.com/dbat/lessons-in-dev/-/wikis/Class-Hacks-in-Godot" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">gitlab.com/dbat/lessons-in-dev</span><span class="invisible">/-/wikis/Class-Hacks-in-Godot</span></a></p><p>HTH<br />🦇</p>
dbat :godot:<p><a href="https://mastodon.gamedev.place/tags/GodotEngine" class="mention hashtag" rel="tag">#<span>GodotEngine</span></a> </p><p>You know all that cool stuff you can do with built-in classes?</p><p>We want to do the same stuff with custom classes.</p><p>Seriously.</p><p><a href="https://mastodon.gamedev.place/tags/godot_class_name_revolt" class="mention hashtag" rel="tag">#<span>godot_class_name_revolt</span></a><br /><a href="https://mastodon.gamedev.place/tags/class_name" class="mention hashtag" rel="tag">#<span>class_name</span></a> <a href="https://mastodon.gamedev.place/tags/gdscript" class="mention hashtag" rel="tag">#<span>gdscript</span></a></p>
dbat :godot:<p>Godot 4 Question<br />----------------<br />Context: Writing an Addon in gdscript.<br />Aim: Create scripts at runtime &amp; have class_name registered.</p><p>I need to make scripts like:<br />class_name Foo<br />extends Resource</p><p>and:<br />class Bar<br />extends Foo</p><p>Hence Foo and Bar must be &#39;known&#39; by Godot.</p><p>I can make, write and new() the scripts but Godot does not recognize the class names.</p><p>Any ideas? Super stuck. 😔 </p><p><a href="https://mastodon.gamedev.place/tags/godotengine" class="mention hashtag" rel="tag">#<span>godotengine</span></a> <a href="https://mastodon.gamedev.place/tags/class_name" class="mention hashtag" rel="tag">#<span>class_name</span></a> <a href="https://mastodon.gamedev.place/tags/gdscript" class="mention hashtag" rel="tag">#<span>gdscript</span></a></p>