kidscancode / godot_recipes

Lessons, tutorials, and guides for game development using the Godot game engine.
MIT License
240 stars 37 forks source link

Update 4.0 `file_io.md` to use `FileAccess` API #123

Closed bpseudopod closed 1 year ago

bpseudopod commented 1 year ago

The File class no longer exists in Godot 4.0, being replaced with the FileAccess class. FileAccess makes it easier to open files, and closes files automatically when it leaves scope. file_io.md for 4.0 has been updated to reflect the new API.

cbscribe commented 1 year ago

Superseded by later edits. Thanks!