Jump to content
Stray Fawn Community

Strings for logic instead of keys


Heremeus

Recommended Posts

Right now most people are limited by the options on their keyboard for more advanced logic. If there was an option for advanced users to use strings instead, we would have endless possibilities. Also we could have meaningful names for the events, making it more easier to understand the logic once it is setup.

Link to comment
Share on other sites

  • 2 weeks later...

Oh! I also agree with this!

Falls in line with something they mentioned in the kickstarter where they like making games that "hold educational value".

Because it makes it easier to understand what is doing what.

 

Here are a few other ideas I've had that might help -

  • Custom color picking for the lights? to show relationships
  • Automatic Grouping? like a toggle to draw lines to parts that interact? or auto highlighting the parts that interact with it? (like weapons that activate and other logic parts) - maybe even tab through a logic path?
  • Maybe... a logic to text converter? where your logic is put into a string of code and if it's edited it can display what logic parts are missing, maybe even generate them for you? (might be too technical)
  • A list of used variables (or keys as they are in the demo) would be great to, to know what'd been used, and highlight which ones are using it

Link to comment
Share on other sites

I agree with this too, meaningful strings would help and increase the number of logics we can combine. We'd just need an additional part to bind strings to keys for the final inputs.

 

Or an toggle option in the Edit mode to overlay current inputs/ouputs on the green/red leds of all logic parts, and in the middle of other parts that can have inputs. It wouldn't allow meaningful strings, nor increased number of combinations, but it would allow for a much more easy way to read and edit the overall logics and have an overview.

Link to comment
Share on other sites

N, a "string" is essentially a programming term for text - letters.

Here is another description: https://techterms.com/definition/string

 

So we mean instead of having the Input be: "E" key to activate the "P" Key on a switch which is tied to your Shields on your Ship---- what if pressing "E" would activate a "Shield" string instead.

and you could tell your shield to activate when the "Shield" string is active.

 

It can make things a bit more complicated  because you would have to type out the word/string a bunch - but that could be made easier by the game if it memorized which strings/words have already been used, and doing kind of a suggestion based on what strings have been used in the ship so far.

Example: You type "Sh" and it auto suggests "Shield" as that has been used.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...