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

  1. Up Conveyor | Moves the ball up.
  2. Right Conveyor | Moves the ball right.
  3. Down Conveyor | Moves the ball down.
  4. Left Conveyor | Moves the ball left.
  5. Clockwise | Moves the ball in a clockwise direction.
  6. Counter-Clockwise | Moves the ball in a counter-clockwise direction.
  7. Forward | Moves the ball forward.
  8. Jump to (Absolute) | Moves the ball to absolute coordinates.
  9. Jump to (Relative) | Offsets the ball's position relative to itself.
  10. Set variable | Sets variable Variable to value Value.
  11. If/Else | If Condition is true then the ball goes forward, else clockwise.
  12. Set LED | Sets LED LED Number (0-7) to brightness Brightness (0-255).
  13. Reset Timer | Resets the stopwatch.
  14. Wait Time | Waits until the stopwatch has reached Time (secs) seconds.
StatusReleased
PlatformsHTML5
AuthorSeth H
Tagscode, factory-code, Godot
Average sessionA few seconds
LanguagesEnglish
InputsKeyboard, Mouse

Leave a comment

Log in with itch.io to leave a comment.