Kneesnap / FrogLord

An editor for Frogger: He's Back (1997)
https://highwayfrogs.net
MIT License
117 stars 8 forks source link

Plugin System / Scripting System #19

Open Kneesnap opened 4 years ago

Kneesnap commented 4 years ago

Down the line, we may want to add some kind of scripting or plugin system to FrogLord, so people can do things with code which can't be done in base FrogLord. This is an idea for sometime when FrogLord is fully featured and cleaned up though.

sylv256 commented 4 years ago

Oh and don't forget to include an API for scripting behaviors of objects, NPCs, etc.

Kneesnap commented 4 years ago

....? What kind of behavior? Frogger doesn't even have NPCs.

sylv256 commented 4 years ago

Entities*

sylv256 commented 4 years ago

For Example: When you press a button made by the plugin, it'll change the behavior of the sinking turtle to sink at faster intervals.

Kneesnap commented 4 years ago

There id already an API for changing entity data, and entity scripts.

sylv256 commented 4 years ago

Oh, my bad. I didn't know that.

Kneesnap commented 4 years ago

The plugin system should include examples/a tutorial, and explain how to use FrogLord's APIs.

Kneesnap commented 4 years ago

I'm having second-thoughts about whether this is necessary. If anyone would like to persuade me otherwise, please do.

sylv256 commented 4 years ago

Yeah, I think a plugin system would be nice. It could enable developers in the community to create accessories for FrogLord that aren't essential but provide extra features. For example, I could create a plugin that exports a frogger level to another format (like .obj or .stl) or a fully-featured image editor inside FrogLord. While plugins aren't required, they are a great addition to FrogLord and would remarkably enhance the user experience.