Saving Feature / Choice that you can press at any time during the tease

Post all technical issues and questions here. We'll gladly help you wherever we can.
Post Reply
User avatar
Joicon
Explorer
Explorer
Posts: 6
Joined: Mon Nov 30, 2020 11:22 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch

Saving Feature / Choice that you can press at any time during the tease

Post by Joicon »

Hey, im making my most ambitious tease yet and while it is still in production and ive learned a lot about how the more complicated eos feautures work I still havent exactly figured out the two mentioned above...
Any help is appreciated!!!







Thank you for your time!
-Joicon
I swear to god some of the shit ive done in this website hurt more than getting teargassedand that happens often to me :\'-(
Roblsforbobls
Explorer At Heart
Explorer At Heart
Posts: 264
Joined: Tue May 21, 2019 2:27 am
Gender: Male
Sexual Orientation: Asexual
I am a: Switch

Re: Saving Feature / Choice that you can press at any time during the tease

Post by Roblsforbobls »

Hi Joicon, have you tried using a notification rather than a choice action? One of the actions of the notification can be used to regenerate itself after being clicked.
User avatar
Joicon
Explorer
Explorer
Posts: 6
Joined: Mon Nov 30, 2020 11:22 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch

Re: Saving Feature / Choice that you can press at any time during the tease

Post by Joicon »

Update figured out the second thing.
Saving still confuses me though
I swear to god some of the shit ive done in this website hurt more than getting teargassedand that happens often to me :\'-(
User avatar
Joicon
Explorer
Explorer
Posts: 6
Joined: Mon Nov 30, 2020 11:22 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch

Re: Saving Feature / Choice that you can press at any time during the tease

Post by Joicon »

Roblsforbobls wrote: Tue Jan 12, 2021 9:14 am Hi Joicon, have you tried using a notification rather than a choice action? One of the actions of the notification can be used to regenerate itself after being clicked.
Thanks man worked!!!
I swear to god some of the shit ive done in this website hurt more than getting teargassedand that happens often to me :\'-(
Roblsforbobls
Explorer At Heart
Explorer At Heart
Posts: 264
Joined: Tue May 21, 2019 2:27 am
Gender: Male
Sexual Orientation: Asexual
I am a: Switch

Re: Saving Feature / Choice that you can press at any time during the tease

Post by Roblsforbobls »

Joicon wrote: Tue Jan 12, 2021 9:15 am Thanks man worked!!!
Glad I could help haha
Yeah, I never figured out the save feature either, but I'm sure you can find a forum post somewhere about it
fapnip
Explorer At Heart
Explorer At Heart
Posts: 430
Joined: Mon Apr 06, 2020 1:54 pm

Re: Saving Feature / Choice that you can press at any time during the tease

Post by fapnip »

Roblsforbobls wrote: Fri Jan 15, 2021 7:05 am never figured out the save feature either
Tease storage?

To save stuff

Code: Select all

var myVariable = 1.396778; // Whatever value you want to save
var myVariableStorageKey = 'myVarKey'; // Keep your key names short.  You only get 1KB total storage, including keys, encoding overhead, etc.
teaseStorage.setItem(myVariableStorageKey, myVariable); // Save value to storage
To load stuff

Code: Select all

var myStoredValue = teaseStorage.getItem('myVarKey'); // Load value from storage
if (myStoredValue !== undefined) {
  // There was actually something stored in that key name.
  // Do something with it.
}
Roblsforbobls
Explorer At Heart
Explorer At Heart
Posts: 264
Joined: Tue May 21, 2019 2:27 am
Gender: Male
Sexual Orientation: Asexual
I am a: Switch

Re: Saving Feature / Choice that you can press at any time during the tease

Post by Roblsforbobls »

fapnip wrote: Fri Jan 15, 2021 3:08 pm
Roblsforbobls wrote: Fri Jan 15, 2021 7:05 am never figured out the save feature either
Tease storage?

To save stuff

Code: Select all

var myVariable = 1.396778; // Whatever value you want to save
var myVariableStorageKey = 'myVarKey'; // Keep your key names short.  You only get 1KB total storage, including keys, encoding overhead, etc.
teaseStorage.setItem(myVariableStorageKey, myVariable); // Save value to storage
To load stuff

Code: Select all

var myStoredValue = teaseStorage.getItem('myVarKey'); // Load value from storage
if (myStoredValue !== undefined) {
  // There was actually something stored in that key name.
  // Do something with it.
}
You're a gentleperson and a scholar, thank you
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests