Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Touches is nil in craft examples?

edited October 2017 in Codea Craft Posts: 181

I couldn’t find anything on the forum about this, which seems a bit weird but most of the craft examples crash on startup for me because touches is nil? Craft is checked in the dependencies.

Would’ve posted this in the craft thread but they all appear to be closed now.

Looking forward to try out some examples, craft looks really cool! =)

Comments

  • dave1707dave1707 Mod
    Posts: 7,924

    @Kirl You might need to check Touches and Cameras (not Camera) as a dependency when using Craft.

  • Posts: 181

    I think I have a few naming conflicts, I have my own “touches” project as well as a “voxel terrain”. The icon images appear to be swapped sometimes but when I open either it always opens johns code.

    I tried duplicating with another name but it duplicates johns example. Is there any way to get my own code back? I fear they might be overridden as I no longer get errors when I open the examples...

  • dave1707dave1707 Mod
    Posts: 7,924

    @Kirl If you didn’t do any type of backup on your code, it’s gone. One thing you can do as you work on a project is to tap on the project icon and create a duplicate. That way if anything goes wrong, you have a copy. Get in a habit of doing that and you’ll only lose what changes you made since the copy.

  • Posts: 181

    Doh! I don’t mind losing my touches project as I have better attempts in other projects but losing my voxel terrain might hurt a bit.

    I’m still having trouble connecting through itunes for pc backups, but thanks to the recent return of the project sharing feature I think I may have lucked out with a recentish zip of all projects in my dropbox. =)

    I would create duplicates of more precious code, but I have sooo many projects already...

    Thanks for the answer!

  • dave1707dave1707 Mod
    Posts: 7,924

    @Kirl I didn’t mean that you create duplicates of all your projects, just the projects that you’re working on. That way if you mess something up, you can go back to the duplicate. I do that a lot and the duplicates make recovery easy.

  • Posts: 181

    I should probably get in the habit of doing that as well. =)

Sign In or Register to comment.