Factory Code
Factory Code
Factory Code is a visual coding game based on motion. A ball moves and interacts with tiles to do things. This is my first public game so if the controls seem confusing that is because I am not used to making easy and intuitive controls. Also this is very prone to error.
GUI
- Top-Left: LED Outputs 0-7.
- Top-Right: Current tile and tile name.
- Bottom-Left: Parameter inputs.
- Bottom-Right: Cursor coordinates.
Controls
- Z/X: Toggle through available tiles.
- B: Set ball position to cursor position.
- Esc/Enter: Unfocus from parameter input boxes.
- Left/Right Click: Draw/remove Tile with current parameters.
- Middle Click/Scroll: Move/zoom camera.
Inputs
Inputs can change the properties of the tiles to be placed. Any of the inputs can access defined variables by typing v["Variable Name"]. Ball position can be accessed with sys_bx and sys_by. After placing a tile it's parameters can't be viewed or dynamically changed.
Tiles
- Up Conveyor | Moves the ball up.
- Right Conveyor | Moves the ball right.
- Down Conveyor | Moves the ball down.
- Left Conveyor | Moves the ball left.
- Clockwise | Moves the ball in a clockwise direction.
- Counter-Clockwise | Moves the ball in a counter-clockwise direction.
- Forward | Moves the ball forward.
- Jump to (Absolute) | Moves the ball to absolute coordinates.
- Jump to (Relative) | Offsets the ball's position relative to itself.
- Set variable | Sets variable Variable to value Value.
- If/Else | If Condition is true then the ball goes forward, else clockwise.
- Set LED | Sets LED LED Number (0-7) to brightness Brightness (0-255).
- Reset Timer | Resets the stopwatch.
- Wait Time | Waits until the stopwatch has reached Time (secs) seconds.
Status | Released |
Platforms | HTML5 |
Author | Seth H |
Tags | code, factory-code, Godot |
Average session | A few seconds |
Languages | English |
Inputs | Keyboard, Mouse |
Leave a comment
Log in with itch.io to leave a comment.