Supermarket SimulatorSupermarket Simulatorwiki

Guide

Why the shop runs with so much in it

How a full Supermarket Simulator shop is drawn and how placements behave, so a shop that stutters or will not line up can be reasoned about.

Applies to

1.6.0 (223), read from the copy of the game this site was built from (see the sources page)

Before you start

Steps

  1. Know that the game decides what you cannot see.
    the game runs an occlusion controller of its own and records what may be hidden as occludee data
  2. Do not count repeated goods as separate objects.
    repeated objects are held as instance data, with bounds for an instance
  3. Know that their positions are generated rather than placed by hand.
    an indexed static instancer generates the matrices the repeated pieces are placed from
  4. Expect the walkable floor to be managed separately from the shop.
    obstacles that people walk around have a manager of their own
  5. Place things in the placement mode rather than by dragging anywhere.
    placement is a mode, and the modes are held by a manager
  6. Expect a placement to be checked before it is accepted.
    a position validator checks a placement
  7. Line fixtures up on the grid instead of trusting the eye.
    a grid of its own is what a placement lines up on
  8. Remember that a placement keeps track of its neighbours.
    a placement records the neighbouring positions it relates to

Common mistakes

Related entries

Sources

A local copy of the game, read only. Grounding for each step is on the technical reference pages; no number is estimated.