Post

@CodeRed_dev Use the c# bindings
Join the dark side :D
English

@CodeRed_dev You want to write
var dirX : float = 0.0
or
var dirX := 0.0
In the second case it will cast it as a float. If you write := 0 instead it will cast it as an integer. Not everything can be automatically typecast like that, but most things can.
English

@CodeRed_dev ngl I do wish Godot ignored the f like it does the ; at the end of a line.
English





![otreblA_SNAKE_[ITA]](https://pbs.twimg.com/profile_images/1346463872937570304/EdbzIk2A.jpg)