Previous Post

Toying With This Week (May 30 - June 5)

Next Post
Toying With This Week (May 30 - June 5)
1 / 3
DESCRIPTION

Tease Support & V2.0

This is going really well.

Editor:

Setup when selecting a Tease to play:

So far I've implemented:

Image uploads

Ability to show random images from 1 or more subreddits

Add patterns from your library with controls set to specific values

Prompt the user for a .funscript file at run time

Play a Pornhub video

Prompt the user for a local video at run time

Start/stop video triggers

Display a specific image/video from the tease library or a random one

Phone number verification before image upload (for when I inevitably need to ban people for violating the ToS)

There's a ton of things I need to do and figure out before production though:

Allow showing of timers

Handling of text. I'm thinking about allowing text to either be set to show in the main area or in a status bar. So a Tease can have the usual text bubbles of the Tease but also a permanent line of text for showing whatever the author wants. I also need to figure out how best to safely allow formatting and colors for text.

Handling of buttons/user input. This one's going to be a mess and I'm not sure how to implement it yet. My biggest concern is that the whole Action/Trigger thing doesn't work well for user input because the Tease author would have to add both an action to show the button and a trigger to react to it. It seems overly complicated for just wanting to have a clickable button. I also want to support permanent buttons that aren't tied to a specific Step of the tease (or maybe that's how all buttons will work), as well as controlling where to position buttons.

Cover image for the Tease

Handling audio in some way?

Only loading the entire Tease after the user selects it

Layout stuff

Direct links to Teases?

Limiting to 1 active Tease and handling switching Teases

Handling online (I don't plan to sync Teases for now so I just need to show somehow that it's not synced)

Handling settings and somehow allowing for adjusting the pattern offset

How free vs Premium users are being handled

I still feel like it's at least another 2 weeks or work if not more, but we'll see how this week goes.

----Past Weeks Changes----

Bug Fixes

I found a few annoying timing bugs while testing Teases and they've now been fixed for Scripts as well. When a step changes any actions or trigger checks that the code is still processing ended up looking at data for the new step which often caused triggers to re-fire when they shouldn't have.

I also found that toys kept resetting their pattern to the basic On pattern if you changed views, which is now fixed.

Page Load Time Improvements

The web changes too fast. This weeks unplanned frustrating refactoring project was to move to Firebase v9. It introduces tree shaking and I know Firebase is by far the largest contributor to the size of the site so it was worth it to get it updated.

Also even more significantly I noticed that I've been bundling all node modules into a single .js file instead of splitting them. So all users were downloading the code for for example the huge pose detection library instead of it only loading if they intended to use the motion detector. This is fixed now and the site loads in half the speed and with way less bloat.

XToys PATREON 2 favs
VIEWS1
FILES3 files
POSTEDMay 29, 2021
ARCHIVEDJun 10, 2026