TombEngine/Build/Scripts/Gameflow.lua

58 lines
1.4 KiB
Lua
Raw Normal View History

-- TR5Main Gameflow file
-- Created by MontyTRC
-- Place in this LUA script all the levels of your game
-- Title is mandatory and must be the first level
-- Title level
title = Level.new();
title.script = "andrea2.lua";
title.soundtrack = 110;
title.filename = "Data\title.trc";
title.horizon = true;
title.coladdhorizon = true;
title.layer1 = SkyLayer.new(120, 80, 50, -4);
title.storm = true;
title.background = "title.png";
Gameflow:addLevel(title);
-- Streets of rome
streets = Level.new();
streets.name = 101;
streets.script = "andrea1.lua";
streets.soundtrack = 128;
streets.filename = "Data\andrea1.trc";
streets.horizon = true;
streets.coladdhorizon = true;
streets.layer1 = SkyLayer.new(120, 80, 50, -4);
Gameflow:addLevel(streets);
2018-09-02 21:13:34 +02:00
-- Trajan markets
trajan = Level.new();
trajan.name = 102;
trajan.script = "andrea2.lua";
trajan.soundtrack = 126;
trajan.filename = "Data\andrea2.trc";
2018-09-02 21:13:34 +02:00
trajan.horizon = true;
trajan.coladdhorizon = true;
trajan.layer1 = SkyLayer.new(120, 80, 50, -4);
trajan.storm = true;
Gameflow:addLevel(trajan);
-- Colosseum
colosseum = Level.new();
colosseum.name = 103;
colosseum.script = "andrea3.lua";
colosseum.soundtrack = 118;
colosseum.filename = "Data\andrea3.trc";
colosseum.horizon = true;
colosseum.coladdhorizon = true;
colosseum.layer1 = SkyLayer.new(120, 80, 50, -4);
2018-09-02 21:13:34 +02:00
Gameflow:addLevel(colosseum);