SnoringCatGames / scaffolder

Application scaffolding and utility functionality for Godot games.
MIT License
28 stars 5 forks source link
application framework gdscript godot infrastructure scaffolding

Scaffolder

The Scaffolder icon, showing construction scaffolding

_Example app_

Godot Asset Library

Opinionated scaffolding and utilities for games in Godot.


NOTE: Consider this a pre-alpha release.

  • This framework still has many rough edges, is still changing a lot, and is possibly a lot more inflexible than you would want (it makes a lot of assumptions about how you've structured your app).
  • See the Still not working? docs for more context into how difficult this may be for you to use.

Some features include:

Some of the GUI elements that Scaffolder makes it easy to set up and use.

GUI scaling depending on the screen size.

⚙️ Getting set up

See this separate doc for getting your project set up to work with Scaffolder.

✨ Features

Lots of useful utility functions

It might just be easiest to scroll through some of the following files to see what sorts of functions are included:

A widget library

For example:

Viewport scaling

This framework handles viewport scaling directly.

This provides some powerful benefits over Godot's standard behaviors, but requires you to be careful with how you define your GUI layouts.

Handling camera zoom

This provides limited flexibility in how far the camera is zoomed. That is, you will be able to see more of the level on a larger screen, but not too much more of the level. Similarly, on a wider screen, you will be able to able to see more from side to side, but not too much more.

Handling GUI scale

Constraints for how you define your GUI layouts

TODO: List any other constraints/tips.

Analytics

This feature depends on the proprietary third-party Google Analytics service.

"Privacy Policy" and "Terms and Conditions" documents

If you intend to record any sort of user data (including app-usage analytics or crash logs), you should create a "Privacy Policy" document and a "Terms and Conditions" document. These are often legally required when recording any sort of app-usage data. Fortunately, there are a lot of tools out there to help you easily generate these documents. You could then easily host these as view-only Google Docs.

Here are two such generator tools that might be useful, and at least have free-trial options:

DISCLAIMER: I'm not a lawyer, so don't interpret anything from this framework as legal advice, and make sure you understand which laws you need to obey.

Automatic error/crash reporting

This feature currently depends on the proprietary third-party Google Cloud Storage service. But you could easily override it to upload logs somewhere else.

Screen layout and navigation

📃 Licenses

The Scaffolder icon, showing construction scaffolding