OpenLLM-France/wikimedia huggingface dataset:
# Gambas/Text

Back to Gambas

## The Key Code Program

With this simple miniprogram you can check out the keycode of a button you have pressed. You only need a Form to get the program going. Once you started the program and you use a button on your keyboard, the keycode is printed in the terminal window.
The Code

## The Key Release Program

With this miniprogram you can check the arrow keys. When they are used and released a new information is shown.
You need a textbox to get the program going.
Once you started the program and you use an arrow key in the textbox, the content of the textbox will change.
The Code

## Input Restrictions

If you want a textbox to accept only digits you should use the command STOP EVENT.
Example
You need a textbox on your form to get it going.
Example2
You can reach nearly the same with the following code:
# Gambas/TextEditor

What you will need
* 1 Form.
* 1 TextArea.
* 2 Buttons.
The code.
Note: Ill finash this later.
# Gambas/Toolbox

Back to Gambas

## List

The gambas toolbox contains all the controls you can drop on a Gambas form. http://commons.wikimedia.org/wiki/File:Gambas_toolbox3.png
In the beginning you should get used to some of the tools.
* Try the textbox and textarea.
* Try the commandbutton.
* Try the drawingArea
* Try the timer.
They are important and the other ones are a lot easier, when you have learned to use these few in the beginning.
* Label
* Image
* TextLabel
* ProgressBar
* Button
* CheckBox
* RadioButton
* ToggleButton
* TextBox
* ComboBox
* TextArea
* ListBox
* ListView
* TreeView
* IconView
* GridView
* ColumnView
* Frame
* Panel
* TabStrip
* ScrollView
* DrawingArea
* Timer
* GambasEditor
* LCDNumber
* Dial
* SpinBox
* ScrollBar
* Slider
* TableView
* Splitter
* Workspace
The first one in the row, the Selection Tool, is rather useless. It isn't actually a control. The selection tool simply gives you the plain pointer back, with which you can select and operate on forms and their controls.
# Gambas/Subroutine

Subroutine in Gambas is a piece of code maintained as a block usable in many parts of your program. You need not write it twice. Routines can return a value depending on their return type. For instance we can return a String or Integer. Let's check the example below:
Later on we can use this subroutine in main program as:
We declare return type of subroutine after AS written in close relation to the name of subroutine as we can see in examples above. There are some built in subroutines connected with events of windowed program. Such a type is Form_Open fired when form opened. Special name for subroutines used in classes based on the object oriented principle is methods. To say it simple: Subroutine is reusable part of code. Another example in our code might be:
After creating of subroutine we can use it in similar way:
# Gambas/Useful Modules

Back to Gambas

## Useful Modules

All useful modules are grouped in components.
Try to master the Settings component at the beginning!
In project properties, in components, activate the gb.settings!
You can use it like this (for example, in a Form named FMain with a Label named Label1) :
# Gambas/VB

Back to Gambas

## See

The actual Gambas wiki (2006) http://gambasdoc.org/help/doc/diffvb
The old wiki, now static http://www.binara.net/gambas-wiki/static/Gambas/DifferencesFromVB.html
# Gambas/Variable

Back to Gambas

## Variable Declaration ( Dimensioning)

In Gambas it is necessary to declare every variable. To dimension a variable, the code is:
You can just skip the word Dim , so the following is also correct:
The variable name could be whatever you want. The type however has to be chosen. You have a choice of integer, string, variant and some others. This tells the computer what type of information the variable holds. Singles and integers hold numbers, while strings hold text.
In Gambas you cannot dim an array as you were used in VB. The following is wrong:
Dimensioning can also be used to tell the computer that variables are public or private. When a variable is public, it may be used and changed in all sub-programs. To make a variable public you must dim it in the "declarations" area of the code. These declarations are placed on the very first lines in your code, above all sub programs and other code.
Examples: You need a command button on your form to get it going.
The following program will cause an error: x already declared
In the following program you also cause some error warnings, as there is no difference between upcase and lowcase signs in Gambas.

## List of Gambas predefined datatypes for the declaration of variables

| Name | Description | Memory size | Default value |
| Boolean | True or False | 1 byte | False |
| Byte | 0 ... 255 | 1 byte | 0 |
| Short | -32768 ... +32767 | 2 bytes | 0 |
| Integer | -2147483648 ... +2147483647 | 4 bytes | 0 |
| Float | Like the double datatype in C | 8 bytes | 0.0 |
| Date | Date and time, each stored in an integer . | 8 bytes | Null |
| String | A reference to a variable length string. | 4 bytes | Null |
| Variant | Any datatype. | 12 bytes | Null |
| Object | A anonymous reference to an object. | 4 bytes | Null |

## Assignment

Once you have declared a variable , you can assign a value to it.
This will assign the value of an expression to one of the following elements :
* A local variable.
* A function parameter.
* A global (class) variable.
* An array slot.
* An object public variable.
* An object property.
Example

## Structures

Some versions of basic, allow structured variables to be created by using TYPE definitions as follows:
Currently, gambas does not support the TYPE keyword. However, it is possible to use class definitions for the same effect.

### Creating a class

From the Integrated Development Environment file, create a class file rhubarbstructure.class as follows:
It is now possible to define a variable utilizing that class, by creating an appropriate definition in the code module as follows:
# Guitar/Chord changes C-Am/Song Examples
### (6) Chord changes C-Am

* 500 Miles (Hedy West) (Folksong)
* Tom Dooley(Folksong)
* The Wild Rover (Irish Folk)
* Acres Of Clams
* The Raggle Taggle Gypsies
* YT Into the Night (Santana feat. Chad Kroeger) //: Am C G D ://
* YT Knockin' on Heaven's Door (Guns N'Roses, Bob Dylan u.a.m.) //: G D Am Am | G D C C ://
* YT It never rains in southern California (Albert Hammond) mostly Am D G G in the chorus once Am D G Em (Original: Capo 2nd fret)
* YT Riptide (Vance Joy) Am G C C (The intermediate section is simply left out until the F major chord)
* YT What's Up (4 Non Blondes) G G Am Am C C G G (Original: Capo 2nd fret)
* YT Stumblin' in (Chris Norman, Suzi Quatro) Am D G Em
Template:Notiz Kategorie:Bucheigene Vorlage Guitar
# Guitar/Campfire Diploma/ Navi Lessons

II. Lessons:  1) Forming the D chord • 4/4-beat • D-A 2) D-G • Major Cadence • Western Strumming • 3/4-beat 3) G-C-D • Fingering • Campfire Strumming 4) G-Em-C-D 5) Quick Chord Change 6) C-Am 7) Jumps Em-D / G-Am 8) Completion
# Open Chords

Open chords tend to sound "richer" than corresponding barre chords due to the fact that open strings resonate freely without any hindrance. Open chords typically sustain longer than their barre chord equivalent. An open chord is any chord that has one or more strings sounded without being fretted. Guitarists tend to use this name to refer to the chords that contain open strings that are played in the first position (first four frets).

## Open Major chords

* A major
* C major
* D major
* E major
* F major
* G major

## Open minor chords

* A minor
* D minor
* E minor

## Barre chords

Barre chords use a movable shape that can be shifted up in pitch and down in pitch along a string to give different keys.
* B major
* B minor
* F major
* F minor

## Open seventh chords

Seventh chords, strictly speaking from a music theory perspective, means any seventh chord, including major, minor, dominant seventh, diminished and so on. In a beginning guitar context, however, "seventh chord" often means a dominant seventh chord, which is a major triad with a flatted seventh. The G dominant seventh chord, or G7 chord, is the notes G, B, D and F.
* D7
* G7
* A7
* C7

## Chords in C major

* C major
* D minor
* E minor
* F major
* G major
* A minor
* B halfdim7
Note that the chords in the key of C major consists of 3 major chords, 3 minor chords and 1 diminished chord. This holds true for all major keys.
# Guitar/Chord changes G-C-D/Song Examples
### Chord changes G-C-D and Campfire strumming pattern

* She’ll Be Coming ’Round the Mountain
* My Grandmas Going Biking In The Hen House
* Oh, Susanna
* Banana Boat Song (Day-O)
* Oh Marry Don't You Weep
* Down by the riverside
* Banks of the Ohio
* Oh My Darling Clementine
* Cotton Fields more examples
* YT Down on the Corner (CCR) //:(G - D G)2x (C G D G)2x://
* YT Hotel Yorba (White Stripes) G C D G
* YT Ich und ein Fass voller Wein (Versengold) //:G - D - C D7 G D (4x) G - C - G - D - (2x) C D G -:// 3/4 (Capo=2)
* YT Leaving On A Jet Plane (John Denver) (!!!) //: G C G C - G C D D :// (D D C D)
* YT Lord I Lift Your name On High (Rick Founds) G C D C (6x) G / C D Em C/ D G C G
* YT Tom Dooly G - - D, - - - G
# Handbook of the Swatow Vernacular modernized/On Dress
## Lesson XVIII. on dress.

| Pêng'im | TL | Characters | English |
| san1kou3 | sann-khòu | 衫褲 | Clothes. |
| hog8sêg4 | hôk-sek | 服色 | Coloured clothes. |
| san1 | sann | 衫 | A coat. |
| ruah8san1 | zuâh-sann | 𤍠衫 | A Summer coat. |
| hiun5 | hiûnn | 裘 | A Winter coat. |
| dng5san1 | tn̂g-sann | 長衫 | A long coat. |
| dah4puê3 | tah-pùe | 答背 | A waistcoat. |
| gah4gian2 | kah-kiánn | 袷子 | A waistcoat. |
| sing1doi2san1 | sin-tói-sann | 身裡衫 | A shirt or singlet. |
| san1ng2 | sann-ńg | 衫袖 | Sleeves. |
| san1do7 | sann-tō | 衫袋 | Pockets. |
| ciu2bou3 | tshiú-pòu | 手布 | Handkerchiefs. |
| ciu2diu5 | tshiú-tiû | 手綢 | Handkerchiefs. |
| ciu2lab4 | tshiú-lap | 手套 | Gloves. |
| liu2 | liú | 鈕 | Buttons. |
| liu2pang7 | liú-phāng | 鈕鈸 | Button holes. |
| zang1sui1 | tsang-sui | 棕蓑 | A rain coat, made of husk. |
| bho7 | bō | 帽 | A hat. |
| bho7gian2 | bō-kiánn | 帽子 | A cap |
| siê2bho7 | sié-bō | 小帽 | A cap. |
| zin1bho7 | tsinn-bō | 氈帽 | A felt hat. |
| cao2bho7 | tsháu-bō | 草帽 | A straw hat. |
| goih8loih8 | koíh-loíh | 葵笠 | A bamboo-leaf hat. |
| am6nian2 | ăm-niánn | 頸領 | A collar. |
| kou3 | khòu | 褲 | Trowsers. |
| kou3tui2 | khòu-thúi | 褲腿 | Leggings. |
| kou2guêh8 | khòu-kuêh | 褲𰉗 | Short trowsers. |
| kou3tao5dua7 | khòu-thâu-tūa | 褲頭帶 | A belt. |
| kou3tao5lêng5 | khòu-thâu-léng | 褲頭龍 | A belt of silk. |
| dou2iê1 | tói-ie | 肚腰 | A purse worn on the waist. |
| ho5bao1 | hô-pau | 荷包 | A purse worn on the waist. |
| buêh8 | buêh | 襪 | Stockings. |
| ou1bou3oi5 | ou-pòu-ôi | 烏布鞋 | Shoes, black-cloth. |
| dng7oi5 | tn̄g-ôi | 綴鞋 | Shoes, satin. |
| huê1oi5 | hue-ôi | 花鞋 | Shoes, embroidered. |
| ca5oi5 | tshâ-ôi | 柴鞋 | Shoes wooden soled. |
| cao2oi5 | tsháu-ôi | 草鞋 | Straw sandals. |
| oi5tua1 | ôi-thua | 鞋拖 | Slippers. |
| giah8 | kiâh | 屐 | Clogs. |
| hia1 | hia | 靴 | Boots. |
| gim1kui3 | kim-khùi | 金器 | Jewellery. |
| si5biê1 | sî-pie | 時鏢 | A watch. |
| liêng7 | liēn | 鍊 | A chain. |
| ciu2zi2 | tshiú-tsí | 戒指 | A ring. |
| ciu2huang5 | tshiu-huân | 手環 | A bracelet. |
| hin6gao1 | hĭnn-kau | 耳鈎 | An ear-ring. |
| dêng2 | téng | 頂 | An official button. |
| siu3huê1 | siù-hue | 綉花 | Embroidery. |
| sin7 | sìnn | 扇 | A fan. |
| hou6suan3 | hŏu-sùann | 雨傘 | An umbrella. |
| cêng7san1kou3 | tshēng-sann-khòu | 穿衫褲 | To dress. |
| tng3san1kou3 | thǹg-sann-khòu | 脫衫褲 | To undress. |
| uan7san1kou3 | uānn-sann-khòu | 換衫褲 | To change clothes. |
| da2bang7 | tá-pān | 打扮 | To dress prettily. |
| pai5ciang3 | phâi-tshiâng | 排塲 | Gorgeous, well dressed. |
| gung1ze2 | kun-tsúr | 君子 | Gentlemanly. |
| zu1 | tsu | 珠 | Beads. |
| nian2 | niánn | 領 | A classifier of a coat &c. |
| diou5 | tiôu | 條 | A classifier of trowsers, belt, collar, handkerchief &c. |
| liab8 | liâp | 船 | A classifier of a button, (coat or official &c.) |
# Happiness/Compassion

If you want others to be happy, practice compassion. If you want to be happy, practice compassion.
-The Dalai Lama
Humans are social by nature. Early people lived in tribes, and our psychology reflects that. In more ways than one, the more that you give, the more you receive. A study has shown that people who volunteer are happier and healthier, regardless of income.

## References

* ↑ http://www.politicalstudies.org/pdf/pattie.pdf
# Handbook of the Swatow Vernacular modernized/Numeral
## Lesson 8
### Numeral

| Pêng'im | TL | English |
| zêg8, ig4 | tsêk, ik | 1 |
| non6, ri7 | nŏ, zī | 2 |
| san1 | sann | 3 |
| si3 | sì | 4 |
| ngou6 | ngŏu | 5 |
| lag8 | lâk | 6 |
| cig4 | tsik | 7 |
| boih4 | poih | 8 |
| gao2 | káu | 9 |
| zab8 | tsâp | 10 |
| zab8(4)ig4 | tsâp-ik | 11 |
| zab8(4)ri7 | tsâp-zī | 12 |
| zab8(4)san1 | tsâp-sann | 13 |
| zab8(4)si3 | tsâp-sì | 14 |
| zab8(4)ngou6 | tsâp-ngŏu | 15 |
| zab8(4)lag8 | tsâp-lâk | 16 |
| zab8(4)cig4 | tsâp-tshik | 17 |
| zab8(4)boih4 | tsâp-poih | 18 |
| zab8(4)gao2 | tsâp-káu | 19 |
| ri7zab8 | zī-tsâp | 20 |
| ri7zab8(4)ig4 | zī-tsâp-ik | 21 |
| ri7zab8(4)ri6 | zī-tsâp-zĭ | 22 |
| san1zab8 | sann-tsâp | 30 |
| zêg8(4)bêh4 | tsêk-peh | 100 |
| zêg8(4)bêh4 duan1ig4 | tsêk-peh tuann-ik | 101 |
| zêg8(4)bêh4 duan1ri7 | tsêk-peh tuann-zī | 102 |
| zêg8(4)bêh4 ig4(8)zab8 | tsêk-peh ik-tsâp | 110 |
| zêg8(4)bêh4 ig4(8)zab8(4)ig4 | tsêk-peh ik-tsâp-ik | 111 |
| zêg8(4)bêh4 ig4(8)zab8(4)ri6 | tsêk-peh ik-tsâp-zĭ | 112 |
| zêg8(4)bêh4 ri7zab8 | tsêk-peh zī-tsâp | 120 |
| non6(7)bêh4 | nŏ-peh | 200 |
| san1bêh4 | sann-peh | 300 |
| zêg8(4)coin1 | tsêk-tshoinn | 1000 |
| zêg8(4)coin1 lang5(7)duan1ig4 | tsêk-tshoinn lâng-tuann-ik | 1001 |
| zêg8(4)coin1 lang5(7)duan1ri6 | tsêk-tshoinn lâng-tuann-zĭ | 1002 |
| zêg8(4)coin1 lang5(7)ig4(8)zab8 | tsêk-tshoinn lâng-ik-tsâp | 1010 |
| zêg8(4)coin1 lang5(7)ig4(8)zab8ig4 | tsêk-tshoinn lâng-ik-tsâp-ik | 1011 |
| zêg8(4)coin1 lang5(7)ig4(8)zab8ri6 | tsêk-tshoinn lâng-ik-tsâp-zĭ | 1012 |
| zêg8(4)coin1 lang5(7)ri6 | tsêk-tshoinn lâng-zĭ | 1020 |
| coin1ig4 | tshoinn-ik | 1100 |
| coin1bêh4(8)duan1ig4 | tshoinn-peh-tuann-ik | 1101 |
| coin1bêh4(8)duan1ri6 | tshoinn-peh-duann-zĭ | 1102 |
| coin1bêh4(8)ig4 | tshoinn-peh-ik | 1110 |
| coin1bêh4(8)ig4(8)zab8(4)ig4 | tshoinn-peh-ik-tsâp-ik | 1111 |
| coin1bêh4(8)ig4(8)zab8(4)ri6 | tshoinn-peh-ik-tsâp-zĭ | 1112 |
| coin1bêh4(8)ri6 | tshoinn-peh-zĭ | 1120 |
| coin1ri6 | tshoinn-zĭ | 1200 |
| non6(7)coin1 | nŏ-tshoinn | 2000 |
| zêg8(4)bhuang7 | tsêk-būang | 10000 |
| zab8(4)bhuang7 | tsâp-būang | 100000 |
| zêg8(4)bêh4(8)bhuang7 | tsêk-peh-būang | 1000000 |
# Happiness/Awareness

When you meet someone better than yourself, turn your thoughts to becoming his equal. When you meet someone not as good as you are, look within and examine your own self. -Confucius
The first step required to change the way your mind works is to be aware of your thoughts. Only when you catch yourself in a negative thought process is it possible to consciously halt it. This is not something that can be achieved overnight; it requires practice and willpower.
# Happiness/Film and Television

Although television can be enjoyable to watch from time to time, often it is better to engage in your own creative pursuits rather than to passively watch a screen.
# Gambas/Websites

Back to Gambas
Nothing for now.
# Game Creation with XNA/2D Development/Menu and Help
## Menu and Help

Every game needs a game menu, and some games even provide help to the user. Since for many games they are quite similar it makes sense to think of what most games will need and give some samples here, so that they can be used with small modifications in our game. Menu's include Starting a new game, saving a game, configuring sound and input devices, etc. Help maybe context sensitive, or may simply show the use which controls could be used.

### Authors

Ich würde gerne dieses Thema bearbeiten : Rayincarnation, thonka
# Game Creation with XNA

* Status: This class project has finished, a thorough review is needed.
* This book is a collection of tutorials on game creation with Microsoft's XNA framework. It is a class project, started by students of international media informatics at HTW Berlin.

## Table of Contents

* Preface

### Basics

* Introduction
* Setup
* Visual Studio
* C#
* Game Loop
* Input Devices

### Game Creation / Game Design

* Introduction
* Types of Games
* Story Writing and Character Development
* Project Management
* Marketing, Making money, Licensing

### Mathematics and Physics

* Introduction
* Vectors and Matrices
* Collision Detection
* Ballistics
* Inverse Kinematics
* Character Animation
* Physics Engines

### Programming

* Introduction
* Visual Studio
* Git and Subversion
* Reusable Components
* Frameworks

### Audio and Sound

* Introduction
* XACT
* Creation
* Synthesizer
* Finding free Sounds

### 2D Game Development

* Introduction
* Texture
* Sprites
* Finding free Textures and Graphics
* Menu and Help
* Heads-Up-Display (HUD)

### 3D Game Development

* Introduction
* Primitive Objects
* 3D Modelling Software
* Finding free Models
* Importing Models
* Camera and Lighting
* Shaders and Effects
* Skybox
* Landscape Modelling
* 3D Engines

### Networking and Multiplayer

* Introduction
* Split-Screen
* Network and Peer-to-peer
* Network Engines

### Artificial Intelligence

* Introduction
* Artificial Intelligence in Games
* AI Engines

### Kinect

* Introduction
* Use Kinect to create Models

### Other

* Introduction
* Level Editors

### Appendices

* Glossary
* Resources
* Authors
* Licensing
# Game Creation with XNA/2D Development/Finding free Textures and Graphics
## Finding free Textures and Graphics

Where do I find textures and graphics on the internet? And how do I find the kind of graphics I need?
Also, important to consider: Under what licence are these graphics? What are the constraints for my software, such that I can use them? Where do I find 'for-sale' graphics, or where can I hire a designer to create custom graphics for my game?

### Authors

Ich würde gerne dieses Thema bearbeiten : Rayincarnation
# Game Creation with XNA/2D Development/Introduction
## Introduction

The simplest games are 2D games. Here you will learn about textures and sprites, how to find free textures and graphics on the internet, how to create menus and help screens for your games and Heads-Up-Display (HUD).

### More Details

Lore ipsum ...
# Game Creation with XNA/3D Development/3D Modelling Software
## 3D Modelling Software

There are many different 3D modelling programs. Some cost money, like Cinema4D or Maya, others are free (Sketchup) or even open source such as Blender. In this chapter we show how to exports static and dynamic models (animation) from these programs into XNA, what to worry about (such as scaling, maximum number of keyframes and/or bones, etc.), and what else can be done with those tools.
some Blender related links: http://www.blender.org/education-help/video-tutorials/ http://de.wikibooks.org/wiki/Blender_Dokumentation http://sopra.le-gousteau.de/BlenderTutorial http://www.youtube.com/user/super3boy#grid/user/DE37E771345BCC6F

### Authors

Manissel681
# Foundations and Assessment of Education/Edition 1/Foundations Table of Contents/Chapter 1/Editor Sign-Up Page

* Students...
* To sign up for an editor duty, click "edit this page", and sign your username (using four tildes) directly after the name of the duty you want to claim.
* Remember, each editor duty will be completed by only one student. This means, if a username appears next to a duty, that duty is not available. Please choose another editor duty in this or another chapter.
* EXAMPLE:
* Chapter Introduction PbakerODU (talk) 19:21, 11 May 2009 (UTC)
* This indicates that PbakerODU correctly signed up for this editor duty.

