Here are EOS tutorials

All about the past, current and future webteases and the art of webteasing in general.
---
jsklos
Explorer
Explorer
Posts: 11
Joined: Tue Jul 08, 2025 4:18 am

Re: Might be a dumb question

Post by jsklos »

phönix wrote: Sat Dec 06, 2025 9:06 am Probably the same issue (and solution) as here:
viewtopic.php?p=382022#p382022
Thanks, I dunno how I wasn't able to find that post before, but it solved my issue.
User avatar
cumhardy
Experimentor
Experimentor
Posts: 1145
Joined: Wed May 28, 2008 10:54 pm
Gender: Male
I am a: None of the above
Location: UK

Re: Here are EOS tutorials

Post by cumhardy »

not sure if I already asked this before, or if its been answered elsewhere.

I’m trying to do the following with images in a tease:

I have several folders/sets of images, for example:
Set A → a1.jpg, a2.jpg, … a20.jpg
Set B → b1.jpg, b2.jpg, … b20.jpg

At the very beginning of the tease (or each day), I want the game to randomly pick one set (A or B, etc.).
Then, for the entire session, every image shown should come from that same chosen set, and they should appear in order (1 → 2 → 3 … → 20) as the player progresses through the pages.

Is this possible in the EOS editor?
undeniable_denial
Explorer At Heart
Explorer At Heart
Posts: 109
Joined: Sat Aug 24, 2019 11:42 am
Gender: Male
Location: Germany

Re: Here are EOS tutorials

Post by undeniable_denial »

cumhardy wrote: Mon Apr 13, 2026 1:37 pm At the very beginning of the tease (or each day), I want the game to randomly pick one set (A or B, etc.).
Then, for the entire session, every image shown should come from that same chosen set, and they should appear in order (1 → 2 → 3 … → 20) as the player progresses through the pages.

Is this possible in the EOS editor?
It's only possible if you do it manually. Basically, either two duplicate paths in the tease with swapped out pictures. Or alternatively every pair of images nested in an If.

The image-action allows for a random image to be picked, but no automatic sequential slide show thus far.
User avatar
cumhardy
Experimentor
Experimentor
Posts: 1145
Joined: Wed May 28, 2008 10:54 pm
Gender: Male
I am a: None of the above
Location: UK

Re: Here are EOS tutorials

Post by cumhardy »

undeniable_denial wrote: Tue Apr 14, 2026 1:47 pm It's only possible if you do it manually. Basically, either two duplicate paths in the tease with swapped out pictures. Or alternatively every pair of images nested in an If.

The image-action allows for a random image to be picked, but no automatic sequential slide show thus far.
thanks, ill try nesting the if. A bit of a messy solution but I think I can get it to work if the tease isnt too complex
User avatar
MrNadra
Explorer
Explorer
Posts: 55
Joined: Mon Dec 27, 2021 8:02 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch
Location: Germany

Re: Here are EOS tutorials

Post by MrNadra »

Sup,
i'm trying to setup a maze with each encounter having multiple teases, so when you clear one it does l1b5++.
So next time you get there, it goes to the next if case.
right now i'm storing how often you've visited like so(just basic variables not even storing in teasestorage):
Spoiler: show
//layer1----------
//a
//b
l1b5=0
l1c5=0
//c
l1c11=0
//d
l1d5=0
l1d6=0
l1d14=0
//e
l1e8=0
l1e13=0
//f
l1f6=0
l1f8=0
l1f11=0
//layer2----------
//a
//b
//c
l2c2=0
//d
l2d4=0
l2d9=0
//e
l2e8=0
l2e12=0
l2e15=0
//f
l2f5=0
l2f7=0
l2f9=0
//g
l2g7
//extra
stairs2=0
//layer3----------

