Godot Sheets
A downloadable Godot addon
With Godot Sheets, you don't have to use third-party apps like Excel or Google Sheets when making spreadsheet-like data structures. Now you can do it directly in the editor.
This addon is still work in progress. Add it and test it out, but don't use it in real projects yet.
After enabling the addon a "Sheets" section will be available at the top of the editor.
From there you can add data sheets (for example, "Weapons", "EnemyData", "Items", etc.) and start adding data to them.
Godot Sheets is made for data management so each data point has a unique ID (left column) and a unique Header (top row). Use these unique identifiers to get the data when you need it in code.
How to use
To get the data from within a script you can either call for it directly or iterate over the IDs.
First load the sheet with GDSheets.sheet("Sheet Name")
. Then you can access the data by entering [ID][Header]
This is a very early version of the addon. Moving on I will work on:
- Accept different data types (integers, floats, strings, etc). Perhaps even arrays and objects.
- Implement multiline cells.
- Write data from script. Today only reading is possible.
- Export and import CSV (maybe JSON)
Known issues in this version:
- Has only been tested with Godot 3.4.1 on Mac (with HiDPI screen)
- All data is one line only (since it is using LineEdit)
Enjoy!
Download
Install instructions
Download and add to your project's "addons" folder. Go to Project Settings and Enable Godot Sheets under the Plugins tab
Comments
Log in with itch.io to leave a comment.
I would LOVE to see this ported to Godot 4
Hey! I'm really interested in using your plugin, and maybe even proposing fix/changes to it; do you have a repository somewhere?
https://github.com/peterhoglund/gd-sheets
Hey, would that be possible to update the editor in order to create ressources for each line ?
Is a nice plugin! I'm using it for my metroidvania game! as an rpg, this plugin means an important pillar of my game https://store.steampowered.com/app/2112750/Toziuha_Night_Order_of_the_Alchemists/
Wow this seems helpful especially when creating an inventory system. Thanks! I will keep an eye on this one.
Got an error trying to install from client:
Cannot read property 'build' of undefined.
Would love to contribute to this ~ Is it open-source?
https://github.com/peterhoglund/gd-sheets
I fully intend to use this in my project because parsing related information from these sheets is so much easier for me to wrap my head around than complex path references. I have been having a much easier time working with this addon so far than with anything else I've tried regarding data structuring for items and enemies.
I'm very much looking forward to whatever else you have planned for this addon.
Thank you! I'm glad you like it and that you find it useful for your project!
from a game design perspective i love this. Being able to categorize data and update values all in one place is a godsend.
Really promising, and useful. Keep the grind with this one, it can become a basic tool for many many users!
Despite the limitations, this is exactly what I was looking for.
Will be watching this with interest...
This is amazing for databases for all kinds of games. Really awesome.