I'm a student using Khan Academy to learn coding, and I've made quite a progress there. I've also learnt a fair bit of HTML, CSS and JS in my college. I was wondering if there's a way to play my game (on Khan Academy, written in ProcessingJS) as an offline HTML page.
Now, I've done a fair amount of research before asking here. I've tried the following:
1. This HTML template on Khan Academy.
2. This template too.
3. And this one on Stack Overflow too.
Using any of the above templates gives me a half-baked output, and it seems that the keyboard controls aren't working. Neither are the animations.
Thanks in advance!
I've created a project which allows KhanAcademy projects to work offline: https://github.com/prolightHub/KaTemplate
Steps:
index.html
js/index.js
function main()
{
// Paste your Khan Academy code here
}
createProcessing(main);
And it should all work.