Skip to content

Added saving functionality for the simulation#7

Open
stijn-ringeling wants to merge 1 commit intocarykh:masterfrom
stijn-ringeling:master
Open

Added saving functionality for the simulation#7
stijn-ringeling wants to merge 1 commit intocarykh:masterfrom
stijn-ringeling:master

Conversation

@stijn-ringeling
Copy link

In your video you requested a saving and loading feature. Well here it is. It might not be perfect though as it saves a lot of data.
This can be reduced by only saving essential variables that are needed to create the simulation and not all variables that are generated in runtime anyway.
If you have any questions please let me know.

@L-four
Copy link

L-four commented Jun 25, 2017

Cool man, It appears that you accidentally update all the line endings

@LordNeoZ
Copy link

Have you tested it? I merged it manually on my local copy and the buttons show, but it saves a 0bytes file

@L-four
Copy link

L-four commented Jul 14, 2017

Yeah, it worked for me using processing version 3 (tested just now). Though it did create massive files 11gens was 67.9 MB. should look at adding compression.
See attached file
test_save.zip

@MauroMombelli
Copy link

MauroMombelli commented Jul 14, 2017 via email

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error on line 900. "createGraphics() with P3D or OPENGL requires size() to use P2D or P3D"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants