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

scripts: add a script to generate game.gp code, comment out generated code for now #1966

Merged
merged 1 commit into from
Oct 14, 2022

Conversation

xTVaser
Copy link
Member

@xTVaser xTVaser commented Oct 14, 2022

Generates the game.gp code for all DGOs, code added to the project file has been commented out for now.

In my opinion, this is way too much in a single file -- it would be nice if this code would live directly inside the .gd files themselves, then everything is nicely organized. But this approach might have issues I'm not aware of.

@ManDude
Copy link
Member

ManDude commented Oct 14, 2022

Agreed that it's too big right now. We are definitely able to put everything needed to build a single DGO file inside the .gd file.

Copy link
Collaborator

@water111 water111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
I agree this is a lot for a single file.

I think we could easily split this up - maybe one file per level or something like that. I haven't tried, but I think you could just put (read-file "path-to-some-other-file.gd") in the game.gp file and it would include that file.

@water111 water111 merged commit 9c390e1 into open-goal:master Oct 14, 2022
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

Successfully merging this pull request may close these issues.

None yet

3 participants