[Game] Basic framework for any Cock Hero game
Posted: Sun Apr 21, 2019 6:57 am
Some time ago I created Javascript framework for Cock Hero (CH) games. In short, here is how it works...
Imagine game with lot of CH rounds, easily configurable to add new rounds, so game can have tens or even hundreds of them. It streams clips from public sites like xHamster, that allow to embed video and start it from specific time. As videos are not included in build, game size remains small. Framework maintains database of clips in configuration file as well as database of music clips along with beatmeter data (from Beatmeter Generator by kerkersklave). In short, it adds visual beatmeter to any video.
Video and music clips in database have tags (defined by game creator) and can be queried like: "get clip with blonde in forrest"
Beside this, there is more features like alternate beatmeter data for the same song (difficulty levels), support for speech synthesis, text output, cutting part of music (and optionally repeating it), etc.
Below is link to demo. It is not full game, it simply lets you to play with small database of clips it has. Package also contains detailed manual with two parts: User experience (how to use demo) and Technical details with description on all features and how it works.
https://mega.nz/#!Ig8XVCTA!E2lwJ2VrO9FI ... 3n-Lut78nU
It is HTML/Web app so you need server. Either put it on server or run it from local server (I think Firefox can directly run index.html). This is another advantage. Games made with it can be put on web or played locally (from local server).
It is basic framework for rendering beatmeter, maintaining databases of clips, etc. It is not any game editor. I believe, that other game engines/frameworks can be easily connected to it to use it - I see it suitable for games like the ones made by mortimer - it would shrink download size to minimum and allow to use many clips to prevent repeating.
It also opens opportunities for collaboration. Some people can build game, while other can prepare music and beatmeters in Beatmeter Generator independently.
Imagine game with lot of CH rounds, easily configurable to add new rounds, so game can have tens or even hundreds of them. It streams clips from public sites like xHamster, that allow to embed video and start it from specific time. As videos are not included in build, game size remains small. Framework maintains database of clips in configuration file as well as database of music clips along with beatmeter data (from Beatmeter Generator by kerkersklave). In short, it adds visual beatmeter to any video.
Video and music clips in database have tags (defined by game creator) and can be queried like: "get clip with blonde in forrest"
Beside this, there is more features like alternate beatmeter data for the same song (difficulty levels), support for speech synthesis, text output, cutting part of music (and optionally repeating it), etc.
Below is link to demo. It is not full game, it simply lets you to play with small database of clips it has. Package also contains detailed manual with two parts: User experience (how to use demo) and Technical details with description on all features and how it works.
https://mega.nz/#!Ig8XVCTA!E2lwJ2VrO9FI ... 3n-Lut78nU
It is HTML/Web app so you need server. Either put it on server or run it from local server (I think Firefox can directly run index.html). This is another advantage. Games made with it can be put on web or played locally (from local server).
It is basic framework for rendering beatmeter, maintaining databases of clips, etc. It is not any game editor. I believe, that other game engines/frameworks can be easily connected to it to use it - I see it suitable for games like the ones made by mortimer - it would shrink download size to minimum and allow to use many clips to prevent repeating.
It also opens opportunities for collaboration. Some people can build game, while other can prepare music and beatmeters in Beatmeter Generator independently.