Dear Cerberus X User!
As we prepare to transition the forum ownership from Mike to Phil (TripleHead GmbH), we need your explicit consent to transfer your user data in accordance with our amended Terms and Rules in order to be compliant with data protection laws.
Please read the new Terms and Rules below, check the box to agree, and click "Accept" to continue enjoying your Cerberus X Forum experience. The deadline for consent is April 5, 2024.
Do not accept the amended Terms and Rules if you do not wish your personal data to be transferred to the future forum owner!
Accepting ensures:
- Continued access to your account with a short break for the actual transfer.
- Retention of your data under the same terms.
Without consent:
- You don't have further access to your forum user account.
- Your account and personal data will be deleted after April 5, 2024.
- Public posts remain, but usernames indicating real identity will be anonymized. If you disagree with a fictitious name you have the option to contact us so we can find a name that is acceptable to you.
We hope to keep you in our community and see you on the forum soon!
All the best
Your Cerberus X Team
Same here. Maybe you can ask a bit more specifically. With your question a lot of things come to mind regarding the structure of a cerberus project:Not sure what you mean
To each their own I would say. I have projects where everything is in one file. Then I have projects where every class is in their own file. I have projects where functions are in their own file. It is up to you how you want to structure your own code.What's the prefferable way in Cerberus when you want to offload your main and move some functions
into a external.cxs laying beside the main.cxs (not inside modules).
For me. It depends on the size of the project. The more complex, the more modular the directory tree and file hierarchy should be for easy code locating.I have projects where everything is in one file. Then I have projects where every class is in their own file.
They should not be in teh data folder. There should only reside the resources of your app and they are copied to stay available at runtime. On the other hand your .cxs files are only needed at compiletime and they all result in the executable file afterwards.should imported .cxs files be inside the data folder or should all cxs be in one place?
I don't think you can, but you could think about an other way of structuring your code in this case. For larger projects I prefer an Game class that is as short and as readable as possible, so you can easily grasp what the main funcionality is about.I also created a lot of methods inside the main class (Class Game Extends App) right now.
How can you drag them out a file?