These are super-simplified versions of a couple of the built-in demo projects.
All the code has been vastly stripped down, and heavily commented, to make it super easy to follow. This is something I usually do for myself to learn how things work.
I hope sharing these will be good for others like me who need to take smaller steps.
the projects must have Craft as a dependency or they will not work.
“Li’l Learn Craft” additionally must have Cameras as a dependency
to copy any project into Codea, copy the source code from the webpage, and then press and hold on the New Project “+” icon. You will see an option appear that says “Paste into project”. Choose it. Doing it this way sets up the project tabs for you.
P.S.: If you find these helpful, please leave a comment, so they can stay near the top of the forums, for newcomers.
I forgot to mention that the project requires Cameras and Craft as dependencies to run. I edited the original post so it mentions that. If you would, please try doing that, and let me know if it helps or not.
@UberGoober For anyone using this, instead of the code being copied to a project, it needs paste into project so that it creates all of the different tabs instead of just the Main tab.
@UberGoober , @dave1707 - thanks for this, didn’t have much free time to play around with it - obviously pasted into a blank page not as project, like the way it’s arranged and can now see a broader use of Craft.
@UberGoober - thanks for the new demo, I had a problem with it when you touch the buttons you get an error on line 94 which involves the touches.handlers. It can be resolved by adding Viewers as a dependency - I’d add a note to that in your code next to the Craft dependency note.