Skip to content

Commit

Permalink
docs: delete old readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zoogies committed Aug 27, 2024
1 parent 0b34e08 commit ab7bdfc
Showing 1 changed file with 2 additions and 42 deletions.
44 changes: 2 additions & 42 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,45 +1,5 @@
# Yoyo Engine Editor

The editor is a visual editor for the engine. It will essentially be a "game" running the core framework to provide an easy way to layout scenes, and tools to build them together without writing the framework interfacing code yourself.
README under construction!

While the editor does interface with some internal editor specific logic in the engine, most of these have been exposed as boolean flags in the `engine_state` and `engine_runtime_state` structs and can be modified at the developers leasure hopefully to provide some flexibility.

## Notices

`.yoyo` files are really just `.json` files, but I wanted to rename them to feel cool :)

## Project Structure

The launcher will create a project directory with the following structure:

```txt
.
├── resources
│ ├── scenes
│ │ └── scene1.yoyo
│ └── style.yoyo
└── settings.yoyo
```

`settings.yoyo` contains the metadata for the project, including some engine specific parameters for compilation

`/resources` contains a `style.yoyo` file which describes all declared fonts and colors to be used in the project.

`/resources/scenes` contains all the scenes in the project. Scenes are `.yoyo` files which contain a list of entities and components.

## build system

should actually be pretty easy now that we are using cmake.

1. Get the build parameters from the project file
1. Platform
2. Compiler (prob force gcc)
3. Any extra C files they want to include. The entry point might also need auto generated, unless we make a generic entry point which loads params from file. This is prob the best choice. It has gotten absurdly messy to try to pass everything in as flags with overrides.
2. Generate a `CMakeLists.txt` file
3. Run cmake
4. Build the project
5. Thats it!

## afterword to future ryan

I dont feel like porting this to be a true project structure just yet, ill wait until that structure is actually fully completed.
![cat construction worker](https://t4.ftcdn.net/jpg/01/65/92/59/360_F_165925900_0fqQa1wv7Qoyoh9grIMa0sMxKdIA37Mt.jpg)

0 comments on commit ab7bdfc

Please sign in to comment.