True or false: Computers are very intuitive and can interpret vague instructions
Verdadero o falso: las computadoras son muy intuitivas y pueden interpretar instrucciones vagas.
False!
Computers need very specific instructions and they require specialized computer programming languages
True or false: Errors are your friends
Verdadera o falsa: Los errores son tus amigas
True!
Errors teach us how to solve problems, and enlighten on what works and what doesn't in the context of computer programming
True or false: The older coders were terrible and their work is trash. We don't use any of it
Verdadero o falso: los programadores mayores eran terribles y su trabajo es basura. No usamos nada de eso.
False!
All of the coding we do is based on previous developers who worked hard to make our leaves easier
Define a function
A sequence of instructions for a computer program
True or false: When we are coding, we are in charge and tell the computer what to do.
Verdadero o falso: cuando codificamos, estamos a cargo y le decimos a la computadora qué hacer.
True!
Computers are not that smart, and are reliant on humans to build the programs that make computers function
What is the importance of error messages?
¿Cuál es la importancia de los mensajes de error?
They help to explain what is wrong with our code so we can fix it.
Some error messages are very cryptic and weird. The GDQuest tutorial error messages are meant to provide very clear instructions, unlike many other error messages that we encounter as coders
True or false: We still use a lot of older existing code
Verdadero o falso: todavía utilizamos mucho código existente más antiguo
True!
A lot of the functionality of the code we use is based on older code that is sitting there in the backend. We might not be able to see it, but it's there
True or false: You don't need to name a function if you want to call it
Verdadero o falso: no es necesario nombrar una función si desea llamarla
False!
Functions need a name if you want to call it
However, you don't need to name a function if it not called in another context
Most computer programming languages are [similar/different] ?
¿La mayoría de los lenguajes de programación de computadoras son [similar/diferente]?
Similar!
True or false: As long as we fix about 50% of our errors, the program should be fine 😀
Verdadero o falso: siempre que solucionemos aproximadamente el 50% de nuestros errores, el programa debería estar bien 😀
False!
We want to try and fix ALL of our errors
How do you call a function?
¿Cómo se llama a una función?
We write the name of the function and then use opening and closing parentheses "()"
How do you define a function with GDScript?
¿Cómo se define una función con GDScript?
You type "func", add a space, write the name of the function, add opening and closing parantheses, and then finally end with a colon
True or false: Computer programming is something that only people born with special talents can do? If you are not born with this special talent, it doesn't matter how much you practice it. You'll never become an expert :-(
Verdadero o falso: ¿La programación informática es algo que sólo pueden hacer las personas que nacen con talentos especiales? Si no naces con este talento especial, no importa cuánto lo practiques. Nunca te convertirás en un experto :-(
FALSE!
Anyone can learn how to code! It just takes practice, patience, and time – a willingness to learn
True or false: Some errors that we encounter with GDScript and Godot can physically destroy your computer, so we have to be careful
Verdadero o falso: Algunos errores que encontramos con GDScript y Godot pueden destruir físicamente tu computadora, por lo que debemos tener cuidado.
FALSE!
Nothing we encounter with our game design will damage the computer, so don't worry about it
What is an "argument" in computer programming
¿Qué es un "argumento" en programación informática?
A value (number, text, etc) that changes how the function behaves
Can the name of a function have spaces?
¿Puede el nombre de una función tener espacios?
Nope!
No spaces for names of functions. Typically names in programming languages, in general, cannot have spaces. Think about names of variables – they don't have spaces either.
What is the language we will use while developing games on Godot?
¿Cuál es el lenguaje que usaremos al desarrollar juegos en Godot?
GDScript!
Godot can also employ C#, but we will use GDScript for the most part
If we use "#" symbol, what does this do? Why do we use it?
Si usamos el símbolo "#", ¿qué hace esto? ¿Por qué lo usamos?
It nullifies the code and we typically use it for messages or instructions
If I want to rotate a character 0.7 inside the function "run" below, what do I need to write?
Verdadero o falso: si quiero rotar un carácter 0.7 dentro de la función "ejecutar" a continuación, ¿qué necesito escribir?
func run():
???????
rotate(0.7)
This is a legit name for a function:
Este es un nombre legítimo para una función:
func the_Best_Zip_415
Yep! It works
Function names can have letters, underscores, and numbers in them, but you cannot start with a number