public AlphaImageDemo() {
		 
		MinuetoWindow window;			// The Minueto window
		
		MinuetoImage imageTank;				// MinuetoImage used to store
											// the image we will load.	
		
		MinuetoImage imageBackGround;			// Background image
		
		double x;							// Position to draw the image.

		if (MinuetoTool.isWindows()) {			
			MinuetoOptions.enableDirectXAcceleration();
		} else {
			MinuetoOptions.enableOpenGLAcceleration();
		}
		
		MinuetoOptions.enableAlpha(true);
			
		// Create a 640 by 480 window
		window = new MinuetoFrame(640, 480, true);
		
		imageBackGround = new MinuetoImage(640,480);
		imageBackGround.draw(new MinuetoRectangle(160, 480,MinuetoColor.BLUE, true), 0, 0);
		imageBackGround.draw(new MinuetoRectangle(160, 480,MinuetoColor.GREEN, true), 160, 0);
		imageBackGround.draw(new MinuetoRectangle(160, 480,MinuetoColor.YELLOW, true), 320, 0);
		imageBackGround.draw(new MinuetoRectangle(160, 480,MinuetoColor.RED, true), 480, 0);
		
		// Load our image.
		try {
			imageTank = new MinuetoImageFile("images/alphatank.png");			
		} catch (MinuetoFileException e) {
			System.out.println("Could not load tank file");
			System.exit(0);
			return;
		}
		
		// Starting position of our image.
		x = 0;
		
		// Show the game window.
		window.setVisible(true);
		
		// Game/rendering loop
		while(true) {
		
			// Clear the window.
			window.clear();
		
			window.draw(imageBackGround, 0, 0);
			
			// Move the image at every frame.
			x = x + 0.05;
			if (x > 639) {x = 0;}			
			
			// Draw the image.
			window.draw(imageTank, (int)x, 50);			
			
			// Render all graphics in the back buffer.
			window.render();
		}		
							
	}