SpoutDev/Spout — Issue #858: Displayng Textures
Author: Ziden
Created: 2011-11-02 14:41:13+00:00
State: open

Hello there again. Sorry if this is not the right place for posting this.

Ive tryed to display a texture on the screen, couldnt manage to do so.

[CODE]

GenericTexture texture = new GenericTexture();

texture.setUrl("http://dl.dropbox.com/u/15644623/teste.png"); //Have to be a png or jpg

texture.setWidth(259).setHeight(84); //Use the same size as the png here.

texture.setX(3);

texture.setY(3);

player.getMainScreen().attachWidget(this.plugin, texture);[/CODE]

Am i doing something wrong ?

Thanx for any help.