[ALPHA] Cock Hero: Replay

Discussion about Cock Hero and other sexy videos.

Moderator: andyp

fagustree
Explorer At Heart
Explorer At Heart
Posts: 190
Joined: Tue Oct 10, 2017 10:36 pm
Contact:

[ALPHA] Cock Hero: Replay

Post by fagustree »

The LEGENDARY Pseudonym has graciously decided to launch a project on my game platform. :-D

The goal of this project is to preserve replayability. It features randomized beat patterns for segments of various scenes.
... So be careful ;-)

UPDATE: Check out the alpha's announce post here, and follow the link to his discord to get started with the alpha.
Spoiler: show
The beatmeter is generated on the fly from timestamps supplied to the game.
The beat "hit" is also mixed live into the video audio.
This frees up the author to focus on making the video more interesting.

To get started, go to discord and get the magnet link for the alpha
Open Chrome, Chromium, The new Microsoft Edge, or Opera and go here: https://cyoa.club
(This site works with new apis in the Chromium browser. If it's based on Chromium, it should work.)

When the site loads, choose a new folder to allow the site access to save files.
The browser will prevent you from doing something insecure like using your desktop.

The site will load, and you'll see the game panel open.
Click the blue circle + button in the upper left and it will ask to read your clipboard and will add the link and you'll start downloading.

When it's done you can play!

Leave us some feedback, ask any questions you like about the software. My hope is that creators will take advantage of this site to create all sorts of fun interactive CH games.

A few notes about the site:
  • It is completely serverless. All static HTML/CSS/JS
  • Fully offline (you don't need network to play a game once it is downloaded)
  • There are no ads
  • I am not charging for the use of it (but I would hope that you would consider sponsoring me on patreon (see sig) as this will help me devote more time to updating and maintaining this platform.)
  • You can "install" the site so it has it's own window.
  • You can make it go fullscreen with normal browser controls (F11)
  • You can show/hide the game panel by pressing the back-tick tilde key (` ~) while the window is focused.
I have a huge list of features I want to add, not limited to (some of these may be patron perks):
  • E-Stim / Handy support
  • Game updates (modular games, bugfixes etc)
  • More beatmeter customizations
  • Have a request?
Last edited by fagustree on Thu Jul 01, 2021 7:20 pm, edited 11 times in total.
Author of https://cyoa.club https://test.cyoa.club
Drop by and chat on discord about the app if you're a developer or a user.
Sponsor my development at https://www.patreon.com/ftrees to help me spend more time adding features and keeping it running.
fagustree
Explorer At Heart
Explorer At Heart
Posts: 190
Joined: Tue Oct 10, 2017 10:36 pm
Contact:

Re: [ANNOUNCEMENT][AND BETA] Cock Hero: Replay

Post by fagustree »

Edit: this issue was fixed
Last edited by fagustree on Tue Nov 10, 2020 3:17 am, edited 1 time in total.
Author of https://cyoa.club https://test.cyoa.club
Drop by and chat on discord about the app if you're a developer or a user.
Sponsor my development at https://www.patreon.com/ftrees to help me spend more time adding features and keeping it running.
RiskyChimpanzee
Curious Newbie
Curious Newbie
Posts: 2
Joined: Thu Mar 07, 2019 5:31 pm

Re: [ANNOUNCEMENT][AND POC] Cock Hero: Replay

Post by RiskyChimpanzee »

Hey, this looks like a really cool idea! downloading now.
xylucky
Curious Newbie
Curious Newbie
Posts: 3
Joined: Tue Jul 23, 2019 3:58 pm

Re: [ANNOUNCEMENT][AND POC] Cock Hero: Replay

Post by xylucky »

Would love to try it, but it doesn't work for me. Nothing is downloaded.
Spoiler: show
Image
fagustree
Explorer At Heart
Explorer At Heart
Posts: 190
Joined: Tue Oct 10, 2017 10:36 pm
Contact:

Re: [ANNOUNCEMENT][AND POC] Cock Hero: Replay

Post by fagustree »

xylucky wrote: Mon Nov 09, 2020 6:18 pm Would love to try it, but it doesn't work for me. Nothing is downloaded.
Spoiler: show
Image
There is a crash for seeders (which I'm now encountering) where there appears to be a memory leak.
Your torrent may take a while to get started or stop for a bit.

I'm trying to nail it down.
Author of https://cyoa.club https://test.cyoa.club
Drop by and chat on discord about the app if you're a developer or a user.
Sponsor my development at https://www.patreon.com/ftrees to help me spend more time adding features and keeping it running.
fagustree
Explorer At Heart
Explorer At Heart
Posts: 190
Joined: Tue Oct 10, 2017 10:36 pm
Contact:

Re: [ANNOUNCEMENT][AND POC] Cock Hero: Replay

Post by fagustree »

it also appears that the main webtorrent tracker "wss://" is flakey today. I may set up my own if it continues to be unstable.
Author of https://cyoa.club https://test.cyoa.club
Drop by and chat on discord about the app if you're a developer or a user.
Sponsor my development at https://www.patreon.com/ftrees to help me spend more time adding features and keeping it running.
User avatar
hosenguy
Explorer At Heart
Explorer At Heart
Posts: 321
Joined: Sun Jun 14, 2015 11:22 pm
Gender: Male
I am a: None of the above

Re: [ANNOUNCEMENT][AND POC] Cock Hero: Replay

Post by hosenguy »

Just a thought.
If you are generating timestamps on the fly and sending them to the beat generator then you should be able to send them to operate devices like the Fleshlight Launch, the Handy, or the OSR robotic strokers. This would really be a jump in capabilities of the whole CH scene in my opinion. The random nature of this is really a game changer!

wow!
fagustree
Explorer At Heart
Explorer At Heart
Posts: 190
Joined: Tue Oct 10, 2017 10:36 pm
Contact:

Re: [ANNOUNCEMENT][AND POC] Cock Hero: Replay

Post by fagustree »

hosenguy wrote: Mon Nov 09, 2020 6:55 pm Just a thought.
If you are generating timestamps on the fly and sending them to the beat generator then you should be able to send them to operate devices like the Fleshlight Launch, the Handy, or the OSR robotic strokers. This would really be a jump in capabilities of the whole CH scene in my opinion. The random nature of this is really a game changer!

wow!
This is exactly what I meant by wanting to include estim and handy support.

I don't have any devices though... I may ask interested people to either send me their fav, or contribute so I can buy some to test with :innocent:
Author of https://cyoa.club https://test.cyoa.club
Drop by and chat on discord about the app if you're a developer or a user.
Sponsor my development at https://www.patreon.com/ftrees to help me spend more time adding features and keeping it running.
fagustree
Explorer At Heart
Explorer At Heart
Posts: 190
Joined: Tue Oct 10, 2017 10:36 pm
Contact:

Re: [ANNOUNCEMENT][AND POC] Cock Hero: Replay

Post by fagustree »

Playback issues, and memory leak should be addressed. Please check for updates and reload the page if you have issues.

The check button is on the right of the search icon.
Author of https://cyoa.club https://test.cyoa.club
Drop by and chat on discord about the app if you're a developer or a user.
Sponsor my development at https://www.patreon.com/ftrees to help me spend more time adding features and keeping it running.
fagustree
Explorer At Heart
Explorer At Heart
Posts: 190
Joined: Tue Oct 10, 2017 10:36 pm
Contact:

Re: [ANNOUNCEMENT][AND POC] Cock Hero: Replay

Post by fagustree »

I see the swarm is about 20+ppl large.
What kinda of download speeds are people seeing?
I want to know if I need to tweak the webtorrent client
Author of https://cyoa.club https://test.cyoa.club
Drop by and chat on discord about the app if you're a developer or a user.
Sponsor my development at https://www.patreon.com/ftrees to help me spend more time adding features and keeping it running.
User avatar
zenetix
Explorer At Heart
Explorer At Heart
Posts: 338
Joined: Sat Aug 17, 2013 12:16 am

Re: [ANNOUNCEMENT][AND POC] Cock Hero: Replay

Post by zenetix »

fagustree wrote: Tue Nov 10, 2020 3:15 am I see the swarm is about 20+ppl large.
What kinda of download speeds are people seeing?
I want to know if I need to tweak the webtorrent client
Download speeds for me were pretty bad - 20-30kbps. Could be an issue on my end, but I doubt it. Other than that it seemed to work without issue. Pretty cool.
paralipomeni
Explorer
Explorer
Posts: 13
Joined: Sun Feb 16, 2014 11:01 am

Re: [ANNOUNCEMENT][AND POC] Cock Hero: Replay

Post by paralipomeni »

Ok, the concept behind this is simply amazing... really looking forward to this project.

Plus... a little thing that came into my mind: if the beat patterns could be adjusted easily to match any bpm, this tool could convert pretty much any PMV into a Cock Hero Round. I don't know if this is feasible with ease... but it was worth saying XD
User avatar
Pseudonym
Explorer At Heart
Explorer At Heart
Posts: 331
Joined: Sat Sep 22, 2012 12:03 pm

Re: [ANNOUNCEMENT][AND POC] Cock Hero: Replay

Post by Pseudonym »

Hey all! :wave:

So, let me present some benefits of using this software:
You don't need to use Adobe AE to create visual beat meter anymore.
Fagustree developed a beat detection tool that can generate timestamps array from mp3 beat track.
The timestamps are then used to feed the beat meter generator.
I personally find this approach easier and less frustrating than using AE. I suggest to other authors, especially the starting ones who struggle with making visual beats to check this functionality.
(Can you later add the beat detection tool link and information on how to create a project to the first post fagustree?)


The other thing that this beat generation allows is randomization of beat patterns and green segments.
Here is an example of my approach:

I create multiple beat patterns variants in my editing software:
Image

Then render each of these tracks (in this case four) to mp3, use fagustree's tool to convert them to timestamps, measure timestamps of beat pattern segments in my editor and then put it all to my code that hadles it:

Code: Select all

// Here I'm loading multiple beat files
const beats1 = require('./beats/beats1.json');
const beats2 = require('./beats/beats2.json');
const beats3 = require('./beats/beats3.json');
const beats4 = require('./beats/beats4.json');
const beatPool = [ beats1, beats2, beats3, beats4 ];

const setup = async () => {

  // Segments taken from Vegas project
  var segments = [ 0, 64.364, 79.780, 110.978, 141.208, 171.938, 187.754, 221.855, 248.748, 264.097, 294.828, 333.600 ];

  var beatData = []; //Final beat pattern that will be feeded to the visual beat generator

  //Green sections setup
  var maxGreen = 3;
  var minGreen = 1;

  //Generate random number of green sections based on setup
  var randomGreen = Math.floor(Math.random() * (maxGreen - minGreen + 1)) + minGreen;

  //Pick green segments
  var segmentsNumbers = [];
  for (var i=0; i < segments.length-1; ++i) {
    segmentsNumbers.push(i);
  }
  var greenSegments = [];
  while (greenSegments.length < randomGreen && segmentsNumbers.length != 0) {
    var index = Math.floor(Math.random()*segmentsNumbers.length);
    var pickedSegment = segmentsNumbers[index];
    segmentsNumbers.splice(index, 1);
    greenSegments.push(pickedSegment);
  }



  // Beats Randomizer
  // Loop through segments
  for (var i = 0; i < segments.length - 1; i++) {

    var randomBeat = beatPool[Math.floor(Math.random() * beatPool.length)]; //Get random beat

    // Pick beat values that are between segment bounds and push them to finalBeat
    for (var x = 0; x < randomBeat.length; x++) {
      if (randomBeat[x] > segments[i] && randomBeat[x] < segments[i + 1]) {
        if (greenSegments.includes(i)) { //Check if the segment is green
          beatData.push([randomBeat[x], "green", null, "green"]); //Adds green information to time stamps
        } else {
       	  beatData.push(randomBeat[x]);
        }

      }
    }

  }
 . 
 .
 .
Ta-da! Done.
I't actually pretty simple. You can see the result and beats changing in the demo when you reload it and use left/right arrow to skip around.

I'm avare that not every author knows how to code and that the CH editing part is time consuming and hard enough even without the additional coding. That leads me to the idea of developing some library of modules/templates from which authors could easily draw from.
I would be more than happy to contribute and share relevant parts of my code that could be reused in other projects.


Now to my new Cock Hero - Replay:
My focus using this software for this project will be all about randomization and replayability, but there are other areas that could be explored.
Let me share few ideas that come to mind to maybe inspire other authors:
New game +
Branching paths
Multiple difficulties
Score tracking
Interactive rule sets


My current requests:
Beat change indicators
Faster download speeds

Possible issues and worries:
Bugs
Longevity and support of the software


I'm very impressed by what fagustree created so far. I've got this idea for randomized beats around 5 years ago and I still can't believe that it is now possible!
Overall I think this software has potential to be a game changer when it comes to CH developement and exploration of new ideas and CH concepts.
My Discord server: https://discord.gg/tbQxJ22
My latest release: Cock Hero - Replay viewtopic.php?t=24640
All my work so far: https://mega.nz/folder/sdcHmQzT#PZ4ctIZsoGp4N7zuDmIh_Q
User avatar
fragrantEmulsion
Explorer At Heart
Explorer At Heart
Posts: 398
Joined: Sun Aug 26, 2018 12:14 pm
Gender: Male
I am a: Switch

Re: [ANNOUNCEMENT][AND POC] Cock Hero: Replay

Post by fragrantEmulsion »

Pseudonym wrote: Tue Nov 10, 2020 3:41 pm I'm aware that not every author knows how to code and that the CH editing part is time consuming and hard enough even without the additional coding. That leads me to the idea of developing some library of modules/templates from which authors could easily draw from.
For the record, I watched Pseudonym go from noob levels to intermediate dev levels, just so he could make us more porn.
User avatar
zenetix
Explorer At Heart
Explorer At Heart
Posts: 338
Joined: Sat Aug 17, 2013 12:16 am

Re: [ANNOUNCEMENT][AND POC] Cock Hero: Replay

Post by zenetix »

Pseudonym wrote: Tue Nov 10, 2020 3:41 pm I'm avare that not every author knows how to code and that the CH editing part is time consuming and hard enough even without the additional coding. That leads me to the idea of developing some library of modules/templates from which authors could easily draw from.
I would be more than happy to contribute and share relevant parts of my code that could be reused in other projects.
I think this is an important factor in lowering the barrier to entry for anyone who wants to use this tool to create new content.
fragrantEmulsion wrote: Tue Nov 10, 2020 5:53 pm For the record, I watched Pseudonym go from noob levels to intermediate dev levels, just so he could make us more porn.
fagustree and Pseudonym definitely deserve any praise they receive. Nice job, guys. :love:
Post Reply

Who is online

Users browsing this forum: Baidu [Spider], diglet, Speedofsound123 and 65 guests