GDevelop-extensions icon indicating copy to clipboard operation
GDevelop-extensions copied to clipboard

New extension: Save/Load Position

Open Pyroqua opened this issue 1 year ago • 1 comments

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

  • [X] I've followed all of the best practices.
  • [X] I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • [X] 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 avatar Aug 08 '24 20:08 Pyroqua

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

Pyroqua avatar Aug 08 '24 21:08 Pyroqua

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!

CreatorADOfficial avatar Nov 06 '24 12:11 CreatorADOfficial

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.

Pyroqua avatar Nov 07 '24 03:11 Pyroqua

Still good

CreatorADOfficial avatar Nov 21 '24 14:11 CreatorADOfficial

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

CreatorADOfficial avatar Nov 23 '24 17:11 CreatorADOfficial

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

Pyroqua avatar Nov 23 '24 17:11 Pyroqua

The bot won't create a PR as files must be zip, not json.

D8H avatar Feb 26 '25 23:02 D8H