de en es fr
Let the machine help
Light teasing, exhibition, BDSM, sissyfication, watersports... with sounds and pictures


Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Javascripte rewrite?
PostPosted: Sun Oct 22, 2017 1:35 pm 
Offline
Newcomer
Hey there,
I´m thinking about rewriting SexScripts in JS and wanted to hear your opinion.

Starting my argumentation with a quote: Atwood’s Law : “Any application that can be written in JavaScript, will eventually be written in JavaScript.” (check)

Writing a FAQ (check):
Why Javascript and not Java?
SexScripts is written for Desktop and Android. You have to install that software first. Javascript is for the Web and almost every device can access it. In addition (if you have the source code, which you will get bcz Open Source) you can download it and have fun with it offline.
Javascript has many more available features than Java has: Sound, Images, Text, Buttons, UserInput (no problem, like it is now), Videos, Text2Speech, SpeechRecognition, location, using webcams: no problem also.
You can use many librarys from npm as well and can simply interact with webservers (CatAPI, uploading images and so on).
So the often requested feature CornerTime is with Javascript not as hard to do as with Java.
What is with user-written scripts?
You could import user-written scripts in that App by importing a Script from your computer or from a webserver. (Yes, importing unknown scripts could be dangerous, but importing unknown Groovy scripts could also be a risk). And Javascript is also easy to learn (and could be more interesting for other projects)
Do it need to be hosted?
If your user-script does not need an server, it can be simply downloaded. It could also be statically hosted. For more advanced scripts there has to be a server.
How would your solution look like?
My idea is to have a Framework which gives the users an ability to easily use some features. The WebApp with an "Action"-Area (where the text etc. will be loaded) and a menu/settings bar where you can load different scripts should be also part of that framework. Saving of user-data offline would take place in the Javascript LocalStorage. In addition a permission system (where to user has to approve if the script is able to talk to the internet etc.) would be also a good idea, but there should be also a warning when importing a script that this is maybe "hackable" and the user should pay attention which scripts he imports.
If all that stuff is working there could be an Online-Feature where you can store information of users online and do stuff with it (like the Courtroom script does or Slave market etc.), I would like to also do a server-template and the user can choose on which servers he wants to store his data (decentralized approach) and copy his profile from offline to online or from one server to another (and have multiple profiles on multiple servers).


Top
 Profile Send private message 
 
 Re: Javascripte rewrite?
PostPosted: Wed Jun 27, 2018 1:59 am 
Offline
Regular
A browser version would have its place, especially if it worked offline on iOS for example. It would present challenges of course. Google is one such challenge. They have by far the greatest market share and they have updated auto play policies so that nothing makes a sound on Chrome without a user click. (Note: this wasn't the case at the time you wrote the proposal). So there goes audio unless they introduce a browser mute button that can be configured on the fly. A lot of audio is initiated by click anyway, but 'ding' sounds need to work. Saving to local-storage is nice, until some cleanup util deletes it. That one would be best solved by adding a warning that running a computer maintenance tool might delete the local storage and your 'session data' (not browser session, SS session. Browser session is something else) would be lost.

There are advantages and disadvantages. Either way, let Google know they broke the Internet at their developer Twitter account.

It would surely be a fun side project.


Top
 Profile Send private message 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Maroon Fusion theme created by Oxydo
Software, theme modifications, phpBB modification by Doti 2010 - 2020
This website uses session cookies only.