TutorialsPush Lab

Appendix D — Tuning Tables

The numbers that make Push Lab - Discovery Workshop play the way it does. Change them to remix the game: the game’s Logic reads them from here. Try one change at a time, and run the game after each. If something stops working, put the old number back.

D.1 Data Tables

D.1.1 Impulse Settings

Shared dial tuning: maximum is the greatest magnitude in N s; increment is its smallest selectable change in N s.

Data TableImpulse SettingsData Structure: Impulse Settings Entry
Row 0Shared
maximum40
increment0.1

D.1.2 Push Readings

One row per accepted pair push, oldest first. Batch is its push number. Each cart has measured Mass (kg), signed AppliedImpulse (N s), immediate Before and After horizontal velocities (m/s), and Delta = After - Before (m/s). These are historical measurements, not current velocities.

Data TablePush ReadingsData Structure: Push Readings Entry

D.1.3 Weight Pattern

One row per rack stack. A denomination may occupy two stacks. Object chooses its existing weight art; mass is kg; copies is the generated count (0..4); rackX/rackY and stackRise are meters; initialCopper is the count starting on Copper (four total seats); height is the existing art height in meters. Opening repairs invalid counts and nonpositive mass before creating or weighing anything.

Data TableWeight PatternData Structure: Weight Pattern Entry
Row 0One Kilogram Left
objectOne Kilogram Weight
mass1
copies2
rackX1.1
rackY4.1000000000000005
stackRise0.1
initialCopper0
height0.8
Row 1One Kilogram Right
objectOne Kilogram Weight
mass1
copies2
rackX2.125
rackY4.1000000000000005
stackRise0.1
initialCopper0
height0.8
Row 2Two Kilograms
objectTwo Kilogram Weight
mass2
copies4
rackX3.15
rackY4.175
stackRise0.1
initialCopper2
height0.95
Row 3Five Kilograms Left
objectFive Kilogram Weight
mass5
copies2
rackX4.125
rackY4.25
stackRise0.1
initialCopper1
height1.1
Row 4Five Kilograms Right
objectFive Kilogram Weight
mass5
copies2
rackX5.15
rackY4.25
stackRise0.1
initialCopper0
height1.1

D.1.4 Workshop Weights

Live generated weights in creation order. number links to the saved Per Instance identity; mass is kilograms. cart owns location: 0 rack, 1 Blue, 2 Copper, -1 held. seat is 1-based on a cart and 0 otherwise. A held weight contributes no cart mass; its previousCart/previousSeat instance values restore an interrupted hand. Create adds the row; Destroy removes it.

Data TableWorkshop WeightsData Structure: Workshop Weights Entry

D.1.5 Cart Load Settings

The cart row tunes the shared four-seat geometry. capacity is the number of seats; firstSeatX, spacing and cartTop are local meters above the native cart origin. dropHalfWidth/dropHalfHeight are the cart drop window half sizes in meters; dropRise raises its center above the cart origin.

Data TableCart Load SettingsData Structure: Cart Load Settings Entry
Row 0cart
capacity4
firstSeatX-1.125
spacing0.75
cartTop0.35
dropHalfWidth2.1
dropHalfHeight1.3
dropRise0.7

D.1.6 Reading Ticket Settings

Pinned-paper template and regular layout in meters: object is the paper control; firstX/spacing locate its three centers; paperY is their shared height.

Data TableReading Ticket SettingsData Structure: Reading Ticket Settings Entry
Row 0papers
objectReading Ticket
firstX18.95
spacing1.775
paperY14.2

D.1.7 Goal Settings

A goal rule: minimumRatio compares masses; minimumChange and changeTolerance compare immediate velocity changes; minimumBefore and stopTolerance define braking; targetVelocity and targetTolerance define the signed target, all speeds in m/s.

Data TableGoal SettingsData Structure: Workshop Goal Entry
Row 0Rules
minimumRatio5
minimumChange0.5
changeTolerance0.1
minimumBefore0.5
stopTolerance0.08
targetVelocity2
targetTolerance0.08

D.1.8 Starting Setup Values

Temporary staging for portable starting setups. value is loaded before application; minimum and maximum validate numeric fields. Rows name controls, rail X in meters, and matching project tuning. These are not live settings. Before validation, weightCount maximum follows the actual registered Workshop Weights count; the file count must equal that count.

Data TableStarting Setup ValuesData Structure: Starting Setup Values Entry
Row 0version
value0
minimum1
maximum1
Row 1weightCount
value0
minimum0
maximum12
Row 2impulseMagnitude
value0
minimum0
maximum100000
Row 3impulseDirection
value0
minimum-1
maximum1
Row 4copperLinked
value0
minimum0
maximum1
Row 5copperImpulse
value0
minimum-100000
maximum100000
Row 6blueX
value0
minimum5.749999
maximum21.100001
Row 7copperX
value0
minimum5.749999
maximum21.100001
Row 8maximum
value0
minimum0.01
maximum100000
Row 9increment
value0
minimum0.000001
maximum100000
Row 10capacity
value0
minimum1
maximum4

D.1.9 Starting Weight Setup

Temporary validated file arrangement. number matches a live weight; cart is 0 rack, 1 Blue, 2 Copper; seat is 0 on rack or a 1-based seat; mass is kg and must match the native project.

Data TableStarting Weight SetupData Structure: Starting Weight Setup Entry

D.2 Logic Numbers

The numbers and colors each Logic Component keeps in its Shared Variables and Per Instance Variables, with the Starting Value its card gives. A value set on its Object, under Variables in the Properties, or on a placement in the Scene, wins over the value here.

PLACE CART ON RAIL
  homeX ...................... 6.75
  laneY ...................... 10.975
  leftLimit .................. 5.975
  rightLimit ................. 20.875
  grabOffset ................. 0
  handX ...................... 0
IDENTIFY WORKSHOP CART
  cartNumber ................. 1
TURN IMPULSE DIAL
  dialLeft ................... 7.1
  dialWidth .................. 2.05
SHOW MEASURED READING
  readingCartNumber .......... 1
FOLLOW NATIVE VELOCITY
  cartNumber ................. 1
  minimumRange ............... 10
  needleSweep ................ 65
  scaleHeadroom .............. 1.25
  gaugeRange ................. 0.5
PREPARE WORKSHOP WEIGHTS
  stackCopyLimit ............. 4
SET STARTING CART LOAD
  cartNumber ................. 1
  baseMass ................... 1
SELECT WORKSHOP WEIGHT
  weightNumber ............... 0
  rackX ...................... 0
  rackY ...................... 0
  weightHeight ............... 0
CHANGE NATIVE CART LOAD
  cartNumber ................. 1
  baseMass ................... 1
MOVE SELECTED WEIGHT
  weightNumber ............... 0
  rackX ...................... 0
  rackY ...................... 0
  weightHeight ............... 0
DRAG WORKSHOP WEIGHT
  weightNumber ............... 0
  rackX ...................... 0
  rackY ...................... 0
  weightHeight ............... 0
  weightGrabOffsetX .......... 0
  weightGrabOffsetY .......... 0
  previousCart ............... 0
  previousSeat ............... 0
READ PINNED TICKET
  ticketSlot ................. 0
SHOW WORKSHOP GOAL
  goalCaptionKind ............ 0
RESTORE WEIGHT SETUP
  weightNumber ............... 0
  rackX ...................... 0
  rackY ...................... 0
  weightHeight ............... 0
RESTORE SETUP POSITION
  cartNumber ................. 1