Skip to content
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

New extension: Save/Load Position #1344

Open
3 tasks done
Pyroqua opened this issue Aug 8, 2024 · 6 comments
Open
3 tasks done

New extension: Save/Load Position #1344

Pyroqua opened this issue Aug 8, 2024 · 6 comments
Labels
✨ New extension A new extension

Comments

@Pyroqua
Copy link

Pyroqua commented Aug 8, 2024

Description

Save an objects position and use it later, by moving/creating the object at that saved position.

How to use the extension

If you put this behavior on a sprite, you can...

  1. Save the position
  2. Move the object to the saved position
  3. Create the object at the saved position

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?

Reviewed

Example file

Save_and_load_positions.json

Extension file

Save_and_load_positions.json

@Pyroqua Pyroqua added the ✨ New extension A new extension label Aug 8, 2024
@Pyroqua
Copy link
Author

Pyroqua commented Aug 8, 2024

This is my first extension, please tell me if I did anything wrong.

@CreatorADOfficial
Copy link

This would be alsome gdevelop need to add this cause saving the game and all objects is easier with this Extension thnks for making it!

@Pyroqua
Copy link
Author

Pyroqua commented Nov 7, 2024

This would be alsome gdevelop need to add this cause saving the game and all objects is easier with this Extension thnks for making it!

Sadly, I don't mean save as in saving a game, now I realize that the title might be misleading... I mean save and load object X and Y positions between scenes so you can put objects on certain places again.

@CreatorADOfficial
Copy link

Still good

@CreatorADOfficial
Copy link

I actualy tested it but it didn't load and the load input was 0

@Pyroqua
Copy link
Author

Pyroqua commented Nov 23, 2024

I actualy tested it but it didn't load and the load input was 0

Really? I tested it and it worked, maybe I wasnt clear enough... Ill look into it over the break

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

No branches or pull requests

2 participants