Skip to content

New extension: Save and Load Object made by God-Sonic #1569

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Mar 2, 2025

Description

It save and load object's variables, zorder, angles, and position. It can save and load multiple objects at a time.

How to use the extension

You need the object you want to save with the save behavior and the loader object with the loader behavior. In the event, there are two action . One is for save the object in the scene every 0.1 to 1 seconds that is save to storage. The other one load the object from storage in the scene.

Checklist

  • I've followed all of the best practices.
  • I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

What tier of review do you aim for your extension?

Community (Unreviewed)

Example file

Game.zip

Extension file

LoadandSave.zip

@github-actions github-actions bot added the ✨ New extension A new extension label Mar 2, 2025
@github-actions github-actions bot requested a review from a team as a code owner March 2, 2025 16:46
@moolbie
Copy link

moolbie commented Apr 2, 2025

lowkey, just do sum javascript and save literally everything. so you save the object json

@KillerDSonic
Copy link

It saves a json of a object with it variables

@moolbie
Copy link

moolbie commented Apr 6, 2025

It does not.
ObjectVarToJSON(Object,Variables) does not save the object variables
it saves the objects variable called "Variables"

@KillerDSonic
Copy link

It does but it only works when you name the objects variable name by " Variables" that only way it will work

@moolbie
Copy link

moolbie commented Apr 11, 2025

that's why i'm saying you should do some javascript to save the entire object, then it will also work on custom objects

@KillerDSonic
Copy link

I need to learn JavaScript in order to do that which I don't have the time for at this moment but maybe in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ New extension A new extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants