View Single Post
DoubleGJ DoubleGJ's Avatar

JCF Member

Joined: Sep 2002

Posts: 3,049

DoubleGJ has disabled reputation

Dec 1, 2017, 08:47 PM
DoubleGJ is offline
Reply With Quote
Quote:
Originally Posted by Violet CLM View Post
The most intuitive way is to save the data to disk using jjSTREAM, which is effectively what JJ2 does when you enter a secret level like Gargoyle's Lair. Alternatively you can abuse JJ2 a little by storing values in the properties of higher-numbered players that never get erased, like jjPlayers[31].score or whatever.
Keep in mind this will all work only in a single play-through, as there is currently no means to store AngelScript data in a save file. A workaround for your needs might be to provide necessary data values as soon as you load a non-hub level.
__________________
"So unless I overwrote my heart with yours, I think not. But I might have." - Violet CLM

Two Games Joined releases:
Control / Splinter (twin singles)
|| Ballistic Bunny (EP)
||
Beyond (maxi-single)
|| Beyond: Remixed (remix EP)
|| Inner Monsters OST (mini-album)
||
Shadows (album)