How will the input picker work? #67
-
For example, you are playing a single player game where there is a boolean input called "Up". How will the different options be loaded and filtered so only the options that are boolean inputs are available? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Have an array of inputs. Each input can have a This is a good solution to start out with. later it can be switched to being lazy laoded. |
Beta Was this translation helpful? Give feedback.
-
Have a lazy-loadable system. As the number of games increases, the number of inputs will also increase. Not all games have all the inputs. For example, the lane input is special to the lane runner game. It would be a waste of downloading if other games like pong loaded the lane input. |
Beta Was this translation helpful? Give feedback.
Have an array of inputs. Each input can have a
type
property and functions likesave
,load
, andrenderEditor
. All inputs get loaded in the same chunk. The editor filters the inputs to only include the ones that match the type.This is a good solution to start out with. later it can be switched to being lazy laoded.