Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting MyComicData.lua #26

Closed
glowWormms opened this issue Jul 29, 2024 · 2 comments
Closed

Deleting MyComicData.lua #26

glowWormms opened this issue Jul 29, 2024 · 2 comments

Comments

@glowWormms
Copy link

Hi I was following along with you amazing videos on YouTube but got to a part that I cannot replicate. In video 3, you create a new folder comicData and inside that so1.lua and THEN delete MyComicdata.lua (trying to remember the name without checking sorry) and then in main.lua you change where it looks for it to the new comic Data amd s01.lua but whenever I delete the MyComicData.lua file and run it, it says it is missing MyComicData.lua and have no idea what is still pointing to that.

@cadin
Copy link
Owner

cadin commented Jan 2, 2025

Hi, sorry, I didn't see this before. It looks like I stopped getting notifications for new issues for some reason.

Did you get this figured out?
It sounds to me like you just to need to change the import line in main.lua from

import "myComicData.lua"
comicData = myComicData

to whatever matches your new file, probably something like:

import "comicData/s01.lua"
comicData = { s01 }

Note that comicData should be a Lua table that is a list of the sequences in your comic. The s01 comes from the name of the sequence that I have set in s01.lua. Yours might be different.

Also, for these kinds of questions you can ping me in the Playdate Squad Discord and I can chat with you directly there. There's even a special Panels area set up there.

@cadin cadin closed this as completed Jan 2, 2025
@glowWormms
Copy link
Author

glowWormms commented Jan 2, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants