Wow it’s almost like the solution…. Would be mandating that people read the FAQ…. And having posts that ask questions in the FAQ taken down automatically.
Obviously people are still not going to know things and ask questions that a hundred thousand other people have asked, but if we can catch 9 out of 10 of those before they post, we’re going to massively cut down on the “can Godot do X” spam this sub gets
As someone who uses new Reddit, it can be displayed. Probably just under a different setting. I have a feeling most of the people asking these questions also use new Reddit so it’d be worth looking at
I mean I think that section of the FAQ should go into detail about different types of games, otherwise it would be redundant. And yeah, there would be something in there for if it absolutely DOES NOT answer your question. Maybe at the bottom it says like “if you did not see the type of game mentioned here, please make a post and include the word ‘transient’ in the title” just to make sure people had read it
I think that’s why it would be important to sticky it, and also make a rule (maybe regulated by automod) that takes down questions in the FAQ. There’s nothing wrong with needing to know something, but I’m just so tired of all of the spam.
Fair enough lmao. Let me give you a tip for the formatting!
Reddit uses Markdown (or it does when you aren’t using the Fancy-pants editor) for posts, so when writing a greentext you have two options:
Enclose it in a set of 3 tildes (```), which turns it into a codeblock
Put backslashes before the angular brackets at the start of lines (\> like so), as otherwise it’ll become a quote block. Additionally put backslashes at the ends of lines (like this\) to make it so that the newline is escaped, and treated as a line break rather than a space, which is what a single newline is by default in markdown
Haha, yeah. Using a certain framework will always cause your mind to think of things in terms of the opinions of that framework. It’s always a matter of remembering what you’re using and moving to those terms, like as a minor example switching to thinking of true and false as True and False when you use Python.
While that is possible (and something that I’ve done before for more complex things), creating a class and then adding an instance of said class every time you want to call a function is a bit…. Annoying. Say you had a function with four arguments, here are three ways that could look.
func do_something(data: DoSmthClass) -> void:
# we don’t need to do any safety checks, but we did allocate memory for a whole class. Not all that bad in Godot but not ideal when just calling a function.
func call_do_something() -> void:
var obj := DoSmthClass.new()
obj.param1 = 7
obj.param3 = false
class DoSmthClass:
extends RefCounted
var param1 :int = 0
var param2: String = “”
var param3: bool = true
var param4: Vector2 = Vector2.ZERO
As we can see, for this method, every time we want to call the function we need to
Create an object
Set parameters on the object
Call the function
Alright, not the worst, but there are nicer ways to do it.
func do_something(data: Dictionary) -> void:
# we need to check that every parameter is valid and of the correct data type.
var param1 :int = 0
var param2: String = “”
var param3: bool = true
var param4: Vector2 = Vector2.ZERO
if data.has(“param1”):
if typeof(data.param1) == TYPE_INT:
param1 = data.param1
if data.has(“param2”):
if typeof(data.param2) == TYPE_STRING:
param2 = data.param2
# and so on…
func call_do_something() -> void:
do_something({“param1”: 7, “param3”: false})
Okay, now let’s see the way that I would do it.
func do_something(param1 := 0, param2 := “”, param3 := true, param4 := Vector2.ZERO) -> void:
# we don’t need to do any safety checks. We know all the data will be here.
func call_do_something() -> void:
do_something(7, “”, false)
It can get unwieldy in larger functions, but if you have like ten different arguments you may want to call for a function…. You should probably split that function up.
True, but also that can be a fucking nightmare of boilerplate spaghetti to make sure the game doesn’t crash when you access a value in the dictionary that doesn’t exist
Personally how I would do this is something like the following:
Raycast to find edge of wall
Use Area2D to check if there’s a wall at the position every x units along the line, until either it gets a free space, or it’s gone the farthest distance you want it to go.
If it’s a free space, tween the player’s position between those two locations with whatever effects you want (make sure to turn off collisions during the dash)
This is legitimately more progress than I made with my first three months in the engine. I think you just have completely unrealistic expectations of how long things take, probably from Youtube devlogs. Pro tip: those things are full of shit, and are pretty much always lying in terms of how long things take.
It's not necessarily the most intuitive program, but what can you expect when you hastily slap some non-editor tools on something you never planned to release? :p
We gotta pin this….
Cruelty squad is probably the most famous Godot game
Just make sure to timestamp it thoroughly.
Wow it’s almost like the solution…. Would be mandating that people read the FAQ…. And having posts that ask questions in the FAQ taken down automatically.
Obviously people are still not going to know things and ask questions that a hundred thousand other people have asked, but if we can catch 9 out of 10 of those before they post, we’re going to massively cut down on the “can Godot do X” spam this sub gets
As someone who uses new Reddit, it can be displayed. Probably just under a different setting. I have a feeling most of the people asking these questions also use new Reddit so it’d be worth looking at
This might be the way to go. We just need SOMETHING to cut down on the number of posts like this
Yeah, someone should make a PR to the docs for that. I’d do it, but I have exactly zero experience with Godot and C#
I mean I think that section of the FAQ should go into detail about different types of games, otherwise it would be redundant. And yeah, there would be something in there for if it absolutely DOES NOT answer your question. Maybe at the bottom it says like “if you did not see the type of game mentioned here, please make a post and include the word ‘transient’ in the title” just to make sure people had read it
I think that’s why it would be important to sticky it, and also make a rule (maybe regulated by automod) that takes down questions in the FAQ. There’s nothing wrong with needing to know something, but I’m just so tired of all of the spam.
The ctrl+shift+E thing I didn’t know, thanks!
4.1+!
That’s horrible and perfect thank you
Fair enough lmao. Let me give you a tip for the formatting!
Reddit uses Markdown (or it does when you aren’t using the Fancy-pants editor) for posts, so when writing a greentext you have two options:
\> like so), as otherwise it’ll become a quote block. Additionally put backslashes at the ends of lines (like this\) to make it so that the newline is escaped, and treated as a line break rather than a space, which is what a single newline is by default in markdown> be OP > Use Fedora (which uses gnome) > Nuke gnome > Install awesomeWM > Make it look like gnome
if you’re gonna write a greentext, make it a greentext
They’re working on it
Haha, yeah. Using a certain framework will always cause your mind to think of things in terms of the opinions of that framework. It’s always a matter of remembering what you’re using and moving to those terms, like as a minor example switching to thinking of
trueandfalseasTrueandFalsewhen you use Python.While that is possible (and something that I’ve done before for more complex things), creating a class and then adding an instance of said class every time you want to call a function is a bit…. Annoying. Say you had a function with four arguments, here are three ways that could look.
As we can see, for this method, every time we want to call the function we need to
Alright, not the worst, but there are nicer ways to do it.
Okay, now let’s see the way that I would do it.
It can get unwieldy in larger functions, but if you have like ten different arguments you may want to call for a function…. You should probably split that function up.
True, but also that can be a fucking nightmare of boilerplate spaghetti to make sure the game doesn’t crash when you access a value in the dictionary that doesn’t exist
I’m trying but I don’t really know C++ ;-(
Love it! Only query is why you swapped around the scene tabs and editor tabs
Personally how I would do this is something like the following:
Came here to say IWBtG lmao
Yes! This is the kind of thing that makes perfect sense in a settings menu
This is legitimately more progress than I made with my first three months in the engine. I think you just have completely unrealistic expectations of how long things take, probably from Youtube devlogs. Pro tip: those things are full of shit, and are pretty much always lying in terms of how long things take.
Github link
Itch link
It's not necessarily the most intuitive program, but what can you expect when you hastily slap some non-editor tools on something you never planned to release? :p