
// ===================================
// Client
// ===================================
gClient.onInit = function()
{
	// Window : width, height, fullscreen
	//this.setWindow(1280,341,false);
	this.setWindow(500,500,false);

	// Render on a single layer (no filter allowed)
	this.setSingleLayerRendering();

	// Runtime JS
	this.enableJS(true);

	// UI
	this.showUI(false);

	// Load plug-ins
	var scenes		= new Array("scene/v3ga/basic/libbasic", "scene/2roqs/barbican/libscene_2roqs_barbican");
	var filters		= new Array("filter/v3ga/basic/libfilter_v3ga_basic");
	var blendings	= new Array("blending/v3ga/basic/libv3ga_basic");

	this.loadPlugins(scenes, filters, blendings);

	// Export 
	this.setProperty("isExportFrame",		"true");
	this.setProperty("exportFormat",		"0");

	// Init network : listening port
	//this.initNetwork(9000);
}

gClient.onInitOpenGL = function()
{
	this.setAntiAliasing(1,2);
}

// ===================================
// LayerManager
// ===================================
gLayerManager.onInit = function()
{
	// Set Scene
	this.setScene				(0, "scene.v3ga.jsTest");
}

gLayerManager.onUpdate = function(dt)
{
}
