1.2.0 • Published 9 years ago

superpowers-text-plugin v1.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

#Superpowers Text plugin

This plugin for Superpowers, the extensible HTML5 2D+3D game engine brings a font asset and a TextRenderer

Installation

Download the latest release and unzip it.

Rename the folder if you want then move it inside app/plugins/ralmn/.

Finally restart your server.

Script usage

	var txt = Sup.getActor('TextActor');
    txt.textRenderer.setText("Hello");
    txt.textRenderer.setTextColor("rgba(255,0,0,1)");
    txt.textRenderer.setFont("Arial");
    txt.textRenderer.setFontSize(32);
    
	
1.2.0

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago