Projet de Game Jam pour GCC, ça sera un platformer, mais c'est tout ce qu'on sait pour l'instant
- Nemo D'ACREMONT (I1)
- Thomas Horrut (I1)
- Thomas Wanchai Menier (I1)
- nom: snake_case
Différentes règles:
- Constantes: ALL_CAPS
- Variables: snake_case
- classe: UpperCamelCase
- node godot: Pascal_Snake_Case
Lorsque créé une variable, toujours indiquer le type:
const TIMER_DURATION: float = 0.3
@onready var mon_timer: Timer = $Mon_Timer
@onready var animation_node: AnimatedSprite2D = $My_Animated_Sprit_2D
var is_moving: bool = false
- Accès à un attribut: obj.attribut (pas de getter)
- Modification d'un attribut: obj.attribut = jsp (pas de setter)
@onready var node = $Nom_De_La_Node ... jsp(node)