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

Ingame level editor #26

Open
3 tasks
odecay opened this issue Jun 29, 2022 · 3 comments
Open
3 tasks

Ingame level editor #26

odecay opened this issue Jun 29, 2022 · 3 comments
Labels
scope:large A larger amount of work
Milestone

Comments

@odecay
Copy link
Collaborator

odecay commented Jun 29, 2022

I propose that we set up an ingame level editor state that consists of an egui menu which shows available fighter/character definitions loaded from the definitions as well as item pickups which should be defined similarly.
Selecting a fighter or item from the menu should then allow you to click to place it in the scene.
Then these placements should be saved to a new level definition file.

  • Menu which loads available Fighters and Items
  • Mouse driven spawning/placement of Fighters and Items
  • Scene/Level export
@zicklag
Copy link
Member

zicklag commented Jun 30, 2022

With hot reload, we should even be able to have you editing a scene in one puncy window, and playing it in the other!

@zicklag zicklag added audience:user scope:large A larger amount of work and removed audience:user labels Jul 14, 2022
@odecay odecay mentioned this issue Jul 31, 2022
@erlend-sh
Copy link
Member

Some minimal editor features would be a nice addition to our modding story started by #107.

We’re already using egui, and bevy_editor_pls by @jakobhellermann is also egui-based. We also rewrote the original Fish Fight editor in egui:

@zicklag
Copy link
Member

zicklag commented Jul 31, 2022

I was thinking about this and thinking that an editor might be a pretty big deal to have. Just thinking about things like collision boxes for animated sprites and having the collision box need to move around to match the look of the sprites. I'm thinking that we could add a punchy subcommand to run an editor that would be essentially an interactive interface to modifying any of the assets.

I like the idea of keeping our assets still in YAML and easy to read and write manually if needed, but the editor could become a way to edit even the basic fighter settings, etc. without having to remember which fields are valid and stuff like that, with al the extra stuff where you really want a visual representation of your changes such as trip lines, items spawns, collision boxes, animations, etc.

I'm fairly good at designing UI and I like doing it so this is probably something I could take on, maybe more like an 0.0.5 or later kind of thing, though, after we get some of the in-game UI more solid and the scripting MVP to a slightly settled state.

@erlend-sh erlend-sh added this to the v1.0.0 milestone Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope:large A larger amount of work
Projects
None yet
Development

No branches or pull requests

3 participants