Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How to save position of 2D images from instantiate?

edited July 29 in Off-topic

So, I am making a game similar to the game called 'Idle Balls', how do I store the position of all the ball image gameobjects so that when the player closes and reopens the app, the balls are still there?

The balls are a 2D image with the 2D rigidbody component and are instantiated from an original image of the ball.

Any help is greatly appreciated.

I tried using playerprefs but it would be time consuming to make a player pref for each axis and position of each of the balls, especially if there were hundreds of balls.

I would appreciate links and samples of code if applicable.

__________________________________

Ecologica Medical Spa

Sign In or Register to comment.