Blocky Migration
Submitted by vishvesh on Fri, 11/12/2021 - 08:57
Forums:
I am a new developer. I am working on a website that has games that are created by P5.js and Blockly. I want to create .h5p which I can reuse or distribute. Is there a way to achieve this? Thanks!
otacke
Fri, 11/12/2021 - 12:08
Permalink
Hi!Could you possibly
Hi!
Could you possibly rephrase your question or add some context? I'm not sure whether you're asking to create H5P content types written in/with P5.js/Blockly, if you want to write/integrate a player like H5P Standalone (https://github.com/tunapanda/h5p-standalone) or if you want to create a platform integration of some kind. Either way, I recommend to familiarize with the H5P documentation for developers (https://h5p.org/developers).
Best,
Oliver
vishvesh
Mon, 11/15/2021 - 08:24
Permalink
Thanks Otacke. I will
Thanks Otacke. I will rephrase my question.
I am working on a website that has simple games which run on the combination of Blockly and p5.js. But as this is a website, it needs a constant internet connection to work. I want to eliminate the need for a constant internet connection.
I am looking for a way to migrate these already existing games to H5p. And somehow run these games offline(I can use tunaPanda here: https://github.com/tunapanda/h5p-standalone). I hope this explains.
vishvesh
Mon, 11/15/2021 - 08:25
Permalink
Thanks Otacke. I will
Thanks Otacke. I will rephrase my question.
I am working on a website that has simple games which run on the combination of Blockly and p5.js. But as this is a website, it needs a constant internet connection to work. I want to eliminate the need for a constant internet connection.
I am looking for a way to migrate these already existing games to H5p. And somehow run these games offline(I can use tunaPanda here: https://github.com/tunapanda/h5p-standalone). I hope this explains.
otacke
Mon, 11/15/2021 - 17:52
Permalink
Hi!I am still not sure if I
Hi!
I am still not sure if I understand what you are trying to achieve. H5P content types don't need an internet connection in order to work. The exception proves the rule. H5P content types need some form of runtime environment, yes, but it doesn't matter whether that's on a server that you can access remotely (e.g. using one of the plugins for WordPress or Drupal) or locally, e.g. using H5P Standalone or Lumi (or even a single-HTML file export that you can create with Lumi).
If you want to migrate existing games written using p5.js, then all you'd need to do is wrap that content inside https://github.com/h5p/h5p-boilerplate and add and instantiate the appropriate dependencies.
Cheers,
Oliver
vishvesh
Wed, 11/17/2021 - 07:57
Permalink
Hi,I am trying to upload .h5p
Hi,
I am trying to upload .h5p but for some reason I am getting the following error:
I am zipping the project files and NOT the project root folder. I will attach the package file for ref.
Thanks,
-Vishvesh
otacke
Wed, 11/17/2021 - 15:02
Permalink
Hi vivesh!Please search this
Hi vivesh!
Please search this forum for this issue. It has been covered multiple times.
Best,
Oliver