Roblox · Сбор-а-тон · урок 1
Карта
Сбор-а-тон — игра на поиск: по большой карте спрятаны предметы, игрок ищет их и отмечает в журнале. Сегодня строим карту из нескольких зон.
Структура
Синим — что добавляем на этом уроке.
Workspace
└─ Map (Model)
├─ Zone (Model) — лес, пустыня, озеро, горы
└─ Cube (Part) — декоративный куб
└─ Decal ×6 (Decal) — Face: Front, Back, Left, Right, Top, Bottom
Шаги
- Карта делится на зоны с разным настроением: лес, пустыня, озеро, горы. Ландшафт — Terrain Editor или детали.
- Предметы будут прятаться: за деревьями, на крышах, под мостами. Сразу продумай укромные места.
- Кубы-ориентиры: Part 6 × 6 × 6, в него 6 Decal. У каждого Decal своё свойство Face — Front, Back, Left, Right, Top, Bottom, иначе все картинки лягут на одну грань.
- Картинки — Toolbox → Images или свои (Asset Manager → Import). ID вставляется в Texture.
- Каждую зону — в свою модель, все зоны — в модель «Map».
- Workspace → StreamingEnabled выкл.: игроку нужен список всех предметов сразу, даже далёких.
Проверка
Запусти Play (или Run) и убедись:
- Play: зоны отличаются, по каждой можно пройти.
- У кубов картинки на всех 6 гранях.
Roblox · Collect-a-thon · lesson 1
Map
A collect-a-thon is a search game: items are hidden around a big map, and the player finds them and ticks them off in a journal. Today we build a map of several zones.
Structure
Blue — what we add in this lesson.
Workspace
└─ Map (Model)
├─ Zone (Model) — forest, desert, lake, mountains
└─ Cube (Part) — a decorative cube
└─ Decal ×6 (Decal) — Face: Front, Back, Left, Right, Top, Bottom
Steps
- The map is split into zones with different moods: forest, desert, lake, mountains. Use the Terrain Editor or parts for the land.
- Items will be hidden behind trees, on roofs, under bridges. Plan hiding spots right away.
- Landmark cubes: a Part 6 × 6 × 6 with 6 Decals. Each Decal gets its own Face — Front, Back, Left, Right, Top, Bottom — otherwise all pictures end up on one face.
- Pictures come from Toolbox → Images or your own (Asset Manager → Import). Paste the ID into Texture.
- Each zone goes in its own model, and all zones go into a model "Map".
- Workspace → StreamingEnabled off: the player needs the list of all items at once, even far ones.
Testing
Press Play (or Run) and make sure:
- Play: the zones look different and you can walk through each.
- The cubes have pictures on all 6 faces.