-- wndmainmenu.lua

require("blg/blgutilities.lua");
require("scripts/styles/style.lua");

MakeState{
	type = "StateLoading",
	nextState = gDialogTable.nextState,
	assetScript = gDialogTable.assetScript,

	BlgBitmap{
		name = "loadingBG",
		image = "common/backgrounds/bg_loading",
		center = {x = 0, y = 0},
	},

	BlgBitmap{
		name = "loadBar",
		image = "common/backgrounds/loading",
		center = {x = 0, y = 0},
		transformMatrix = {x = 375, y = 592},
	},

		-- particle effects
		BlgParticles{
			name = "p1",
			path = "common/backgrounds/bubbles2.lua",
			transformMatrix = {x = 505, y = 500},
		},
		
		BlgParticles{
			name = "p2",
			path = "common/backgrounds/bubbles1.lua",
			transformMatrix = {x = 450, y = 505},
		},
		
		BlgParticles{
			name = "p3",
			path = "common/backgrounds/bubbles1.lua",
			transformMatrix = {x = 550, y = 495},
		},
		

}
