godotengine / godotengine/godot-docs

Fix the documentation (saving games) for godot 3

Open
#427 12 comments 4 reactions 0 assignees View on GitHub
area:manual enhancement
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

Sorry if that sounds like duplicated from:
https://github.com/godotengine/godot/issues/9984
but i realized i had posted at the wrong place, here is the correct place to post this issue.

Operating system or device - Godot version:
Ubuntu 14.04 Godot 3.0 alpha

I was following this tutorial:
http://docs.godotengine.org/en/latest/learning/features/misc/saving_games.html
and got this error:
Invalid call. Nonexistent function 'to_json' in base 'Dictionary'.
i took me a while to figure out that insted of:

savegame.store_line(nodedata.to_json())
i should do that:
savegame.store_line(to_json(nodedata))

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.