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

[⚠️ Warning] Beware of super messy code! #5

Open
copyrat90 opened this issue Mar 2, 2023 · 0 comments
Open

[⚠️ Warning] Beware of super messy code! #5

copyrat90 opened this issue Mar 2, 2023 · 0 comments

Comments

@copyrat90
Copy link
Owner

copyrat90 commented Mar 2, 2023

It looks like this repo got quite a lot of stars, thanks everyone!
But I need to mention that it is quite messy and very far from optimal, so beware of the messy code.

  • This uses affine_bg to get unique cell id, but now there's better way to do this with Butano. Check the dynamic_regular_bg example and this demo I made
  • I didn't know how to structure my code the time I was working on this one. Like, it's full of if~else checks, updating game variables from everywhere etc. If I decide to make this a full game someday, I have to rewrite it from scratch at this point.

Originally posted by @copyrat90 in #4

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

1 participant