I have been working on creating a Part 2 Tutorial for the Shark Attack skill map and have most of it done. I was trying to add it to a project page that is connected to my Github account, but when I try to run the tutorial using my Github link, Arcade gives me the “check your internet connection and make sure your tutorial is valid” error. I have tested the code using the tutorial editor and it renders fine there. I can also generate a share link from the tutorial editor that works, but that limits my ability to update and modify the tutorial.
I have included the project link to see if others are having the same error as I am.
Did you make the code in the tutorial editor? I find that the tutorial editor sometimes doesn’t play too well with GitHub.
One possible solution could be to do it the old school way, if you haven’t already tried it. It has helped me get around inexplicable problems from time to time, when using the tutorial editor. I don’t generally use the editor any more, because of some random, hard to diagnose issues, but gave it another go recently, with confusing results. Here’s my suggestion: Just open a brand new project in vanilla MakeCode Arcade (not the tutorial editor), go to JavaScript, then click on the “Explorer” to the left. Click the “+” and add a markdown file named something like “tutorialname.md”. Don’t forget the MD extension, what with tutorials being markdown files. Copy your tutorial code from the tutorial editor into this markdown document. Then click the GitHub cat icon to create a new GitHub, and link to the resulting tutorial file. If this doesnt work, I’ve found that recreating the JavaScript code in the MD file from scratch instead of copy/pasting sometimes works. I cannot explain why this sometimes works. I recently had an issue with the “camera follow mySprite” command not working, and this was fixed using this method. I thought I’d give the editor a new chance, but ended up doing everything manually in MakeCode Arcade anyway.
I’ll be honest and say i haven’t tried running the markdown code directly through the engine, and I don’t know why I didn’t think of that in the first place. Seems like I should have been doing that in the first place as I use a different editor to write the code and have been pasting it into the tutorial editor. I’ll have to give it a try and report back.
Thanks to all those who have looked at this and have given their time to provide feedback. I genuinely appreciate it.