## Editor Duties

Chapter Introduction Afett001 (talk) 19:26, 12 May 2009 (UTC)
Chapter ReviewHcomb003 (talk) 15:33, 12 May 2009 (UTC)Heather Combs
Additional Resources
* Questions? Refer to How to Use This Book
# Foundations and Assessment of Education/Edition 1/Foundations Table of Contents/Chapter 1/In the News
## Educator as a Professional: In the News

Author: Regan Owens

## Learning Targets

* Rate This!
# Foundations and Assessment of Education/Edition 1/Foundations Table of Contents/Chapter 10

* Student Soapbox

## Effective Teaching

Chapter Introduction

## Special Features

Experts Take Sides
In the News
Chapter FAQ
The Scoop From Someone Who Knows

## Content Articles

10.1.1 -- Are teachers born or made?
10.2.1 -- Direct Instruction vs. Discovery Learning
10.3.1 --Differentiated Instruction: Teaching to Meet All Students' Needs
10.4.1 -- How Are ALL Students Smart?: The Theories of Multiple Intelligences and Emotional Intelligence
10.5.2 -- Cooperative Learning and the Social Nature of Learning
10.6.1 -- High Expectations for All Students
10.7.1 -- Life-Long Learning for Teachers

## Concluding Information

Chapter Review
Additional Resources
* CLICK HERE to sign up to be an AUTHOR of this chapter.
* CLICK HERE to sign up to be an EDITOR of this chapter.
* Questions? Refer to How to Use This Book
# Guide to the Godot game engine/Programming/GDScript/Manipulate scene tree

Guide to the Godot game engine
<-- Data types Manipulate scene tree Making nodes-->
Skip to bottom
So, you can add, rename, move and delete nodes in the editor. But how do you do it with code? This is such an important thing, yet it isn't obvious how to do it.

## Basic manipulation

This is how to create a bullet, add it to the scene, and delete it after 10 seconds:

### bullet.gd

queue_free: Deletes a node on the next frame, or after the node's script has finished.
add_child(node: Node): Adds node as a child of the node that the add_child was called on, providing node doesn't already have a parent.

## Advanced control

How do you close your game? How do you pause/unpause your game (the correct way)?
GDScript
* Global scope
* Keywords
* If statements
* If conditions
* Data types
* Manipulate the SceneTree
* Making nodes
* Tips and Tricks
# Guide to the Godot game engine/Programming/GDScript/Tips And Tricks

Guide to the Godot game engine
<-- Making nodes Tips And Tricks
Skip to bottom
* When writing code, try to add comments wherever you can, as it makes it easier to understand. Trust me, my first game never used comments, and I gave up on it. At the same time, don't use too many comments. Only add them when necessary.
* Remember: "less is more". When creating code, don't try to think ahead and add hundreds of things you think you will need later. Stick to the few things you need now.
* When optimizing your code, try using the profiler, found on the "Debugger" dock, which is found next to "Output" and "Animation".
* It helps to have "separator" comments in very large scripts (more than 1000 lines) that have different sections. Example:
    # ===================== # ===== Attacking ===== # =====================
GDScript
* Global scope
* Keywords
* If statements
* If conditions
* Data types
* Manipulate the SceneTree
* Making nodes
* Tips and Tricks
# Guide to the Godot game engine/Programming/GDScript/If conditions

Guide to the Godot game engine
<-- If statements If conditions Data types-->
Skip to bottom
These keywords are for if statements.

## not

The not keyword reverses the condition that is placed afterword.
As an alternative, you can use "!".

## and

The and keyword checks if the values before and after it are both true.

## or

The or keyword checks if a value before or after it is true.
GDScript
* Global scope
* Keywords
* If statements
* If conditions
* Data types
* Manipulate the SceneTree
* Making nodes
* Tips and Tricks