//a
l3a3=0
//b
l3b4=0
l3b7=0
l3b10=0
l3b13=0
//c
//d
//e
l3e6=0
//f
//extra
stairs3=0
goonslide=0
//keys
l3key=0//l13
I've spottested each tease by setting the variable on entering,
On my first full run, it just crashes out on trying to setup all the vars(tried loading each layer seperately right before entering the next layer too but no luck there either).
I'm 100% sure the amount of variables is the issue, because when i remove layer 3 it starts working again.
I tried rewriting it like so(ai told me :lol: ):
Spoiler: show
const mazeData ={

layer1:{
b1:0,
b5:0,

c5:0,

d5:0,

c11:0,

d5:0,

d6:0,

d14:0,

e8:0,

e13:0,

f6:0,

f8:0,

f110

},

layer2:{

c2:0,

d4:0,

d9:0,

e8:0,

e12:0,

e15:0,

f5:0,

f7:0,

f9:0,

g7:0



},

extra:{

stairs2:0,

stairs3:0,

stairs4:0,

goonslide:0

}

}
but i couldn't get that to work either.
Can anyone tell me how i can set this up so it works and is scalable?
I was planning on doing a layer4 + 25-50 pages of story after clearing the maze which would also need variables(probably).
Is there a hard limit on how many vars can be loaded at once or something?
And can they be unloaded somehow?
Thanks in advance. :wave: :love:
User avatar
PlayfulGuy
Experimentor
Experimentor
Posts: 1068
Joined: Sat Jul 07, 2012 10:08 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): No domme
Sub/Slave(s): No sub
Location: British Columbia, Canada

Re: Here are EOS tutorials

Post by PlayfulGuy »

MrNadra wrote: Wed Apr 15, 2026 5:30 pm Sup,
i'm trying to setup a maze with each encounter having multiple teases, so when you clear one it does l1b5++.
So next time you get there, it goes to the next if case.

Both of your code examples have errors. I plugged them into https://jsfiddle.net/ then ran them, and got this:

Code: Select all

    JSFiddle Console. Turn on/off in Editor settings.
    ☁️ "Running fiddle"
    "[Line 37] ReferenceError: l2g7 is not defined"
    ☁️ "Running fiddle"
    "[Line 28] ReferenceError: f110 is not defined"

First code sample has error in layer 2, segment g
Spoiler: show
//layer2----------
//g
l2g7 <<<<< This references an undefined variable
Second has error in layer 1
Spoiler: show
const mazeData ={

layer1:{
b1:0,
b5:0,

c5:0,

d5:0,

c11:0,

d5:0,

d6:0,

d14:0,

e8:0,

e13:0,

f6:0,

f8:0,

f110 <<<< Reference to undefined variable

},

}
You were soooo close! :-D

PG
User avatar
MrNadra
Explorer
Explorer
Posts: 55
Joined: Mon Dec 27, 2021 8:02 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch
Location: Germany

Re: Here are EOS tutorials

Post by MrNadra »

PlayfulGuy wrote: Thu Apr 16, 2026 12:12 am
MrNadra wrote: Wed Apr 15, 2026 5:30 pm Sup,
i'm trying to setup a maze with each encounter having multiple teases, so when you clear one it does l1b5++.
So next time you get there, it goes to the next if case.

Both of your code examples have errors. I plugged them into https://jsfiddle.net/ then ran them, and got this:

Code: Select all

    JSFiddle Console. Turn on/off in Editor settings.
    ☁️ "Running fiddle"
    "[Line 37] ReferenceError: l2g7 is not defined"
    ☁️ "Running fiddle"
    "[Line 28] ReferenceError: f110 is not defined"

First code sample has error in layer 2, segment g
Spoiler: show
//layer2----------
//g
l2g7 <<<<< This references an undefined variable
Second has error in layer 1
Spoiler: show
const mazeData ={

layer1:{
b1:0,
b5:0,

c5:0,

d5:0,

c11:0,

d5:0,

d6:0,

d14:0,

e8:0,

e13:0,

f6:0,

f8:0,

f110 <<<< Reference to undefined variable

},

}
You were soooo close! :-D

PG
So i'm just blind, thats great news, thanks so much :lol:
User avatar
PlayfulGuy
Experimentor
Experimentor
Posts: 1068
Joined: Sat Jul 07, 2012 10:08 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): No domme
Sub/Slave(s): No sub
Location: British Columbia, Canada

Re: Here are EOS tutorials

Post by PlayfulGuy »

MrNadra wrote: Thu Apr 16, 2026 7:15 am So i'm just blind, thats great news, thanks so much :lol:
No, not blind. I couldn't tell you how many hours I've wasted trying to find a bug like that. :-|
And when I do find it it's like OMFG!!!!
After looking at your own code for too long, sometimes it just needs a fresh pair of eyes.

Good luck with your project!

PG
Post Reply